@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400..700&family=Newsreader:opsz,wght@6..72,400..700&display=swap");

:root {
  color-scheme: light;

  --color-reading-ivory: #F5F2E9;
  --color-uncoated-paper: #FFFEFA;
  --color-forest-ink: #23483B;
  --color-deep-forest: #18382F;
  --color-charcoal: #252823;
  --color-quiet-ink: #66685F;
  --color-text-secondary: #595B53;
  --color-margin-rule: #D8D2C6;
  --color-muted-sage: #A7B39F;
  --color-pale-sage: #E5EADF;
  --color-terracotta: #B85F45;
  --color-ochre: #C19243;
  --color-soft-clay: #EAD8CC;

  --color-status-success: #2F684A;
  --color-status-success-surface: #EAF3E9;
  --color-status-warning: #735414;
  --color-status-warning-surface: #F5EEDB;
  --color-status-error: #963C31;
  --color-status-error-surface: #F4E7E3;
  --color-status-neutral: #55574F;
  --color-status-neutral-surface: #EEEDE8;

  --color-ink: var(--color-charcoal);
  --color-ink-muted: var(--color-text-secondary);
  --color-surface-page: var(--color-reading-ivory);
  --color-surface: var(--color-uncoated-paper);
  --color-surface-subtle: var(--color-pale-sage);
  --color-border: var(--color-margin-rule);
  --color-action: var(--color-forest-ink);
  --color-action-hover: var(--color-deep-forest);
  --color-action-contrast: var(--color-uncoated-paper);
  --color-success: var(--color-status-success);
  --color-warning: var(--color-status-warning);
  --color-danger: var(--color-status-error);
  --color-coral: var(--color-terracotta);
  --color-violet: var(--color-muted-sage);
  --color-marker-ink: var(--color-charcoal);
  --color-focus: var(--color-forest-ink);
  --color-header-ink: var(--color-charcoal);
  --color-header-muted: var(--color-text-secondary);
  --color-header-border: var(--color-margin-rule);
  --color-nav-hover-bg: var(--color-pale-sage);
  --color-footer-text: var(--color-charcoal);
  --color-footer-rule: var(--color-margin-rule);
  --color-logout: var(--color-status-error);
  --color-wallet-ink: var(--color-forest-ink);
  --color-wallet-hover-ink: var(--color-deep-forest);
  --color-wallet-icon: var(--color-forest-ink);
  --color-wallet-inline: var(--color-forest-ink);
  --color-wallet-flyout-tip: var(--color-deep-forest);
  --color-wallet-flyout-label: var(--color-uncoated-paper);
  --color-wallet-flyout-secondary: var(--color-pale-sage);
  --color-wallet-flyout-note: var(--color-uncoated-paper);
  --surface-wallet: var(--color-uncoated-paper);
  --surface-wallet-hover: var(--color-pale-sage);
  --surface-wallet-flyout: var(--color-deep-forest);
  --border-wallet: var(--color-margin-rule);
  --border-wallet-hover: var(--color-muted-sage);
  --border-wallet-flyout: rgba(255, 254, 250, 0.25);
  --shadow-header: none;
  --shadow-button-primary: none;
  --shadow-wallet-flyout: 0 12px 28px rgba(37, 40, 35, 0.18);
  --color-account-ink: var(--color-forest-ink);
  --color-account-muted: var(--color-text-secondary);
  --color-account-border: var(--color-margin-rule);
  --color-account-action: var(--color-forest-ink);
  --color-account-action-strong: var(--color-deep-forest);
  --surface-header: var(--color-uncoated-paper);
  --surface-footer: var(--color-reading-ivory);
  --surface-account-selected: var(--color-pale-sage);
  --surface-account-hover: var(--color-reading-ivory);
  --gradient-action: var(--color-forest-ink);

  --font-family-body: "DM Sans", Arial, sans-serif;
  --font-family-display: "Newsreader", Georgia, serif;
  --font-family-note: "Newsreader", Georgia, serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-display: clamp(2.5rem, 5.4vw, 4.75rem);
  --font-size-page-title: clamp(2.125rem, 4.1vw, 3.5rem);
  --font-size-section: clamp(1.625rem, 2.8vw, 2.375rem);
  --font-size-resource: clamp(1.125rem, 1.8vw, 1.625rem);
  --font-size-body: 1.0625rem;
  --line-height-body: 1.62;
  --line-height-display: 1.06;
  --line-height-heading: 1.17;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 5.5rem;
  --space-10: 7rem;
  --space-unit: 0.5rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-pill: 999px;
  --border-width: 1px;
  --shadow-card: 0 1px 2px rgba(37, 40, 35, 0.06);
  --shadow-overlay: 0 12px 28px rgba(37, 40, 35, 0.16);
  --focus-ring: 0 0 0 3px rgba(35, 72, 59, 0.18);
  --motion-duration-fast: 140ms;
  --motion-duration-normal: 200ms;
  --motion-easing-standard: ease;
  --layout-container-width: 84rem;
  --layout-content-width: 72rem;
  --layout-wide-gutter: clamp(1.5rem, 4vw, 4rem);
  --layout-page-gutter: clamp(1rem, 3vw, 2rem);
  --layout-reading-width: 68ch;

  --card-background: var(--color-uncoated-paper);
  --card-border: var(--color-margin-rule);
  --card-radius: var(--radius-sm);
  --card-shadow: none;
  --button-primary-background: var(--color-forest-ink);
  --button-primary-foreground: var(--color-uncoated-paper);
  --button-primary-hover: var(--color-deep-forest);
  --button-radius: var(--radius-sm);
  --button-min-height: 2.75rem;
  --field-background: var(--color-uncoated-paper);
  --field-foreground: var(--color-charcoal);
  --field-border: var(--color-margin-rule);
  --field-placeholder: var(--color-text-secondary);
  --field-radius: var(--radius-sm);
  --field-focus-ring: var(--focus-ring);

  --asset-home-hero: url("../images/home%20page/Hero%20imgaes1.webp");
  --asset-home-banner: url("../images/home%20page/banner_image.webp");
  --asset-seller-background: url("../images/seller/background.webp");

  --ink: var(--color-ink);
  --ink-soft: var(--color-ink-muted);
  --paper: var(--color-surface-page);
  --paper-line: var(--color-border);
  --card: var(--color-surface);
  --margin-red: var(--color-danger);
  --marker: var(--color-warning);
  --teal: var(--color-success);
  --line: var(--color-border);
  --font-display: var(--font-family-display);
  --font-body: var(--font-family-body);
  --font-note: var(--font-family-note);
  --radius-s: var(--radius-sm);
  --radius-m: var(--radius-md);
  --radius-l: var(--radius-lg);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-reading-ivory);
  color: var(--color-charcoal);
  font-family: var(--font-family-body);
  line-height: var(--line-height-body);
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  font-family: var(--font-family-display) !important;
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  box-shadow: none;
}

