:root {
  --pw-deep: #004f4b;
  --pw-deep-dark: #003d3a;
  --pw-teal: #0e716d;
  --pw-teal-bright: #087b75;
  --pw-mint: #bde9e2;
  --pw-mint-line: #a9ddd5;
  --pw-mint-soft: #eef8f6;
  --pw-surface: #fcfdfc;
  --pw-navy: #071a37;
  --pw-muted: #6b778c;
  --pw-line: #c5d8d5;
  --pw-line-soft: #dfe9e7;
  --pw-coral: #f06458;
  --pw-coral-soft: #fff0ed;
  --pw-amber: #c98516;
  --pw-amber-soft: #fff7e7;
  --pw-shadow: 0 10px 28px rgba(7, 26, 55, 0.055);
}

body.podio-workspace-v3,
body.podio-workspace-v3 button,
body.podio-workspace-v3 input,
body.podio-workspace-v3 select,
body.podio-workspace-v3 textarea {
  color: var(--pw-navy);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
}

body.podio-workspace-v3 *,
body.podio-workspace-v3 *::before,
body.podio-workspace-v3 *::after {
  box-sizing: border-box;
}

body.podio-workspace-v3 a {
  color: var(--pw-teal);
  text-decoration: none;
}

body.podio-workspace-v3 a:hover,
body.podio-workspace-v3 a:focus {
  color: var(--pw-deep);
  text-decoration: none;
}

body.podio-workspace-v3 :focus-visible {
  outline: 3px solid rgba(14, 113, 109, 0.2);
  outline-offset: 2px;
}

/* Compact authenticated shell */
body.podio-client-shell {
  min-height: 100vh;
  padding-top: 70px;
  padding-left: 72px;
  background:
    linear-gradient(90deg, rgba(189, 233, 226, 0.2), transparent 170px),
    var(--pw-surface);
}

body.podio-client-shell #wrapper,
body.podio-client-shell #content {
  min-height: calc(100vh - 70px);
  margin: 0;
  background: transparent;
}

body.podio-client-shell #content {
  padding: 0 0 42px;
}

body.podio-client-shell #content > .container {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding-right: 38px;
  padding-left: 38px;
}

body.podio-client-shell #content > .container > .row {
  margin-right: 0;
  margin-left: 0;
}

body.podio-client-shell .customer-top-submenu {
  display: none;
}

body.podio-client-shell footer.footer {
  height: auto;
  margin: 0;
  padding: 18px 38px;
  border: 0;
  background: transparent;
  color: var(--pw-muted);
  font-size: 11px;
}

body.podio-client-shell .podio-client-rail {
  z-index: 1050;
  width: 72px;
  background: linear-gradient(180deg, var(--pw-deep-dark), var(--pw-deep));
  box-shadow: 12px 0 32px rgba(0, 79, 75, 0.06);
}

body.podio-client-shell .podio-client-brand {
  width: 72px;
  height: 94px;
}

body.podio-client-shell .podio-client-brand svg {
  width: 36px;
  height: 36px;
}

body.podio-client-shell .podio-client-nav {
  padding-top: 10px;
}

body.podio-client-shell .podio-client-nav-link {
  width: 72px;
  height: 60px;
  font-size: 19px;
}

body.podio-client-shell .podio-client-nav-link::before {
  width: 4px;
}

body.podio-client-shell .podio-client-nav-link.active {
  background: rgba(189, 233, 226, 0.2);
}

body.podio-client-shell .podio-client-rail-footer {
  gap: 11px;
  padding: 14px 0 18px;
}

body.podio-client-shell .podio-rail-avatar {
  width: 42px;
  height: 42px;
  font-size: 12px;
}

body.podio-client-shell .podio-rail-logout {
  width: 42px;
  height: 38px;
  font-size: 17px;
}

body.podio-client-shell .podio-client-topbar {
  left: 72px;
  height: 70px;
  border-color: rgba(197, 216, 213, 0.7);
  background: rgba(252, 253, 252, 0.96);
}

body.podio-client-shell .podio-client-topbar-inner {
  max-width: 1420px;
  gap: 16px;
  padding: 0 38px;
}

body.podio-client-shell .podio-topbar-greeting {
  font-size: 13px;
}

body.podio-client-shell .podio-topbar-divider {
  height: 22px;
}

body.podio-client-shell .podio-topbar-action {
  width: 34px;
  height: 34px;
  font-size: 16px;
}

body.podio-client-shell .podio-topbar-avatar {
  width: 40px;
  height: 40px;
  font-size: 12px;
}

/* Page headings and compact scale */
body.podio-client-shell .podio-page {
  padding-top: 27px;
}

body.podio-client-shell .podio-page-heading,
.podio-v3-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 26px;
}

.podio-v3-page-head {
  padding-top: 27px;
}

.podio-v3-page-head-copy {
  min-width: 0;
}

