:root {
  font-family: "Golos Text Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f8fafc;
  font-synthesis: none;
  --ink: #172033;
  --muted: #64748b;
  --accent: #2563eb;
  --line: #e2e8f0;
  --pale: #eff6ff;
  --lime: #dbeafe;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
button {
  color: inherit;
}
input {
  min-width: 0;
}
button,
a,
summary {
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
button:hover:not(:disabled) {
  filter: brightness(0.98);
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.portal-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.portal-brand img {
  display: block;
  width: auto;
  height: 40px;
}
.p-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  white-space: nowrap;
  background: transparent;
}
.p-button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.p-button.primary:hover {
  background: #1d4ed8;
}
.p-button.secondary {
  background: white;
  border-color: #e2e8f0;
}
.p-button.secondary:hover {
  background: #f8fafc;
}
.p-button.quiet:hover {
  background: #eff6ff;
}
.p-button.small {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 14px;
}
.p-button.danger {
  background: #b42318;
  color: #fff;
  border-color: #b42318;
}
.p-link {
  color: #2563eb;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font-size: 14px;
}
.p-link:hover {
  text-decoration: underline;
}
.p-error,
.p-success,
.p-info {
  font-size: 14px;
  line-height: 1.6;
  padding: 12px 14px;
  border-radius: 9px;
  margin: 16px 0;
}
.p-error {
  background: #fef3f2;
  color: #b42318;
  overflow-wrap: anywhere;
}
.p-success {
  background: #eff6ff;
  color: #1e40af;
}
.p-info {
  background: #f1f5f9;
  color: #475569;
}
.p-field {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #334155;
  margin-bottom: 18px;
}
.p-field input,
.p-field select {
  height: 45px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  width: 100%;
}
.p-field input::placeholder {
  color: #64748b;
}
.field-hint {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: -7px 0 18px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #64748b;
  margin-bottom: 19px;
}
.portal-notice {
  position: fixed;
  z-index: 100;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #172033;
  color: white;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 8px 28px #17203326;
  max-width: calc(100vw - 32px);
  line-height: 1.6;
}
.loading-page {
  min-height: 70dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}
.loading-dot {
  width: 9px;
  height: 9px;
  background: #2563eb;
  border-radius: 50%;
  animation: pulse 1s infinite alternate;
}
@keyframes pulse {
  to {
    opacity: 0.25;
  }
}
/* Public site: light static markup, no editor payload. */
.landing {
  background: #f7f8f4;
  overflow: hidden;
}
.landing-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 25px 42px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.landing-header nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
  color: #66735e;
}
.landing-header nav a {
  text-decoration: none;
}
.landing-header nav a:hover {
  color: #243321;
}
.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.landing-hero {
  max-width: 1280px;
  padding: 76px 42px 100px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 42px;
  margin: 0 auto;
  min-height: 630px;
}
.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 1.1px;
}
.hero-copy .eyebrow span {
  display: block;
  width: 6px;
  height: 6px;
  background: #91a773;
  border-radius: 50%;
}
.hero-copy h1 {
  font-size: clamp(44px, 4.8vw, 66px);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -3px;
  margin-bottom: 25px;
}
.hero-copy h1 em {
  font-style: normal;
  color: #758452;
  position: relative;
  white-space: nowrap;
}
.hero-copy h1 em:after {
  content: "";
  position: absolute;
  height: 7px;
  background: #dce8bf;
  bottom: 1px;
  left: 1px;
  right: -3px;
  transform: rotate(-1.4deg);
  z-index: -1;
}
.hero-description {
  font-size: 17px;
  line-height: 1.85;
  color: #707c68;
  margin-bottom: 29px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-actions .p-button {
  min-height: 47px;
}
.hero-footnote {
  font-size: 14px;
  color: #647467;
  margin: 17px 0 0;
}
.hero-preview {
  background: white;
  border: 1px solid #dde3d4;
  border-radius: 16px;
  box-shadow:
    0 24px 75px #61704c13,
    0 3px 8px #4b5a3b05;
  position: relative;
  transform: rotate(-1deg);
  min-width: 0;
  isolation: isolate;
}
.hero-preview:before {
  content: "";
  position: absolute;
  inset: -25px;
  background: radial-gradient(ellipse, #dfe8d0 0, transparent 70%);
  z-index: -1;
}
.preview-top {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 20px 18px;
  border-bottom: 1px solid #edf0e7;
  font-size: 14px;
}
.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: #91a86c;
}
.preview-top strong {
  font-weight: 600;
}
.preview-mode {
  margin-left: auto;
  background: #f1f4e9;
  color: #74815e;
  padding: 6px 8px;
  border-radius: 5px;
  font-size: 14px;
}
.preview-result {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: #fafbf7;
  font-size: 14px;
  color: #647562;
  border-bottom: 1px solid #e9ede2;
}
.preview-result b {
  display: block;
  font-size: 14px;
  color: #4c5d3c;
  font-weight: 550;
  margin-top: 3px;
}
.preview-result-line {
  height: 1px;
  flex: 1;
  background: #dbe3cf;
}
.demo-gantt {
  display: grid;
  grid-template-columns: 40% 60%;
  padding-bottom: 10px;
}
.demo-table {
  border-right: 1px solid #e6ebdf;
}
.demo-table > div {
  height: 43px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  font-size: 14px;
  border-bottom: 1px solid #eff2e9;
}
.demo-table > div small {
  color: #637566;
  font-size: 14px;
}
.demo-table > div b {
  font-size: 14px;
  color: #63755c;
  margin-left: auto;
  font-weight: 400;
}
.demo-table .demo-table-head {
  font-size: 14px;
  height: 36px;
  color: #627563;
  background: #fff;
}
.demo-table-head span {
  margin-left: auto;
}
.demo-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 10px;
  color: #627564;
  font-size: 14px;
  border-bottom: 1px solid #eff2e9;
}
.demo-bars {
  position: relative;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent calc(14.28% - 1px),
    #f0f3eb calc(14.28% - 1px),
    #f0f3eb 14.28%
  );
}
.demo-row {
  height: 43px;
  position: relative;
  border-bottom: 1px solid #eff2e9;
}
.demo-row i {
  position: absolute;
  left: var(--start);
  width: var(--width);
  top: 12px;
  height: 19px;
  border-radius: 4px;
  background: #a6ba7c;
  z-index: 2;
  box-shadow: inset 0 0 0 1px #8aa5611a;
}
.demo-row i.secondary-bar {
  background: #d8e1c4;
}
.demo-row i.demo-milestone {
  width: 11px;
  height: 11px;
  left: 91%;
  top: 17px;
  transform: rotate(45deg);
  border-radius: 2px;
  background: #718e53;
}
.demo-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.preview-bottom {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px 18px;
  color: #63765a;
  font-size: 14px;
}
.preview-bottom svg {
  width: 14px;
  height: 14px;
}
.preview-callout {
  position: absolute;
  bottom: -29px;
  right: 24px;
  transform: rotate(3deg);
  padding: 13px 17px;
  background: #e6efce;
  border: 1px solid #d3e0b6;
  border-radius: 10px;
  box-shadow: 0 4px 14px #4b5b3310;
  color: #708055;
  font-size: 14px;
  line-height: 1.7;
}
.preview-callout strong {
  font-weight: 550;
  color: #4b6035;
}
.landing-strip {
  max-width: 1196px;
  border-top: 1px solid #e0e5d7;
  border-bottom: 1px solid #e0e5d7;
  display: flex;
  justify-content: space-around;
  padding: 24px;
  gap: 25px;
  margin: 0 auto;
  color: #748065;
  font-size: 14px;
}
.landing-strip span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.landing-strip svg {
  width: 18px;
  height: 18px;
  color: #60765a;
}
.landing-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 42px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
}
.section-heading h2,
.together-copy h2 {
  font-size: 35px;
  line-height: 1.2;
  letter-spacing: -1.4px;
  font-weight: 550;
  margin-bottom: 22px;
}
.section-heading > p:last-child {
  font-size: 14px;
  line-height: 1.8;
  color: #647563;
}
.how-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  padding-top: 8px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 14px;
  color: #62765f;
  border: 1px solid #dce3d0;
  border-radius: 50%;
  margin-bottom: 26px;
}
.how-cards h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.how-cards p {
  font-size: 14px;
  line-height: 1.85;
  color: #647464;
}
.together-section {
  max-width: 1196px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  margin: 0 auto;
  padding: 60px 60px;
  background: #edf1e6;
  border: 1px solid #e3e8d9;
  border-radius: 22px;
  align-items: center;
}
.folder-preview {
  background: #fff;
  border: 1px solid #dce3d1;
  border-radius: 13px;
  padding: 20px;
  box-shadow: 0 12px 30px #586e3510;
  transform: rotate(1deg);
}
.folder-preview-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 550;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0e7;
}
.folder-preview-title > span:last-child {
  font-size: 14px;
  margin-left: auto;
  color: #637467;
  font-weight: 400;
}
.folder-preview-title svg {
  color: #5e7758;
}
.folder-preview-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 0;
  border-bottom: 1px solid #f0f3e9;
}
.folder-preview-row > svg {
  color: #617563;
  width: 23px;
  height: 23px;
}
.folder-preview-row strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
}
.folder-preview-row small {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: #637567;
}
.preview-avatar {
  width: 24px;
  height: 24px;
  background: #edf1e2;
  color: #63765d;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.folder-preview-foot {
  font-size: 14px;
  color: #627564;
  padding-top: 17px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.folder-preview-foot svg {
  width: 12px;
  height: 12px;
}
.together-copy > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.9;
  color: #657560;
}
.together-copy .p-button {
  padding-left: 0;
  margin-top: 7px;
  font-size: 14px;
}
.landing-cta {
  text-align: center;
  padding: 100px 24px 85px;
}
.landing-cta h2 {
  font-size: 40px;
  letter-spacing: -1.8px;
  line-height: 1.2;
  font-weight: 550;
  margin-bottom: 13px;
}
.landing-cta > p:not(.eyebrow) {
  color: #647564;
  font-size: 14px;
  margin-bottom: 27px;
}
.landing-footer {
  max-width: 1196px;
  margin: 0 auto;
  border-top: 1px solid #e1e7d7;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 28px 0 35px;
  font-size: 14px;
  color: #647463;
}
.landing-footer p {
  margin: 0;
}
.landing-footer > a:last-child {
  margin-left: auto;
  text-decoration: none;
}
.landing-footer .portal-brand img {
  width: auto;
  height: 32px;
}
/* Identity forms. */
.auth-legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  max-width: 460px;
  margin-top: 24px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}