body .site-header,
html body #public-site-header {
  background: var(--color-uncoated-paper) !important;
  border-bottom: 1px solid var(--color-margin-rule) !important;
  box-shadow: none !important;
  color: var(--color-charcoal);
  font-family: var(--font-family-body) !important;
}

html body #public-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

html body #public-site-header .container {
  align-items: center !important;
  display: grid !important;
  gap: clamp(0.75rem, 1.8vw, 1.75rem) !important;
  grid-template-columns: minmax(9rem, 1fr) auto minmax(9rem, 1fr) !important;
  max-width: var(--layout-container-width) !important;
  min-height: 4.75rem !important;
  padding: 0 var(--layout-wide-gutter) !important;
}

body .site-header .brand-logo-image {
  display: block;
  height: auto;
  max-width: 100%;
  width: min(220px, 42vw);
}

body .site-header .brand-wordmark {
  color: var(--color-forest-ink);
  font: 500 1.75rem/1 var(--font-family-display);
  letter-spacing: -0.035em;
}

html body #public-site-header .container > nav:first-of-type {
  align-items: center !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: clamp(0.75rem, 1.65vw, 1.5rem) !important;
  justify-content: center !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  position: static !important;
}

html body #public-site-header .container > nav:first-of-type a,
html body #public-site-header .container > nav:first-of-type a.header-action-link {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--color-forest-ink) !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  font-family: var(--font-family-body) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  justify-content: center !important;
  letter-spacing: 0 !important;
  line-height: 1.35 !important;
  min-height: 2.75rem !important;
  padding: 0 0.125rem !important;
  text-decoration: none !important;
  text-underline-offset: 0.35rem;
  transform: none !important;
  transition: color var(--motion-duration-fast) var(--motion-easing-standard) !important;
  white-space: nowrap !important;
}

html body #public-site-header .container > nav:first-of-type a:hover,
html body #public-site-header .container > nav:first-of-type a.is-active {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: var(--color-deep-forest) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--color-terracotta) !important;
  text-decoration-thickness: 2px !important;
  transform: none !important;
}