body.podio-client-shell .podio-eyebrow,
.podio-v3-eyebrow {
  display: block;
  margin: 0 0 8px;
  color: var(--pw-teal);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

body.podio-client-shell .podio-page-heading h1,
.podio-v3-page-head h1 {
  margin: 0;
  color: var(--pw-navy);
  font-size: clamp(34px, 3.3vw, 44px);
  font-weight: 720;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

body.podio-client-shell .podio-page-heading p,
.podio-v3-page-head p {
  max-width: 680px;
  margin: 9px 0 0;
  color: var(--pw-muted);
  font-size: 13px;
  line-height: 1.55;
}

.podio-v3-page-actions {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

body.podio-client-shell .podio-primary-button,
body.podio-client-shell .podio-outline-button,
.podio-v3-page-actions .btn,
body.podio-client-shell .btn-primary,
body.podio-client-shell .btn-info,
body.podio-client-shell .btn-success {
  min-height: 42px;
  padding: 9px 16px;
  border: 1.5px solid var(--pw-deep);
  border-radius: 10px;
  background: var(--pw-deep);
  box-shadow: none;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

body.podio-client-shell .podio-outline-button,
body.podio-client-shell .btn-default {
  min-height: 40px;
  padding: 9px 15px;
  border: 1.5px solid var(--pw-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  color: var(--pw-navy);
  font-size: 12px;
  font-weight: 600;
}

body.podio-client-shell .btn-primary:hover,
body.podio-client-shell .btn-primary:focus,
body.podio-client-shell .btn-info:hover,
body.podio-client-shell .btn-success:hover {
  border-color: var(--pw-teal-bright);
  background: var(--pw-teal-bright);
  color: #fff;
}

body.podio-client-shell .btn-default:hover,
body.podio-client-shell .btn-default:focus {
  border-color: var(--pw-teal);
  background: var(--pw-mint-soft);
  color: var(--pw-teal);
}

/* Approved block borders */
body.podio-client-shell .panel_s {
  margin-bottom: 18px;
}

body.podio-client-shell .panel_s > .panel-body,
body.podio-client-shell .panel_s .panel-body,
body.podio-client-shell .panel,
body.podio-client-shell .well,
body.podio-client-shell .card,
body.podio-client-shell .list-group,
body.podio-client-shell .dropzone,
body.podio-client-shell .podio-project-card,
body.podio-client-shell .podio-delivery-block,
body.podio-client-shell .podio-activity-block,
body.podio-client-shell .podio-finance-highlight,
body.podio-client-shell .podio-empty-state {
  border: 1.5px solid var(--pw-line);
  border-radius: 14px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(238, 248, 246, 0.72),
    var(--pw-shadow);
}

body.podio-client-shell .panel_s > .panel-body,
body.podio-client-shell .panel_s .panel-body {
  padding: 24px;
}

body.podio-client-shell .panel-heading,
body.podio-client-shell .panel-footer {
  border-color: var(--pw-line-soft);
  background: #fff;
}

body.podio-client-shell .panel-footer {
  padding: 14px 20px;
  border-top-width: 1.5px;
  border-radius: 0 0 14px 14px;
}

body.podio-client-shell .podio-project-card:hover,
body.podio-client-shell .list-group-item:hover,
body.podio-client-shell .panel_s[data-podio-interactive] > .panel-body:hover {
  border-color: var(--pw-teal);
  background: rgba(238, 248, 246, 0.5);
}

body.podio-client-shell hr {
  border-color: var(--pw-line-soft);
}

body.podio-client-shell .section-heading,
body.podio-client-shell .tickets-summary-heading,
body.podio-client-shell .projects-summary-heading,
body.podio-client-shell .invoices-quick-info-heading,
body.podio-client-shell h4.bold,
body.podio-client-shell h3.bold {
  color: var(--pw-navy) !important;
  font-size: 16px !important;
  font-weight: 680 !important;
  letter-spacing: -0.02em;
}

/* Forms */
body.podio-client-shell .form-group {
  margin-bottom: 15px;
}

body.podio-client-shell label,
body.podio-client-shell .control-label {
  margin-bottom: 6px;
  color: var(--pw-navy);
  font-size: 11px;
  font-weight: 600;
}

body.podio-client-shell .form-control,
body.podio-client-shell .bootstrap-select > .dropdown-toggle,
body.podio-client-shell .select2-container .select2-selection--single,
body.podio-client-shell .select2-container .select2-selection--multiple {
  min-height: 42px;
  padding: 9px 12px;
  border: 1.5px solid var(--pw-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
  color: var(--pw-navy);
  font-size: 12px;
}

body.podio-client-shell textarea.form-control {
  min-height: 120px;
  line-height: 1.55;
  resize: vertical;
}

body.podio-client-shell .form-control:focus,
body.podio-client-shell .bootstrap-select.open > .dropdown-toggle,
body.podio-client-shell .select2-container--open .select2-selection {
  border-color: var(--pw-teal);
  box-shadow: 0 0 0 3px rgba(14, 113, 109, 0.1);
}

body.podio-client-shell .checkbox label,
body.podio-client-shell .radio label {
  color: var(--pw-muted);
  font-size: 11px;
  line-height: 1.5;
}

body.podio-client-shell .checkbox input[type="checkbox"]:checked + label::before {
  border-color: var(--pw-teal);
  background: var(--pw-teal);
}

body.podio-client-shell .dropdown-menu {
  padding: 8px;
  border: 1.5px solid var(--pw-line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(7, 26, 55, 0.12);
}

body.podio-client-shell .dropdown-menu > li > a {
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--pw-navy);
  font-size: 12px;
}

body.podio-client-shell .dropdown-menu > li > a:hover {
  background: var(--pw-mint-soft);
  color: var(--pw-teal);
}

/* Tabs */
body.podio-client-shell .nav-tabs {
  display: flex;
  overflow-x: auto;
  gap: 5px;
  margin-bottom: 18px;
  padding: 0;
  border-bottom: 1.5px solid var(--pw-line);
  scrollbar-width: thin;
}

body.podio-client-shell .nav-tabs > li {
  float: none;
  margin: 0;
  white-space: nowrap;
}

body.podio-client-shell .nav-tabs > li > a {
  min-height: 42px;
  margin: 0;
  padding: 11px 13px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 9px 9px 0 0;
  color: var(--pw-muted);
  font-size: 11px;
  font-weight: 600;
}

body.podio-client-shell .nav-tabs > li > a:hover {
  border-bottom-color: var(--pw-mint-line);
  background: var(--pw-mint-soft);
  color: var(--pw-teal);
}

body.podio-client-shell .nav-tabs > li.active > a,
body.podio-client-shell .nav-tabs > li.active > a:hover,
body.podio-client-shell .nav-tabs > li.active > a:focus {
  border: 0;
  border-bottom: 2px solid var(--pw-teal);
  background: var(--pw-mint-soft);
  color: var(--pw-teal);
}

/* Tables and DataTables */
body.podio-client-shell .table-responsive {
  overflow-x: auto;
  border: 1.5px solid var(--pw-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(238, 248, 246, 0.72);
}

body.podio-client-shell table.table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: transparent;
}

body.podio-client-shell table.table > thead > tr > th {
  padding: 12px 13px;
  border: 0;
  border-bottom: 1.5px solid var(--pw-line);
  background: rgba(238, 248, 246, 0.55);
  color: var(--pw-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.podio-client-shell table.table > tbody > tr > td,
body.podio-client-shell table.table > tfoot > tr > td {
  padding: 13px;
  vertical-align: middle;
  border: 0;
  border-bottom: 1px solid var(--pw-line-soft);
  background: transparent;
  color: var(--pw-navy);
  font-size: 11px;
  line-height: 1.45;
}

body.podio-client-shell table.table > tbody > tr:last-child > td {
  border-bottom: 0;
}

body.podio-client-shell table.table > tbody > tr:hover > td {
  background: rgba(238, 248, 246, 0.72);
}

body.podio-client-shell .label,
body.podio-client-shell .badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 650;
  line-height: 1;
}

body.podio-client-shell .label-success,
body.podio-client-shell .label-info {
  border-color: rgba(14, 113, 109, 0.08);
  background: #ddf3ef !important;
  color: var(--pw-deep) !important;
}

body.podio-client-shell .label-warning {
  border-color: rgba(201, 133, 22, 0.12);
  background: var(--pw-amber-soft) !important;
  color: #9b650e !important;
}

body.podio-client-shell .label-danger {
  border-color: rgba(240, 100, 88, 0.12);
  background: var(--pw-coral-soft) !important;
  color: #b83d33 !important;
}

body.podio-client-shell .dataTables_wrapper > .row:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
}

body.podio-client-shell .dataTables_filter input,
body.podio-client-shell .dataTables_length select {
  height: 40px;
  border: 1.5px solid var(--pw-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}

body.podio-client-shell .dataTables_info {
  padding-top: 12px;
  color: var(--pw-muted);
  font-size: 10px;
}

body.podio-client-shell .pagination > li > a,
body.podio-client-shell .pagination > li > span {
  min-width: 34px;
  height: 34px;
  margin-left: 5px;
  padding: 7px 9px;
  border: 1.5px solid var(--pw-line);
  border-radius: 8px;
  background: #fff;
  color: var(--pw-navy);
  font-size: 11px;
}

body.podio-client-shell .pagination > .active > a,
body.podio-client-shell .pagination > .active > span {
  border-color: var(--pw-teal);
  background: var(--pw-mint-soft);
  color: var(--pw-teal);
}

/* Modern modal system */
body.podio-workspace-v3 .modal-backdrop.in {
  opacity: 0.58;
  background: #071a37;
}

body.podio-workspace-v3 .modal-dialog {
  max-width: 620px;
  margin: 7vh auto;
}

body.podio-workspace-v3 .modal-content {
  overflow: hidden;
  border: 1.5px solid rgba(197, 216, 213, 0.85);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(7, 26, 55, 0.26);
}

body.podio-workspace-v3 .modal-header {
  min-height: 72px;
  padding: 22px 24px 18px;
  border-bottom: 1.5px solid var(--pw-line-soft);
  background: linear-gradient(180deg, #fff, rgba(238, 248, 246, 0.36));
}

body.podio-workspace-v3 .modal-title {
  color: var(--pw-navy);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.podio-workspace-v3 .modal-header .close {
  width: 34px;
  height: 34px;
  margin: -7px -7px 0 0;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--pw-muted);
  font-size: 24px;
  font-weight: 400;
  opacity: 1;
}

body.podio-workspace-v3 .modal-header .close:hover {
  border-color: var(--pw-line);
  background: var(--pw-mint-soft);
  color: var(--pw-teal);
}

body.podio-workspace-v3 .modal-body {
  padding: 24px;
  color: var(--pw-muted);
}

body.podio-workspace-v3 .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 16px 24px;
  border-top: 1.5px solid var(--pw-line-soft);
  background: #fff;
}

body.podio-workspace-v3 .modal-footer .btn {
  min-width: 116px;
  margin: 0;
}

body.podio-workspace-v3 .bootbox.modal .modal-body {
  position: relative;
  padding-left: 78px;
}

body.podio-workspace-v3 .bootbox.modal .modal-body::before {
  position: absolute;
  top: 21px;
  left: 24px;
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  content: "\f128";
  border-radius: 50%;
  background: var(--pw-mint-soft);
  color: var(--pw-teal);
  font-family: "Font Awesome 6 Free";
  font-size: 15px;
  font-weight: 900;
}

/* Route-specific page organization */
body.podio-client-shell.podio-enhanced-page .section-heading:not(.section-heading-project),
body.podio-client-shell.podio-enhanced-page > h1,
body.podio-client-shell.podio-enhanced-page #content .register-heading {
  display: none;
}

body.podio-route-clients-profile #content .panel_s > .panel-body,
body.podio-route-clients-company #content .panel_s > .panel-body,
body.podio-route-clients-open-ticket #content .panel_s > .panel-body {
  padding: 26px;
}

body.podio-route-clients-profile #profile-form .row,
body.podio-route-clients-company form .row {
  margin-right: -9px;
  margin-left: -9px;
}

body.podio-route-clients-profile #profile-form [class*="col-"],
body.podio-route-clients-company form [class*="col-"] {
  padding-right: 9px;
  padding-left: 9px;
}

body.podio-route-clients-profile .profile-image,
body.podio-route-clients-profile .client-profile-image {
  border: 3px solid var(--pw-mint-soft);
  box-shadow: 0 0 0 1.5px var(--pw-line);
}

body.podio-route-clients-company .nav-tabs {
  margin-top: -4px;
}

body.podio-route-clients-tickets .tickets-summary,
body.podio-route-clients-tickets .tickets-summary .panel_s,
body.podio-route-clients-tickets .tickets-summary .panel-body {
  box-shadow: none;
}

body.podio-route-clients-tickets .tickets-summary .panel-body {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--pw-mint-soft);
}

body.podio-route-clients-open-ticket .dropzone,
body.podio-route-clients-files .dropzone {
  min-height: 96px;
  padding: 22px;
  border-style: dashed;
  border-color: var(--pw-mint-line);
  background: rgba(238, 248, 246, 0.55);
}

body.podio-route-clients-files .dropzone:hover,
body.podio-route-clients-open-ticket .dropzone:hover {
  border-color: var(--pw-teal);
  background: var(--pw-mint-soft);
}

body.podio-route-clients-files .dz-message,
body.podio-route-clients-open-ticket .dz-message {
  margin: 0;
  color: var(--pw-teal);
  font-size: 12px;
}

body.podio-route-clients-announcements .panel_s > .panel-body {
  padding: 0;
}

body.podio-route-clients-announcements .announcement {
  position: relative;
  margin: 0;
  padding: 19px 22px;
  border-bottom: 1.5px solid var(--pw-line-soft);
}

body.podio-route-clients-announcements .announcement:last-child {
  border-bottom: 0;
}

body.podio-route-clients-announcements .announcement:hover {
  background: var(--pw-mint-soft);
}

body.podio-route-knowledge-base .knowledge-base,
body.podio-route-knowledge-base .kb-search {
  max-width: none;
}

body.podio-route-knowledge-base .kb-search input {
  min-height: 52px;
  padding-left: 18px;
  font-size: 13px;
}

body.podio-route-knowledge-base .kb-search button {
  min-height: 52px;
}

body.podio-route-knowledge-base .kb-article,
body.podio-route-knowledge-base .knowledge-base .panel_s > .panel-body,
body.podio-route-knowledge-base .kb-category {
  border: 1.5px solid var(--pw-line);
  border-radius: 14px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(238, 248, 246, 0.75),
    var(--pw-shadow);
}

body.podio-route-knowledge-base .kb-article:hover,
body.podio-route-knowledge-base .kb-category:hover {
  border-color: var(--pw-teal);
  background: var(--pw-mint-soft);
}

body.podio-route-clients-statement .section-statement {
  padding-top: 0;
}

body.podio-route-clients-statement .statement-account-summary {
  border: 1.5px solid var(--pw-line);
  border-radius: 12px;
  background: var(--pw-mint-soft);
}

body.podio-route-clients-statement .statement-account-summary td {
  padding: 10px 12px !important;
}

body.podio-route-clients-statement .customer-statement-heading {
  display: none;
}

/* Project detail */
body[class*="podio-route-clients-project-"] .tw-flex.tw-items-center.tw-justify-between.tw-mb-3 {
  display: none !important;
}

.podio-project-hero {
  padding-top: 24px;
}

.podio-project-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--pw-muted);
  font-size: 11px;
}

.podio-project-breadcrumb a {
  color: var(--pw-teal);
}

.podio-project-hero-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.podio-project-hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.podio-project-hero h1 {
  margin: 0;
  color: var(--pw-navy);
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.podio-project-hero p {
  margin: 9px 0 0;
  color: var(--pw-muted);
  font-size: 13px;
}

.podio-project-hero .label {
  min-height: 28px;
  padding: 5px 11px;
}

.podio-project-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 22px 0 16px;
  border: 1.5px solid var(--pw-mint-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(238, 248, 246, 0.82);
}

.podio-project-summary-item {
  min-height: 84px;
  padding: 17px 20px;
  border-left: 1.5px solid var(--pw-line-soft);
}

.podio-project-summary-item:first-child {
  border-left: 0;
}

.podio-project-summary-item > span {
  display: block;
  margin-bottom: 8px;
  color: var(--pw-muted);
  font-size: 10px;
}

.podio-project-summary-item > strong {
  color: var(--pw-navy);
  font-size: 19px;
  font-weight: 650;
}

.podio-project-summary-item:first-child > strong {
  color: var(--pw-teal);
  font-size: 25px;
}

.podio-project-summary-track {
  display: inline-block;
  overflow: hidden;
  width: 95px;
  height: 5px;
  margin-left: 12px;
  border-radius: 5px;
  background: var(--pw-line-soft);
  vertical-align: middle;
}

.podio-project-summary-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--pw-teal);
}

body[class*="podio-route-clients-project-"] #content > .container > .row > .panel_s > .panel-body {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[class*="podio-route-clients-project-"] .podio-project-tabs {
  overflow: visible;
  margin-bottom: 18px;
  border-bottom: 1.5px solid var(--pw-line);
}

