:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#253347;background:#f6f7f9;font-synthesis:none;--accent:#5068da;--border:#e6e9ef;--muted:#788294}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button,input{accent-color:var(--accent)}button:focus-visible,input:focus-visible{outline:3px solid #aab7ff;outline-offset:4px}[hidden]{display:none!important}.app{max-width:1440px;margin:auto;padding:44px 48px 22px}.page-header{display:flex;align-items:center;gap:18px;margin-bottom:32px}.brand-icon{display:grid;place-items:center;background:#e9edff;color:var(--accent);width:54px;height:54px;border:1px solid #dce2ff;border-radius:15px;font-size:36px;flex-shrink:0}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;color:var(--accent);margin-bottom:7px}h1{font-size:29px;letter-spacing:-1px;line-height:1.2;margin:0 0 10px;font-weight:700}.page-header p{font-size:13px;line-height:1.6;margin:0;color:#6c7789}.local-badge{margin-left:auto;white-space:nowrap;font-size:11px;color:#637269;background:#edf4ef;border:1px solid #dfeae1;border-radius:20px;padding:9px 12px}.local-badge span{display:inline-block;width:6px;height:6px;background:#6a9679;border-radius:50%;margin-right:5px}.workspace{display:grid;grid-template-columns:320px minmax(0,1fr);gap:24px;align-items:start}.card{background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 4px 18px #26365304}.control-section{padding:22px;border-bottom:1px solid #edf0f4}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}h2{font-size:13px;margin:0;font-weight:650}.step{font-size:10px;color:#929aaf;margin-right:9px;font-variant-numeric:tabular-nums}.drop-zone{width:100%;display:flex;align-items:center;flex-direction:column;border:1px dashed #cdd4e5;border-radius:10px;background:#fafbfe;padding:19px 8px;color:#788294;transition:background .15s,border-color .15s}.drop-zone:hover,.drop-zone.dragging{border-color:var(--accent);background:#f0f3ff}.drop-zone:active{background:#e8edff}.upload-icon{display:grid;place-items:center;height:30px;width:30px;margin-bottom:10px;background:#edf0fd;border-radius:8px;color:var(--accent);font-size:22px}.drop-zone strong{font-size:12px;color:#4a5caa;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drop-zone>span:not(.upload-icon){font-size:11px;margin-top:5px}.drop-zone small{font-size:9px;letter-spacing:.3px;margin-top:13px;color:#959eae}.file-status{font-size:11px;margin-bottom:0;color:#64748b;overflow-wrap:anywhere}.error{font-size:12px;line-height:1.5;color:#b33838;margin-bottom:0}.text-button{border:0;background:none;color:#7c879c;font-size:11px;padding:3px}.text-button:hover{color:var(--accent)}.mode-switch{display:flex;padding:3px;border:1px solid #e8ebf1;border-radius:8px;background:#f4f6f9;margin:0 0 16px;min-width:0}.mode-switch label{flex:1;text-align:center;position:relative}.mode-switch input{position:absolute;opacity:0;width:100%;height:100%;left:0;top:0;margin:0}.mode-switch span{display:block;padding:9px 3px;font-size:10px;border-radius:5px;white-space:nowrap;color:#778195}.mode-switch input:checked+span{background:white;color:#455bbc;box-shadow:0 1px 4px #20335412;font-weight:600}.mode-switch input:focus-visible+span{outline:2px solid var(--accent)}.field-row{display:flex;gap:12px}.field{font-size:11px;display:flex;flex:1;flex-direction:column;gap:7px;color:#68758a;min-width:0}.field input{width:100%;height:36px;padding:7px 10px;border:1px solid #dfe4ec;border-radius:7px;color:#334155;background:#fff;font-size:12px}.field input:disabled{background:#f4f6f9;color:#8b95a4}.check-row{display:flex;align-items:center;gap:9px;font-size:12px;min-height:22px;margin-top:15px;cursor:pointer}.check-row input{height:15px;width:15px;margin:0;flex-shrink:0}.hint{font-size:10px;line-height:1.6;color:#929bad;margin:9px 0 0}.color-row{display:flex;align-items:center;justify-content:space-between;font-size:12px}.color-control{display:flex;align-items:center;gap:8px;font-size:10px;color:#8992a2;font-variant-numeric:tabular-nums}input[type=color]{width:30px;height:27px;border:1px solid #dce1e9;border-radius:6px;padding:3px;background:white;cursor:pointer}.range-field{display:block;margin-top:19px;font-size:12px}.range-field>span{display:flex;justify-content:space-between;align-items:center}.range-field output{font-size:10px;color:#77849c;background:#f3f5f9;padding:3px 6px;border-radius:4px}input[type=range]{display:block;width:100%;height:4px;margin:14px 0 4px;cursor:pointer}.small-tag{margin-left:auto;font-size:9px;color:#969eae}.download-section{padding:21px 22px 18px}.primary-button{border:0;border-radius:8px;background:var(--accent);color:white;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:13px;font-size:12px;font-weight:600;box-shadow:0 3px 6px #5068da18}.primary-button:hover:enabled{background:#4157c5}.primary-button:disabled{background:#e8ecf7;color:#9da9cb;box-shadow:none;cursor:not-allowed}.primary-button span{font-size:18px;line-height:15px}.privacy{text-align:center;color:#929aaa;font-size:9px;margin:13px 0 0}.privacy span{margin-right:3px}.preview{overflow:hidden;display:flex;flex-direction:column;min-height:697px}.preview-header{padding:23px 26px;display:flex;align-items:center;justify-content:space-between;gap:10px}.preview-header h2{font-size:14px}.preview-header p{font-size:11px;color:#949dad;margin:7px 0 0}.preview-tag{font-size:8px;letter-spacing:1.2px;color:#8b94a5;border:1px solid #e7ebf1;padding:6px 8px;border-radius:5px;white-space:nowrap}.preview-area{margin:0 18px;min-height:552px;flex:1;display:flex;align-items:center;justify-content:center;padding:28px;background-color:#f6f7f9;background-image:radial-gradient(#dfe3eb .7px,transparent .7px);background-size:12px 12px;border:1px solid #edf0f4;border-radius:10px;overflow:hidden}.empty-state{text-align:center;padding:40px 0}.sample-grid{height:115px;width:130px;border:1px solid #d3dbe9;border-radius:8px;margin:0 auto 27px;background:linear-gradient(90deg,transparent 32.5%,#dce2ed 32.5%,#dce2ed 33.3%,transparent 33.3%,transparent 66%,#dce2ed 66%,#dce2ed 66.8%,transparent 66.8%),linear-gradient(transparent 32.5%,#dce2ed 32.5%,#dce2ed 33.3%,transparent 33.3%,transparent 66%,#dce2ed 66%,#dce2ed 66.8%,transparent 66.8%),#eef1f7;transform:rotate(-7deg);display:grid;place-items:center;box-shadow:7px 7px 0 #e7ebf366}.sample-grid span{font-size:35px;background:#f0f3f9;border-radius:50%;color:#9aaaca;width:45px;height:45px;line-height:45px}.empty-state h3{font-size:17px;letter-spacing:-.3px;margin:0 0 11px;font-weight:600}.empty-state p{color:#959dad;font-size:12px;line-height:1.9;margin:0 0 23px}.secondary-button{border:1px solid #dce2ee;border-radius:7px;background:white;padding:10px 15px;color:#586dad;font-size:11px;font-weight:600;box-shadow:0 2px 3px #25334704}.secondary-button:hover{background:#edf1ff;border-color:#b6c3ef}.secondary-button span{margin-left:12px}canvas{max-width:100%;height:auto;display:block;box-shadow:0 6px 25px #27334814;background:white}.preview-footer{display:flex;justify-content:space-between;gap:12px;padding:18px 26px;color:#919bad;font-size:10px;min-height:49px}.preview-footer span:last-child{color:#6e7f9c}.page-footer{display:flex;justify-content:space-between;color:#a0a8b6;font-size:10px;padding:23px 2px 0}.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}@media(min-width:1500px){.app{padding-top:60px}}@media(max-width:1050px){.app{padding:30px 24px}.workspace{grid-template-columns:290px minmax(0,1fr);gap:18px}.local-badge{display:none}.control-section{padding:20px}.preview-area{padding:15px}.preview-header{padding:23px 20px}.preview-tag{display:none}}@media(max-width:700px){.app{padding:24px 16px}.page-header{align-items:flex-start;gap:12px;margin-bottom:24px}.brand-icon{width:40px;height:40px;font-size:28px;border-radius:11px}.eyebrow{font-size:8px;letter-spacing:.8px}h1{font-size:23px;letter-spacing:-.7px}.page-header p{font-size:11px}.workspace{grid-template-columns:1fr}.controls{order:0}.preview{min-height:400px}.preview-area{min-height:320px;margin:0 12px;padding:14px}.preview-header{padding:20px}.preview-footer{padding:16px;font-size:9px;flex-wrap:wrap}.control-section{padding:20px}.upload-section .drop-zone{padding:15px}.page-footer{font-size:9px;gap:18px;line-height:1.6}.empty-state h3{font-size:16px}}