.auth-legal-links a:hover { color: #2563eb; }
.auth-legal-links a:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; }
.auth-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 45px 20px;
  background: #f8fafc;
}
.auth-page > header {
  margin-bottom: 30px;
}
.auth-card {
  width: 100%;
  max-width: 430px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: white;
  padding: 32px;
  box-shadow: 0 12px 50px #17203308;
}
.auth-card h1 {
  font-size: 27px;
  letter-spacing: -0.8px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 12px;
}
.auth-description {
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 26px;
}
.auth-card .p-field {
  margin-bottom: 17px;
}
.auth-submit {
  width: 100%;
  margin-top: 6px;
}
.auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 16px;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}
.auth-consent input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #2563eb;
  cursor: pointer;
}
.auth-consent label { cursor: pointer; }
.auth-consent a { color: #2563eb; text-underline-offset: 3px; }
.auth-consent :focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.google-button {
  width: 100%;
  background: #fff;
  border-color: #e2e8f0;
  min-height: 44px;
  color: #334155;
}
.google-button:disabled {
  color: #64748b;
  background: #f8fafc;
  opacity: 1;
}
.google-g {
  font-size: 18px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  color: #64748b;
}
.provider-note {
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
  margin: 9px 0 0;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #64748b;
  margin: 22px 0;
}
.auth-divider:before,
.auth-divider:after {
  content: "";
  height: 1px;
  background: #e2e8f0;
  flex: 1;
}
.forgot-link {
  display: block;
  width: fit-content;
  font-size: 14px;
  color: #2563eb;
  margin: -6px 0 20px auto;
  text-decoration: none;
}
.auth-switch {
  font-size: 14px;
  color: #64748b;
  text-align: center;
  line-height: 1.7;
  margin: 22px 0 0;
}
.auth-switch a {
  color: #2563eb;
  text-decoration: none;
}
.auth-back {
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
  margin: 24px auto 0;
  text-decoration: none;
  font-size: 14px;
  color: #2563eb;
  line-height: 1.6;
}
.auth-back svg {
  width: 15px;
  height: 15px;
}
.auth-local-link {
  margin-top: 25px;
  font-size: 14px;
  color: #64748b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
}
.auth-local-link svg {
  width: 14px;
  height: 14px;
}
.development-note {
  padding: 13px;
  margin-top: 18px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}
.development-note p {
  margin: 5px 0 8px;
}
.development-note strong {
  font-weight: 550;
}
.development-note a {
  color: #2563eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.development-note svg {
  width: 13px;
  height: 13px;
}
.invitation-summary {
  display: flex;
  gap: 13px;
  align-items: center;
  border: 1px solid #e2e8f0;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.invitation-icon {
  display: flex;
  padding: 10px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
}
.invitation-summary strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
}
.invitation-summary small {
  display: block;
  font-size: 14px;
  color: #64748b;
  margin-top: 5px;
}
.invitation-summary + .field-hint {
  margin-top: 0;
}
/* The catalog is a separate screen; no sidebar is imposed on the Gantt editor. */
.portal-header {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 30px;
  gap: 28px;
}
.portal-header .portal-brand img {
  width: auto;
  height: 36px;
}
.local-link {
  font-size: 14px;
  text-decoration: none;
  color: #647564;
  margin-left: auto;
}
.account-menu {
  position: relative;
}
.portal-site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-left: auto;
  font-size: 14px;
  color: #64748b;
}
.portal-site-nav a { text-decoration: none; }
.portal-site-nav a:hover { color: #2563eb; }
.portal-site-nav a:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; }
.account-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 5px 7px;
  font-size: 14px;
  max-width: 240px;
}
.account-trigger > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-trigger > span:last-child {
  font-size: 14px;
  color: #617562;
}
.avatar {
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf0df;
  color: #5f7751;
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
}
.account-popover {
  position: fixed;
  margin: 0;
  inset: 64px 24px auto auto;
  border: 1px solid #dfe5d5;
  background: #fff;
  border-radius: 12px;
  padding: 17px;
  width: 250px;
  box-shadow: 0 16px 50px #2a3e1d20;
  font-size: 14px;
}
.account-popover > strong,
.account-popover > small {
  display: block;
  overflow-wrap: anywhere;
}
.account-popover > small {
  font-size: 14px;
  color: #617561;
  margin: 5px 0 15px;
}
.account-popover a,
.account-popover button {
  display: block;
  padding: 10px 7px;
  width: 100%;
  text-align: left;
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: 5px;
  font-size: 14px;
}
.account-popover a:hover,
.account-popover button:hover {
  background: #f1f5e9;
}
.verified-label {
  display: block;
  padding: 5px 7px 12px;
  color: #60765d;
  font-size: 14px;
}
.library-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: calc(100dvh - 72px);
}
.library-sidebar {
  display: flex;
  flex-direction: column;
  background: #fafbf7;
  border-right: 1px solid var(--line);
  padding: 25px 16px 22px;
  min-width: 0;
}
.sidebar-heading {
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #627566;
  padding: 3px 12px 13px;
  font-weight: 550;
}
.library-sidebar nav {
  display: grid;
  gap: 4px;
  margin-bottom: 27px;
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: #62755e;
  padding: 11px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-row svg {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}
.nav-row > span {
  font-size: 14px;
  margin-left: auto;
  opacity: 0.65;
}
.nav-row:hover {
  background: #f0f3e9;
}
.nav-row.active {
  background: #eaf0df;
  color: #4e6b32;
  font-weight: 550;
}
.library-tree {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 14px;
}
.library-tree ul {
  list-style: none;
  padding-left: 13px;
}
.tree-folder {
  display: flex;
  align-items: center;
  border-radius: 6px;
  min-height: 35px;
  color: #62755d;
}
.tree-folder.active {
  background: #edf2e5;
  color: #5d7b40;
}
.tree-folder a {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  min-width: 0;
  flex: 1;
  padding: 8px 5px 8px 0;
}
.tree-folder a span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tree-folder svg {
  width: 15px;
  height: 15px;
}
.tree-toggle {
  display: block;
  width: 19px;
  flex: 0 0 19px;
  background: transparent;
  border: 0;
  font-size: 14px;
  padding: 3px;
  color: #627565;
}
.tree-empty {
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #627566;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 10px 0;
  border-top: 1px solid #e8ecdf;
  font-size: 14px;
  line-height: 1.7;
  color: #627565;
}
.sidebar-bottom span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar-bottom svg {
  width: 12px;
  height: 12px;
}
.sidebar-bottom a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #61765d;
  text-decoration: none;
  margin-top: 12px;
}
.library-main {
  padding: 38px 42px 50px;
  min-width: 0;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  color: #627567;
  font-size: 14px;
  margin-bottom: 22px;
}
.breadcrumbs a {
  color: #617560;
  text-decoration: none;
}
.breadcrumbs [aria-current] {
  color: #5c7147;
}
.library-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 28px;
}
.library-title-row h1 {
  font-size: 31px;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}