body[class*="podio-route-clients-project-"] .podio-project-tabs > li > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 45px;
  padding: 11px 12px;
}

body[class*="podio-route-clients-project-"] .podio-project-tabs .dropdown-menu {
  min-width: 220px;
}

body[class*="podio-route-clients-project-"] .podio-project-tabs .dropdown-menu > li {
  width: 100%;
}

body[class*="podio-route-clients-project-"] .podio-project-tabs .dropdown-menu > li > a {
  display: block;
  border: 0;
}

body[class*="podio-route-clients-project-"] .tab-content,
body[class*="podio-route-clients-project-"] .project-overview {
  border: 1.5px solid var(--pw-line);
  border-radius: 14px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(238, 248, 246, 0.72),
    var(--pw-shadow);
}

body[class*="podio-route-clients-project-"] .tab-content {
  padding: 22px;
}

body[class*="podio-route-clients-project-"] .project-progress-bars .progress,
body[class*="podio-route-clients-project-"] .progress {
  height: 6px;
  border-radius: 6px;
  background: var(--pw-line-soft);
  box-shadow: none;
}

body[class*="podio-route-clients-project-"] .progress-bar {
  border-radius: inherit;
  background: var(--pw-teal);
  box-shadow: none;
}

/* Existing custom dashboard/project/finance blocks compacted */
body.podio-client-shell .podio-kpi-strip {
  margin-bottom: 22px;
}

body.podio-client-shell .podio-kpi {
  min-height: 78px;
  padding: 3px 24px 6px;
}

body.podio-client-shell .podio-kpi span {
  min-height: 18px;
  font-size: 10px;
}

body.podio-client-shell .podio-kpi strong {
  margin-top: 7px;
  font-size: clamp(28px, 2.4vw, 38px);
}

body.podio-client-shell .podio-feature-block {
  min-height: 390px;
  padding: 27px 26px 22px;
  border-radius: 14px;
}

body.podio-client-shell .podio-feature-head > div > strong {
  font-size: 48px;
}

body.podio-client-shell .podio-project-progress-list {
  margin-top: 34px;
}

body.podio-client-shell .podio-progress-row {
  min-height: 58px;
}

body.podio-client-shell .podio-delivery-block,
body.podio-client-shell .podio-activity-block {
  padding: 23px;
}

body.podio-client-shell .podio-project-toolbar {
  margin-bottom: 18px;
}

body.podio-client-shell .podio-featured-project {
  gap: 30px;
  min-height: 300px;
  padding: 28px;
  border: 1.5px solid rgba(169, 221, 213, 0.4);
  border-radius: 14px;
}

body.podio-client-shell .podio-featured-copy h2 {
  font-size: clamp(28px, 2.6vw, 38px);
}

body.podio-client-shell .podio-featured-progress > strong {
  font-size: clamp(62px, 6vw, 88px);
}

body.podio-client-shell .podio-project-card {
  min-height: 210px;
  padding: 23px;
  border-width: 1.5px;
  border-radius: 14px;
}

body.podio-client-shell .podio-project-card-mint {
  border-color: var(--pw-mint-line);
}

body.podio-client-shell .podio-finance-summary {
  gap: 28px;
  margin-bottom: 28px;
}

body.podio-client-shell .podio-open-balance > span {
  font-size: 14px;
}

body.podio-client-shell .podio-open-balance > strong {
  font-size: clamp(36px, 3.4vw, 50px);
}

body.podio-client-shell .podio-finance-highlight {
  min-height: 160px;
  padding: 27px 32px;
  border-color: var(--pw-mint-line);
  border-radius: 14px;
}

body.podio-client-shell .podio-finance-highlight strong {
  font-size: clamp(27px, 2.5vw, 36px);
}

/* Public authentication */
body.podio-auth-page {
  min-height: 100vh;
  padding: 0;
  background: var(--pw-surface);
}

.podio-auth-brand-panel {
  position: fixed;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  width: 41.5%;
  padding: 72px clamp(44px, 6vw, 92px);
  background:
    radial-gradient(circle at 12% 92%, rgba(21, 149, 141, 0.32) 0 120px, transparent 121px),
    linear-gradient(135deg, transparent 68%, rgba(189, 233, 226, 0.09) 68%),
    linear-gradient(145deg, var(--pw-deep-dark), var(--pw-deep));
  color: #fff;
}

.podio-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #fff !important;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.podio-auth-brand svg {
  width: 45px;
  height: 45px;
}

.podio-auth-brand strong {
  margin-right: 5px;
  letter-spacing: 0.14em;
}

.podio-auth-brand-copy {
  position: absolute;
  top: 36%;
  right: clamp(44px, 6vw, 92px);
  left: clamp(44px, 6vw, 92px);
}

.podio-auth-brand-copy h2 {
  max-width: 390px;
  margin: 0 0 38px;
  color: #fff;
  font-size: clamp(25px, 2.3vw, 34px);
  font-weight: 520;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.podio-auth-brand-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.podio-auth-brand-copy li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
}

.podio-auth-brand-copy li i {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(189, 233, 226, 0.8);
  border-radius: 50%;
  color: var(--pw-mint);
}

.podio-auth-topnav {
  position: fixed;
  z-index: 20;
  top: 25px;
  right: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pw-muted);
  font-size: 11px;
}

.podio-auth-topnav a {
  min-height: 34px;
  padding: 8px 13px;
  border: 1.5px solid var(--pw-line);
  border-radius: 9px;
  background: #fff;
  font-weight: 650;
}

body.podio-auth-page #wrapper {
  min-height: 100vh;
  margin: 0 0 0 41.5%;
  background: var(--pw-surface);
}

body.podio-auth-page #content {
  min-height: 100vh;
  padding: 0;
  background: transparent;
}

body.podio-auth-page #content > .container {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 110px 58px 42px;
}

body.podio-auth-page footer.footer {
  margin-left: 41.5%;
  border: 0;
  background: transparent;
  color: var(--pw-muted);
  font-size: 10px;
}

body.podio-auth-login #content > .container {
  max-width: 640px;
  padding-top: 19vh;
}

body.podio-auth-login #content .mtop40 {
  margin: 0 !important;
}

body.podio-auth-login #content .col-md-4,
body.podio-auth-login #content .col-sm-8 {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