/* Bilingual navigation, reading content, and the not-found page. */
.header-tools {
  margin-left:auto;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  flex-shrink:0
}

.language-switch {
  display:inline-flex;
  gap:3px;
  padding:3px;
  border:1px solid #dfe4ef;
  border-radius:8px;
  background:#fff;
  white-space:nowrap
}

.language-switch a {
  padding:6px 9px;
  border-radius:5px;
  color:#68758a;
  text-decoration:none;
  font-size:11px;
  font-weight:600
}

.language-switch a:hover {
  background:#f0f3ff;
  color:#4157c5
}

.language-switch a[aria-current="page"] {
  background:#e9edff;
  color:#4157c5
}

a:focus-visible {
  outline:3px solid #aab7ff;
  outline-offset:3px
}

.content-section {
  max-width:920px;
  margin:48px auto 0;
  color:#526074;
  font-size:15px;
  line-height:1.8;
  overflow-wrap:break-word
}

.content-section .content-lead {
  font-size:17px;
  line-height:1.8;
  margin:0 0 28px
}

.content-section>section {
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:32px 36px;
  margin-top:24px
}

.content-section h2 {
  font-size:23px;
  line-height:1.35;
  letter-spacing:-.4px;
  color:#253347;
  margin:0 0 20px
}

.content-section h3 {
  font-size:16px;
  line-height:1.5;
  font-weight:650;
  color:#334155;
  margin:0 0 8px
}

