:root {
  --home-bg: #f7f4ed;
  --home-surface: #fffdf8;
  --home-ink: #17372f;
  --home-muted: #6e7f79;
  --home-green: #208d71;
  --home-green-dark: #155d4c;
  --home-line: rgba(30, 73, 61, .13);
  --home-shadow: 0 18px 45px rgba(45, 67, 59, .09);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--home-bg); }
body.staff-workspace-page {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--home-ink);
  background:
    radial-gradient(circle at 89% 4%, rgba(245, 190, 173, .38), transparent 300px),
    radial-gradient(circle at 4% 31%, rgba(174, 222, 202, .34), transparent 360px),
    var(--home-bg);
}
body.staff-workspace-page::before,
body.staff-workspace-page::after {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  content: "";
  filter: blur(1px);
  opacity: .62;
}
body.staff-workspace-page::before { top: 110px; right: -90px; width: 230px; height: 230px; background: #f6d8c8; }
body.staff-workspace-page::after { top: 560px; left: -120px; width: 280px; height: 280px; background: #d8eee3; }

.workspace-main, .site-footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.workspace-main { padding-bottom: 96px; }
.workspace-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0 78px; }
.workspace-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--home-ink); font-size: 16px; font-weight: 800; text-decoration: none; }
.workspace-brand img { width: 48px; height: 48px; padding: 5px; border: 1px solid rgba(255,255,255,.9); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(28, 90, 72, .1); object-fit: contain; }
.workspace-badge { padding: 9px 14px; border: 1px solid var(--home-line); border-radius: 999px; color: var(--home-green-dark); background: rgba(255, 253, 248, .7); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(8px); }

.workspace-intro { max-width: 900px; padding-bottom: 80px; }
.eyebrow { margin: 0 0 16px; color: var(--home-green); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.workspace-intro h1 { margin: 0; max-width: 850px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(50px, 7vw, 86px); font-weight: 500; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
.workspace-intro > p:last-child { max-width: 700px; margin: 26px 0 0; color: var(--home-muted); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.7; }

.tool-section { padding: 44px 0 0; border-top: 1px solid var(--home-line); }
.tool-section + .tool-section { margin-top: 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 28px; }
.section-heading > div { display: flex; align-items: center; gap: 15px; }
.section-number { display: inline-grid; min-width: 48px; height: 30px; padding: 0 11px; place-items: center; border-radius: 999px; color: var(--home-green-dark); background: #dcefe6; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 3.7vw, 45px); font-weight: 500; letter-spacing: -.035em; }
.section-heading p { max-width: 330px; margin: 0; color: var(--home-muted); font-size: 13px; line-height: 1.55; text-align: right; }

.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tool-card { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) 30px; align-items: start; gap: 14px; min-height: 172px; padding: 25px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .78); border-radius: 24px; color: var(--home-ink); background: #fffdf9; box-shadow: 0 10px 30px rgba(45, 67, 59, .055); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tool-card::after { position: absolute; right: -36px; bottom: -58px; width: 145px; height: 145px; border-radius: 50%; background: rgba(255, 255, 255, .42); content: ""; }
.tool-card:hover { transform: translateY(-4px); border-color: rgba(32, 141, 113, .25); box-shadow: var(--home-shadow); }
.tool-card:focus-visible { outline: 3px solid rgba(32, 141, 113, .35); outline-offset: 4px; }
.tool-card.featured { background: #dfeee5; }
.operations-grid .tool-card:nth-child(2) { background: #f5e4db; }
.operations-grid .tool-card:nth-child(3) { background: #e9e4f3; }
.operations-grid .tool-card:nth-child(4) { background: #f2ebcf; }
.tool-index { position: relative; z-index: 1; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--home-green-dark); background: rgba(255, 255, 255, .7); font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.tool-card div { position: relative; z-index: 1; align-self: end; padding-top: 38px; }
.tool-card strong, .tool-card small { display: block; }
.tool-card strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(21px, 2.1vw, 27px); font-weight: 600; letter-spacing: -.02em; line-height: 1.17; }
.tool-card small { max-width: 290px; margin-top: 9px; color: var(--home-muted); font-size: 13px; line-height: 1.5; }
.tool-arrow { position: relative; z-index: 1; display: grid; width: 30px; height: 30px; place-items: center; justify-self: end; border-radius: 50%; color: var(--home-green-dark); background: rgba(255, 255, 255, .68); font-size: 15px; transition: transform .2s ease; }
.tool-card:hover .tool-arrow { transform: translateX(3px); }
.template-card { min-height: 190px; background: var(--home-surface); }
.template-card div { padding-top: 31px; }
.template-grid .template-card:nth-child(3n + 1) { background: #e4f0ea; }
.template-grid .template-card:nth-child(3n + 2) { background: #f7e9df; }
.template-grid .template-card:nth-child(3n) { background: #eee9f5; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 34px 0 42px; border-top: 1px solid var(--home-line); color: var(--home-muted); font-size: 12px; }
.site-footer a { color: var(--home-green-dark); font-weight: 800; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin: 0; }

@media (min-width: 980px) {
  .operations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .template-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .tool-card, .tool-arrow { transition: none; }
}

@media (max-width: 720px) {
  .workspace-main, .site-footer { width: min(100% - 28px, 1180px); }
  .workspace-header { align-items: flex-start; padding-bottom: 58px; }
  .workspace-badge { max-width: 150px; text-align: center; }
  .workspace-intro { padding-bottom: 62px; }
  .workspace-intro h1 { font-size: clamp(46px, 13vw, 66px); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .section-heading p { text-align: left; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card, .template-card { min-height: 156px; border-radius: 20px; }
  .tool-section + .tool-section { margin-top: 66px; }
}