body.podio-auth-page .login-heading,
body.podio-auth-page .register-heading {
  margin: 0 0 8px;
  color: var(--pw-navy);
  font-size: clamp(31px, 3vw, 40px);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

body.podio-auth-login .login-heading {
  font-size: 0;
}

body.podio-auth-login .login-heading::before {
  content: "Bem-vindo de volta";
  font-size: 38px;
}

body.podio-auth-login .login-heading::after {
  display: block;
  margin-top: 10px;
  content: "Acesse seu workspace para continuar.";
  color: var(--pw-muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

body.podio-auth-page .panel_s {
  margin: 26px 0 0;
}

body.podio-auth-page .panel_s > .panel-body {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.podio-auth-page .form-group {
  margin-bottom: 16px;
}

body.podio-auth-page label,
body.podio-auth-page .control-label {
  margin-bottom: 6px;
  color: var(--pw-navy);
  font-size: 11px;
  font-weight: 600;
}

body.podio-auth-page .form-control,
body.podio-auth-page .bootstrap-select > .dropdown-toggle {
  min-height: 46px;
  padding: 10px 13px;
  border: 1.5px solid var(--pw-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
  color: var(--pw-navy);
  font-size: 12px;
}

body.podio-auth-page .form-control:focus {
  border-color: var(--pw-teal);
  box-shadow: 0 0 0 3px rgba(14, 113, 109, 0.1);
}

body.podio-auth-page .podio-field-invalid {
  border-color: var(--pw-coral) !important;
  box-shadow: 0 0 0 3px rgba(240, 100, 88, 0.1) !important;
}

body.podio-auth-page .btn {
  min-height: 46px;
  padding: 11px 16px;
  border: 1.5px solid var(--pw-line);
  border-radius: 9px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 650;
}

body.podio-auth-page .btn-primary {
  border-color: var(--pw-deep);
  background: var(--pw-deep);
  color: #fff;
}

body.podio-auth-page .btn-primary:hover {
  border-color: var(--pw-teal-bright);
  background: var(--pw-teal-bright);
}

body.podio-auth-page .btn-default {
  background: #fff;
  color: var(--pw-teal);
}

body.podio-auth-page .checkbox {
  margin: 4px 0 16px;
}

body.podio-auth-page .text-muted {
  color: var(--pw-teal);
  font-size: 11px;
}

body.podio-auth-login .login-form .tw-text-center {
  position: absolute;
  margin-top: -146px;
  right: 0;
}

body.podio-auth-login .login-form {
  position: relative;
}

body.podio-auth-login .login-form .bootstrap-select {
  margin-bottom: 4px;
}

/* Registration steps */
body.podio-auth-register #content > .container {
  max-width: 980px;
  padding-top: 78px;
}

body.podio-auth-register #content > .container > .row,
body.podio-auth-register #content > .container > .col-md-10 {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

body.podio-auth-register #content > .container > .row:first-child {
  display: none;
}

.podio-registration-intro {
  margin-bottom: 20px;
}

.podio-registration-intro small {
  display: block;
  margin-bottom: 5px;
  color: var(--pw-teal);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.podio-registration-intro h1 {
  margin: 0;
  color: var(--pw-navy);
  font-size: 34px;
  font-weight: 720;
  letter-spacing: -0.04em;
}

.podio-registration-intro p {
  margin: 7px 0 0;
  color: var(--pw-muted);
  font-size: 12px;
}

.podio-registration-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
}

.podio-registration-progress-item {
  position: relative;
  padding-top: 18px;
  color: var(--pw-muted);
  font-size: 10px;
  font-weight: 600;
}

.podio-registration-progress-item::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  content: "";
  border: 1.5px solid var(--pw-line);
  border-radius: 50%;
  background: #fff;
}

.podio-registration-progress-item::after {
  position: absolute;
  top: 5px;
  right: 12px;
  left: 15px;
  height: 1.5px;
  content: "";
  background: var(--pw-line);
}

.podio-registration-progress-item:last-child::after {
  display: none;
}

.podio-registration-progress-item.active,
.podio-registration-progress-item.done {
  color: var(--pw-teal);
}

.podio-registration-progress-item.active::before,
.podio-registration-progress-item.done::before {
  border-color: var(--pw-teal);
  background: var(--pw-teal);
  box-shadow: inset 0 0 0 3px #fff;
}

.podio-registration-progress-item.done::after {
  background: var(--pw-teal);
}

body.podio-auth-register #register-form .panel_s {
  margin: 0;
}

body.podio-auth-register #register-form .panel-body {
  padding: 22px 22px 8px;
  border: 1.5px solid var(--pw-line);
  border-radius: 14px 14px 0 0;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(238, 248, 246, 0.72),
    var(--pw-shadow);
}

body.podio-auth-register #register-form .panel-body > .row {
  margin-right: -8px;
  margin-left: -8px;
}

body.podio-auth-register #register-form .panel-body > .row > .col-md-6 {
  float: none;
  width: 100%;
  padding-right: 8px;
  padding-left: 8px;
}

body.podio-auth-register #register-form .register-contact-info-heading,
body.podio-auth-register #register-form .register-company-info-heading {
  display: none;
}

body.podio-auth-register #register-form .podio-register-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

body.podio-auth-register #register-form .podio-step-field {
  min-width: 0;
}

body.podio-auth-register #register-form[data-current-step="1"] .podio-step-field:not(.podio-step-1),
body.podio-auth-register #register-form[data-current-step="2"] .podio-step-field:not(.podio-step-2),
body.podio-auth-register #register-form[data-current-step="3"] .podio-step-field:not(.podio-step-3) {
  display: none !important;
}

body.podio-auth-register #register-form .register-contact-custom-fields,
body.podio-auth-register #register-form .register-company-custom-fields {
  grid-column: 1 / -1;
}

.podio-register-review {
  display: none;
  grid-column: 1 / -1;
  padding: 18px;
  border: 1.5px solid var(--pw-mint-line);
  border-radius: 12px;
  background: var(--pw-mint-soft);
}

body.podio-auth-register #register-form[data-current-step="3"] .podio-register-review {
  display: block;
}

.podio-register-review h3 {
  margin: 0 0 6px;
  color: var(--pw-navy);
  font-size: 15px;
  font-weight: 680;
}

.podio-register-review p {
  margin: 0;
  color: var(--pw-muted);
  font-size: 11px;
  line-height: 1.55;
}

body.podio-auth-register #register-form .register-terms-and-conditions-wrapper,
body.podio-auth-register #register-form .register-recaptcha {
  float: none;
  width: 100%;
  grid-column: 1 / -1;
}

body.podio-auth-register #register-form .panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 22px;
  border: 1.5px solid var(--pw-line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #fff;
}

.podio-register-actions {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.podio-register-actions .btn {
  min-width: 132px;
}

body.podio-auth-register #register-form[data-current-step="1"] .podio-register-back {
  visibility: hidden;
  pointer-events: none;
}

body.podio-auth-register #register-form:not([data-current-step="3"]) .panel-footer > button[type="submit"] {
  display: none;
}

body.podio-auth-register #register-form[data-current-step="3"] .podio-register-next {
  display: none;
}

.podio-register-error {
  margin: 0 0 12px;
  padding: 9px 11px;
  border: 1px solid #f2b9b2;
  border-radius: 8px;
  background: var(--pw-coral-soft);
  color: #a8362e;
  font-size: 10px;
}

/* Public invoice */
body.podio-public-invoice {
  min-height: 100vh;
  padding: 72px 0 0;
  background: var(--pw-surface);
}

.podio-invoice-public-nav {
  position: fixed;
  z-index: 1050;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 72px;
  align-items: center;
  gap: 24px;
  padding: 0 max(34px, calc((100vw - 1320px) / 2));
  border-bottom: 1.5px solid var(--pw-line-soft);
  background: rgba(252, 253, 252, 0.97);
}

.podio-invoice-public-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--pw-teal) !important;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.podio-invoice-public-brand svg {
  width: 34px;
  height: 34px;
}

.podio-invoice-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 22px;
  border-left: 1.5px solid var(--pw-line);
  font-size: 11px;
}

body.podio-public-invoice #wrapper,
body.podio-public-invoice #content {
  margin: 0;
  background: transparent;
}

body.podio-public-invoice #content > .container,
body.podio-public-invoice .preview-sticky-container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding-right: 34px;
  padding-left: 34px;
}

body.podio-public-invoice .invoice-html-logo {
  display: none;
}

body.podio-public-invoice .preview-top-wrapper {
  margin-top: 18px;
}

body.podio-public-invoice .preview-top-wrapper .top {
  position: static !important;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.podio-public-invoice .invoice-html-number {
  color: var(--pw-navy);
  font-size: 28px;
  font-weight: 720;
  letter-spacing: -0.035em;
}

body.podio-public-invoice .invoice-html-status .label {
  min-height: 27px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ddf3ef !important;
  color: var(--pw-teal) !important;
}

body.podio-public-invoice .action-button,
body.podio-public-invoice .btn {
  min-height: 40px;
  padding: 9px 14px;
  border: 1.5px solid var(--pw-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
  color: var(--pw-teal);
  font-size: 11px;
  font-weight: 650;
}

body.podio-public-invoice .panel_s {
  max-width: 1260px;
  margin: 18px auto 30px;
  padding: 0 34px;
}

body.podio-public-invoice .panel_s > .panel-body {
  padding: 28px;
  border: 1.5px solid var(--pw-line);
  border-radius: 14px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(238, 248, 246, 0.72),
    var(--pw-shadow);
}

body.podio-public-invoice .table-responsive {
  border: 1.5px solid var(--pw-line);
  border-radius: 12px;
}

body.podio-public-invoice table.table > thead > tr > th {
  padding: 12px;
  border-bottom: 1.5px solid var(--pw-line);
  background: var(--pw-mint-soft);
  color: var(--pw-muted);
  font-size: 9px;
  text-transform: uppercase;
}

body.podio-public-invoice table.table > tbody > tr > td {
  padding: 12px;
  border-color: var(--pw-line-soft);
  color: var(--pw-navy);
  font-size: 11px;
}

/* Responsive */
@media (max-width: 1100px) {
  .podio-project-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .podio-project-summary-item:nth-child(3) {
    border-left: 0;
    border-top: 1.5px solid var(--pw-line-soft);
  }

  .podio-project-summary-item:nth-child(4) {
    border-top: 1.5px solid var(--pw-line-soft);
  }

  .podio-auth-brand-panel {
    width: 36%;
    padding-right: 42px;
    padding-left: 42px;
  }

  body.podio-auth-page #wrapper,
  body.podio-auth-page footer.footer {
    margin-left: 36%;
  }
}

@media (max-width: 991px) {
  body.podio-client-shell {
    padding-top: 64px;
    padding-bottom: 64px;
    padding-left: 0;
  }

  body.podio-client-shell .podio-client-topbar {
    left: 0;
    height: 64px;
  }

  body.podio-client-shell .podio-client-topbar-inner,
  body.podio-client-shell #content > .container {
    padding-right: 24px;
    padding-left: 24px;
  }

  body.podio-client-shell .podio-client-rail {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 64px;
  }

  body.podio-client-shell .podio-client-brand,
  body.podio-client-shell .podio-client-rail-footer {
    display: none;
  }

  body.podio-client-shell .podio-client-nav {
    overflow-x: auto;
    flex-direction: row;
    justify-content: space-around;
    padding: 0 8px;
  }

  body.podio-client-shell .podio-client-nav-link {
    width: auto;
    min-width: 58px;
    height: 64px;
    flex: 1 0 58px;
  }

  body.podio-client-shell .podio-client-nav-link::before {
    top: auto;
    right: 0;
    bottom: 0;
    width: auto;
    height: 3px;
  }

  body.podio-client-shell .podio-secondary-projects {
    grid-template-columns: 1fr;
  }

  .podio-auth-brand-panel {
    display: none;
  }

  body.podio-auth-page #wrapper,
  body.podio-auth-page footer.footer {
    margin-left: 0;
  }

  body.podio-auth-page #content > .container {
    padding-right: 26px;
    padding-left: 26px;
  }

  body.podio-auth-register #content > .container {
    max-width: 720px;
  }
}