html body #public-site-header .nav-right {
  align-items: center !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0.5rem !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
}

html body #public-site-header .nav-right .btn-login,
html body #public-site-header .nav-right .btn-dashboard,
html body #public-site-header .nav-right .btn-admin,
html body #public-site-header .nav-right .btn-logout,
html body #public-site-header .nav-right .btn-register,
html body #public-site-header .nav-right .btn-upload {
  align-items: center !important;
  border: 1px solid transparent !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
  display: inline-flex !important;
  font-family: var(--font-family-body) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  justify-content: center !important;
  line-height: 1.25 !important;
  min-height: 2.75rem !important;
  padding: 0 0.875rem !important;
  text-decoration: none !important;
  transition: background-color var(--motion-duration-fast) var(--motion-easing-standard), color var(--motion-duration-fast) var(--motion-easing-standard), border-color var(--motion-duration-fast) var(--motion-easing-standard) !important;
  white-space: nowrap !important;
}

html body #public-site-header .nav-right .btn-login {
  background: transparent !important;
  color: var(--color-forest-ink) !important;
}

html body #public-site-header .nav-right .btn-login:hover {
  color: var(--color-deep-forest) !important;
  text-decoration: underline !important;
  text-underline-offset: 0.25rem;
}

html body #public-site-header .nav-right .btn-register,
html body #public-site-header .nav-right .btn-upload,
html body #public-site-header .nav-right .btn-dashboard,
html body #public-site-header .nav-right .btn-admin {
  background: var(--color-forest-ink) !important;
  border-color: var(--color-forest-ink) !important;
  color: var(--color-uncoated-paper) !important;
}

html body #public-site-header .nav-right .btn-register:hover,
html body #public-site-header .nav-right .btn-upload:hover,
html body #public-site-header .nav-right .btn-dashboard:hover,
html body #public-site-header .nav-right .btn-admin:hover {
  background: var(--color-deep-forest) !important;
  border-color: var(--color-deep-forest) !important;
}

html body #public-site-header .nav-right .btn-logout {
  background: transparent !important;
  border-color: var(--color-margin-rule) !important;
  color: var(--color-status-error) !important;
}

html body #public-site-header .nav-right .btn-logout:hover {
  background: var(--color-status-error-surface) !important;
}

html body #public-site-header .nav-right .btn-register .upload-icon,
html body #public-site-header .nav-right .btn-upload .upload-icon {
  fill: none;
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 14px;
}

html body #public-site-header .header-search-shell {
  align-items: center !important;
  display: flex !important;
  gap: 0.5rem !important;
  justify-content: flex-end !important;
  position: relative !important;
}

html body #public-site-header .nav-right .home-header-search {
  align-items: center !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
  color: var(--color-forest-ink) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  flex: 0 0 2.75rem !important;
  height: 2.75rem !important;
  justify-content: center !important;
  padding: 0 !important;
  width: 2.75rem !important;
}

html body #public-site-header .nav-right .home-header-search:hover {
  background: var(--color-pale-sage) !important;
}

html body #public-site-header .nav-right .home-header-search svg {
  display: block !important;
  fill: none !important;
  height: 1.125rem !important;
  stroke: currentColor !important;
  stroke-linecap: round !important;
  stroke-width: 1.7 !important;
  width: 1.125rem !important;
}

html body #public-site-header .nav-right .home-header-search-form {
  align-self: center !important;
  box-sizing: border-box !important;
  display: none !important;
  height: 2.75rem !important;
  margin: 0 !important;
  max-width: 18rem !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity var(--motion-duration-fast) var(--motion-easing-standard), max-width var(--motion-duration-fast) var(--motion-easing-standard) !important;
  width: 0 !important;
}

html body #public-site-header .nav-right .header-search-shell.is-open .home-header-search-form {
  align-items: center !important;
  display: flex !important;
  max-width: 18rem !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  width: 18rem !important;
}

html body #public-site-header .nav-right .home-header-search-form input {
  background: var(--color-uncoated-paper) !important;
  border: 1px solid var(--color-margin-rule) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
  color: var(--color-charcoal) !important;
  font-family: var(--font-family-body) !important;
  font-size: 0.875rem !important;
  min-height: 2.75rem !important;
  padding: 0 0.75rem !important;
  width: 100% !important;
}

html body #public-site-header .site-menu-toggle,
html body #public-site-header #primary-site-nav .mobile-search-link {
  display: none !important;
}