.library-title-row .eyebrow {
  font-size: 14px;
  letter-spacing: 1.1px;
  margin-bottom: 12px;
}
.library-title-row p:last-child {
  font-size: 14px;
  line-height: 1.6;
  color: #637564;
  margin: 0;
}
.library-title-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.create-dropdown {
  position: relative;
  flex-shrink: 0;
}
.create-dropdown > summary {
  list-style: none;
  cursor: pointer;
}
.create-dropdown > summary::-webkit-details-marker {
  display: none;
}
.dropdown-content {
  position: absolute;
  z-index: 20;
  right: 0;
  top: calc(100% + 6px);
  min-width: 175px;
  padding: 6px;
  border: 1px solid #dfe5d5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px #2b3e1d18;
}
.dropdown-content button {
  display: flex;
  gap: 9px;
  align-items: center;
  width: 100%;
  border: 0;
  background: none;
  white-space: nowrap;
  text-align: left;
  padding: 10px 11px;
  font-size: 14px;
  border-radius: 6px;
  color: #607754;
}
.dropdown-content button:hover {
  background: #f1f5e8;
}
.dropdown-content svg {
  width: 16px;
  height: 16px;
}
.dropdown-content button.danger-text {
  color: #926653;
}
.verification-banner {
  padding: 12px 15px;
  background: #eff3e7;
  border: 1px solid #e4ebd8;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 9px;
  color: #61765f;
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}
.verification-banner a {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  margin-left: auto;
  color: #658348;
  text-decoration: none;
}
.verification-banner svg {
  width: 14px;
  height: 14px;
}
.library-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 27px;
}
.library-search {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 340px;
  flex: 1;
  border: 1px solid #e2e7d9;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  min-width: 130px;
}
.library-search svg {
  width: 16px;
  height: 16px;
  color: #617565;
}
.library-search input {
  font-size: 14px;
  border: 0;
  background: none;
  outline: none;
  min-width: 0;
  width: 100%;
  color: #516b3d;
}
.library-search input::placeholder {
  color: #627567;
}
.library-search:focus-within {
  outline: 2px solid #afc08e;
  outline-offset: 1px;
}
.library-imports {
  display: flex;
  gap: 7px;
  align-items: center;
}
.library-imports .p-button {
  font-size: 14px;
  min-height: 35px;
  padding: 8px 11px;
}
.library-imports svg {
  width: 15px;
  height: 15px;
}
.library-count {
  color: #617566;
  font-size: 14px;
  margin-left: auto;
  white-space: nowrap;
}
.content-section-label {
  font-size: 14px;
  font-weight: 550;
  color: #627660;
  margin: 4px 0 13px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.content-section-label span {
  font-size: 14px;
  color: #607565;
  font-weight: 400;
}
.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 15px;
  margin-bottom: 31px;
}
.folder-card {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  border: 1px solid #e1e7d7;
  border-radius: 10px;
  padding: 15px;
  background: #fff;
  min-height: 80px;
}
.folder-open {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
  flex: 1;
}
.folder-open > svg {
  width: 27px;
  height: 27px;
  color: #5f765b;
}
.folder-open > div {
  min-width: 0;
}
.folder-open strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.folder-open small {
  display: block;
  color: #627567;
  font-size: 14px;
  margin-top: 7px;
}
.item-menu {
  position: relative;
  flex-shrink: 0;
}
.item-menu > summary {
  list-style: none;
  cursor: pointer;
  border: 0;
  background: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #617562;
  border-radius: 5px;
}
.item-menu > summary:hover {
  background: #f1f5e8;
}
.item-menu > summary::-webkit-details-marker {
  display: none;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.project-card {
  position: relative;
  border: 1px solid #dfe6d4;
  border-radius: 13px;
  background: white;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  min-width: 0;
}
.project-card:hover {
  border-color: #c9d6b6;
  box-shadow: 0 5px 19px #647a3d08;
}
.project-card-open {
  display: block;
  padding: 20px 21px 22px;
  text-decoration: none;
  min-height: 170px;
}
.project-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  background: #f0f4e8;
  border-radius: 10px;
  color: #5f775b;
}
.project-card-icon svg {
  width: 21px;
  height: 21px;
}
.role-label {
  float: right;
  font-size: 14px;
  color: #617662;
  padding-top: 8px;
}
.project-card h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
  line-height: 1.5;
  font-weight: 550;
  margin: 22px 0 12px;
  overflow-wrap: anywhere;
}
.project-card p {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #627568;
  margin-bottom: 0;
}
.project-card p svg {
  width: 12px;
  height: 12px;
}
.project-card-bottom {
  border-top: 1px solid #edf0e6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 10px 21px;
}
.project-card-bottom > a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #60765a;
  font-size: 14px;
  text-decoration: none;
}
.project-card-bottom > a svg {
  width: 15px;
  height: 15px;
}
[aria-disabled="true"] {
  cursor: default;
  pointer-events: none;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 65px 25px;
  min-height: 350px;
}
.empty-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #5f7563;
  background: #eef3e4;
  margin-bottom: 20px;
}
.empty-icon svg {
  width: 28px;
  height: 28px;
}
.empty-state h1,
.empty-state h2 {
  font-size: 22px;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.empty-state p {
  font-size: 14px;
  line-height: 1.8;
  color: #627565;
  max-width: 380px;
  margin-bottom: 22px;
}
.empty-state .p-error {
  color: #a03d26;
}
.empty-state .p-button {
  font-size: 14px;
}
/* Native dialogs keep keyboard focus and leave the underlying screen intact. */
.portal-modal {
  width: min(470px, calc(100vw - 30px));
  max-height: 88dvh;
  border: 1px solid #dce4d0;
  border-radius: 16px;
  padding: 26px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 22px 100px #22351a25;
  overflow: auto;
}
.portal-modal::backdrop {
  background: #20311940;
  backdrop-filter: blur(3px);
}
.modal-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.modal-heading h2 {
  font-size: 22px;
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 0;
}
.close-modal {
  margin-left: auto;
  border: 0;
  padding: 0;
  background: none;
  width: 25px;
  height: 25px;
  color: #627565;
  font-size: 25px;
  flex-shrink: 0;
}
.modal-description {
  font-size: 14px;
  line-height: 1.8;
  color: #61765e;
  margin-bottom: 24px;
}
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 25px;
  padding-top: 19px;
  border-top: 1px solid #e8eddf;
}
.modal-actions .p-button {
  font-size: 14px;
  min-height: 38px;
}
.portal-modal .field-hint {
  margin-top: 10px;
}
.import-summary {
  border: 1px solid #e2e8d8;
  background: #f9fbf5;
  border-radius: 9px;
  padding: 16px;
}
.import-summary strong {
  font-size: 14px;
  font-weight: 550;
  display: block;
  overflow-wrap: anywhere;
}
.import-summary span {
  font-size: 14px;
  color: #627660;
  display: block;
  margin-top: 7px;
}
.browser-plan-list {
  max-height: 300px;
  overflow: auto;
}
.browser-plan-list label {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 5px;
  border-bottom: 1px solid #edf1e5;
  cursor: pointer;
}
.browser-plan-list input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.browser-plan-list strong {
  font-size: 14px;
  font-weight: 550;
  display: block;
  overflow-wrap: anywhere;
}
.browser-plan-list small {
  font-size: 14px;
  color: #607662;
  display: block;
  margin-top: 5px;
}
.browser-plan-list .import-complete {
  opacity: 0.55;
}
@media (min-width: 1600px) {
  .library-main {
    padding: 44px 54px;
  }
  .project-grid {
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  }
}
@media (max-width: 1100px) {
  .landing-header {
    padding: 24px 28px;
    gap: 25px;
  }
  .landing-header nav {
    gap: 20px;
  }
  .landing-hero {
    padding: 60px 28px 80px;
    gap: 28px;
  }
  .hero-copy h1 {
    font-size: 48px;
    letter-spacing: -2.1px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .hero-actions .p-button {
    font-size: 14px;
  }
  .landing-strip {
    margin: 0 28px;
    font-size: 14px;
  }
  .landing-section {
    padding: 75px 28px;
    gap: 35px;
    grid-template-columns: 1fr 1.6fr;
  }
  .section-heading h2,
  .together-copy h2 {
    font-size: 29px;
  }
  .how-cards {
    gap: 18px;
  }
  .how-cards h3 {
    font-size: 14px;
  }
  .how-cards p {
    font-size: 14px;
  }
  .together-section {
    margin: 0 28px;
    padding: 40px;
    gap: 50px;
  }
  .landing-footer {
    margin: 0 28px;
  }
  .library-layout {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  .library-main {
    padding: 30px 25px;
  }
  .library-title-row h1 {
    font-size: 27px;
  }
  .library-title-row p:last-child {
    font-size: 14px;
  }
  .library-toolbar {
    gap: 10px;
  }
  .library-count {
    display: none;
  }
  .project-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
  .portal-header {
    padding: 0 22px;
  }
}
@media (max-width: 800px) {
  .landing-header {
    padding: 20px;
  }
  .landing-header nav {
    display: none;
  }
  .landing-header-actions {
    margin-left: auto;
    gap: 18px;
  }
  .landing-header-actions .p-button {
    font-size: 14px;
  }
  .landing-hero {
    padding: 48px 25px 80px;
    grid-template-columns: 1fr;
    gap: 55px;
    max-width: 650px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy h1 {
    font-size: 54px;
  }
  .hero-copy .eyebrow {
    justify-content: center;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-preview {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    transform: none;
  }
  .landing-strip {
    flex-wrap: wrap;
    justify-content: center;
    padding: 22px 8px;
    gap: 16px 24px;
  }
  .landing-section {
    display: block;
    max-width: 650px;
    padding: 65px 25px;
  }
  .section-heading h2 br {
    display: none;
  }
  .section-heading > p:last-child br {
    display: none;
  }
  .how-cards {
    margin-top: 30px;
    gap: 22px;
  }
  .how-cards h3 {
    font-size: 14px;
  }
  .together-section {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
    padding: 35px;
  }
  .folder-preview {
    max-width: 400px;
    transform: none;
    width: 100%;
    margin: auto;
  }
  .together-copy h2 {
    font-size: 33px;
  }
  .landing-cta {
    padding: 65px 20px;
  }
  .landing-cta h2 {
    font-size: 33px;
  }
  .landing-footer {
    flex-wrap: wrap;
    gap: 15px;
    margin: 0 24px;
  }
  .landing-footer > a:last-child {
    margin-left: 0;
  }
  .library-layout {
    grid-template-columns: 1fr;
  }
  .library-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 18px;
  }
  .library-sidebar > nav {
    display: flex;
    gap: 7px;
    margin: 0;
    overflow: auto;
  }
  .library-sidebar .sidebar-heading,
  .library-sidebar .library-tree,
  .sidebar-bottom {
    display: none;
  }
  .nav-row {
    font-size: 14px;
    padding: 9px;
  }
  .nav-row svg {
    width: 15px;
    height: 15px;
  }
  .nav-row > span {
    display: none;
  }
  .library-main {
    padding: 25px 20px;
  }
  .library-title-row {
    align-items: flex-start;
  }
  .library-title-row h1 {
    font-size: 26px;
  }
  .library-title-actions {
    gap: 5px;
  }
  .library-title-actions .p-button {
    font-size: 14px;
    padding: 8px 11px;
  }
  .library-title-actions .p-button svg {
    width: 16px;
    height: 16px;
  }
  .library-title-row p:last-child {
    max-width: 310px;
  }
  .verification-banner {
    font-size: 14px;
    gap: 10px;
  }
  .library-toolbar {
    flex-wrap: wrap;
  }
  .library-search {
    max-width: none;
  }
  .library-imports .p-button {
    font-size: 14px;
  }
  .folder-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .portal-header {
    height: 64px;
    padding: 0 17px;
    gap: 10px;
  }
  .local-link {
    font-size: 14px;
  }
  .account-trigger > span:nth-child(2) {
    display: none;
  }
  .account-trigger {
    padding: 3px;
  }
  .auth-page {
    justify-content: flex-start;
    padding-top: 40px;
  }
}
@media (max-width: 480px) {
  .landing-header {
    padding: 18px;
  }
  .landing-header .portal-brand img {
    width: auto;
    height: 32px;
  }
  .landing-header-actions {
    gap: 14px;
  }
  .landing-header-actions .p-link {
    font-size: 14px;
  }
  .landing-header-actions .p-button {
    padding: 7px 10px;
    min-height: 33px;
    font-size: 14px;
  }
  .landing-hero {
    padding: 35px 20px 68px;
  }
  .hero-copy h1 {
    font-size: 43px;
    letter-spacing: -1.9px;
  }
  .hero-copy .eyebrow {
    font-size: 14px;
    letter-spacing: 0.8px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions {
    gap: 5px;
  }
  .hero-actions .p-button {
    font-size: 14px;
    min-height: 41px;
    padding: 9px 12px;
  }
  .preview-top {
    padding: 15px 12px;
    font-size: 14px;
  }
  .preview-mode {
    font-size: 14px;
    padding: 5px;
  }
  .preview-result {
    padding: 12px;
    font-size: 14px;
  }
  .preview-result b {
    font-size: 14px;
  }
  .demo-table > div {
    padding: 0 7px;
    font-size: 14px;
    gap: 5px;
  }
  .demo-table > div small {
    font-size: 14px;
  }
  .demo-table > div b {
    font-size: 14px;
  }
  .demo-scale {
    font-size: 14px;
    padding: 0 6px;
  }
  .preview-bottom {
    padding: 10px 12px 16px;
    font-size: 14px;
  }
  .preview-callout {
    font-size: 14px;
    padding: 11px 13px;
    right: 15px;
    bottom: -30px;
  }
  .landing-strip {
    margin: 0 20px;
    font-size: 14px;
    justify-content: flex-start;
    gap: 16px;
    padding: 20px 8px;
  }
  .landing-strip svg {
    width: 15px;
    height: 15px;
  }
  .landing-section {
    padding: 52px 25px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .how-cards {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .how-cards article {
    position: relative;
    padding-left: 46px;
  }
  .step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 29px;
    height: 29px;
    margin: 0;
    font-size: 14px;
  }
  .how-cards h3 {
    margin: 3px 0 7px;
  }
  .how-cards p {
    font-size: 14px;
    margin: 0;
  }
  .together-section {
    margin: 0 14px;
    padding: 25px;
    gap: 30px;
    border-radius: 17px;
  }
  .together-copy h2 {
    font-size: 29px;
  }
  .together-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .folder-preview {
    padding: 16px;
  }
  .landing-cta h2 {
    font-size: 29px;
  }
  .landing-footer p {
    flex-basis: calc(100% - 110px);
    font-size: 14px;
  }
  .auth-page {
    padding: 28px 16px;
  }
  .auth-card {
    padding: 25px;
    border-radius: 14px;
  }
  .auth-card h1 {
    font-size: 25px;
  }
  .auth-description {
    font-size: 14px;
  }
  .portal-header .local-link {
    display: none;
  }
  .account-menu {
    margin-left: auto;
  }
  .nav-row {
    font-size: 14px;
    gap: 6px;
    padding: 8px;
  }
  .library-sidebar {
    padding: 10px 11px;
  }
  .library-main {
    padding: 23px 16px;
  }
  .library-title-row {
    gap: 10px;
  }
  .library-title-row h1 {
    font-size: 24px;
  }
  .library-title-row .eyebrow {
    font-size: 14px;
  }
  .library-title-row p:last-child {
    display: none;
  }
  .library-title-actions {
    flex-direction: column;
    align-items: flex-end;
  }
  .verification-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 11px 13px;
  }
  .verification-banner a {
    margin-left: 0;
  }
  .library-toolbar {
    gap: 10px;
  }
  .library-search {
    flex-basis: 100%;
  }
  .library-imports {
    margin-left: auto;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .folder-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .project-card-open {
    min-height: 150px;
  }
  .empty-state {
    padding: 45px 10px;
    min-height: 300px;
  }
  .empty-state h2 {
    font-size: 20px;
  }
  .empty-state p {
    font-size: 14px;
  }
  .portal-modal {
    padding: 22px;
  }
  .modal-heading h2 {
    font-size: 20px;
  }
  .modal-actions .p-button {
    font-size: 14px;
    padding: 9px 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.move-review {
  background: #f6f8f0;
  border: 1px solid #dfe7d1;
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
}
.move-review h3 {
  font-size: 14px;
  margin: 0 0 13px;
  font-weight: 600;
}
.move-review section + section {
  border-top: 1px solid #dfe7d1;
  margin-top: 12px;
  padding-top: 12px;
}
.move-review section > strong {
  font-size: 14px;
  color: #5f7548;
  font-weight: 550;
}
.move-review section p {
  font-size: 14px;
  color: #61765f;
  margin: 4px 0;
}
.move-review ul {
  margin: 5px 0 10px;
  padding-left: 18px;
  color: #617659;
  font-size: 14px;
}
.move-review > small {
  display: block;
  color: #627562;
  font-size: 14px;
  margin-top: 10px;
}

/* Readable type without adding another row of application chrome. */
:root {
  font-size: 16px;
}
.p-button,
.p-button.small,
.p-link,
.p-error,
.p-success,
.p-info,
.p-field,
.p-field input,
.p-field select,
.portal-notice,
.loading-page,
.landing-header nav,
.landing-header-actions .p-button,
.landing-header-actions .p-link,
.hero-actions .p-button,
.section-heading > p:last-child,
.how-cards h3,
.how-cards p,
.together-copy > p:not(.eyebrow),
.together-copy .p-button,
.landing-cta > p:not(.eyebrow),
.auth-description,
.auth-switch,
.auth-back,
.auth-local-link,
.invitation-summary strong,
.account-trigger,
.account-popover a,
.account-popover button,
.nav-row,
.library-tree,
.library-title-actions .p-button,
.dropdown-content button,
.library-search input,
.library-imports .p-button,
.folder-open strong,
.project-card-bottom > a,
.empty-state .p-button,
.modal-description,
.modal-actions .p-button,
.import-summary strong,
.browser-plan-list strong {
  font-size: 16px;
}
.hero-description {
  font-size: 18px;
}
.project-card h2 {
  font-size: 18px;
}
.eyebrow,
.hero-copy .eyebrow,
.library-title-row .eyebrow,
.sidebar-heading,
.role-label,
.preview-mode,
.demo-table > div small,
.demo-table > div b,
.demo-table .demo-table-head,
.demo-scale,
.preview-avatar,
.step-number {
  font-size: 13px;
}
.field-hint,
.hero-footnote,
.preview-top,
.preview-result,
.demo-table > div,
.preview-bottom,
.preview-callout,
.landing-strip,
.folder-preview-title,
.folder-preview-title > span:last-child,
.folder-preview-row strong,
.folder-preview-row small,
.folder-preview-foot,
.landing-footer,
.landing-footer p,
.provider-note,
.auth-divider,
.forgot-link,
.development-note,
.invitation-summary small,
.local-link,
.account-popover,
.account-popover > small,
.verified-label,
.nav-row > span,
.tree-empty,
.breadcrumbs,
.library-title-row p:last-child,
.verification-banner,
.library-count,
.content-section-label,
.content-section-label span,
.folder-open small,
.project-card p,
.empty-state p,
.import-summary span,
.browser-plan-list small,
.move-review,
.move-review section > strong,
.move-review section p,
.move-review ul,
.move-review > small {
  font-size: 14px;
}
.nav-row {
  gap: 9px;
  padding: 10px;
}
.nav-row > span {
  opacity: 1;
}
.p-button {
  padding: 9px 15px;
}
.p-button.small {
  padding: 7px 11px;
}
.library-title-row {
  margin-bottom: 24px;
}
.library-title-row h1 {
  margin-bottom: 0;
}
.library-sidebar nav {
  margin-bottom: 20px;
}
.folder-card {
  padding: 13px 15px;
}
.project-card-open {
  padding: 18px 20px;
  min-height: 155px;
}
.project-card h2 {
  margin-top: 17px;
}
.project-card-bottom {
  padding-top: 8px;
  padding-bottom: 8px;
}
.auth-card {
  max-width: 450px;
}
.account-popover {
  width: 270px;
}
.dropdown-content {
  min-width: 196px;
}
.landing-section {
  padding-top: 70px;
  padding-bottom: 70px;
}
.landing-footer {
  margin-top: 60px;
}
@media (max-width: 1100px) {
  .library-layout {
    grid-template-columns: 238px minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  .library-layout {
    grid-template-columns: 1fr;
  }
  .nav-row {
    padding: 8px 9px;
  }
  .library-sidebar nav {
    margin-bottom: 0;
  }
  .hero-description {
    font-size: 17px;
  }
  .library-title-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
@media (max-width: 480px) {
  .portal-brand img {
    width: auto;
    height: 32px;
  }
  .landing-header {
    gap: 12px;
  }
  .landing-header-actions {
    gap: 12px;
  }
  .landing-header-actions .p-button {
    padding: 7px 10px;
  }
  .landing-header-actions .p-link {
    font-size: 14px;
  }
  .landing-hero {
    padding-top: 28px;
  }
  .hero-description {
    font-size: 16px;
  }
  .demo-table > div {
    font-size: 13px;
  }
  .preview-mode {
    max-width: 140px;
  }
  .folder-preview-title {
    flex-wrap: wrap;
  }
  .library-toolbar {
    align-items: stretch;
  }
  .library-imports {
    margin-left: 0;
  }
  .verification-banner {
    font-size: 14px;
  }
  .library-sidebar > nav {
    gap: 3px;
  }
  .nav-row {
    font-size: 16px;
    white-space: nowrap;
  }
  .project-card-bottom > a {
    font-size: 16px;
  }
}

/* Self-hosted Golos Text, SIL OFL 1.1; shared across the portal. */
/* golos-text-cyrillic-ext-wght-normal */
@font-face {
  font-family: "Golos Text Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(/fonts/golos-text/golos-text-cyrillic-ext-wght-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* golos-text-cyrillic-wght-normal */
@font-face {
  font-family: "Golos Text Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(/fonts/golos-text/golos-text-cyrillic-wght-normal.woff2)
    format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* golos-text-latin-ext-wght-normal */
@font-face {
  font-family: "Golos Text Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(/fonts/golos-text/golos-text-latin-ext-wght-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* golos-text-latin-wght-normal */
@font-face {
  font-family: "Golos Text Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(/fonts/golos-text/golos-text-latin-wght-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
/* Catalog surfaces and typography follow the requested reference style. */
body.catalog-page {
  font-family:
    "Golos Text Variable",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  color: #172033;
  background: #f8fafc;
  --ink: #172033;
  --muted: #64748b;
  --accent: #2563eb;
  --line: #e2e8f0;
  --pale: #eff6ff;
}
.catalog-page .portal-header,
.catalog-page .library-sidebar,
.catalog-page .folder-card,
.catalog-page .project-card,
.catalog-page .account-popover,
.catalog-page .dropdown-content,
.catalog-page .portal-modal {
  background: #ffffff;
  border-color: #e2e8f0;
}
.catalog-page .library-layout,
.catalog-page .library-main {
  background: #f8fafc;
}
.catalog-page .library-title-row h1 {
  font-size: 26px;
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -0.8px;
  color: #172033;
}
.catalog-page .nav-row,
.catalog-page .tree-folder,
.catalog-page .folder-open,
.catalog-page .dropdown-content button,
.catalog-page .account-trigger,
.catalog-page .account-popover,
.catalog-page .p-field,
.catalog-page .library-search input,
.catalog-page .project-card h2,
.catalog-page .browser-plan-list strong,
.catalog-page .import-summary strong {
  color: #334155;
}
.catalog-page .project-card h2 {
  color: #172033;
  font-size: 17px;
  font-weight: 550;
  letter-spacing: 0;
}
.catalog-page .folder-open strong {
  font-weight: 500;
}
.catalog-page .local-link,
.catalog-page .account-popover > small,
.catalog-page .verified-label,
.catalog-page .account-trigger > span:last-child,
.catalog-page .sidebar-heading,
.catalog-page .nav-row > span,
.catalog-page .tree-toggle,
.catalog-page .breadcrumbs,
.catalog-page .breadcrumbs a,
.catalog-page .library-count,
.catalog-page .content-section-label,
.catalog-page .content-section-label span,
.catalog-page .folder-open small,
.catalog-page .role-label,
.catalog-page .project-card p,
.catalog-page .project-card-bottom > a,
.catalog-page .item-menu > summary,
.catalog-page .empty-state p,
.catalog-page .modal-description,
.catalog-page .field-hint,
.catalog-page .import-summary span,
.catalog-page .browser-plan-list small,
.catalog-page .close-modal,
.catalog-page .move-review section p,
.catalog-page .move-review ul,
.catalog-page .move-review > small {
  color: #64748b;
}
.catalog-page .breadcrumbs [aria-current] {
  color: #334155;
}
.catalog-page .breadcrumbs a:hover,
.catalog-page .project-card-bottom > a:hover {
  color: #2563eb;
}
.catalog-page .nav-row.active,
.catalog-page .tree-folder.active {
  background: #eff6ff;
  color: #2563eb;
}
.catalog-page .nav-row:hover,
.catalog-page .account-popover a:hover,
.catalog-page .account-popover button:hover,
.catalog-page .item-menu > summary:hover {
  background: #f1f5f9;
}
.catalog-page .tree-folder:hover,
.catalog-page .dropdown-content button:hover,
.catalog-page .folder-card:hover {
  background: #eff6ff;
}
.catalog-page .library-tree ul {
  border-color: #edf0f5;
}
.catalog-page .avatar,
.catalog-page .empty-icon {
  background: #eff6ff;
  color: #2563eb;
}
.catalog-page .project-card-icon {
  background: #f1f5f9;
  color: #64748b;
}
.catalog-page .folder-open > svg,
.catalog-page .library-search svg {
  color: #64748b;
}
.catalog-page .library-search,
.catalog-page .p-field input,
.catalog-page .p-field select {
  background: #fff;
  border-color: #e2e8f0;
}
.catalog-page .library-search input::placeholder,
.catalog-page .p-field input::placeholder {
  color: #64748b;
}
.catalog-page .library-search:focus-within {
  outline-color: #93b4f5;
}
.catalog-page .p-button.primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.catalog-page .p-button.primary:hover {
  background: #1d4ed8;
}
.catalog-page .p-button.secondary {
  background: #fff;
  border-color: #e2e8f0;
  color: #334155;
}
.catalog-page .p-button.secondary:hover,
.catalog-page .p-button.quiet:hover {
  background: #f1f5f9;
}
.catalog-page .p-button.quiet {
  color: #475569;
}
.catalog-page .dropdown-content button.danger-text {
  color: #b45342;
}
.catalog-page .verification-banner {
  background: #eff6ff;
  border-color: #dbeafe;
  color: #475569;
}
.catalog-page .verification-banner a {
  color: #2563eb;
}
.catalog-page .project-card {
  box-shadow: 0 2px 4px #17203304;
}
.catalog-page .project-card:hover {
  border-color: #d4dfed;
  box-shadow: 0 5px 20px #1720330c;
}
.catalog-page .project-card-bottom {
  border-color: #f1f5f9;
}
.catalog-page .account-popover,
.catalog-page .dropdown-content {
  box-shadow: 0 6px 24px #17203320;
}
.catalog-page .portal-modal {
  color: #172033;
  box-shadow: 0 22px 100px #17203325;
}
.catalog-page .portal-modal::backdrop {
  background: #17203340;
}
.catalog-page .modal-actions,
.catalog-page .browser-plan-list label {
  border-color: #e2e8f0;
}
.catalog-page .import-summary,
.catalog-page .move-review {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.catalog-page .move-review section + section {
  border-color: #e2e8f0;
}
.catalog-page .move-review section > strong {
  color: #334155;
}
.catalog-page .portal-notice {
  background: #25364f;
}
.catalog-page :is(button, a, input, select, summary):focus-visible {
  outline-color: #2563eb;
}

@media (max-width: 600px) {
  .portal-header:has(.portal-site-nav) {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    padding: 12px 17px;
  }
  .portal-site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
  }
  .portal-header:has(.portal-site-nav) .account-menu { margin-left: auto; }
}
