/* Casa do Construtor: official brand palette and unmodified vector artwork. */
body {
  color: var(--cc-ink);
}
h1,
h2,
h3 {
  color: var(--cc-blue);
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand img,
.sidebar .brand img {
  width: 200px;
  height: auto;
  max-width: 100%;
  flex-shrink: 0;
}
.sidebar {
  background: var(--cc-blue);
  padding-top: 16px;
}
.sidebar-rule {
  margin: 12px 0 28px;
  background: #ffffff30;
}
.sidebar-label {
  color: #c5d7ef;
}
.nav-current {
  color: var(--cc-yellow);
  background: #ffffff0d;
  border-color: #ffffff25;
}
.sidebar .secure-badge {
  color: #fff;
  border-color: #ffffff30;
}
.secure-badge small,
.profile-name small {
  color: #bdd0e9;
}
.profile-name strong {
  color: #fff;
}
.avatar {
  background: #ffffff12;
  color: #fff;
  border-color: #ffffff35;
}
.icon-button {
  color: #d4e2f4;
}
.badge-shield {
  color: var(--cc-yellow);
  border-color: #ffcc0070;
}
.ui-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.primary-button {
  color: var(--cc-blue);
  border-color: var(--cc-yellow);
  background: var(--cc-yellow);
}
.primary-button:hover {
  background: #f2c200;
  border-color: #f2c200;
}
.tab.active {
  color: var(--cc-blue);
  border-color: var(--cc-yellow);
}
.heading-mark {
  background: none;
  border: 0;
  transform: none;
}
.heading-mark img {
  display: block;
  border-radius: 10px;
}
.tiny-dot {
  background: var(--cc-green);
}
.security-card {
  background: #edf6f0;
  border-color: #d5e8dc;
}
.security-card h3,
.security-icon {
  color: var(--cc-green);
}
.security-card p {
  color: #4d6b58;
}
.security-icon {
  border-color: #31895d60;
}
.result-check,
.status-pill.is-active {
  color: var(--cc-green);
  background: #edf6f0;
}
.notice.error {
  color: var(--cc-red);
  border-color: #b7192840;
  background: #fff4f4;
}
.revoke-button {
  color: var(--cc-red);
  border-color: #b7192840;
}
.history-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.history-action-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}
.history-copy-button {
  border: 1px solid #02408935;
  border-radius: 6px;
  background: #f5f8fc;
  color: var(--cc-blue);
  padding: 7px 12px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.history-copy-button:hover:not(:disabled) {
  background: #eaf0f9;
  border-color: #02408970;
}
.history-copy-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.history-link-hint {
  font-size: 8px;
  color: #8b94a1;
  max-width: 175px;
  text-align: right;
  line-height: 1.5;
}
.history-copy-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 25px;
  border: 1px solid #dce4ee;
  border-radius: 12px;
  color: var(--cc-blue);
}
.history-copy-dialog::backdrop {
  background: #02408955;
}
.history-copy-dialog h2 {
  font-size: 20px;
}
.history-copy-dialog p {
  font-size: 12px;
  margin: 12px 0 16px;
  line-height: 1.8;
}
.history-copy-dialog input {
  font:
    11px Consolas,
    monospace;
  margin-bottom: 18px;
}
@media (max-width: 700px) {
  .history-row .history-actions {
    max-width: 100%;
  }
  .history-action-buttons {
    gap: 6px;
  }
  .history-copy-button {
    padding: 7px 9px;
  }
  .history-link-hint {
    font-size: 8px;
    max-width: 150px;
  }
}
.recipient-header {
  max-width: none;
  background: var(--cc-blue);
  border-bottom: 3px solid var(--cc-yellow);
  padding: 0 max(24px, calc((100vw - 1040px) / 2));
  height: 100px;
}
.recipient-header .brand img {
  width: 200px;
}
.recipient-header .internal-tag {
  color: #fff;
}
.recipient-header .tiny-dot {
  background: var(--cc-yellow);
}
.recipient-symbol {
  color: var(--cc-blue);
  background: #fff9df;
  border-color: #ffcc0055;
}
.recipient-card > img[src="/assets/mark.svg"] {
  border-radius: 10px;
}
.revealed-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.revealed-actions .primary-button {
  font-size: 11px;
  padding: 0 13px;
}
.recipient-storage-note {
  font-size: 11px;
  line-height: 1.9;
  text-align: center;
  color: #5f6f82;
  margin-top: 24px;
}
.recipient-destruction {
  border-top: 1px solid #e5ebf2;
  margin-top: 20px;
  padding-top: 18px;
  text-align: center;
}
.recipient-expiration {
  font-size: 11px;
  line-height: 1.9;
  color: #667e9b;
  font-style: italic;
  overflow-wrap: anywhere;
}
.recipient-expiration strong {
  font-weight: 650;
  color: var(--cc-blue);
}
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--cc-red);
  border-radius: 7px;
  background: var(--cc-red);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
  margin-top: 18px;
}
.danger-button:hover {
  background: #9e1522;
  border-color: #9e1522;
}
.danger-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.recipient-retention-note {
  text-align: center;
  margin-top: 18px;
}