html body #public-site-header .site-menu-toggle {
  align-items: center;
  background: var(--color-uncoated-paper);
  border: 1px solid var(--color-margin-rule);
  border-radius: var(--radius-sm);
  color: var(--color-forest-ink);
  cursor: pointer;
  font: 600 0.875rem/1.2 var(--font-family-body);
  gap: 0.5rem;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 0.75rem;
}

html body #public-site-header .site-menu-toggle:hover {
  background: var(--color-pale-sage);
}

html body #public-site-header .site-menu-toggle-icon {
  display: grid;
  gap: 4px;
  width: 1rem;
}

html body #public-site-header .site-menu-toggle-icon span {
  background: currentColor;
  display: block;
  height: 1.5px;
  transition: transform var(--motion-duration-fast) var(--motion-easing-standard);
  width: 100%;
}

html body #public-site-header .site-menu-toggle[aria-expanded="true"] .site-menu-toggle-icon span:first-child {
  transform: translateY(5.5px) rotate(45deg);
}

html body #public-site-header .site-menu-toggle[aria-expanded="true"] .site-menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

html body #public-site-header .site-menu-toggle[aria-expanded="true"] .site-menu-toggle-icon span:last-child {
  transform: translateY(-5.5px) rotate(-45deg);
}

html body #public-site-header #primary-site-nav[hidden] {
  display: none !important;
}

body .site-footer.compact-footer {
  background: var(--color-reading-ivory) !important;
  border: 0 !important;
  border-top: 1px solid var(--color-margin-rule) !important;
  color: var(--color-charcoal) !important;
  font-family: var(--font-family-body);
  margin-top: var(--space-8);
  padding: var(--space-6) 0 var(--space-4);
}

body .site-footer.compact-footer .container {
  margin: 0 auto;
  max-width: var(--layout-container-width);
  padding: 0 var(--layout-wide-gutter);
  width: 100%;
}

body .site-footer.compact-footer .footer-bottom {
  align-items: center;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  padding: 0;
}

body .site-footer.compact-footer .footer-bottom-brand {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

body .site-footer.compact-footer .footer-logo-image {
  display: block;
  height: auto;
  max-width: 100%;
  width: min(11rem, 42vw);
}

body .site-footer.compact-footer .footer-brand {
  color: var(--color-forest-ink);
  display: inline-flex;
  text-decoration: none;
}

body .site-footer.compact-footer .footer-wordmark {
  font: 500 1.5rem/1 var(--font-family-display);
  letter-spacing: -0.03em;
}

body .site-footer.compact-footer .footer-copyright {
  color: var(--color-text-secondary) !important;
  font-size: 0.8125rem;
  margin: 0;
}

body .site-footer.compact-footer .footer-legal-links {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.125rem;
  justify-content: flex-end;
  margin: 0;
  max-width: 100%;
  min-width: 0;
  padding: 0;
}

body .site-footer.compact-footer .footer-legal-links a {
  color: var(--color-forest-ink) !important;
  font-family: var(--font-family-body);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2rem;
  transition: text-decoration-color var(--motion-duration-fast) var(--motion-easing-standard);
}

body .site-footer.compact-footer .footer-legal-links a:hover {
  color: var(--color-deep-forest) !important;
  text-decoration-color: currentColor;
}

body .site-footer.compact-footer .footer-legal-links .footer-social-link {
  align-items: center;
  border: 1px solid var(--color-margin-rule);
  border-radius: 50%;
  color: var(--color-forest-ink) !important;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  padding: 0;
  width: 2rem;
}

body .site-footer.compact-footer .footer-legal-links .footer-social-link:hover {
  background: var(--color-pale-sage);
  text-decoration: none;
}

body .site-footer.compact-footer .footer-legal-links .footer-social-link svg {
  fill: currentColor;
  height: 1rem;
  stroke: currentColor;
  width: 1rem;
}

body .site-footer.compact-footer .footer-legal-links .footer-social-link:last-of-type svg {
  fill: none;
  stroke: currentColor;
}

body .site-footer.compact-footer .footer-legal-links .footer-social-link:last-of-type .footer-social-dot {
  fill: currentColor;
}

.account-sidebar {
  border-color: var(--color-account-border);
}

.account-sidebar-brand,
body.my-notes-page h1,
body.my-notes-page h2,
body.my-notes-page h3,
body.my-notes-page h4,
body.upload-page-shell h1,
body.upload-page-shell h2,
body.upload-page-shell h3,
body.upload-page-shell h4,
body.profile-page h1,
body.profile-page h2,
body.profile-page h3,
body.profile-page h4,
body.seller-page h1,
body.seller-page h2,
body.seller-page h3,
body.seller-page h4,
body.transactions-page h1,
body.transactions-page h2,
body.transactions-page h3,
body.transactions-page h4 {
  color: var(--color-account-ink);
}

.kr-shell {
  margin-inline: auto;
  max-width: var(--layout-container-width);
  padding-inline: var(--layout-page-gutter);
  width: 100%;
}

.kr-reading-width {
  max-width: var(--layout-reading-width);
}

.kr-page-intro {
  margin: 0 0 var(--space-7);
  max-width: 52rem;
}

.kr-eyebrow,
.kr-folio {
  color: var(--color-forest-ink);
  font: 600 0.75rem/1.4 var(--font-family-body);
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.kr-page-title {
  color: var(--color-charcoal);
  font: 400 var(--font-size-page-title)/1.1 var(--font-family-display);
  letter-spacing: -0.025em;
  margin: 0.5rem 0 1rem;
}

.kr-section-title {
  color: var(--color-charcoal);
  font: 400 var(--font-size-section)/1.17 var(--font-family-display);
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}

.kr-body-copy {
  color: var(--color-text-secondary);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  margin: 0;
  max-width: var(--layout-reading-width);
}

.kr-link {
  color: var(--color-forest-ink);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 0.2em;
}

.kr-link:hover {
  color: var(--color-deep-forest);
}

.kr-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  font: 600 0.9375rem/1.25 var(--font-family-body);
  gap: 0.5rem;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.625rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--motion-duration-fast) var(--motion-easing-standard), border-color var(--motion-duration-fast) var(--motion-easing-standard), color var(--motion-duration-fast) var(--motion-easing-standard), transform var(--motion-duration-fast) var(--motion-easing-standard);
}