@media (max-width: 767px) {
  body.podio-client-shell .podio-client-topbar-inner,
  body.podio-client-shell #content > .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  body.podio-client-shell .podio-topbar-greeting,
  body.podio-client-shell .podio-topbar-divider {
    display: none;
  }

  body.podio-client-shell .podio-page-heading,
  .podio-v3-page-head,
  .podio-project-hero-main {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  body.podio-client-shell .podio-page-heading h1,
  .podio-v3-page-head h1,
  .podio-project-hero h1 {
    font-size: 34px;
  }

  .podio-v3-page-actions,
  .podio-v3-page-actions .btn {
    width: 100%;
  }

  body.podio-client-shell .podio-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.podio-client-shell .podio-kpi,
  body.podio-client-shell .podio-kpi:first-child {
    min-height: 74px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--pw-line);
    border-left: 0;
  }

  body.podio-client-shell .podio-kpi:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid var(--pw-line);
  }

  body.podio-client-shell .podio-featured-project,
  body.podio-client-shell .podio-finance-highlight {
    grid-template-columns: 1fr;
  }

  .podio-project-summary-strip {
    grid-template-columns: 1fr;
  }

  .podio-project-summary-item,
  .podio-project-summary-item:first-child,
  .podio-project-summary-item:nth-child(3),
  .podio-project-summary-item:nth-child(4) {
    border-top: 1.5px solid var(--pw-line-soft);
    border-left: 0;
  }

  .podio-project-summary-item:first-child {
    border-top: 0;
  }

  body.podio-auth-page #content > .container,
  body.podio-auth-login #content > .container,
  body.podio-auth-register #content > .container {
    padding-top: 88px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .podio-auth-topnav {
    top: 18px;
    right: 18px;
  }

  .podio-auth-topnav span {
    display: none;
  }

  body.podio-auth-register #register-form .podio-register-fields {
    grid-template-columns: 1fr;
  }

  body.podio-auth-page .login-heading,
  body.podio-auth-login .login-heading::before {
    font-size: 32px;
  }

  .podio-invoice-public-nav {
    padding: 0 16px;
  }

  .podio-invoice-back {
    margin-left: auto;
    font-size: 0;
  }

  .podio-invoice-back i {
    font-size: 13px;
  }

  body.podio-public-invoice #content > .container,
  body.podio-public-invoice .preview-sticky-container,
  body.podio-public-invoice .panel_s {
    padding-right: 16px;
    padding-left: 16px;
  }

  body.podio-workspace-v3 .modal-dialog {
    width: auto;
    margin: 16px;
  }
}

@media (max-width: 430px) {
  body.podio-client-shell .podio-kpi-strip {
    grid-template-columns: 1fr;
  }

  body.podio-client-shell .podio-kpi,
  body.podio-client-shell .podio-kpi:nth-child(odd) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .podio-registration-progress-item {
    font-size: 9px;
  }

  .podio-register-actions .btn {
    min-width: 0;
    flex: 1;
  }
}

/* V3.1 corrective layer: deterministic surfaces and contrast */
body.podio-client-shell .podio-client-rail .podio-client-brand,
body.podio-client-shell .podio-client-rail .podio-client-brand:hover,
body.podio-client-shell .podio-client-rail .podio-client-brand:focus,
body.podio-client-shell .podio-client-rail .podio-client-nav-link,
body.podio-client-shell .podio-client-rail .podio-client-nav-link:hover,
body.podio-client-shell .podio-client-rail .podio-client-nav-link:focus,
body.podio-client-shell .podio-client-rail .podio-client-nav-link.active,
body.podio-client-shell .podio-client-rail .podio-rail-avatar,
body.podio-client-shell .podio-client-rail .podio-rail-logout {
  color: #fff !important;
}

body.podio-client-shell .podio-client-rail .podio-client-nav-link {
  opacity: 0.9;
}

body.podio-client-shell .podio-client-rail .podio-client-nav-link:hover,
body.podio-client-shell .podio-client-rail .podio-client-nav-link:focus,
body.podio-client-shell .podio-client-rail .podio-client-nav-link.active {
  opacity: 1;
}

body.podio-client-shell .podio-client-rail .podio-client-nav-link.active {
  background: linear-gradient(
    90deg,
    rgba(189, 233, 226, 0.32),
    rgba(189, 233, 226, 0.14)
  ) !important;
}

.podio-workspace-logo-mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

body.podio-client-shell .podio-client-brand .podio-workspace-logo-mark {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 5px 11px rgba(0, 0, 0, 0.16));
}

.podio-auth-brand .podio-workspace-logo-mark,
.podio-invoice-public-brand .podio-workspace-logo-mark {
  width: 42px;
  height: 42px;
}

body.podio-client-shell .podio-page-heading h1,
body.podio-client-shell .podio-v3-page-head h1,
body.podio-client-shell .podio-project-hero h1 {
  font-size: clamp(30px, 2.6vw, 37px) !important;
  line-height: 1.08;
}

body.podio-client-shell .podio-v3-page-head,
body.podio-client-shell .podio-page-heading {
  margin-bottom: 21px;
}

body.podio-client-shell .podio-v3-page-head {
  padding-top: 23px;
}

body.podio-client-shell .panel_s > .panel-body,
body.podio-client-shell .table-responsive,
body.podio-client-shell .podio-project-card,
body.podio-client-shell .podio-finance-card {
  border: 0 !important;
  border-radius: 16px !important;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(7, 26, 55, 0.04),
    0 12px 34px rgba(7, 26, 55, 0.075) !important;
}

body.podio-client-shell .panel_s > .panel-body {
  padding: 22px !important;
}

body.podio-client-shell .panel_s > .panel-footer {
  margin-top: 0;
  padding: 15px 22px;
  border: 0 !important;
  border-top: 1px solid var(--pw-line-soft) !important;
  border-radius: 0 0 16px 16px;
  background: #fff;
}

body.podio-client-shell .panel_s:has(> .panel-footer) > .panel-body {
  border-radius: 16px 16px 0 0 !important;
}

.podio-v3-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: -2px 0 20px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--pw-line-soft);
}

