@font-face {
  font-family: DM;
  src: url("/assets/dm-sans-400.woff2");
}
@font-face {
  font-family: DM;
  src: url("/assets/dm-sans-500.woff2");
  font-weight: 500;
}
@font-face {
  font-family: DM;
  src: url("/assets/dm-sans-600.woff2");
  font-weight: 600;
}
@font-face {
  font-family: DM;
  src: url("/assets/dm-sans-700.woff2");
  font-weight: 700;
}
:root {
  --ink: #203b31;
  --muted: #6f7972;
  --green: #254b3b;
  --mint: #e7eee5;
  --paper: #f8f8f2;
  --line: #e0e4db;
  --white: #fff;
  --lime: #dce9aa;
  --shadow: 0 16px 50px #1832230c;
  font-family: DM, Arial, "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.cookie-notice {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 40px #18322326;
}
.cookie-notice-copy { flex: 1; min-width: 0; }
.cookie-notice h2 { margin: 0 0 7px; font-size: 18px; line-height: 1.35; }
.cookie-notice p { margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.cookie-notice a { color: var(--green); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice .btn { flex-shrink: 0; min-width: 130px; }
.cookie-notice :focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
@media (max-width: 600px) {
  .cookie-notice { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .cookie-notice .btn { width: 100%; }
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
button svg {
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
p {
  line-height: 1.65;
}
button {
  border: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #8ca75f;
  outline-offset: 4px;
}
::selection {
  background: var(--lime);
}
.container {
  max-width: 1192px;
  margin: auto;
  padding: 0 44px;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  letter-spacing: -1px;
  font-weight: 600;
  white-space: nowrap;
}
.brand img {
  width: 35px;
  height: 35px;
}
.main-nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  align-items: center;
  margin-left: auto;
}
.main-nav a {
  color: #536159;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
}
.header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}
.language {
  display: flex;
  gap: 6px;
  align-items: center;
}
.language svg {
  width: 17px;
  height: 17px;
}
.language select {
  background: transparent;
  border: 0;
  color: var(--ink);
  padding: 8px 1px;
  max-width: 104px;
  font-size: 13px;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9px;
  padding: 13px 22px;
  background: var(--green);
  color: white;
  font-weight: 500;
  line-height: 1.3;
  transition:
    background 0.2s,
    transform 0.2s;
  text-align: center;
}
.btn:hover {
  background: #153c2b;
  transform: translateY(-1px);
}
.btn.secondary {
  background: transparent;
  border: 1px solid #bcc8bc;
  color: var(--ink);
}
.btn.secondary:hover {
  background: var(--mint);
}
.btn.small {
  padding: 10px 18px;
  font-size: 13px;
}
.btn.white {
  background: white;
  color: var(--green);
}
.text-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  color: var(--ink);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
}
.text-button svg {
  width: 16px;
  height: 16px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  line-height: 1.6;
}
.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 5px;
  background: #edf0e4;
  color: #63704c;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.launch-pill:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7c945b;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  padding-top: 68px;
  padding-bottom: 58px;
  align-items: center;
}
.hero h1 {
  font-size: 58px;
  line-height: 1.13;
  letter-spacing: -2.7px;
  margin: 24px 0 20px;
  font-weight: 500;
}
.hero h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -2px;
  font-style: italic;
}
.hero .intro {
  font-size: 15px;
  max-width: 390px;
  color: #6b776d;
  line-height: 1.75;
}
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #697663;
  font-size: 11px;
  margin-top: 24px;
}
.hero-footnote svg {
  width: 15px;
  height: 15px;
}
.upload-wrap {
  position: relative;
  padding-top: 15px;
}
.upload-card {
  background: white;
  border: 1px solid #dce3d7;
  border-radius: 17px;
  padding: 16px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.dropzone {
  border: 1.5px dashed #c6d2be;
  border-radius: 11px;
  text-align: center;
  min-height: 273px;
  padding: 33px 20px 27px;
  background: linear-gradient(135deg, #f9faf6, #f7f9f1);
}
.dropzone.dragging {
  background: #e9f1dc;
  border-color: #507849;
}
.upload-icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  background: #e8eee0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  transform: rotate(-5deg);
}
.upload-icon svg {
  width: 32px;
  height: 32px;
  transform: rotate(5deg);
  stroke: #547343;
}
.upload-icon .plus {
  position: absolute;
  bottom: -4px;
  right: -6px;
  width: 24px;
  height: 24px;
  background: #254b3b;
  color: white;
  border: 3px solid #f8f9f3;
  border-radius: 50%;
  font-size: 18px;
  line-height: 17px;
}
.dropzone h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.dropzone p {
  font-size: 12px;
  color: #7b8578;
  margin-bottom: 19px;
}
.dropzone .btn {
  min-width: 205px;
}
.file-hint {
  font-size: 10px !important;
  margin: 13px 0 0 !important;
  color: #8c9586 !important;
}
.sample-row {
  text-align: center;
  padding: 9px 0 0;
}
.paper-decoration {
  position: absolute;
  width: 78px;
  height: 95px;
  border: 1px solid #c7d3c2;
  border-radius: 8px;
  background: #ecf0e4;
  right: 15px;
  top: -13px;
  transform: rotate(14deg);
  z-index: 0;
}
.paper-decoration:after {
  content: "PDF";
  position: absolute;
  right: 15px;
  top: 12px;
  font-size: 13px;
  color: #7c9174;
}
.trust-row {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 92px;
  padding: 20px 0;
  font-size: 11px;
  color: #61715f;
}
.trust-row span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.trust-row svg {
  width: 17px;
  height: 17px;
}
.tool-section {
  padding: 57px 0 60px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 27px;
}
.section-heading h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 9px 0 10px;
}
.section-heading p {
  font-size: 13px;
  color: var(--muted);
}
.search {
  position: relative;
}
.search svg {
  position: absolute;
  left: 13px;
  top: 12px;
  width: 16px;
  height: 16px;
  color: #81907a;
}
.search input {
  background: transparent;
  border: 1px solid #d8dfd1;
  border-radius: 7px;
  padding: 11px 14px 11px 37px;
  width: 210px;
  font-size: 12px;
  color: var(--ink);
}
.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.chip {
  background: transparent;
  color: #7e877a;
  border: 1px solid transparent;
  padding: 8px 15px;
  border-radius: 7px;
  font-size: 12px;
}
.chip:hover {
  background: #ecefe5;
}
.chip.active {
  background: var(--mint);
  border-color: #d5dece;
  color: var(--green);
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.tool-card {
  background: white;
  border: 1px solid #e2e5dd;
  border-radius: 11px;
  padding: 21px 20px 19px;
  position: relative;
  min-height: 174px;
  transition:
    transform 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: #9fb497;
  box-shadow: var(--shadow);
}
.tool-card .tool-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #edf2e7;
  color: #5d7851;
  margin-bottom: 18px;
}
.tool-card[data-category="convert"] .tool-icon {
  background: #faf0df;
  color: #b38b4f;
}
.tool-card[data-category="organize"] .tool-icon {
  background: #edf0fa;
  color: #7681ab;
}
.tool-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  padding-right: 12px;
  line-height: 1.35;
}
.tool-card p {
  font-size: 11px;
  color: #84907e;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-arrow {
  position: absolute;
  top: 27px;
  right: 21px;
  color: #a4af9c;
}
.card-arrow svg {
  height: 15px;
  width: 15px;
}
.privacy-band {
  background: #e9eee1;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 46px 53px;
  align-items: center;
  margin: 5px 0 65px;
  overflow: hidden;
}
.privacy-band h2 {
  font-size: 36px;
  letter-spacing: -1.1px;
  line-height: 1.2;
  margin: 13px 0 18px;
}
.privacy-band p {
  font-size: 13px;
  color: #6d7965;
  max-width: 380px;
}
.privacy-band .text-button {
  margin-top: 14px;
}
.privacy-art {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid #d1dcc4;
  border-radius: 50%;
}
.orbit:after {
  content: "";
  position: absolute;
  inset: 25px;
  border: 1px dashed #cfdbc2;
  border-radius: 50%;
}
.mini-document {
  position: relative;
  width: 142px;
  height: 180px;
  background: #fffffa;
  border: 1px solid #d4ddcc;
  border-radius: 10px;
  transform: rotate(-9deg);
  box-shadow: 10px 14px 0 #dce5d2;
  padding: 25px 22px;
}
.mini-document b {
  font-size: 13px;
  font-weight: 600;
}
.doc-line {
  height: 5px;
  background: #dde5d5;
  border-radius: 4px;
  margin-top: 13px;
}
.doc-line.short {
  width: 62%;
}
.privacy-lock {
  position: absolute;
  display: grid;
  place-items: center;
  background: var(--green);
  border: 5px solid #e9eee1;
  right: 67px;
  bottom: 24px;
  border-radius: 20px;
  width: 67px;
  height: 67px;
  color: #e2edcf;
}
.privacy-lock svg {
  width: 28px;
  height: 28px;
}
.steps {
  padding-bottom: 67px;
}
.steps h2 {
  font-size: 29px;
  letter-spacing: -0.8px;
  text-align: center;
  margin-bottom: 33px;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.step {
  display: flex;
  gap: 17px;
}
.step-number {
  background: #e8ede0;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 11px;
  color: #748269;
}
.step h3 {
  font-size: 14px;
  margin: 6px 0 8px;
  font-weight: 600;
}
.step p {
  font-size: 12px;
  color: #84907e;
}
.footer-inner {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.footer-inner .brand {
  font-size: 17px;
  letter-spacing: -0.5px;
}
.footer-inner .brand img {
  width: 26px;
  height: 26px;
}
.footer-inner p,
.footer-links {
  font-size: 10px;
  color: #8b9486;
}
.footer-links {
  display: flex;
  gap: 22px;
}
.page-head {
  padding: 55px 0 34px;
}
.page-head h1 {
  font-size: 42px;
  letter-spacing: -1.5px;
  margin: 14px 0;
}
.page-head p {
  max-width: 660px;
  color: var(--muted);
  font-size: 14px;
}
.page {
  padding-bottom: 70px;
  min-height: 75vh;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 10px auto 30px;
}
.pricing-heading { text-align: center; }
.pricing-heading h1 { max-width: 850px; margin-left: auto; margin-right: auto; }
.pricing-heading p { max-width: 660px; margin: auto; font-size: 17px; line-height: 1.65; }
.pricing-launch { display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #b4c7aa; border-radius: 16px; background: #eaf1e4; padding: 26px 30px; margin: 0 auto 42px; }
.pricing-launch > div { display: flex; align-items: center; gap: 25px; }
.pricing-zero { font-size: 48px; font-weight: 500; letter-spacing: -2px; }
.pricing-launch h2 { font-size: 21px; margin-bottom: 7px; }
.pricing-launch p { font-size: 14px; line-height: 1.6; color: #455840; }
.pricing-launch .btn { flex-shrink: 0; }
.pricing-section-title { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin: 0 0 20px; }
.pricing-section-title h2 { font-size: 23px; }
.pricing-section-title > span { font-size: 13px; color: #52634d; }
.pricing-page .plan { display: flex; flex-direction: column; padding: 28px; }
.pricing-page .plan.featured { border: 2px solid var(--green); padding: 27px; background: #fcfef9; }
.pricing-page .plan h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.5px; margin: 0; }
.pricing-page .plan-description { min-height: 42px; margin-top: 12px; font-size: 14px; line-height: 1.5; }
.pricing-page .price { font-size: clamp(38px, 4vw, 52px); margin: 22px 0 0; line-height: 1.2; }
.pricing-page .price-period { font-size: 14px; margin-top: 6px; }
.pricing-page .plan-renewal { color: var(--ink); font-size: 15px; line-height: 1.6; background: #f0f3ec; border-radius: 8px; padding: 14px; margin-top: 22px; }
.pricing-page .plan ul { flex: 1; margin: 12px 0 22px; }
.pricing-page .plan li { font-size: 14px; line-height: 1.55; align-items: flex-start; }
.pricing-page .plan li svg { flex-shrink: 0; margin-top: 3px; }
.pricing-page .plan-unavailable:disabled { background: #e8ede3; border-color: #d9e0d3; color: #4b5f43; opacity: 1; cursor: default; }
.pricing-preview-note { max-width: 950px; margin: 0 auto; font-size: 14px; line-height: 1.8; color: #52634d; text-align: center; }
.pricing-policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 24px; margin-top: 20px; font-size: 14px; }
.pricing-policy-links a, .pricing-faq a { text-decoration: underline; text-underline-offset: 4px; }
.pricing-faq { max-width: 850px; margin: 64px auto 20px; }
.pricing-faq h2 { font-size: 32px; margin-bottom: 24px; }
.pricing-faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.pricing-faq details:last-child { border-bottom: 1px solid var(--line); }
.pricing-faq summary { cursor: pointer; font-size: 17px; font-weight: 500; padding-right: 15px; }
.pricing-faq p { color: #52634d; font-size: 15px; line-height: 1.8; padding-top: 15px; }
.pricing-faq summary:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; border-radius: 3px; }
@media (max-width: 900px) and (min-width: 641px) {
  .pricing-grid { gap: 13px; }
  .pricing-page .plan { padding: 19px; }
  .pricing-page .plan.featured { padding: 18px; }
  .pricing-page .plan h3 { font-size: 19px; }
}
@media (max-width: 640px) {
  .pricing-heading { text-align: left; }
  .pricing-heading p { font-size: 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-launch { align-items: stretch; flex-direction: column; padding: 22px; margin-bottom: 30px; gap: 20px; }
  .pricing-launch > div { align-items: flex-start; gap: 18px; }
  .pricing-zero { font-size: 40px; }
  .pricing-launch h2 { font-size: 19px; }
  .pricing-section-title { align-items: flex-start; flex-direction: column; gap: 7px; }
  .pricing-preview-note { text-align: left; }
  .pricing-policy-links { justify-content: flex-start; }
  .pricing-page .plan-description { min-height: auto; }
  .pricing-faq { margin-top: 44px; }
  .pricing-faq h2 { font-size: 28px; }
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 28px;
}
.panel h2 {
  font-size: 20px;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.panel p {
  color: var(--muted);
  font-size: 13px;
}
.plan {
  padding: 32px;
}
.plan.featured {
  border-color: #8da481;
}
.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.badge {
  font-size: 10px;
  display: inline-block;
  background: var(--mint);
  padding: 6px 10px;
  border-radius: 5px;
  color: #5c7650;
}
.price {
  font-size: 58px;
  letter-spacing: -2px;
  margin: 24px 0;
}
.price small {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
}
.plan li {
  font-size: 13px;
  display: flex;
  gap: 10px;
  margin: 16px 0;
}
.plan li svg {
  width: 16px;
  height: 16px;
}
.plan .btn {
  width: 100%;
}
.muted-plan {
  background: #f0f2e9;
}
.muted-plan .price {
  color: #8d9983;
}
.workspace-page {
  padding: 20px 30px 30px;
}
.workspace-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 20px;
  gap: 20px;
}
.workspace-header h1 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 7px 0;
}
.workspace-header .eyebrow {
  font-size: 9px;
  color: #8a9682;
}
.workspace-header .actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.workspace-layout {
  display: grid;
  grid-template-columns: 206px minmax(0, 1fr);
  gap: 20px;
}
.workspace-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.workspace-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 7px;
  color: #7a8773;
}
.workspace-nav a.active {
  color: var(--green);
  background: #e4ebdc;
}
.workspace-nav a:hover {
  background: #edf0e7;
}
.workspace-nav svg {
  width: 17px;
  height: 17px;
}
.workspace-frame {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 720px;
}
.workspace-frame iframe {
  border: 0;
  width: 100%;
  height: calc(100vh - 205px);
  min-height: 720px;
  display: block;
  background: #f8faf7;
}
.workspace-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--muted);
  font-size: 13px;
  z-index: 1;
}
.workspace-loading[hidden] {
  display: none;
}
.local-status {
  font-size: 11px;
  color: #6b805f;
  display: flex;
  align-items: center;
  gap: 6px;
}
.local-status svg {
  width: 15px;
  height: 15px;
}
.notice {
  background: #eef2e7;
  border-radius: 9px;
  padding: 15px 19px;
  color: #6b7b62;
  font-size: 12px;
  line-height: 1.6;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 23px;
}
.avatar {
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 22px;
  margin-bottom: 17px;
}
.account-grid h2 {
  margin-bottom: 6px;
}
.account-grid .notice {
  margin-top: 24px;
}
.account-grid .text-button {
  margin-top: 18px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 24px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 23px;
}
.metric b {
  font-size: 34px;
  display: block;
  letter-spacing: -1px;
  font-weight: 500;
  margin-top: 14px;
}
.metric span {
  font-size: 11px;
  color: var(--muted);
}
.metric svg {
  width: 17px;
  height: 17px;
  float: right;
  color: #8c9c80;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin: 24px 0;
}
.chart {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 160px;
  border-bottom: 1px solid var(--line);
  margin-top: 30px;
}
.chart .bar {
  background: #8da57d;
  min-width: 4px;
  flex: 1;
  border-radius: 4px 4px 0 0;
  height: var(--height);
  min-height: 2px;
  position: relative;
}
.chart .bar:hover {
  background: var(--green);
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
}
.rank-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.rank-row:last-child {
  border-bottom: 0;
}
.rank-row b {
  font-weight: 500;
}
.rank-row span {
  color: var(--muted);
}
.integration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.integration .plan-head {
  margin-bottom: 14px;
}
.integration h2 {
  margin: 0;
}
.period-select {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: white;
  color: var(--green);
  border-radius: 7px;
}
.empty {
  padding: 35px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.metric-note {
  color: var(--muted);
  font-size: 11px;
}
.profile-email {
  overflow-wrap: anywhere;
}
.prose {
  max-width: 760px;
  margin: 60px auto;
  padding: 0 30px;
}
.prose h1 {
  font-size: 38px;
  letter-spacing: -1px;
  margin: 25px 0;
}
.prose h2 {
  margin-top: 30px;
}
.prose p {
  margin: 20px 0;
  color: var(--muted);
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.error-panel {
  text-align: center;
  padding: 70px 20px;
}
.error-panel p {
  margin: 15px 0 25px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 35px;
  max-width: 430px;
  width: calc(100% - 32px);
  color: var(--ink);
  background: #fbfcf8;
  box-shadow: 0 30px 100px #203b3133;
}
dialog::backdrop {
  background: #203b3166;
  backdrop-filter: blur(4px);
}
.export-filename { overflow-wrap: anywhere; font-weight: 600; }
.export-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.export-download { flex: 1; }
.dialog-close {
  position: absolute;
  top: 13px;
  right: 13px;
  background: transparent;
  color: var(--muted);
  padding: 6px;
}
.dialog-close svg {
  width: 18px;
  height: 18px;
}
dialog h2 {
  font-size: 26px;
  letter-spacing: -0.7px;
  margin: 20px 0 12px;
}
dialog p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}
label.field {
  display: block;
  font-size: 12px;
  margin: 16px 0;
}
label.field input {
  width: 100%;
  border: 1px solid #ccd7c5;
  border-radius: 7px;
  background: white;
  padding: 12px;
  margin-top: 7px;
  color: var(--ink);
}
.auth-submit {
  width: 100%;
  margin-top: 8px;
}
.auth-switch {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
.form-error {
  color: #a54031;
  font-size: 12px;
  min-height: 16px;
  line-height: 1.5;
}
.field-hint {
  display: block;
  color: #8b9682;
  font-size: 10px;
  margin-top: 5px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  padding: 13px 22px;
  background: var(--green);
  color: white;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  max-width: 90vw;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.skip {
  position: fixed;
  left: 10px;
  top: -60px;
  background: var(--green);
  color: white;
  padding: 10px;
  z-index: 99;
}
.skip:focus {
  top: 10px;
}
.loading-screen {
  padding: 100px 30px;
  text-align: center;
}
.loading-screen img {
  width: 42px;
}
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #dae3d4;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1450px) {
  .container {
    max-width: 1300px;
  }
  .hero {
    gap: 110px;
    padding-top: 85px;
    padding-bottom: 75px;
  }
  .hero h1 {
    font-size: 66px;
  }
  .dropzone {
    min-height: 300px;
    padding-top: 43px;
  }
  .tool-card {
    min-height: 183px;
  }
}
@media (max-width: 1000px) {
  .container {
    padding: 0 28px;
  }
  .main-nav {
    gap: 16px;
  }
  .hero {
    gap: 35px;
  }
  .hero h1 {
    font-size: 47px;
  }
  .trust-row {
    gap: 40px;
  }
  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .privacy-band {
    gap: 20px;
    padding: 35px;
  }
  .workspace-layout {
    grid-template-columns: 165px minmax(0, 1fr);
  }
  .workspace-page {
    padding: 15px;
  }
  .workspace-header .local-status {
    display: none;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 75px;
    gap: 10px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .main-nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
    gap: 10px;
  }
  .language svg {
    display: none;
  }
  .language select {
    width: 75px;
    font-size: 12px;
  }
  .header-actions .btn {
    padding: 9px 12px;
    font-size: 12px;
  }
  .container {
    padding: 0 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
    padding-bottom: 32px;
    gap: 35px;
  }
  .hero h1 {
    font-size: 48px;
    margin-top: 18px;
  }
  .hero .intro {
    max-width: 480px;
    font-size: 14px;
  }
  .hero-footnote {
    display: none;
  }
  .upload-wrap {
    padding-top: 0;
  }
  .dropzone {
    min-height: 245px;
    padding: 25px 15px;
  }
  .trust-row {
    gap: 16px;
    justify-content: space-between;
    font-size: 9px;
    padding: 17px 0;
  }
  .trust-row span {
    gap: 5px;
  }
  .trust-row svg {
    width: 14px;
    height: 14px;
  }
  .tool-section {
    padding: 36px 0;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .section-heading h2 {
    font-size: 27px;
  }
  .search,
  .search input {
    width: 100%;
  }
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .tool-card {
    padding: 17px;
    min-height: 179px;
  }
  .tool-card h3 {
    font-size: 13px;
  }
  .tool-card .tool-icon {
    margin-bottom: 15px;
  }
  .card-arrow {
    right: 15px;
    top: 25px;
  }
  .filters {
    gap: 2px;
    flex-wrap: nowrap;
    overflow: auto;
  }
  .chip {
    padding: 8px 12px;
    white-space: nowrap;
  }
  .privacy-band {
    padding: 30px;
    grid-template-columns: 1fr;
    gap: 5px;
    margin-bottom: 38px;
  }
  .privacy-band h2 {
    font-size: 32px;
  }
  .privacy-art {
    min-height: 205px;
  }
  .privacy-lock {
    right: calc(50% - 103px);
    bottom: 15px;
  }
  .step-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps {
    padding-bottom: 36px;
  }
  .steps h2 {
    font-size: 26px;
    text-align: left;
  }
  .footer-inner {
    flex-wrap: wrap;
    padding-top: 23px;
    padding-bottom: 23px;
  }
  .footer-inner p {
    display: none;
  }
  .footer-links {
    gap: 14px;
    font-size: 9px;
  }
  .page-head {
    padding: 30px 0;
  }
  .page-head h1 {
    font-size: 34px;
  }
  .pricing-grid,
  .account-grid,
  .integration-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .panel {
    padding: 23px;
  }
  .workspace-page {
    padding: 12px;
  }
  .workspace-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .workspace-nav {
    flex-direction: row;
    overflow: auto;
    max-width: 100%;
    padding-bottom: 6px;
  }
  .workspace-nav a {
    white-space: nowrap;
    font-size: 11px;
    padding: 9px;
  }
  .workspace-header {
    align-items: start;
    gap: 10px;
  }
  .workspace-header .actions {
    gap: 6px;
    flex-direction: column;
  }
  .workspace-header .text-button {
    font-size: 10px;
  }
  .workspace-header .btn {
    font-size: 10px;
    padding: 8px 10px;
  }
  .workspace-header h1 {
    font-size: 18px;
  }
  .workspace-frame,
  .workspace-frame iframe {
    min-height: 700px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .metric {
    padding: 18px;
  }
  .metric b {
    font-size: 28px;
  }
  .metric span {
    font-size: 10px;
  }
  .prose {
    margin: 30px auto;
    padding: 0 22px;
  }
  .prose h1 {
    font-size: 30px;
  }
  .footer-links a {
    max-width: 130px;
  }
  dialog {
    padding: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media(max-width:760px){
 .site-header{height:auto;min-height:106px;flex-wrap:wrap;padding-top:15px;padding-bottom:13px;row-gap:12px}
 .site-header>.brand{order:1}.header-actions{order:2}
 .main-nav{order:3;display:flex;width:100%;gap:23px;font-size:11px;overflow:auto;white-space:nowrap;padding:3px 0}
 .main-nav a{flex-shrink:0}
}

/* PDFPiko policy pages and operator administration. */
.footer-inner { align-items: start; gap: 36px; }
.footer-brand { flex: 0 0 240px; }
.footer-brand p { font-size: 14px; margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; max-width: 680px; font-size: 14px; }
.footer-links a { color: #4c6048; }
.footer-links a:hover, .legal-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal-page { max-width: 1180px; }
.legal-page .page-head { padding-bottom: 22px; }
.legal-page .page-head h1 { font-size: clamp(2rem,4vw,3.2rem); max-width: 850px; line-height: 1.15; overflow-wrap: anywhere; }
.legal-page .legal-version { font-size: 14px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.legal-nav a { border: 1px solid var(--line); border-radius: 7px; font-size: 14px; padding: 9px 13px; background: #fff; color: #4c6048; }
.legal-nav a[aria-current="page"] { background: var(--green); color: white; border-color: var(--green); }
.legal-draft { background: #f7edda; border: 1px solid #dbc7a3; border-radius: 12px; padding: 19px 23px; margin-bottom: 32px; color: #594927; }
.legal-draft strong { font-size: 16px; }
.legal-draft p { margin-top: 5px; font-size: 15px; line-height: 1.65; }
.legal-layout { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 54px; align-items: start; }
.legal-toc { position: sticky; top: 24px; font-size: 14px; color: #53674e; }
.legal-toc ol { padding-left: 18px; margin-top: 16px; }
.legal-toc li { margin-bottom: 12px; padding-left: 3px; }
.legal-toc a:hover { text-decoration: underline; }
.legal-copy { min-width: 0; }
.legal-copy p { font-size: 16px; line-height: 1.85; color: #4e5e49; }
.legal-copy .legal-intro { font-size: 18px; line-height: 1.7; margin-bottom: 32px; color: var(--ink); }
.legal-copy h2 { font-size: 23px; line-height: 1.3; letter-spacing: -.45px; margin: 0 0 13px; }
.legal-copy section { margin-bottom: 34px; scroll-margin-top: 28px; }
.operator-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; margin-top: 42px; }
.operator-card dl { margin-top: 20px; font-size: 15px; }
.operator-card dl>div { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr); padding: 12px 0; border-bottom: 1px solid var(--line); gap: 20px; }
.operator-card dl>div:last-child { border: 0; }
.operator-card dt { color: var(--muted); }
.operator-card dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.operator-card a { text-decoration: underline; text-underline-offset: 3px; }
.operator-card .pending { color: #8c7446; }
.operator-card .contact-pending { margin-top: 18px; font-size: 14px; }
.legal-settings-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(240px,1fr); gap: 24px; }
.settings-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.settings-fields .wide { grid-column: 1 / -1; }
.settings-fields .field { font-size: 14px; }
.settings-fields input, .settings-fields textarea { font: inherit; font-size: 16px; }
.settings-fields textarea { display: block; width: 100%; max-width: 100%; resize: vertical; border: 1px solid #ccd7c5; padding: 12px; border-radius: 7px; margin-top: 7px; color: var(--ink); }
#legal-settings-form .settings-note { font-size: 14px; line-height: 1.7; margin: 14px 0 22px; }
#legal-settings-form .save-status { margin-top: 14px; color: var(--green); font-size: 15px; }
.settings-preview { align-self: start; }
.settings-preview nav { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; font-size: 15px; }
.settings-preview nav a { text-decoration: underline; text-underline-offset: 4px; }
.settings-preview #legal-status { font-size: 14px; line-height: 1.6; }
.auth-legal { font-size: 14px; line-height: 1.6; }
.auth-legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 25px; }
  .legal-toc { position: static; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .legal-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .legal-settings-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .footer-brand { flex-basis: 100%; }
  .footer-brand p { display: block; }
  .footer-links { justify-content: flex-start; gap: 14px 22px; font-size: 14px; }
  .footer-links a { max-width: none; }
  .legal-nav a { font-size: 14px; }
  .legal-toc ol { display: block; }
  .legal-copy h2 { font-size: 22px; }
  .operator-card { padding: 22px; }
  .operator-card dl>div { grid-template-columns: 1fr; gap: 5px; }
  .settings-fields { grid-template-columns: 1fr; }
}

/* Admin analytics: real aggregates with readable, keyboard-accessible detail. */
.analytics-heading { display:flex; justify-content:space-between; align-items:end; gap:24px; flex-wrap:wrap; }
.analytics-heading h1 { font-size:clamp(30px, 4vw, 44px); }
.analytics-controls { display:flex; gap:10px; align-items:end; flex-wrap:wrap; }
.analytics-select { display:grid; gap:7px; font-size:14px; color:var(--muted); }
.analytics-select select { min-width:120px; border:1px solid var(--line); border-radius:8px; background-color:white; padding:11px 34px 11px 12px; font:inherit; color:var(--ink); }
.analytics-context { display:flex; gap:12px 28px; flex-wrap:wrap; padding:0 0 23px; font-size:14px; color:var(--muted); }
.analytics-context b { color:var(--green); margin-left:4px; }
.analytics-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.analytics-metric { background:white; padding:24px; border:1px solid var(--line); border-radius:12px; }
.analytics-metric h2 { font-size:15px; font-weight:500; margin:0; color:var(--muted); }
.analytics-metric strong { display:block; font-size:38px; font-weight:500; letter-spacing:-1px; margin:14px 0; }
.analytics-metric.featured { background:var(--green); color:white; border-color:var(--green); }
.analytics-metric.featured h2, .analytics-metric.featured .analytics-change { color:#e0e9de; }
.analytics-change { font-size:14px; line-height:1.5; color:var(--muted); }
.analytics-change.positive { color:var(--green); }
.analytics-note { font-size:14px; line-height:1.65; color:var(--muted); margin:14px 0 22px; }
.analytics-panel { min-width:0; margin:24px 0; }
.analytics-panel h2 { font-size:21px; }
.analytics-panel-head { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.analytics-chart-summary { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 14px; margin:26px 0 18px; }
.analytics-chart-summary strong { font-size:32px; font-weight:500; }
.analytics-chart-summary > span { font-size:15px; color:var(--muted); }
.analytics-chart-summary output { margin-left:auto; font-size:14px; color:var(--muted); min-height:22px; }
.analytics-plot { height:200px; display:grid; grid-template-columns:repeat(var(--columns),minmax(0,1fr)); gap:3px; border-bottom:1px solid var(--line); }
.analytics-column { height:100%; min-width:0; padding:0; margin:0; background:transparent; border:0; display:flex; align-items:end; cursor:pointer; border-radius:4px 4px 0 0; }
.analytics-column > span { background:#8da57d; width:100%; border-radius:4px 4px 0 0; min-height:3px; }
.analytics-column > span.zero { background:#dce4d8; min-height:2px; }
.analytics-column:hover > span, .analytics-column:focus-visible > span { background:var(--green); }
.analytics-column:focus-visible { outline:2px solid var(--green); outline-offset:2px; }
.analytics-axis { display:flex; justify-content:space-between; gap:12px; margin-top:12px; font-size:14px; color:var(--muted); }
.analytics-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.analytics-grid > .analytics-panel { margin:0; }
.analytics-activity { margin-top:25px; font-size:15px; }
.analytics-activity > div:first-child { display:flex; justify-content:space-between; align-items:baseline; gap:15px; }
.analytics-activity b { white-space:nowrap; }
.analytics-activity small { font-size:14px; font-weight:400; color:var(--muted); }
.analytics-track { height:8px; background:#edf0e9; margin-top:10px; border-radius:8px; overflow:hidden; }
.analytics-track span { display:block; height:100%; background:#8da57d; border-radius:8px; }
.analytics-table-wrap { max-width:100%; overflow-x:auto; margin-top:18px; border-radius:5px; }
.analytics-table { border-collapse:collapse; width:100%; font-size:14px; text-align:left; }
.analytics-table th, .analytics-table td { padding:14px 12px; border-bottom:1px solid var(--line); line-height:1.5; }
.analytics-table th:first-child, .analytics-table td:first-child { padding-left:0; }
.analytics-table th:last-child, .analytics-table td:last-child { padding-right:0; }
.analytics-table thead th { font-weight:500; color:var(--muted); vertical-align:bottom; }
.analytics-table tbody th { font-weight:500; overflow-wrap:anywhere; min-width:115px; }
.analytics-table td { text-align:right; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.analytics-table thead th:not(:first-child) { text-align:right; }
.analytics-table tbody tr:last-child > * { border-bottom:0; }
.analytics-table tbody tr:hover { background:#f7f9f4; }
.analytics-details { margin-top:24px; font-size:15px; }
.analytics-details summary { cursor:pointer; font-weight:500; padding:10px 0; }
.analytics-details p { font-size:16px; line-height:1.7; color:var(--muted); }
.analytics-definitions { padding:0 0 20px; }
.analytics-empty { padding:25px 0; color:var(--muted); font-size:16px; }
@media(max-width:850px) {
  .analytics-grid { grid-template-columns:1fr; gap:0; }
  .analytics-grid > .analytics-panel { margin-top:24px; }
  .analytics-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:520px) {
  .analytics-metrics { gap:10px; }
  .analytics-metric { padding:16px; }
  .analytics-metric h2 { font-size:14px; }
  .analytics-metric strong { font-size:32px; }
  .analytics-metric .analytics-change { font-size:14px; }
  .analytics-heading { gap:20px; }
  .analytics-controls { width:100%; }
  .analytics-controls .btn { padding:11px 12px; font-size:14px; }
  .analytics-select { width:100%; }
  .analytics-controls .analytics-select { width:auto; }
  .analytics-panel { padding:20px 16px; }
  .analytics-panel h2 { font-size:20px; }
  .analytics-chart-summary output { margin-left:0; width:100%; }
  .analytics-plot { gap:2px; height:165px; }
  .analytics-axis { font-size:14px; }
  .analytics-table { min-width:400px; }
}
.analytics-table .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.analytics-select select { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23254b3b' stroke-width='1.5'/%3E%3C/svg%3E"); background-position:right 12px center; background-repeat:no-repeat; }

/* Full catalog navigation stays usable alongside long-running editors. */
.workspace-nav { display: block; min-width: 0; }
.workspace-search { width: 100%; margin-bottom: 12px; padding: 10px; }
.workspace-search input { width: 100%; min-width: 0; }
#workspace-tools { max-height: max(660px, calc(100vh - 260px)); overflow-y: auto; overscroll-behavior: contain; }
.workspace-group h2 { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; margin: 16px 10px 6px; color: #687260; }
.workspace-group h2 span { float: right; font-weight: 400; }
.workspace-nav svg { flex-shrink: 0; }
.workspace-notice { margin: 0 0 16px; color: #687260; font-size: 13px; }
.catalog-count { display: inline-block; padding: 2px 9px; border-radius: 20px; background: #e4ebdc; color: #315b30; font-size: 13px; }
.filters { flex-wrap: wrap; }
@media (max-width: 760px) { #workspace-tools { max-height: 190px; } .workspace-search { margin-bottom: 4px; } .workspace-nav { overflow: visible; } }

.refund-contact { margin: -8px 0 30px; }