.kr-button:active:not(:disabled):not([aria-disabled="true"]) {
  transform: translateY(1px);
}

.kr-button[aria-busy="true"] {
  cursor: wait;
}

.kr-button[aria-busy="true"]::before {
  animation: kr-button-spin 800ms linear infinite;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
  height: 0.875rem;
  width: 0.875rem;
}

@keyframes kr-button-spin {
  to {
    transform: rotate(360deg);
  }
}

.kr-button--primary {
  background: var(--color-forest-ink);
  border-color: var(--color-forest-ink);
  color: var(--color-uncoated-paper);
}

.kr-button--primary:hover {
  background: var(--color-deep-forest);
  border-color: var(--color-deep-forest);
}

.kr-button--secondary {
  background: var(--color-uncoated-paper);
  border-color: var(--color-forest-ink);
  color: var(--color-forest-ink);
}

.kr-button--secondary:hover {
  background: var(--color-pale-sage);
}

.kr-button--text {
  background: transparent;
  color: var(--color-forest-ink);
  padding-inline: 0.25rem;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.kr-button--danger {
  background: var(--color-status-error);
  border-color: var(--color-status-error);
  color: var(--color-uncoated-paper);
}

.kr-button:disabled,
.kr-button[aria-disabled="true"] {
  background: var(--color-status-neutral-surface);
  border-color: var(--color-margin-rule);
  color: var(--color-status-neutral);
  cursor: not-allowed;
  opacity: 0.82;
}

.kr-button[aria-busy="true"]:disabled {
  cursor: wait;
}

.kr-field {
  display: grid;
  gap: 0.375rem;
}

.kr-label {
  color: var(--color-charcoal);
  font-size: 0.875rem;
  font-weight: 600;
}

.kr-input,
.kr-select,
.kr-textarea {
  appearance: none;
  background: var(--color-uncoated-paper);
  border: 1px solid var(--color-margin-rule);
  border-radius: var(--radius-sm);
  color: var(--color-charcoal);
  font: 400 1rem/1.4 var(--font-family-body);
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
  width: 100%;
}

.kr-input::placeholder,
.kr-textarea::placeholder {
  color: var(--color-text-secondary);
  opacity: 1;
}

.kr-textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.kr-field-hint {
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
  line-height: 1.45;
  margin: 0;
}

.kr-field-error {
  color: var(--color-status-error);
  font-size: 0.8125rem;
  margin: 0;
}

.kr-input[aria-invalid="true"],
.kr-select[aria-invalid="true"],
.kr-textarea[aria-invalid="true"] {
  border-color: var(--color-status-error);
}

.kr-check-row {
  align-items: flex-start;
  color: var(--color-charcoal);
  display: flex;
  font-size: 0.9375rem;
  gap: 0.625rem;
}

.kr-check-row input {
  accent-color: var(--color-forest-ink);
  height: 1.125rem;
  margin: 0.15rem 0 0;
  width: 1.125rem;
}

.kr-panel {
  background: var(--color-uncoated-paper);
  border: 1px solid var(--color-margin-rule);
  border-radius: var(--radius-sm);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.kr-editorial-image {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.kr-editorial-image--wide {
  aspect-ratio: 16 / 9;
}

.kr-editorial-image--portrait {
  aspect-ratio: 4 / 5;
}

.kr-resource-preview {
  background: var(--color-uncoated-paper);
  border: 1px solid var(--color-margin-rule);
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.kr-status {
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

.kr-status--success {
  background: var(--color-status-success-surface);
  color: var(--color-status-success);
}

.kr-status--warning {
  background: var(--color-status-warning-surface);
  color: var(--color-status-warning);
}

.kr-status--error {
  background: var(--color-status-error-surface);
  color: var(--color-status-error);
}

.kr-status--neutral {
  background: var(--color-status-neutral-surface);
  color: var(--color-status-neutral);
}

@media (max-width: 68rem) {
  html body #public-site-header .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem 0.75rem !important;
    min-height: 4.25rem !important;
    padding: 0.5rem var(--layout-page-gutter) !important;
  }

  html body #public-site-header .logo {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    order: 1 !important;
  }

  html body #public-site-header .site-menu-toggle:not([hidden]) {
    display: inline-flex !important;
    order: 2 !important;
  }

  html body #public-site-header .nav-right {
    flex: 0 0 auto !important;
    flex-direction: row !important;
    height: auto !important;
    margin-left: auto !important;
    order: 3 !important;
  }

  html body #public-site-header .nav-right .btn-upload {
    display: none !important;
  }

  html body #public-site-header.mobile-menu-enhanced #primary-site-nav {
    align-items: stretch !important;
    background: var(--color-uncoated-paper) !important;
    border: 1px solid var(--color-margin-rule) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: var(--shadow-overlay) !important;
    flex-direction: column !important;
    gap: 0 !important;
    left: var(--layout-page-gutter) !important;
    margin: 0 !important;
    max-height: min(70vh, 30rem) !important;
    overflow-y: auto !important;
    padding: 0.5rem !important;
    position: absolute !important;
    right: var(--layout-page-gutter) !important;
    top: calc(100% + 0.25rem) !important;
    z-index: 40 !important;
  }

  html body #public-site-header.mobile-menu-enhanced #primary-site-nav a,
  html body #public-site-header.mobile-menu-enhanced #primary-site-nav a.header-action-link {
    justify-content: flex-start !important;
    min-height: 2.75rem !important;
    padding: 0.5rem 0.75rem !important;
    text-align: left !important;
    width: 100% !important;
  }

  html body #public-site-header.mobile-menu-enhanced #primary-site-nav .mobile-search-link {
    border-top: 1px solid var(--color-margin-rule) !important;
    color: var(--color-forest-ink) !important;
    display: flex !important;
    margin-top: 0.25rem !important;
    padding-top: 0.75rem !important;
  }
}

@media (max-width: 47.5rem) {
  html body #public-site-header .logo {
    flex: 0 1 60vw !important;
    max-width: calc(100% - 6.25rem) !important;
  }
}

@media (max-width: 30rem) {
  html body #public-site-header .container {
    flex-wrap: wrap !important;
  }

  html body #public-site-header .nav-right {
    border-top: 1px solid var(--color-margin-rule) !important;
    flex: 1 0 100% !important;
    justify-content: flex-end !important;
    margin-left: 0 !important;
    padding-top: 0.375rem !important;
  }

  body .site-header .brand-wordmark {
    font-size: 1.5rem;
  }

  html body #public-site-header .nav-right {
    gap: 0.125rem !important;
  }

  html body #public-site-header .nav-right .btn-login,
  html body #public-site-header .nav-right .btn-register {
    font-size: 0.8125rem !important;
    padding-inline: 0.5rem !important;
  }

  html body #public-site-header .nav-right .header-search-shell {
    flex: 0 0 2.5rem !important;
  }

  body .site-footer.compact-footer .footer-bottom,
  body .site-footer.compact-footer .footer-bottom-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  body .site-footer.compact-footer .footer-legal-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