.podio-v3-card-heading h2 {
  margin: 0;
  color: var(--pw-navy);
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.podio-v3-card-heading p {
  max-width: 650px;
  margin: 5px 0 0;
  color: var(--pw-muted);
  font-size: 11px;
  line-height: 1.55;
}

body.podio-client-shell .form-group {
  margin-bottom: 15px;
}

body.podio-client-shell label,
body.podio-client-shell .control-label {
  margin-bottom: 6px;
  color: #34435b;
  font-size: 11px;
  font-weight: 600;
}

body.podio-client-shell .form-control,
body.podio-client-shell .bootstrap-select > .dropdown-toggle,
body.podio-client-shell .input-group-addon {
  min-height: 42px;
  border: 1.5px solid #cfdedc !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: var(--pw-navy) !important;
  box-shadow: none !important;
  font-size: 12px;
}

body.podio-client-shell textarea.form-control {
  min-height: 112px;
  padding: 12px 13px;
  line-height: 1.55;
}

body.podio-client-shell .form-control:focus,
body.podio-client-shell .bootstrap-select.open > .dropdown-toggle {
  border-color: var(--pw-teal) !important;
  box-shadow: 0 0 0 3px rgba(14, 113, 109, 0.1) !important;
}

body.podio-client-shell .btn {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 650;
}

body.podio-client-shell .btn-primary,
body.podio-client-shell a.btn-primary {
  border-color: var(--pw-deep) !important;
  background: linear-gradient(135deg, var(--pw-deep), var(--pw-teal)) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(0, 79, 75, 0.13);
}

body.podio-client-shell table.table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

body.podio-client-shell table.table > thead > tr > th {
  padding: 10px 12px !important;
  border-bottom: 1.5px solid var(--pw-line) !important;
  background: #f7fbfa;
  color: var(--pw-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.podio-client-shell table.table > tbody > tr > td {
  padding: 12px !important;
  border-top: 1px solid var(--pw-line-soft) !important;
  background: #fff;
  color: var(--pw-navy);
  font-size: 11px;
  vertical-align: middle;
}

body.podio-client-shell table.table > tbody > tr:hover > td {
  background: #f4faf9;
}

/* Profile */
body.podio-client-shell.podio-enhanced-page .section-profile.podio-v3-profile-layout,
body.podio-route-clients-profile .section-profile.podio-v3-profile-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(285px, 0.82fr);
  gap: 18px;
  margin: 0;
}

body.podio-route-clients-profile .podio-v3-profile-layout > [class*="col-"] {
  width: auto !important;
  padding: 0 !important;
  float: none !important;
}

body.podio-route-clients-profile .podio-v3-profile-layout > [class*="col-"] > h4 {
  display: none !important;
}

body.podio-route-clients-profile .podio-v3-profile-fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

body.podio-route-clients-profile .podio-v3-profile-fields > .form-group:first-child,
body.podio-route-clients-profile .podio-v3-profile-fields > hr,
body.podio-route-clients-profile .podio-v3-profile-fields > .email-notifications-label,
body.podio-route-clients-profile .podio-v3-profile-fields > .podio-v3-notification-grid,
body.podio-route-clients-profile .podio-v3-profile-fields > .custom-fields {
  grid-column: 1 / -1;
}

body.podio-route-clients-profile .profile-image-upload-group,
body.podio-route-clients-profile .profile-image-group {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border: 1.5px solid var(--pw-line-soft);
  border-radius: 12px;
  background: var(--pw-mint-soft);
}

body.podio-route-clients-profile .client-profile-image-thumb {
  width: 66px;
  height: 66px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1.5px var(--pw-mint-line);
}

body.podio-route-clients-profile .email-notifications-label {
  margin: 3px 0 10px;
  color: var(--pw-navy);
  font-size: 14px;
}

.podio-v3-notification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.podio-route-clients-profile .podio-v3-notification-grid .checkbox {
  min-height: 46px;
  margin: 0 !important;
  padding: 12px 12px 10px 42px;
  border: 1.5px solid var(--pw-line-soft);
  border-radius: 11px;
  background: #fbfdfd;
}

body.podio-route-clients-profile .podio-v3-security-card .panel-body {
  min-height: 395px;
}

body.podio-route-clients-profile .last-password-change {
  color: var(--pw-muted);
  font-size: 10px;
}

/* Company */
body.podio-route-clients-company .podio-v3-company-form > h4,
body.podio-route-clients-company .section-heading-company-profile {
  display: none !important;
}

body.podio-route-clients-company .podio-v3-company-card > .panel-body > .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin: 0;
}

body.podio-route-clients-company .podio-v3-company-card > .panel-body > .row > [class*="col-"] {
  width: auto !important;
  padding: 0 !important;
  float: none !important;
}

body.podio-route-clients-company .podio-v3-company-card .custom-fields,
body.podio-route-clients-company .podio-v3-company-card .company-profile-billing-shipping-heading {
  grid-column: 1 / -1;
}

body.podio-route-clients-company .company-profile-billing-shipping-heading {
  margin: 15px 0 18px;
  padding: 14px 0 0;
  border-top: 1.5px solid var(--pw-line-soft);
  color: var(--pw-navy);
  font-size: 15px;
}

body.podio-route-clients-company .company-profile-billing-address-heading,
body.podio-route-clients-company .company-profile-shipping-address-heading {
  margin: 0 0 13px;
  color: var(--pw-teal);
  font-size: 13px;
  font-weight: 700;
}

/* Tickets */
body.podio-route-clients-tickets .tickets-summary-heading {
  display: none;
}

.podio-v3-ticket-kpis {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px !important;
  margin: 0 0 18px !important;
}

.podio-v3-ticket-kpis > a {
  min-height: 84px;
  padding: 15px;
  border: 0 !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(7, 26, 55, 0.035);
  transition: transform 150ms ease, border-color 150ms ease;
}

.podio-v3-ticket-kpis > a:hover {
  border-color: var(--pw-teal) !important;
  transform: translateY(-2px);
}

.podio-v3-ticket-kpis > a > div {
  padding: 0 !important;
}

.podio-v3-ticket-kpis dt {
  font-size: 10px;
  font-weight: 700;
}

.podio-v3-ticket-kpis dd div {
  margin-top: 7px;
  color: var(--pw-navy) !important;
  font-size: 25px !important;
  line-height: 1;
}

/* New ticket */
body.podio-route-clients-open-ticket .podio-v3-open-ticket-form .panel-body > .row > .col-md-12 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

body.podio-route-clients-open-ticket .open-ticket-subject-group,
body.podio-route-clients-open-ticket .open-ticket-project-group,
body.podio-route-clients-open-ticket .open-ticket-service-group,
body.podio-route-clients-open-ticket .open-ticket-message-group,
body.podio-route-clients-open-ticket .open-ticket-attachments-area,
body.podio-route-clients-open-ticket .podio-v3-open-ticket-form .custom-fields,
body.podio-route-clients-open-ticket .podio-v3-open-ticket-form .panel-body > .row > .col-md-12 > .row {
  grid-column: 1 / -1;
}

body.podio-route-clients-open-ticket .open-ticket-attachments-area {
  margin-top: 4px;
  padding: 16px;
  border: 1.5px dashed var(--pw-mint-line);
  border-radius: 12px;
  background: var(--pw-mint-soft);
}

/* Files */
body.podio-route-clients-files .podio-v3-dropzone {
  min-height: 132px;
  margin: 0 0 15px;
  padding: 30px 22px !important;
  border: 2px dashed var(--pw-mint-line) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(circle at 50% 0, rgba(189, 233, 226, 0.32), transparent 58%),
    #f9fcfb !important;
}

body.podio-route-clients-files .podio-v3-dropzone .dz-message {
  color: var(--pw-teal);
  font-size: 12px;
  font-weight: 650;
}

body.podio-route-clients-files .table-files .preview_image img {
  border-radius: 9px;
}

/* Announcements and knowledge base */
body.podio-route-clients-announcements .table-announcements td:first-child a {
  color: var(--pw-navy);
  font-weight: 700;
}

body.podio-route-knowledge-base .kb-search-jumbotron,
body[class*="podio-route-knowledge-base-"] .kb-search-jumbotron {
  margin: 0 0 20px;
  padding: 24px !important;
  border: 0;
  border-radius: 15px;
  background:
    radial-gradient(circle at 20% 0, rgba(189, 233, 226, 0.45), transparent 48%),
    #f9fcfb;
}

body.podio-route-knowledge-base .kb-search-heading,
body[class*="podio-route-knowledge-base-"] .kb-search-heading {
  margin: 0 0 16px !important;
  color: var(--pw-navy);
  font-size: 18px;
}

body.podio-route-knowledge-base .kb-search .container,
body[class*="podio-route-knowledge-base-"] .kb-search .container {
  width: 100%;
}

body.podio-route-knowledge-base .podio-v3-knowledge-card ul[role="list"] > li,
body[class*="podio-route-knowledge-base-"] .podio-v3-knowledge-card ul[role="list"] > li {
  margin-bottom: 9px;
  padding: 15px !important;
  border: 1.5px solid var(--pw-line-soft);
  border-radius: 12px;
  background: #fbfdfd;
}

body.podio-route-knowledge-base .podio-v3-knowledge-link,
body[class*="podio-route-knowledge-base-"] .podio-v3-knowledge-link {
  color: var(--pw-navy) !important;
}

/* Statement */
body.podio-route-clients-statement .podio-v3-statement > .row:first-of-type {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: 14px;
  align-items: end;
  margin: 0 0 16px;
  padding: 16px;
  border: 0;
  border-radius: 14px;
  background: #fff;
}

body.podio-route-clients-statement .podio-v3-statement > .row:first-of-type > [class*="col-"] {
  width: auto !important;
  padding: 0 !important;
  float: none !important;
}

body.podio-route-clients-statement .statement-account-summary {
  overflow: hidden;
  border: 1.5px solid var(--pw-line-soft);
  border-radius: 12px;
}

/* Project overview */
body[class*="podio-route-clients-project-"] .podio-project-summary-strip {
  border: 0;
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(7, 26, 55, 0.065);
}

body[class*="podio-route-clients-project-"] .podio-project-tabs {
  margin-bottom: 16px;
  padding: 0 4px;
  border-bottom: 1.5px solid var(--pw-line);
}

body[class*="podio-route-clients-project-"] .podio-project-tabs > li > a {
  color: #25344f;
  font-size: 11px;
}

body[class*="podio-route-clients-project-"] .podio-project-tabs > li.active > a {
  border-radius: 10px 10px 0 0;
  background: var(--pw-mint-soft);
  color: var(--pw-teal);
}

body[class*="podio-route-clients-project-"] .pw-project-overview-host,
body[class*="podio-route-clients-project-"] .tab-content.pw-project-overview-host {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pw-project-overview {
  display: grid;
  gap: 16px;
}

.pw-project-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(315px, 0.82fr);
  gap: 16px;
  align-items: start;
}

.pw-project-side-stack {
  display: grid;
  gap: 16px;
}

.pw-project-surface {
  border: 0;
  border-radius: 15px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(7, 26, 55, 0.035),
    0 12px 32px rgba(7, 26, 55, 0.07);
}

.pw-project-details-card,
.pw-project-progress-card,
.pw-project-shortcuts,
.pw-project-finance-card {
  padding: 20px;
}

.pw-project-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.pw-project-card-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--pw-teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pw-project-card-head h3 {
  margin: 0;
  color: var(--pw-navy);
  font-size: 16px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.pw-project-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--pw-project-status) 32%, #fff);
  border-radius: 99px;
  background: color-mix(in srgb, var(--pw-project-status) 8%, #fff);
  color: var(--pw-project-status);
  font-size: 9px;
  font-weight: 700;
}

.pw-project-status-dot::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--pw-project-status);
}

.pw-project-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pw-project-detail {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1.5px solid var(--pw-line-soft);
  border-radius: 12px;
  background: #fbfdfd;
}

.pw-project-detail-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--pw-mint-soft);
  color: var(--pw-teal);
}

.pw-project-detail small,
.pw-project-detail strong {
  display: block;
}

.pw-project-detail small {
  margin-bottom: 4px;
  color: var(--pw-muted);
  font-size: 9px;
}

.pw-project-detail strong {
  color: var(--pw-navy);
  font-size: 11px;
  font-weight: 680;
  line-height: 1.4;
}

.pw-project-metric {
  padding: 13px 0;
  border-top: 1.5px solid var(--pw-line-soft);
}

.pw-project-metric:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.pw-project-metric:last-child {
  padding-bottom: 0;
}

.pw-project-metric-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.pw-project-metric-copy span {
  color: var(--pw-muted);
  font-size: 10px;
}

.pw-project-metric-copy strong {
  color: var(--pw-teal);
  font-size: 16px;
  font-weight: 720;
}

.pw-project-metric-copy small {
  color: var(--pw-muted);
  font-size: 9px;
  font-weight: 550;
}

.pw-project-meter {
  overflow: hidden;
  height: 6px;
  border-radius: 99px;
  background: #dfecea;
}

.pw-project-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pw-teal), #2aa89f);
}

.pw-project-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pw-project-shortcut-grid > a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  min-height: 62px;
  align-items: center;
  gap: 0 8px;
  padding: 10px;
  border: 1.5px solid var(--pw-line-soft);
  border-radius: 11px;
  background: #fbfdfd;
  color: var(--pw-navy) !important;
}

.pw-project-shortcut-grid > a:hover {
  border-color: var(--pw-teal);
  background: var(--pw-mint-soft);
}

.pw-project-shortcut-grid i {
  grid-row: 1 / 3;
  color: var(--pw-teal);
  font-size: 15px;
}

.pw-project-shortcut-grid span {
  align-self: end;
  font-size: 10px;
  font-weight: 700;
}

.pw-project-shortcut-grid strong {
  align-self: start;
  color: var(--pw-muted);
  font-size: 8px;
  font-weight: 550;
}

.pw-project-finance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.pw-project-finance-grid article {
  min-height: 78px;
  padding: 13px;
  border: 1.5px solid var(--pw-line-soft);
  border-radius: 11px;
  background: #fbfdfd;
}

.pw-project-finance-grid span,
.pw-project-finance-grid strong,
.pw-project-finance-grid small {
  display: block;
}