/* Compact sign-in; stays usable even when Google's external styles are delayed. */
.login-page {
  background: #f7f8fa;
}
.login-layout {
  display: grid;
  grid-template-columns: minmax(390px, 46%) 1fr;
  min-height: 100svh;
}
.login-story {
  padding: 22px 48px 28px;
  background: var(--cc-blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.login-story .brand {
  margin-left: -22px;
  align-self: flex-start;
}
.login-story .brand img {
  width: 230px;
  height: auto;
}
.story-content {
  max-width: 460px;
  margin: auto 0;
  padding: 28px 0 30px;
}
.story-content > .eyebrow {
  color: var(--cc-yellow);
  font-size: 9px;
  margin: 0 0 21px;
  letter-spacing: 0.18em;
}
.story-content h1 {
  font-size: clamp(32px, 3.25vw, 47px);
  line-height: 1.15;
  letter-spacing: -0.05em;
  color: #fff;
  font-weight: 700;
}
.story-content h1 em {
  color: var(--cc-yellow);
  font-style: normal;
}
.story-content > p {
  font-size: 12px;
  color: #d0def1;
  line-height: 1.9;
  margin-top: 20px;
  max-width: 350px;
}
.login-benefits {
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
  display: grid;
  gap: 12px;
}
.login-benefits li {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  color: #e4ecf7;
}
.login-benefits svg {
  width: 17px;
  height: 17px;
  stroke: var(--cc-yellow);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}
.brand-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  width: max-content;
  padding: 12px;
  background: var(--cc-yellow);
  border-radius: 8px;
}
.brand-tools img {
  display: block;
  width: 48px;
  height: 48px;
}
.story-bottom {
  color: #b4cbea;
  font-size: 9px;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.story-bottom .tiny-dot {
  background: var(--cc-yellow);
}
.login-panel {
  padding: 40px 40px 23px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  background: #fff;
}
.login-card {
  width: 100%;
  max-width: 340px;
  margin: auto 0;
  padding: 24px 0;
}
.login-heading-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #02408920;
  background: #f2f6fb;
  border-radius: 11px;
  margin-bottom: 23px;
  color: var(--cc-blue);
}
.login-heading-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.login-card > .eyebrow {
  font-size: 9px;
  letter-spacing: 0.16em;
  margin: 0 0 10px;
  color: #7a8799;
}
.login-card h2 {
  font-size: 29px;
  letter-spacing: -0.045em;
  line-height: 1.25;
  font-weight: 700;
  color: var(--cc-blue);
}
.login-card > p:not(.notice) {
  font-size: 12px;
  line-height: 1.85;
  margin: 13px 0 0;
  color: #737e8e;
  max-width: 310px;
}
.signin-area {
  margin-top: 26px;
  padding: 22px 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fbfcfe;
}
.google-signin {
  margin: 0;
  min-height: 40px;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: Arial, sans-serif;
}
.google-signin > div {
  max-width: 100%;
}
.google-signin [role="button"] {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 0;
  width: 280px;
  max-width: 100%;
  height: 40px;
  max-height: 40px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 4px;
  color: #3c4043;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
}
.google-signin [role="button"]:hover {
  background: #f5f8fd;
  border-color: #b9c9df;
}
.google-signin [role="button"]:focus-visible {
  outline: 3px solid #02408935;
  outline-offset: 3px;
}
.google-signin [role="button"] > div:first-child {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.google-signin [role="button"] > div:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  height: 100%;
  position: relative;
}
.google-signin svg {
  display: block;
  flex: none;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
}
.google-signin [role="button"] .L6cTce {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.google-signin:has([role="button"]) iframe {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  overflow: hidden;
  pointer-events: none;
}
.domain-note {
  font-size: 10px !important;
  text-align: center;
  line-height: 1.8;
  margin: 14px 0 0 !important;
  color: #8b95a3;
}
.domain-note strong {
  font-weight: 500;
  color: #596e8b;
}
.signin-area .notice {
  margin: 14px 0 0;
  font-size: 11px;
}
.recipient-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 25px;
  padding-top: 23px;
  border-top: 1px solid #e8edf3;
}
.recipient-note > svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--cc-blue);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}
.recipient-note strong {
  font-size: 11px;
  color: var(--cc-blue);
  font-weight: 650;
}
.recipient-note p {
  font-size: 11px;
  line-height: 1.85;
  color: #828c9a;
  margin-top: 5px;
}
.login-footer {
  font-size: 9px;
  margin: 22px 0 0;
  color: #969eaa;
}
.login-footer span {
  margin: 0 8px;
}
@media (max-width: 1000px) {
  .login-story {
    padding: 22px 30px 25px;
  }
  .story-content h1 {
    font-size: 35px;
  }
  .story-content > p {
    font-size: 11px;
  }
  .login-panel {
    padding: 30px;
  }
  .sidebar .brand img {
    width: 180px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    padding: 9px 18px;
  }
  .sidebar .brand img {
    width: 155px;
    height: auto;
  }
  .sidebar-rule {
    display: none;
  }
  .recipient-header {
    height: 86px;
    padding: 0 18px;
  }
  .recipient-header .brand img {
    width: 170px;
  }
  .login-layout {
    grid-template-columns: 1fr;
    min-height: 100svh;
  }
  .login-story {
    padding: 5px 26px 25px;
    min-height: 0;
    display: block;
  }
  .login-story .brand {
    margin-left: -19px;
  }
  .login-story .brand img {
    width: 185px;
    height: auto;
  }
  .story-content {
    padding: 0;
    margin: 0;
    max-width: none;
  }
  .story-content > .eyebrow {
    font-size: 8px;
    margin: 4px 0 12px;
  }
  .story-content h1 {
    font-size: 30px;
    line-height: 1.2;
    max-width: none;
  }
  .story-content > p {
    font-size: 11px;
    max-width: 330px;
    margin-top: 12px;
  }
  .login-benefits,
  .brand-tools,
  .story-bottom {
    display: none;
  }
  .login-panel {
    padding: 24px 26px 20px;
  }
  .login-card {
    padding: 0;
    max-width: 340px;
    margin: 0;
  }
  .login-heading-icon {
    display: none;
  }
  .login-card > .eyebrow {
    display: block;
    margin: 1px 0 9px;
    font-size: 8px;
  }
  .login-card h2 {
    font-size: 26px;
  }
  .login-card > p:not(.notice) {
    font-size: 11px;
    margin-top: 10px;
  }
  .signin-area {
    padding: 17px 13px 14px;
    margin-top: 19px;
  }
  .google-signin [role="button"] {
    font-size: 12px;
    max-width: 100%;
    width: 260px;
  }
  .recipient-note {
    padding-top: 18px;
    margin-top: 20px;
  }
  .recipient-note p {
    font-size: 10px;
  }
  .login-footer {
    font-size: 8px;
    margin-top: 25px;
  }
}
@media (max-width: 360px) {
  .login-panel {
    padding-left: 18px;
    padding-right: 18px;
  }
  .login-story {
    padding-left: 20px;
    padding-right: 20px;
  }
  .story-content h1 {
    font-size: 27px;
  }
  .signin-area {
    padding-left: 10px;
    padding-right: 10px;
  }
}
