/* Forge1.eu — warm paper, strong outlines and a signal-orange accent. */
:root {
  --ink: #252620;
  --deep: #252620;
  --green: #41413a;
  --lime: #ff5b1b;
  --paper: #faf8f1;
  --line: #d6d2c7;
  --muted: #68655d;
  --white: #fffdf8;
  --forge-orange: #ff5b1b;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
body {
  background: var(--paper);
}
:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #e84c0b;
  outline-offset: 4px;
}
.brand {
  letter-spacing: -1.1px;
  font-size: 26px;
  font-weight: 800;
  gap: 10px;
  white-space: nowrap;
}
.brand span {
  color: var(--forge-orange);
  font-weight: 500;
}
.brand img {
  width: 38px;
  height: 38px;
}
.button,
.button.outline,
.header-login {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 650;
  box-shadow: none;
}
.button.primary {
  background: var(--ink);
  color: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: none;
}
.button.primary:hover,
.header-login:hover {
  background: #ff5b1b;
  color: #252620;
  border-color: #252620;
  box-shadow: 3px 3px 0 #252620;
  transform: translate(-1px, -1px);
}
.button.outline:hover {
  background: #ebe7dd;
  border-color: #252620;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: #d94b10;
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  background: #fffdf8;
  border-color: #b9b3a5;
  border-radius: 16px;
  color: #252620;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #e84c0b;
}
/* Public entrance */
.landing .site-header {
  background: var(--paper);
  color: var(--ink);
  border: 0;
  height: 110px;
  padding: 0 5%;
}
.landing .header-login {
  background: #252620;
  color: #faf8f1;
  border-radius: 999px;
  padding: 13px 25px;
}
.landing .hero {
  background: var(--paper);
  color: var(--ink);
  margin: 16px 5% 40px;
  border: 2px solid #252620;
  border-radius: 38px;
  box-shadow: 10px 10px 0 #252620;
  overflow: hidden;
  min-height: 640px;
}
.landing .hero-content {
  padding: 65px 48px;
}
.landing .hero h1 {
  font-size: clamp(48px, 5.5vw, 86px);
  font-weight: 750;
  letter-spacing: -3.5px;
  line-height: 1.02;
}
.landing .hero h1 em {
  color: #e84c0b;
  font-style: normal;
}
.landing .hero-description {
  color: #625e54;
  font-size: 17px;
  max-width: 480px;
}
.landing .eyebrow {
  color: #68655d;
  font-size: 12px;
  letter-spacing: 1.5px;
}
.landing .eyebrow span {
  background: #ff5b1b;
}
.landing .text-link {
  color: #252620;
  border-color: #252620;
}
.landing .hero-meta {
  color: #625e54;
  font-size: 13px;
}
.landing .hero-visual {
  background: #e9e5db;
  border-left: 2px solid #252620;
  border-radius: 0;
  min-height: 540px;
}
.landing .visual-grid {
  opacity: 0.15;
  background-image:
    linear-gradient(#25262025 1px, transparent 1px),
    linear-gradient(90deg, #25262025 1px, transparent 1px);
}
.landing .orbit {
  border-color: #25262020;
}
.landing .visual-label,
.landing .visual-coordinate {
  color: #625e54;
}
.landing .architecture {
  width: 100%;
  max-height: 540px;
}
.landing .floating-tag {
  background: #ff5b1b;
  border: 2px solid #252620;
  border-radius: 22px;
  box-shadow: 5px 5px 0 #252620;
  color: #252620;
}
.landing .floating-tag small {
  color: #443628;
}
.landing .tag-symbol {
  background: #252620;
  color: #faf8f1;
}
.landing .principle-strip {
  background: #252620;
  color: #faf8f1;
  border: 0;
  padding: 25px 5%;
}
.landing .strip-divider {
  color: #ff5b1b;
}
.landing .section {
  background: #faf8f1;
}
.landing h2 {
  font-weight: 750;
  letter-spacing: -1.7px;
}
.landing .process-cards article,
.landing .profile-card {
  border: 2px solid #252620;
  border-radius: 28px;
  background: #eeeae1;
  box-shadow: 6px 6px 0 #252620;
}
.landing .process-cards article {
  padding: 30px;
}
.landing .step-icon {
  background: #ff5b1b;
  color: #252620;
  border-radius: 50%;
}
.landing .step-label {
  color: #625e54;
}
.landing .profile-section {
  background: #e7e2d6;
}
.landing .profile-card {
  background: #fffdf8;
}
.landing .cta-section {
  background: #ff5b1b;
  color: #252620;
  border-radius: 36px;
  margin: 30px 5% 55px;
  border: 2px solid #252620;
  box-shadow: 9px 9px 0 #252620;
}
.landing .cta-section p {
  color: #46392d;
}
.landing .site-footer {
  background: #faf8f1;
  color: #68655d;
  border-top: 1px solid #d6d2c7;
}
/* Shared participant and administration workspace */
.portal .sidebar {
  background: #252620;
  border: 2px solid #252620;
  border-radius: 28px;
  box-shadow: 5px 5px 0 #d9d4c8;
}
.portal .sidebar .brand {
  font-size: 24px;
  color: #faf8f1;
  gap: 9px;
  letter-spacing: -1px;
}
.portal .sidebar .brand img {
  width: 34px;
  height: 34px;
  border: 1px solid #faf8f133;
}
.portal .sidebar-caption,
.nav-section-label {
  color: #bab5a7;
  font-size: 11px;
}
.portal .nav-item {
  color: #e2ded2;
  border-radius: 999px;
}
.portal .nav-item:hover {
  background: #ffffff12;
  color: #fffdf8;
}
.portal .nav-item.active {
  background: #ff5b1b;
  color: #252620;
  box-shadow: none;
}
.portal .sidebar-note p,
.portal .back-site {
  color: #c8c3b6;
}
.portal .sidebar-note > span {
  color: #ff5b1b;
}
.portal .workspace-header {
  background: #faf8f1ed;
  border-color: #d6d2c7;
}
.workspace-product {
  color: #252620;
  font-size: 15px;
  letter-spacing: -0.4px;
}
.workspace-divider {
  color: #a29d90;
}
.prototype-badge {
  background: #eee9de;
  border-color: #c5beb0;
  color: #625e54;
  border-radius: 999px;
  font-size: 11px;
}
.portal .avatar {
  background: #ff5b1b;
  color: #252620;
  border-radius: 50%;
}
.portal .logout {
  color: #625e54;
}
.portal #workspace {
  padding-top: 40px;
}
.portal .page-title h1 {
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 750;
  letter-spacing: -1.7px;
}
.portal .page-title > div > p:last-child {
  color: #68655d;
  font-size: 15px;
}
.portal .kicker {
  color: #a23a12 !important;
  font-size: 11px !important;
}
.portal .welcome-banner {
  background: #eae5da;
  border: 2px solid #252620;
  border-radius: 28px;
  box-shadow: 7px 7px 0 #ff5b1b;
  padding: 34px;
  color: #252620;
  margin-bottom: 30px;
}
.portal .welcome-banner h2 {
  color: #252620;
  font-size: 32px;
  font-weight: 750;
  letter-spacing: -1.1px;
}
.portal .welcome-banner p {
  color: #625e54;
  font-size: 15px;
}
.portal .welcome-banner .eyebrow {
  color: #9e3710;
  font-size: 11px;
}
.portal .welcome-banner .step-icon {
  background: #ff5b1b;
  color: #252620;
  border: 2px solid #252620;
  border-radius: 50%;
}
.portal .stat {
  border: 1.5px solid #252620;
  border-radius: 23px;
  background: #fffdf8;
  box-shadow: 4px 4px 0 #ded9cd;
}
.portal .stat strong {
  color: #252620;
  font-size: 44px;
  font-weight: 700;
}
.portal .stat-label {
  color: #625e54;
  font-size: 14px;
}
.portal .stat small {
  color: #767064;
  font-size: 12px;
}
.portal .panel {
  background: #fffdf8;
  border: 1.5px solid #b9b3a5;
  border-radius: 24px;
  box-shadow: 0 4px 0 #e7e2d7;
}
.portal .panel-heading {
  border-color: #ded9ce;
  background: #f3efe6;
}
.portal .panel-heading h2 {
  font-size: 18px;
  font-weight: 700;
}
.portal .panel-heading p {
  color: #68655d;
  font-size: 14px;
}
.portal .panel-link {
  color: #a43b13;
  font-size: 14px;
}
.portal .data-table th {
  background: #efebe2;
  color: #625e54;
  border-color: #ded9ce;
  font-size: 11px;
}
.portal .data-table td {
  border-color: #e5e0d5;
  font-size: 14px;
}
.portal .data-table small {
  color: #767064;
  font-size: 12px;
}
.portal .data-table tbody tr:hover {
  background: #f4efe4;
}
.portal .organization-link {
  font-size: 15px;
}
.portal .info-note {
  background: #f0ece2;
  border-color: #d4cbba;
  color: #625e54;
  border-radius: 18px;
  font-size: 14px;
}
.portal input:not([type="checkbox"]):not([type="radio"]),
.portal textarea,
.portal select {
  background: #fffdf8;
  border-color: #b9b3a5;
  border-radius: 14px;
  font-size: 15px;
  box-shadow: none;
}
.portal input:not([type="checkbox"]):focus,
.portal textarea:focus,
.portal select:focus {
  border-color: #e84c0b;
}
.portal label {
  color: #414139;
  font-size: 14px;
}
.portal .field-note {
  color: #767064;
  font-size: 13px;
}
.portal .tabs {
  background: #e9e4d8;
  border-radius: 999px;
  padding: 5px;
  border: 1px solid #c8c0b0;
}
.portal .tab {
  color: #625e54;
  border-radius: 999px;
  font-size: 13px;
}
.portal .tab.active {
  background: #252620;
  color: #faf8f1;
  box-shadow: none;
}
.portal .pill {
  border-radius: 999px;
  font-size: 11px;
}
.portal .project-card {
  border: 2px solid #252620;
  box-shadow: 6px 6px 0 #252620;
  border-radius: 28px;
}
.portal .project-card h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
}
.portal .project-card:hover {
  box-shadow: 6px 6px 0 #ff5b1b;
}
.portal .project-state {
  background: #eee9dd;
  color: #625e54;
}
.portal .capability-tags > span {
  background: #f0ebe1;
  color: #625744;
  border-color: #d8d0c0;
  border-radius: 999px;
}
.portal .consortium-company-choice {
  background: #fffdf8;
  border: 1.5px solid #b9b3a5;
  border-radius: 24px;
}
.portal .consortium-company-choice:hover {
  border-color: #252620;
  box-shadow: 3px 3px 0 #d4ccbd;
}
.portal .consortium-company-choice:has(input:checked) {
  background: #fff0e5;
  border-color: #db4d13;
  box-shadow: 3px 3px 0 #ff5b1b;
}
.portal .consortium-company-choice small {
  color: #68655d;
}
.portal .consortium-partner-grid {
  align-items: start;
}
.portal .consortium-partner-card {
  border: 2px solid #252620;
  background: #fffdf8;
  border-radius: 28px;
  box-shadow: 5px 5px 0 #ded8cb;
}
.portal .consortium-vault-hero {
  background: #f0ece2;
  color: #252620;
  border: 1px solid #c8c0b0;
  border-radius: 28px;
  box-shadow: 0 4px 0 #e4ded2;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  padding: 32px;
  align-items: center;
}
.portal .consortium-vault-copy h2 {
  color: #252620;
  font-weight: 750;
  font-size: clamp(25px, 2.1vw, 34px);
  max-width: 540px;
}
.portal .consortium-vault-copy > p {
  color: #68655d;
  font-size: 15px;
}
.portal .consortium-status {
  color: #a43b13;
  font-size: 11px;
}
.portal .consortium-hero-stats {
  gap: 24px;
  margin: 24px 0;
}
.portal .consortium-hero-stats span {
  color: #68655d;
}
.portal .consortium-hero-stats strong {
  color: #252620;
  font-size: 30px;
}
.portal .consortium-vault-copy > .vault-planned {
  background: #faf8f1;
  color: #68655d;
  border: 1px solid #d6cebd;
  border-radius: 12px;
  font-size: 12px;
  padding: 10px 12px;
}
.portal .consortium-vault-picture {
  background: #fffdf8;
  border: 1px solid #ddd5c5;
  border-radius: 22px;
  padding: 20px;
}
.portal .consortium-vault-picture .vault-large {
  width: 150px;
  filter: none;
}
.portal .consortium-vault-picture > strong {
  color: #252620;
  font-size: 18px;
}
.portal .consortium-vault-picture > span {
  color: #68655d;
  font-size: 12px;
}
.portal .consortium-vault-picture > .consortium-network-count {
  color: #a43b13;
  font-size: 14px;
}
.portal .consortium-vault-picture > .consortium-fds {
  text-align: center;
  font-size: 11px;
  max-width: 350px;
}
.portal .consortium-vault-picture .vault-frameworks {
  margin-top: 14px;
  padding-top: 14px;
  border-color: #ded5c5;
}
.portal .consortium-vault-picture .vault-logo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.portal .consortium-vault-picture .vault-logo {
  flex-direction: column;
  text-align: center;
  gap: 5px;
  background: #faf8f1;
  padding: 8px 4px;
  border-color: #e5dfd3;
}
.portal .consortium-vault-picture .vault-logo img {
  width: 26px;
  height: 26px;
}
.portal .consortium-vault-picture .vault-logo span {
  color: #625e54;
  font-size: 10px;
}
.portal .consortium-vault-picture .vault-open-button {
  margin-top: 18px;
  background: #252620;
  color: #faf8f1;
  padding: 11px 20px;
  font-size: 14px;
}
.portal .consortium-vault-picture .vault-open-button:hover {
  background: #ff5b1b;
  color: #252620;
}
@media (max-width: 1100px) {
  .portal .consortium-vault-hero {
    grid-template-columns: 1fr;
  }
  .portal .consortium-vault-picture {
    width: 100%;
  }
  .portal .consortium-vault-picture .vault-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .portal .consortium-vault-hero {
    padding: 22px;
    gap: 22px;
  }
  .portal .consortium-vault-picture {
    padding: 16px;
  }
  .portal .consortium-vault-picture .vault-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .portal .consortium-vault-copy h2 {
    font-size: 26px;
  }
}
.portal .company-vault,
.portal .consortium-company-vault {
  background: #eee9de;
  border-color: #c8c0b0;
  color: #414139;
}
.portal .consortium-next-card {
  background: #eee9de;
  border-color: #c8c0b0;
  border-radius: 24px;
}
.portal .canvas-shell {
  border: 2px solid #252620;
  border-radius: 28px;
  box-shadow: 6px 6px 0 #ded8cb;
}
.portal .canvas-toolbar {
  background: #f0ece2;
}
.portal .canvas-viewport {
  background-color: #faf8f1;
  background-image: radial-gradient(#9b948044 1px, transparent 1px);
}
.portal .canvas-root {
  fill: #252620;
  stroke: #252620;
}
.portal .canvas-root-meta {
  fill: #ffac88;
}
.portal .canvas-role rect {
  fill: #ffede1;
  stroke: #e86a37;
}
.portal .canvas-role text {
  fill: #652d17;
}
.portal .canvas-company rect {
  fill: #fffdf8;
  stroke: #aaa18d;
}
.portal .canvas-company text {
  fill: #252620;
}
.portal .canvas-company:hover rect,
.portal .canvas-company:focus rect {
  stroke: #ff5b1b;
}
.portal .canvas-edge {
  stroke: #b6ad9a;
}
.portal .canvas-legend {
  background: #f0ece2;
  border-color: #ded8cb;
  color: #625e54;
}
.portal .canvas-controls .button {
  border-radius: 999px;
}
.portal .workspace-footer {
  border-color: #d6d2c7;
  color: #767064;
  font-size: 12px;
}
.portal .toast {
  background: #252620;
  color: #faf8f1;
  border: 2px solid #ff5b1b;
  border-radius: 18px;
}
.portal .vault-panel {
  background: #fffdf8;
  border: 1.5px solid #b9b3a5;
  border-radius: 26px;
  box-shadow: 4px 4px 0 #ded8cb;
}
.portal .vault-panel-icon,
.portal .vault-doc-icon {
  background: #ffeadc;
  color: #9e3710;
}
.portal .vault-upload-zone {
  background: #f3eee3;
  border-color: #b1a68e;
  border-radius: 20px;
  color: #625e54;
}
.portal .vault-template-grid article {
  background: #f3eee3;
  border-color: #d3c9b6;
  border-radius: 20px;
}
.portal .vault-question {
  background: #ffeadc;
  border-color: #e2b79e;
}
.portal .vault-answer {
  background: #f1ece2;
  border-color: #d9cebb;
}
.portal .employee-tools,
.portal .company-discovery {
  background: #f3eee3;
  border-color: #c8bfae;
  border-radius: 22px;
}
.portal .knowledge-hero {
  background: #252620;
  border: 2px solid #252620;
  border-radius: 28px;
  box-shadow: 6px 6px 0 #ff5b1b;
}
.portal .knowledge-hero p {
  color: #d5cfc0;
}
.portal .knowledge-kicker {
  color: #ffac88;
}
.portal .knowledge-source {
  background: #ffffff12;
  color: #f0eadd;
  border-color: #ffffff30;
}
.portal .knowledge-orbit {
  border-color: #ffffff30;
}
.portal .knowledge-orbit:before {
  border-color: #ff5b1b;
}
.portal #employee-workspace .employee-profile {
  border: 1.5px solid #b9b3a5;
  border-radius: 24px;
  background: #fffdf8;
}
.portal .knowledge-metrics > div {
  background: #fffdf8;
  border-color: #c8bfae;
  border-radius: 22px;
}
.portal .employee-avatar {
  background: #ffeadc;
  color: #9e3710;
}
@media (max-width: 1100px) {
  .landing .hero-content {
    padding: 45px 30px;
  }
  .landing .hero h1 {
    font-size: 56px;
  }
  .portal .sidebar .brand {
    font-size: 21px;
  }
}
@media (max-width: 860px) {
  .portal .sidebar {
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 0 #d9d4c8;
  }
  .portal .sidebar .brand {
    font-size: 25px;
  }
  .portal .nav-item {
    border-radius: 999px;
  }
  .portal .page-title h1 {
    font-size: 34px;
  }
  .landing .site-header {
    height: 90px;
  }
  .landing .hero {
    grid-template-columns: 1fr;
    margin-top: 5px;
    min-height: 0;
  }
  .landing .hero-visual {
    min-height: 380px;
    border-left: 0;
    border-top: 2px solid #252620;
  }
  .landing .hero-content {
    padding: 40px 30px;
  }
  .landing .hero h1 {
    font-size: 64px;
  }
  .landing .architecture {
    max-height: 390px;
  }
}
@media (max-width: 520px) {
  .brand {
    font-size: 23px;
  }
  .landing .hero {
    border-radius: 26px;
    box-shadow: 5px 5px 0 #252620;
    margin: 8px 18px 30px;
  }
  .landing .hero h1 {
    font-size: 50px;
    letter-spacing: -2px;
  }
  .landing .hero-content {
    padding: 32px 24px;
  }
  .landing .hero-visual {
    min-height: 330px;
  }
  .landing .floating-tag {
    font-size: 12px;
  }
  .landing .site-header nav {
    display: none;
  }
  .landing .header-login {
    font-size: 13px;
    padding: 11px 17px;
  }
  .landing .site-header .brand img {
    width: 30px;
    height: 30px;
  }
  .portal .welcome-banner {
    padding: 24px;
    border-radius: 24px;
  }
  .portal .welcome-banner h2 {
    font-size: 26px;
  }
  .portal .page-title h1 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .portal .stat {
    padding: 19px;
  }
  .portal .stat strong {
    font-size: 36px;
  }
  .portal .consortium-partner-card {
    padding: 22px;
  }
  .portal .consortium-vault-hero {
    padding: 25px;
  }
  .portal .tabs {
    border-radius: 20px;
  }
  .portal .workspace-footer {
    flex-wrap: wrap;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* The vault illustration belongs to the same material and accent palette. */
.portal .company-vault-preview {
  background: #eee9de;
  border-color: #c8c0b0;
  border-radius: 20px;
}
.portal .company-vault-preview strong {
  color: #414139;
}
.portal .company-vault-preview p,
.portal .company-vault-preview .vault-planned {
  color: #68655d;
}
.portal .vault-body {
  fill: #aaa294;
  stroke: #d4cbba;
}
.portal .vault-side {
  fill: #58564d;
  stroke: #9f9787;
}
.portal .vault-door {
  fill: #35362f;
  stroke: #b8ad96;
}
.portal .vault-hinge,
.portal .vault-bolt {
  fill: #b8ad96;
}
.portal .vault-wheel {
  fill: #252620;
  stroke: #ff9465;
}
.portal .vault-wheel-core {
  fill: #ff5b1b;
  stroke: #ff9465;
}
.portal .vault-spokes {
  stroke: #ff9465;
}
.portal .vault-lock {
  fill: #ff5b1b;
}
.portal .consortium-partner-avatar {
  background: #eee9de;
  color: #625744;
}
.landing .site-header .header-login {
  border-radius: 999px;
}
.landing .platform-section {
  background: #e9e4d8;
  color: #252620;
}
.landing .platform-section p {
  color: #625e54;
}
.landing .profile-preview {
  background: #fffdf8;
  color: #252620;
  border: 2px solid #252620;
  border-radius: 28px;
  box-shadow: 7px 7px 0 #252620;
}
.landing .preview-logo {
  background: #ff5b1b;
  color: #252620;
  border-radius: 50%;
}
.landing .preview-head small,
.landing .preview-caption {
  color: #767064;
}
.landing .preview-line {
  border-color: #ded9ce;
}
.landing .preview-line span:last-child {
  color: #625e54;
}
.portal .consortium-card-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #d6cebd;
}
.portal .consortium-card .project-excerpt {
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 22px;
  white-space: pre-line;
  color: #68655d;
}
.portal .consortium-cover-photo {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  border-radius: 26px;
  margin-bottom: 24px;
  border: 1px solid #c8c0b0;
}
.portal .consortium-editor[hidden] {
  display: none;
}
.portal .consortium-editor input[type="file"] {
  width: 100%;
}
.portal .page-title > div > p:last-child {
  white-space: pre-line;
}
@media (max-width: 520px) {
  .portal .consortium-card-photo {
    height: 170px;
  }
  .portal .consortium-cover-photo {
    max-height: 220px;
  }
}
.portal .consortium-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.portal .consortium-card .panel-body {
  height: auto;
  flex: 1;
}
.portal .project-description.markdown-content {
  white-space: normal;
  max-width: 860px;
  color: #414139;
  font-size: 16px;
  line-height: 1.85;
  margin: 24px 0;
}
.portal .markdown-content h1,
.portal .markdown-content h2 {
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.7px;
  color: #252620;
  margin: 32px 0 12px;
}
.portal .markdown-content h3,
.portal .markdown-content h4 {
  font-size: 20px;
  line-height: 1.4;
  color: #252620;
  margin: 28px 0 10px;
}
.portal .markdown-content > :first-child {
  margin-top: 0;
}
.portal .markdown-content p {
  margin: 0 0 18px;
}
.portal .markdown-content ul,
.portal .markdown-content ol {
  padding-left: 26px;
  margin: 14px 0 22px;
}
.portal .markdown-content li {
  padding-left: 4px;
  margin: 6px 0;
}
.portal .markdown-content blockquote {
  border-left: 3px solid #ff5b1b;
  padding: 10px 20px;
  margin: 20px 0;
  background: #f3eee3;
}
.portal .markdown-content a {
  color: #a43b13;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.portal .markdown-content pre {
  overflow: auto;
  background: #f0ece2;
  border-radius: 12px;
  padding: 16px;
}
.portal .markdown-content table {
  border-collapse: collapse;
  display: block;
  max-width: 100%;
  overflow: auto;
}
.portal .markdown-content td,
.portal .markdown-content th {
  border: 1px solid #d6cebd;
  padding: 10px;
}
.portal .markdown-download {
  display: inline-block;
  margin-bottom: 22px;
}
.portal .project-rich-editor {
  border: 1px solid #b9b3a5;
  border-radius: 16px;
  overflow: hidden;
  background: #fffdf8;
  margin-bottom: 8px;
}
.portal .project-rich-editor .toastui-editor-defaultUI {
  border: 0;
  font-family: Arial, Helvetica, sans-serif;
}
.portal .project-rich-editor .toastui-editor-defaultUI-toolbar {
  background: #f0ece2;
  border-color: #d6cebd;
  border-radius: 0;
}
.portal .project-rich-editor .toastui-editor-contents,
.portal .project-rich-editor .ProseMirror {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #252620;
}
.portal .project-rich-editor .toastui-editor-md-container,
.portal .project-rich-editor .toastui-editor-ww-container {
  background: #fffdf8;
}
.portal .project-rich-editor .toastui-editor-mode-switch {
  background: #f0ece2;
}
.portal .project-rich-editor .tab-item.active {
  background: #fffdf8;
  border-color: #d6cebd;
}
@media (max-width: 600px) {
  .portal .project-description.markdown-content {
    font-size: 15px;
  }
  .portal .markdown-content h2 {
    font-size: 23px;
  }
  .portal .project-rich-editor .toastui-editor-defaultUI-toolbar {
    flex-wrap: wrap;
    height: auto;
  }
}
.portal .consortium-people {
  margin-top: 20px;
  border-top: 1px solid #d6cebd;
  padding-top: 16px;
}
.portal .consortium-people > summary {
  cursor: pointer;
  padding: 10px 0;
  color: #252620;
}
.portal .consortium-people > summary span {
  display: block;
  font-size: 12px;
  color: #68655d;
  margin: 5px 0 0 16px;
}
.portal .consortium-people-body {
  padding: 18px 0;
}
.portal .consortium-knowledge-intro {
  padding: 18px;
  border-radius: 18px;
  background: #f0ece2;
}
.portal .consortium-knowledge-intro h4 {
  margin: 14px 0 8px;
  font-size: 20px;
}
.portal .consortium-knowledge-intro p {
  font-size: 13px;
  color: #68655d;
}
.portal .consortium-knowledge-metrics {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
}
.portal .consortium-knowledge-metrics strong {
  display: block;
  font-size: 26px;
}
.portal .consortium-skills {
  margin-top: 18px;
}
.portal .consortium-skills .knowledge-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
  gap: 9px;
}
.portal .consortium-skills .knowledge-category {
  padding: 12px;
}
.portal .consortium-skills .knowledge-category-top {
  font-size: 12px;
}
.portal .consortium-skills .knowledge-category-top strong {
  font-size: 24px;
}
.portal .consortium-skills .knowledge-category small {
  font-size: 11px;
}
.portal .consortium-person {
  border: 1px solid #d6cebd;
  border-radius: 16px;
  background: #fffdf8;
  margin: 12px 0;
}
.portal .consortium-person > summary {
  cursor: pointer;
  padding: 16px;
}
.portal .consortium-person > summary span,
.portal .consortium-person > summary small {
  display: block;
  margin-top: 7px;
  color: #68655d;
  font-size: 13px;
}
.portal .consortium-person-body {
  padding: 0 16px 16px;
}
.portal .consortium-person-body .employee-career p {
  color: #68655d;
}
@media (max-width: 520px) {
  .portal .consortium-skills .knowledge-category-grid {
    grid-template-columns: 1fr;
  }
}
.portal .invitation-page {
  max-width: 760px;
  margin: 48px auto;
  padding: 24px;
}
.portal .invitation-page .brand {
  display: block;
  margin-bottom: 32px;
}
dialog.panel {
  max-width: min(660px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  color: #252620;
}
dialog::backdrop {
  background: #25262080;
}
.portal .project-card > .consortium-card-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 26px 26px 0 0;
}
.portal .project-photo-preview {
  display: block;
  max-width: 100%;
  width: 360px;
  max-height: 220px;
  object-fit: cover;
  border-radius: 18px;
  margin: 16px 0;
}