.pw-project-finance-grid span {
  margin-bottom: 7px;
  color: var(--pw-muted);
  font-size: 9px;
}

.pw-project-finance-grid strong {
  color: var(--pw-navy);
  font-size: 14px;
}

.pw-project-finance-grid small {
  margin-top: 3px;
  color: var(--pw-teal);
  font-size: 9px;
}

.pw-project-description-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 17px 20px;
}

.pw-project-description-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pw-mint-soft);
  color: var(--pw-teal);
  font-size: 16px;
}

.pw-project-description-card .project-description {
  color: #45536a !important;
  font-size: 10px;
  line-height: 1.65;
}

/* Modal contrast wins over legacy theme variants */
body.podio-workspace-v3 .modal .modal-content,
body.podio-workspace-v3 .modal .modal-header,
body.podio-workspace-v3 .modal .modal-body,
body.podio-workspace-v3 .modal .modal-footer {
  background: #fff !important;
  color: var(--pw-navy) !important;
}

body.podio-workspace-v3 .modal .modal-content {
  border: 0 !important;
  border-radius: 17px !important;
  box-shadow: 0 28px 82px rgba(7, 26, 55, 0.28) !important;
}

body.podio-auth-page {
  overflow-x: hidden;
}

body.podio-auth-page footer.footer {
  width: 58.5% !important;
  margin-left: 41.5% !important;
}

body.podio-auth-page footer.footer > .container {
  width: 100% !important;
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 58px;
  padding-left: 58px;
}

body.podio-auth-register #content > .container > .row:first-child {
  display: block !important;
}

body.podio-auth-register .register-heading {
  display: none !important;
}

body.podio-workspace-v3 .modal .modal-header {
  border-bottom: 1.5px solid var(--pw-line-soft) !important;
  background: linear-gradient(180deg, #fff, #f6fbfa) !important;
}

body.podio-workspace-v3 .modal .modal-footer {
  border-top: 1.5px solid var(--pw-line-soft) !important;
}

body.podio-workspace-v3 .modal .modal-title,
body.podio-workspace-v3 .modal .modal-body h1,
body.podio-workspace-v3 .modal .modal-body h2,
body.podio-workspace-v3 .modal .modal-body h3,
body.podio-workspace-v3 .modal .modal-body h4,
body.podio-workspace-v3 .modal .modal-body h5,
body.podio-workspace-v3 .modal .modal-body h6,
body.podio-workspace-v3 .modal .modal-body p,
body.podio-workspace-v3 .modal .modal-body span:not(.label):not(.badge),
body.podio-workspace-v3 .modal .modal-body label,
body.podio-workspace-v3 .modal .modal-body td,
body.podio-workspace-v3 .modal .modal-body th,
body.podio-workspace-v3 .modal .modal-body li {
  color: var(--pw-navy) !important;
}

body.podio-workspace-v3 .modal .text-muted,
body.podio-workspace-v3 .modal small {
  color: var(--pw-muted) !important;
}

body.podio-workspace-v3 .modal .form-control,
body.podio-workspace-v3 .modal .bootstrap-select > .dropdown-toggle {
  border: 1.5px solid #cfdedc !important;
  background: #fff !important;
  color: var(--pw-navy) !important;
}

body.podio-workspace-v3 .modal .btn-primary,
body.podio-workspace-v3 .modal a.btn-primary {
  color: #fff !important;
}

@media (max-width: 1050px) {
  body.podio-client-shell.podio-enhanced-page .section-profile.podio-v3-profile-layout,
  .pw-project-overview-grid {
    grid-template-columns: 1fr;
  }

  .podio-v3-ticket-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) and (min-width: 992px) {
  body.podio-auth-page footer.footer {
    width: 64% !important;
    margin-left: 36% !important;
  }
}

@media (max-width: 767px) {
  body.podio-client-shell .podio-v3-page-head,
  body.podio-client-shell .podio-page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  body.podio-route-clients-profile .podio-v3-profile-fields,
  .podio-v3-notification-grid,
  body.podio-route-clients-company .podio-v3-company-card > .panel-body > .row,
  body.podio-route-clients-open-ticket .podio-v3-open-ticket-form .panel-body > .row > .col-md-12,
  .pw-project-detail-grid,
  .pw-project-shortcut-grid,
  .pw-project-finance-grid {
    grid-template-columns: 1fr;
  }

  .podio-v3-ticket-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.podio-route-clients-statement .podio-v3-statement > .row:first-of-type {
    grid-template-columns: 1fr;
  }

  .pw-project-finance-grid article {
    min-height: 64px;
  }

  body.podio-auth-page footer.footer {
    width: 100% !important;
    margin-left: 0 !important;
  }

  body.podio-auth-page footer.footer > .container {
    padding-right: 24px;
    padding-left: 24px;
  }
}

/* V3.2: approved V1 visual system + real page templates */
body.podio-client-shell {
  background: #eef8f6 !important;
}

body.podio-client-shell #content {
  background:
    radial-gradient(circle at 93% 2%, rgba(189, 233, 226, 0.26), transparent 29%),
    linear-gradient(180deg, #f7fbfa 0, #eef8f6 100%) !important;
}

body.podio-client-shell #content > .container {
  max-width: 1260px !important;
}

.podio-page-template {
  width: 100%;
  padding: 18px 0 32px;
}

.podio-page-template > .section-heading,
.podio-page-template > .section-text,
.podio-page-template > .tickets-summary-heading,
.podio-page-template .customer-statement-heading {
  display: none !important;
}

body.podio-client-shell .podio-v3-page-head {
  padding: 12px 0 0;
}

body.podio-client-shell .podio-v3-page-head h1 {
  color: #071a37 !important;
  font-size: clamp(28px, 2.3vw, 36px) !important;
  font-weight: 720;
}

body.podio-client-shell .podio-v3-page-head p {
  max-width: 680px;
  color: #60708b !important;
  font-size: 12px;
}

body.podio-client-shell .podio-v3-eyebrow {
  color: #087c77 !important;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

body.podio-client-shell .podio-client-brand .podio-workspace-logo-mark {
  width: 48px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 5px 11px rgba(0, 0, 0, 0.14));
}

.podio-auth-brand .podio-workspace-logo-mark {
  width: 46px;
  height: 52px;
  object-fit: contain;
}

.podio-invoice-public-brand .podio-workspace-logo-mark {
  width: 38px;
  height: 42px;
  object-fit: contain;
}

body.podio-client-shell .panel_s > .panel-body,
body.podio-client-shell .podio-v3-ticket-kpis > a,
body.podio-client-shell .pw-project-surface,
body.podio-public-invoice .podio-public-invoice-card > .panel-body {
  border: 0 !important;
  background: #fff !important;
  box-shadow: 0 15px 38px rgba(6, 71, 67, 0.08) !important;
}

body.podio-client-shell .panel_s > .panel-footer {
  border: 0 !important;
  border-top: 1px solid #e0eeec !important;
}

body.podio-client-shell .podio-v3-card-heading {
  border-bottom: 1px solid #e0eeec;
}

body.podio-client-shell .podio-v3-card-heading h2 {
  color: #071a37 !important;
}

body.podio-client-shell .podio-v3-card-heading p {
  color: #66758d !important;
}