.content-section p {
  margin:0 0 16px
}

.content-section p:last-child {
  margin-bottom:0
}

.content-section ol {
  padding-left:24px;
  margin:0 0 20px
}

.content-section li {
  padding-left:6px;
  margin-bottom:16px
}

.content-section strong {
  color:#334155;
  font-weight:650
}

.faq-item+.faq-item {
  border-top:1px solid #edf0f4;
  margin-top:22px;
  padding-top:22px
}

.page-footer {
  max-width:100%;
  gap:20px;
  line-height:1.6
}

.not-found {
  max-width:1000px
}

.not-found .page-header {
  justify-content:space-between
}

.not-found-brand {
  margin-right:auto;
  font-size:17px;
  font-weight:650
}

.not-found-card {
  max-width:680px;
  margin:80px auto;
  padding:48px;
  color:#6c7789;
  line-height:1.8
}

.not-found-card h1 {
  font-size:30px;
  color:#253347;
  line-height:1.3
}

.not-found-card h2 {
  font-size:21px;
  color:#334155;
  margin-top:28px
}

.not-found-links {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px
}

.not-found-links a {
  text-decoration:none
}

@media(max-width:1050px) {
  .header-tools {
  align-self:flex-start
}
.content-section {
  margin-top:36px
}

}

@media(max-width:700px) {
  .page-header {
  flex-wrap:wrap
}
.page-header>div:nth-child(2) {
  flex:1;
  min-width:0
}
.header-tools {
  width:100%;
  margin:0;
  align-items:flex-start
}
.content-section {
  font-size:14px;
  margin-top:32px
}
.content-section .content-lead {
  font-size:16px
}
.content-section>section {
  padding:24px 20px;
  margin-top:18px
}
.content-section h2 {
  font-size:21px
}
.content-section h3 {
  font-size:16px
}
.not-found .page-header {
  flex-wrap:nowrap
}
.not-found-card {
  padding:28px 22px;
  margin:40px auto
}
.not-found-card h1 {
  font-size:26px
}
.not-found-brand {
  font-size:13px
}

}