/* Dashboard contrast exactly follows the approved V1 reference. */
body.podio-client-shell .podio-feature-block {
  border: 0 !important;
  background:
    radial-gradient(circle at 72% 32%, rgba(25, 171, 160, 0.24), transparent 38%),
    linear-gradient(145deg, #004f4b, #00645d) !important;
  box-shadow: 0 22px 50px rgba(0, 79, 75, 0.16) !important;
}

body.podio-client-shell .podio-feature-block,
body.podio-client-shell .podio-feature-block h1,
body.podio-client-shell .podio-feature-block h2,
body.podio-client-shell .podio-feature-block h3,
body.podio-client-shell .podio-feature-block p,
body.podio-client-shell .podio-feature-block span,
body.podio-client-shell .podio-feature-block strong,
body.podio-client-shell .podio-feature-block a,
body.podio-client-shell .podio-feature-block i {
  color: #fff !important;
}

body.podio-client-shell .podio-feature-block small,
body.podio-client-shell .podio-feature-block .podio-empty-on-dark {
  color: #bde9e2 !important;
}

body.podio-client-shell .podio-feature-block .podio-feature-head > a {
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  background: transparent !important;
}

body.podio-client-shell .podio-feature-block .podio-progress-row {
  border-color: rgba(255, 255, 255, 0.16) !important;
}

body.podio-client-shell .podio-feature-block .podio-progress-row > i {
  background: rgba(189, 233, 226, 0.26) !important;
}

body.podio-client-shell .podio-feature-block .podio-progress-row > i > b {
  background: #bde9e2 !important;
}

body.podio-client-shell .podio-delivery-block {
  border: 0 !important;
  background: #bde9e2 !important;
  box-shadow: none !important;
}

body.podio-client-shell .podio-delivery-block .podio-block-label,
body.podio-client-shell .podio-delivery-block a {
  color: #087c77 !important;
}

body.podio-client-shell .podio-delivery-block h2,
body.podio-client-shell .podio-delivery-block time strong {
  color: #064f4c !important;
}

body.podio-client-shell .podio-delivery-block p,
body.podio-client-shell .podio-delivery-block .podio-empty {
  color: #5b7180 !important;
}

body.podio-client-shell .podio-activity-block {
  border: 1px solid #d9e7e5 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.podio-client-shell .podio-activity-block .podio-block-label,
body.podio-client-shell .podio-activity-block > a > i:first-child {
  color: #087c77 !important;
}

body.podio-client-shell .podio-activity-block > a,
body.podio-client-shell .podio-activity-block > a span {
  color: #071a37 !important;
}

body.podio-client-shell .podio-activity-block > a {
  border-color: #dbe8e6 !important;
}

/* Profile and organization */
body.podio-route-clients-profile .podio-v3-security-card > .panel-body {
  background: #dff4f0 !important;
}

body.podio-route-clients-profile .podio-v3-security-card .podio-v3-card-heading,
body.podio-route-clients-profile .podio-v3-security-card .form-control {
  border-color: rgba(7, 124, 119, 0.18) !important;
}

body.podio-route-clients-company .podio-v3-company-layout,
body.podio-route-clients-open-ticket .podio-v3-open-ticket-form > .row {
  margin-right: 0;
  margin-left: 0;
}

body.podio-route-clients-company .podio-v3-company-layout > .col-md-12,
body.podio-route-clients-open-ticket .podio-v3-open-ticket-form > .row > .col-md-12 {
  padding-right: 0;
  padding-left: 0;
}

body.podio-route-clients-company .podio-v3-company-card .company-profile-billing-shipping-heading {
  border-top: 1px solid #dfecea;
}

/* Tickets */
body.podio-route-clients-tickets .podio-v3-ticket-kpis > a:first-child {
  background: linear-gradient(145deg, #004f4b, #00645d) !important;
  box-shadow: 0 14px 30px rgba(0, 79, 75, 0.15) !important;
}

body.podio-route-clients-tickets .podio-v3-ticket-kpis > a:first-child dt,
body.podio-route-clients-tickets .podio-v3-ticket-kpis > a:first-child dd div {
  color: #fff !important;
}

body.podio-route-clients-tickets .podio-v3-ticket-kpis > a:nth-child(2) {
  background: #bde9e2 !important;
}

body.podio-route-clients-tickets .podio-v3-ticket-kpis > a:nth-child(2) dt,
body.podio-route-clients-tickets .podio-v3-ticket-kpis > a:nth-child(2) dd div {
  color: #064f4c !important;
}

body.podio-route-clients-tickets .podio-v3-ticket-kpis > a:hover {
  transform: translateY(-2px);
}

body.podio-route-clients-tickets .podio-v3-tickets-card .table-responsive,
body.podio-route-clients-files .podio-v3-files-card .table-responsive,
body.podio-route-clients-announcements .podio-v3-announcements-card .table-responsive {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* New ticket and files */
body.podio-route-clients-open-ticket .podio-v3-open-ticket-card > .panel-body {
  background:
    linear-gradient(90deg, #fff 0, #fff 73%, #f1faf8 73%, #f1faf8 100%) !important;
}

body.podio-route-clients-open-ticket .open-ticket-attachments-area,
body.podio-route-clients-files .podio-v3-dropzone {
  border: 1px dashed #8bcfc5 !important;
  background: #eaf7f4 !important;
}

body.podio-route-clients-files .gpicker {
  border: 0 !important;
  border-radius: 9px;
  background: #071a37;
  color: #fff;
}

/* Announcements and knowledge base */
body.podio-route-clients-announcements .table-announcements > tbody > tr > td:first-child a {
  color: #071a37 !important;
}

body.podio-route-clients-announcements .table-announcements > tbody > tr > td:first-child a::before {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  align-items: center;
  justify-content: center;
  content: "\f0a1";
  border-radius: 8px;
  background: #dff4f0;
  color: #087c77;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

body.podio-route-knowledge-base .podio-v3-knowledge-card > .panel-body,
body[class*="podio-route-knowledge-base-"] .podio-v3-knowledge-card > .panel-body {
  background:
    radial-gradient(circle at 95% 0, rgba(189, 233, 226, 0.36), transparent 30%),
    #fff !important;
}

body.podio-route-knowledge-base .podio-v3-knowledge-card ul[role="list"] > li,
body[class*="podio-route-knowledge-base-"] .podio-v3-knowledge-card ul[role="list"] > li {
  border: 0 !important;
  background: #eef8f6 !important;
}

body.podio-route-knowledge-base .kb-search-jumbotron,
body[class*="podio-route-knowledge-base-"] .kb-search-jumbotron {
  border: 0 !important;
  background: #bde9e2 !important;
}

/* Statement */
body.podio-route-clients-statement .podio-v3-statement > div > .row:first-of-type {
  border: 0 !important;
  background: #dff4f0 !important;
  box-shadow: none !important;
}

body.podio-route-clients-statement .podio-v3-statement-card > .panel-body {
  background: #fff !important;
}

body.podio-route-clients-statement .statement-account-summary {
  border: 0 !important;
  background: #eef8f6;
}

body.podio-route-clients-statement .statement-account-summary td {
  background: transparent !important;
}

/* Project internals: filled surfaces and high-contrast tabs/tables. */
body[class*="podio-route-clients-project-"] .podio-project-summary-strip {
  border: 0 !important;
  background: #dff4f0 !important;
}

body[class*="podio-route-clients-project-"] .podio-project-tabs {
  gap: 3px;
  padding: 6px !important;
  border: 0 !important;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(6, 71, 67, 0.07);
}

body[class*="podio-route-clients-project-"] .podio-project-tabs > li > a {
  border: 0 !important;
  border-radius: 9px !important;
  color: #536279 !important;
}

body[class*="podio-route-clients-project-"] .podio-project-tabs > li.active > a,
body[class*="podio-route-clients-project-"] .podio-project-tabs > li > a:hover {
  background: #00645d !important;
  color: #fff !important;
}

body[class*="podio-route-clients-project-"] .pw-project-details-card {
  background: linear-gradient(145deg, #004f4b, #00645d) !important;
}

body[class*="podio-route-clients-project-"] .pw-project-details-card h3,
body[class*="podio-route-clients-project-"] .pw-project-details-card .pw-project-card-kicker {
  color: #fff !important;
}

body[class*="podio-route-clients-project-"] .pw-project-details-card .pw-project-detail {
  border: 0 !important;
  background: rgba(255, 255, 255, 0.09) !important;
}

body[class*="podio-route-clients-project-"] .pw-project-details-card .pw-project-detail small {
  color: #bde9e2 !important;
}

body[class*="podio-route-clients-project-"] .pw-project-details-card .pw-project-detail strong {
  color: #fff !important;
}

body[class*="podio-route-clients-project-"] .pw-project-progress-card {
  background: #bde9e2 !important;
}

body[class*="podio-route-clients-project-"] .pw-project-detail,
body[class*="podio-route-clients-project-"] .pw-project-shortcut-grid > a,
body[class*="podio-route-clients-project-"] .pw-project-finance-grid article {
  border: 0 !important;
}

body[class*="podio-route-clients-project-"] .tab-pane .table-responsive,
body[class*="podio-route-clients-project-"] .tab-pane .panel_s > .panel-body {
  border: 0 !important;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(6, 71, 67, 0.07) !important;
}

/* Public invoice */
body.podio-public-invoice {
  background:
    radial-gradient(circle at 92% 0, rgba(189, 233, 226, 0.33), transparent 32%),
    #eef8f6 !important;
}

body.podio-public-invoice #content > .container {
  max-width: 1260px;
  padding-top: 24px;
}

.podio-public-invoice-template {
  padding-bottom: 34px;
}

.podio-invoice-hero {
  overflow: hidden;
  padding: 28px 30px 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 20%, rgba(37, 175, 165, 0.25), transparent 34%),
    linear-gradient(145deg, #004f4b, #00645d);
  box-shadow: 0 22px 50px rgba(0, 79, 75, 0.16);
}

.podio-invoice-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.podio-invoice-hero .podio-v3-eyebrow,
.podio-invoice-hero h1,
.podio-invoice-hero p {
  color: #fff !important;
}

.podio-invoice-brandline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.podio-invoice-brandline img {
  width: 27px;
  height: 31px;
  object-fit: contain;
}

.podio-invoice-hero h1 {
  margin: 8px 0 5px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
}

.podio-invoice-hero p {
  margin: 0;
  opacity: 0.78;
}

.podio-invoice-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.podio-invoice-hero-actions form {
  margin: 0;
}

body.podio-public-invoice .podio-invoice-hero .btn {
  border: 1px solid rgba(255, 255, 255, 0.46) !important;
  background: transparent !important;
  color: #fff !important;
}

body.podio-public-invoice .podio-invoice-hero .btn-success {
  border-color: #bde9e2 !important;
  background: #bde9e2 !important;
  color: #064f4c !important;
}

.podio-invoice-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px -30px 0;
  background: rgba(0, 49, 46, 0.28);
}

.podio-invoice-summary article {
  min-height: 92px;
  padding: 20px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.podio-invoice-summary article:first-child {
  border-left: 0;
}

.podio-invoice-summary span,
.podio-invoice-summary strong {
  display: block;
  color: #fff;
}

.podio-invoice-summary > article > span {
  margin-bottom: 7px;
  color: #bde9e2;
  font-size: 10px;
}

.podio-invoice-summary > article > strong {
  font-size: 18px;
}

.podio-invoice-summary .invoice-html-status .label {
  display: inline-flex;
  background: #bde9e2 !important;
  color: #064f4c !important;
}

body.podio-public-invoice .podio-public-invoice-card {
  max-width: none;
  margin: 18px 0 0;
  padding: 0;
}

body.podio-public-invoice .podio-public-invoice-card > .panel-body {
  padding: 26px;
  border-radius: 16px;
}

body.podio-public-invoice .podio-public-invoice-card .table-responsive {
  border: 0;
  border-radius: 11px;
}

@media (max-width: 767px) {
  .podio-page-template {
    padding-top: 8px;
  }

  body.podio-route-clients-open-ticket .podio-v3-open-ticket-card > .panel-body {
    background: #fff !important;
  }

  .podio-invoice-hero-top {
    flex-direction: column;
  }

  .podio-invoice-hero-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .podio-invoice-summary {
    grid-template-columns: 1fr;
  }

  .podio-invoice-summary article,
  .podio-invoice-summary article:first-child {
    min-height: 74px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }
}

@media print {
  body.podio-workspace-v3 {
    padding: 0 !important;
    background: #fff !important;
  }

  .podio-client-rail,
  .podio-client-topbar,
  .podio-invoice-public-nav,
  .podio-v3-page-actions,
  .podio-auth-brand-panel,
  .podio-auth-topnav {
    display: none !important;
  }

  body.podio-workspace-v3 #wrapper,
  body.podio-workspace-v3 #content,
  body.podio-workspace-v3 footer.footer {
    margin: 0 !important;
  }

  body.podio-workspace-v3 .panel_s > .panel-body,
  body.podio-workspace-v3 .table-responsive {
    border-color: #bbb !important;
    box-shadow: none !important;
  }
}
