
    :root {
      --bg: #f5f8ff;
      --card: rgba(255,255,255,0.94);
      --text: #081c33;
      --muted: #5d6f8c;
      --primary: #1478ff;
      --primary2: #743bff;
      --cyan: #20c7ff;
      --line: rgba(24, 85, 150, 0.13);
      --shadow: 0 24px 70px rgba(24, 70, 140, 0.13);
      --green: #12b981;
      --red: #ef4444;
      --radius: 24px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 12% 5%, rgba(20,120,255,0.16), transparent 30%),
        radial-gradient(circle at 86% 12%, rgba(116,59,255,0.16), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 46%, #f8fbff 100%);
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    select {
      font: inherit;
    }

    .container {
      width: min(1320px, calc(100% - 48px));
      margin: 0 auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 8px 28px rgba(20,70,140,0.06);
    }

    .header-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .brand,
    .footer-brand {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .custom-logo,
    .footer-logo-svg {
      width: 190px;
      max-width: 190px;
      height: auto;
      display: block;
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      flex-wrap: wrap;
    }

    .nav a {
      padding: 9px 8px;
      color: #172b47;
      font-size: 14px;
      font-weight: 850;
      border-bottom: 3px solid transparent;
    }

    .nav a:hover,
    .nav a.active {
      color: var(--primary);
      border-bottom-color: var(--primary2);
    }

    .header-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 13px 22px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      font-size: 14px;
      font-weight: 950;
      box-shadow: 0 15px 30px rgba(20,120,255,0.26);
      white-space: nowrap;
    }

    .hero {
      padding: 52px 0 34px;
    }

    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      color: #6680a3;
      font-size: 14px;
      font-weight: 800;
      margin-bottom: 22px;
    }

    .breadcrumb a {
      color: var(--primary);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 0.95fr;
      gap: 48px;
      align-items: center;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 11px 18px;
      border-radius: 999px;
      background: rgba(255,255,255,0.84);
      border: 1px solid var(--line);
      color: var(--primary);
      font-weight: 950;
      font-size: 14px;
      box-shadow: 0 10px 26px rgba(20,70,140,0.07);
      margin-bottom: 18px;
    }

    .hero h1 {
      margin: 0;
      max-width: 720px;
      font-size: clamp(56px, 6vw, 86px);
      line-height: 0.92;
      letter-spacing: -0.08em;
      color: #081c33;
    }

    .hero h1 span {
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero p {
      max-width: 720px;
      margin: 22px 0 0;
      color: #4f6482;
      font-size: 18px;
      line-height: 1.8;
      font-weight: 650;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 24px;
    }

    .primary-btn,
    .secondary-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 52px;
      padding: 0 24px;
      border-radius: 12px;
      font-size: 15px;
      font-weight: 950;
      border: 0;
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .primary-btn {
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      box-shadow: 0 14px 28px rgba(20,120,255,0.22);
    }

    .secondary-btn {
      background: rgba(255,255,255,0.86);
      border: 1px solid var(--line);
      color: #172b47;
    }

    .primary-btn:hover,
    .secondary-btn:hover {
      transform: translateY(-2px);
    }

    .hero-pills {
      margin-top: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .hero-pills span {
      padding: 10px 15px;
      border-radius: 999px;
      background: rgba(255,255,255,0.84);
      border: 1px solid var(--line);
      color: #354b68;
      font-size: 13px;
      font-weight: 850;
    }

    .hero-visual {
      border-radius: 34px;
      background: rgba(255,255,255,0.7);
      border: 1px solid rgba(255,255,255,0.7);
      padding: 18px;
      box-shadow: var(--shadow);
    }

    .visual-card {
      min-height: 330px;
      border-radius: 28px;
      background:
        radial-gradient(circle at 20% 18%, rgba(255,255,255,0.32), transparent 24%),
        linear-gradient(135deg, #9c78ff, #1478ff 52%, #20c7ff);
      display: grid;
      place-items: center;
      text-align: center;
      color: #fff;
      padding: 34px;
    }

    .visual-file {
      width: 100px;
      height: 126px;
      border-radius: 18px;
      background: rgba(255,255,255,0.94);
      color: var(--primary);
      display: grid;
      place-items: center;
      font-size: 42px;
      font-weight: 950;
      margin: 0 auto 20px;
      position: relative;
      box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

    .visual-file::after {
      content: "DOCX";
      position: absolute;
      right: -24px;
      top: 12px;
      background: #ff4ba3;
      color: #fff;
      border-radius: 999px;
      padding: 5px 8px;
      font-size: 11px;
      font-weight: 950;
    }

    .visual-card h2 {
      margin: 0;
      font-size: 30px;
      letter-spacing: -0.04em;
    }

    .visual-card p {
      max-width: 450px;
      margin: 12px auto 0;
      color: rgba(255,255,255,0.88);
      font-size: 16px;
      line-height: 1.6;
      font-weight: 700;
    }

    .tool-section {
      padding: 20px 0 30px;
    }

    .tool-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 34px;
      box-shadow: var(--shadow);
      padding: 34px;
    }

    .tool-head {
      display: flex;
      align-items: start;
      justify-content: space-between;
      gap: 22px;
      margin-bottom: 26px;
    }

    .tool-head h2 {
      margin: 0;
      font-size: 38px;
      letter-spacing: -0.05em;
    }

    .tool-head p {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.7;
      font-weight: 650;
      max-width: 820px;
    }

    .tool-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      min-width: 250px;
    }

    .tool-stat {
      padding: 12px 10px;
      border-radius: 14px;
      background: #f7fbff;
      border: 1px solid var(--line);
      text-align: center;
    }

    .tool-stat strong {
      display: block;
      font-size: 16px;
      color: #142846;
    }

    .tool-stat span {
      display: block;
      margin-top: 3px;
      font-size: 11px;
      color: #718098;
      font-weight: 800;
    }

    .tool-layout {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 28px;
    }

    .upload-panel {
      min-height: 250px;
      border: 2px dashed rgba(20,120,255,0.28);
      border-radius: 24px;
      background:
        radial-gradient(circle at center, rgba(20,120,255,0.07), transparent 58%),
        #f8fcff;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 24px;
      cursor: pointer;
      transition: 0.2s ease;
    }

    .upload-panel.dragover {
      border-color: var(--primary);
      background: #eef7ff;
      transform: translateY(-2px);
    }

    .upload-round {
      width: 70px;
      height: 70px;
      margin: 0 auto 14px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      font-size: 34px;
      box-shadow: 0 12px 24px rgba(20,120,255,0.2);
    }

    .upload-panel h3 {
      margin: 0;
      font-size: 24px;
      letter-spacing: -0.03em;
    }

    .upload-panel p {
      margin: 10px auto 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
      font-weight: 700;
      max-width: 520px;
    }

    .choose-btn {
      margin-top: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      padding: 0 18px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      font-size: 13px;
      font-weight: 950;
    }

    #fileInput {
      display: none;
    }

    .preview-shell {
      margin-top: 18px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid var(--line);
      overflow: hidden;
      box-shadow: 0 10px 28px rgba(20,70,140,0.07);
    }

    .preview-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      border-bottom: 1px solid var(--line);
      background: #f8fbff;
      flex-wrap: wrap;
    }

    .preview-top strong {
      color: #102033;
      font-size: 14px;
      font-weight: 950;
    }

    .preview-top span {
      color: #718098;
      font-size: 12px;
      font-weight: 800;
    }

    .document-preview {
      min-height: 360px;
      max-height: 620px;
      overflow: auto;
      padding: 28px;
      color: #1f2937;
      background: #ffffff;
      line-height: 1.7;
      font-size: 16px;
    }

    .document-preview.empty {
      display: grid;
      place-items: center;
      text-align: center;
      color: #6c7c95;
      font-size: 14px;
      font-weight: 750;
      line-height: 1.7;
      background: #f8fbff;
    }

    .document-preview h1,
    .document-preview h2,
    .document-preview h3 {
      color: #102033;
      line-height: 1.25;
    }

    .document-preview img {
      max-width: 100%;
      height: auto;
    }

    .document-preview table {
      border-collapse: collapse;
      width: 100%;
      margin: 14px 0;
    }

    .document-preview td,
    .document-preview th {
      border: 1px solid #dbe7f5;
      padding: 8px;
      vertical-align: top;
    }

    .settings-panel {
      border-radius: 24px;
      background: #fff;
      border: 1px solid var(--line);
      padding: 24px;
      box-shadow: 0 10px 28px rgba(20,70,140,0.06);
    }

    .settings-panel h3 {
      margin: 0 0 16px;
      font-size: 26px;
      letter-spacing: -0.04em;
    }

    .field {
      display: grid;
      gap: 7px;
      margin-bottom: 13px;
    }

    .field label {
      font-size: 14px;
      color: #31445f;
      font-weight: 950;
    }

    .field select,
    .field input {
      width: 100%;
      min-height: 48px;
      border-radius: 12px;
      border: 1px solid rgba(18,72,130,0.15);
      background: #fff;
      padding: 0 12px;
      color: #102033;
      font-size: 15px;
      font-weight: 800;
      outline: none;
    }

    .check-row {
      display: flex;
      align-items: center;
      gap: 8px;
      min-height: 42px;
      color: #31445f;
      font-size: 14px;
      font-weight: 900;
      margin: 3px 0 13px;
    }

    .progress-track {
      height: 10px;
      background: rgba(20,120,255,0.1);
      border-radius: 999px;
      overflow: hidden;
      margin-bottom: 12px;
    }

    .progress-bar {
      width: 0%;
      height: 100%;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      transition: width 0.25s ease;
    }

    .message {
      display: none;
      margin-bottom: 12px;
      padding: 12px 14px;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.5;
    }

    .message.success {
      display: block;
      color: #087d58;
      background: rgba(21,185,129,0.12);
      border: 1px solid rgba(21,185,129,0.22);
    }

    .message.error {
      display: block;
      color: #b42323;
      background: rgba(239,68,68,0.1);
      border: 1px solid rgba(239,68,68,0.22);
    }

    .message.info {
      display: block;
      color: #185fc2;
      background: rgba(20,120,255,0.1);
      border: 1px solid rgba(20,120,255,0.2);
    }

    .tool-actions {
      display: grid;
      gap: 10px;
    }

    .tool-btn,
    .download-btn {
      min-height: 46px;
      border-radius: 12px;
      border: 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 950;
      text-align: center;
      transition: 0.2s ease;
    }

    .convert-btn {
      color: #fff;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      box-shadow: 0 12px 22px rgba(20,120,255,0.2);
    }

    .add-btn {
      background: #fff;
      border: 1px solid var(--line);
      color: var(--primary);
    }

    .clear-btn {
      background: #fff5f5;
      color: var(--red);
      border: 1px solid rgba(239,68,68,0.18);
    }

    .download-btn {
      background: #f8fbff;
      color: #6a7c95;
      border: 1px solid var(--line);
      box-shadow: none;
      cursor: not-allowed;
      opacity: 0.65;
    }

    .download-btn.ready {
      cursor: pointer;
      opacity: 1;
      color: #fff;
      background: linear-gradient(135deg, var(--green), #5be1ad);
      border: 0;
      box-shadow: 0 12px 22px rgba(21,185,129,0.2);
    }

    .tool-btn:hover,
    .download-btn.ready:hover {
      transform: translateY(-2px);
    }

    .privacy-note {
      margin-top: 12px;
      padding: 14px;
      border-radius: 12px;
      background: #f8fbff;
      border: 1px solid var(--line);
      color: #6a7c95;
      font-size: 12px;
      line-height: 1.6;
      font-weight: 750;
    }

    .article-section {
      padding: 30px 0;
    }

    .article-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 28px;
      box-shadow: var(--shadow);
      padding: 40px 46px;
    }

    .article-card h2 {
      margin: 0 0 14px;
      color: #081c33;
      text-align: center;
      font-size: 34px;
      line-height: 1.2;
      letter-spacing: -0.05em;
    }

    .article-intro {
      max-width: 920px;
      margin: 0 auto 28px;
      text-align: center;
      color: var(--muted);
      line-height: 1.8;
      font-size: 16px;
      font-weight: 650;
    }

    .article-card h3 {
      margin: 30px 0 12px;
      color: #081c33;
      font-size: 24px;
      letter-spacing: -0.04em;
    }

    .article-card p {
      margin: 0 0 16px;
      color: #425774;
      line-height: 1.9;
      font-size: 16px;
      font-weight: 620;
    }

    .article-card ul,
    .article-card ol {
      margin: 12px 0 20px;
      padding-left: 22px;
      color: #425774;
      line-height: 1.9;
      font-size: 16px;
      font-weight: 650;
    }

    .article-card li {
      margin-bottom: 8px;
    }

    .info-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin: 26px 0;
    }

    .info-box {
      padding: 20px;
      border-radius: 18px;
      background: #f8fbff;
      border: 1px solid var(--line);
    }

    .info-box strong {
      display: block;
      color: var(--primary);
      font-size: 18px;
      margin-bottom: 8px;
    }

    .info-box span {
      display: block;
      color: var(--muted);
      line-height: 1.7;
      font-size: 14px;
      font-weight: 650;
    }

    .faq-wrap {
      margin-top: 28px;
    }

    .faq-title {
      margin: 0 0 16px;
      font-size: 26px;
      color: #081c33;
      letter-spacing: -0.04em;
    }

    .faq-list {
      display: grid;
      gap: 12px;
    }

    .faq-item {
      background: #f8fbff;
      border: 1px solid var(--line);
      border-radius: 16px;
      overflow: hidden;
    }

    .faq-item summary {
      list-style: none;
      cursor: pointer;
      padding: 20px 58px 20px 20px;
      font-size: 16px;
      font-weight: 950;
      color: #102033;
      position: relative;
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-item summary::after {
      content: "+";
      width: 30px;
      height: 30px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      display: grid;
      place-items: center;
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 20px;
      transition: 0.2s ease;
    }

    .faq-item[open] summary::after {
      transform: translateY(-50%) rotate(45deg);
    }

    .faq-item p {
      margin: 0;
      padding: 0 20px 20px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.8;
      font-weight: 650;
    }

    .related-section {
      padding: 28px 0 38px;
    }

    .related-card-main {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 28px;
      box-shadow: var(--shadow);
      padding: 34px;
      text-align: center;
    }

    .related-card-main h2 {
      margin: 0;
      font-size: 34px;
      letter-spacing: -0.05em;
    }

    .related-card-main > p {
      margin: 10px 0 24px;
      color: var(--muted);
      font-size: 16px;
      font-weight: 700;
    }

    .related-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      text-align: left;
    }

    .related-card {
      padding: 20px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 12px 32px rgba(20,70,140,0.06);
      transition: 0.2s ease;
    }

    .related-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 42px rgba(20,70,140,0.11);
    }

    .related-icon {
      width: 46px;
      height: 46px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      font-size: 13px;
      font-weight: 950;
      margin-bottom: 14px;
    }

    .related-card h3 {
      margin: 0 0 8px;
      font-size: 18px;
      letter-spacing: -0.03em;
    }

    .related-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.7;
      font-size: 14px;
      font-weight: 650;
    }

    .site-footer {
      padding: 14px 0 46px;
    }

    .footer-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 22px;
      box-shadow: var(--shadow);
      padding: 24px 28px;
      text-align: center;
    }

    .footer-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--line);
      flex-wrap: wrap;
    }

    .footer-links {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    .footer-links a {
      color: #172b47;
      font-size: 14px;
      font-weight: 850;
    }

    .footer-links a:hover {
      color: var(--primary);
    }

    .footer-bottom {
      padding-top: 16px;
      color: #6a7c95;
      font-size: 13px;
      font-weight: 750;
      line-height: 1.7;
      text-align: center;
    }

    .pdf-render {
      width: 760px;
      max-width: 760px;
      padding: 0;
      background: #ffffff;
      color: #1f2937;
      line-height: 1.65;
      font-family: Arial, sans-serif;
    }

    .pdf-render h1,
    .pdf-render h2,
    .pdf-render h3 {
      color: #111827;
      line-height: 1.25;
    }

    .pdf-render img {
      max-width: 100%;
      height: auto;
    }

    .pdf-render table {
      border-collapse: collapse;
      width: 100%;
      margin: 12px 0;
    }

    .pdf-render td,
    .pdf-render th {
      border: 1px solid #d1d5db;
      padding: 8px;
      vertical-align: top;
    }

    .pdf-doc-footer {
      margin-top: 28px;
      padding-top: 10px;
      border-top: 1px solid #e5e7eb;
      color: #6b7280;
      font-size: 11px;
      text-align: center;
    }

    @media (max-width: 980px) {
      .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
      }

      .nav {
        order: 3;
        width: 100%;
      }

      .hero-grid,
      .tool-layout {
        grid-template-columns: 1fr;
      }

      .tool-stats {
        min-width: 100%;
      }

      .related-grid,
      .info-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .container {
        width: min(100% - 22px, 1320px);
      }

      .custom-logo,
      .footer-logo-svg {
        width: 170px;
        max-width: 170px;
      }

      .header-btn {
        width: 100%;
      }

      .hero {
        padding-top: 32px;
      }

      .hero h1 {
        font-size: 42px;
      }

      .hero p {
        font-size: 15px;
      }

      .tool-head {
        flex-direction: column;
      }

      .tool-head h2 {
        font-size: 28px;
      }

      .tool-head p {
        font-size: 15px;
      }

      .tool-card,
      .article-card,
      .related-card-main {
        padding: 18px;
      }

      .related-grid,
      .info-grid {
        grid-template-columns: 1fr;
      }

      .document-preview {
        padding: 18px;
      }

      .article-card p,
      .article-card ul,
      .article-card ol {
        font-size: 14px;
      }

      .footer-top {
        align-items: center;
        justify-content: center;
        flex-direction: column;
      }
    }
  

/* PDF Editor page extra workspace styles - approved template preserved */
.editor-layout{display:grid;grid-template-columns:1fr 360px;gap:18px;align-items:start}
.editor-workspace{border:1px solid var(--line);border-radius:22px;background:#f8fbff;padding:14px;box-shadow:0 18px 48px rgba(15,43,89,.08)}
.editor-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.tool-chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 12px;font-size:13px;font-weight:900;color:#30465f;cursor:pointer;transition:.2s}
.tool-chip:hover,.tool-chip.active{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;border-color:transparent;transform:translateY(-1px)}
.page-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);background:#fff;border-radius:16px;padding:10px;margin-bottom:12px}
.page-nav button{border:0;border-radius:12px;background:#eef5ff;color:#1265d8;font-weight:950;padding:10px 12px;cursor:pointer}
.page-nav strong{color:#102033;font-size:14px}
.canvas-shell{position:relative;margin:auto;border-radius:18px;overflow:hidden;background:#fff;border:1px solid #dbe7f5;box-shadow:0 15px 42px rgba(12,38,71,.12);width:max-content;max-width:100%}
#mainCanvas{display:block;max-width:100%;height:auto}
#overlayLayer{position:absolute;inset:0;cursor:crosshair;touch-action:none}
#drawCanvas{position:absolute;inset:0;pointer-events:none}
.editor-object{position:absolute;transform:translate(-2px,-2px);border:1px dashed rgba(20,120,255,.78);background:rgba(20,120,255,.09);border-radius:8px;padding:2px 5px;font-size:13px;font-weight:900;color:#0f172a;pointer-events:none;white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis}
.editor-object.highlight{background:rgba(255,230,0,.38);border-color:rgba(196,143,0,.75);height:28px;min-width:120px;padding:0}
.editor-object.rect{background:transparent;border:2px solid rgba(20,120,255,.8);height:50px;min-width:120px;padding:0}
.editor-object.check{font-size:28px;color:#13a35c;background:transparent;border-color:rgba(19,163,92,.65)}
.editor-object.date{color:#7c3aed;border-color:rgba(124,58,237,.7);background:rgba(124,58,237,.08)}
.editor-object.sign{font-size:22px;font-family:cursive;color:#111827;border-color:rgba(15,23,42,.5);background:rgba(255,255,255,.65)}
.editor-side{border:1px solid var(--line);border-radius:22px;background:#fff;padding:16px;box-shadow:0 18px 48px rgba(15,43,89,.08)}
.editor-side h3{margin:0 0 10px;color:#102033;font-size:18px}
.mini-note{font-size:12px;color:#718098;font-weight:800;line-height:1.6;margin-top:6px}
.color-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.object-list{display:grid;gap:8px;margin-top:12px;max-height:240px;overflow:auto}
.object-row{border:1px solid var(--line);border-radius:14px;background:#f8fbff;padding:10px;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.object-row strong{font-size:13px;color:#102033;display:block}
.object-row span{font-size:11px;color:#718098;font-weight:850}
.object-row button{border:0;background:#ffe8e8;color:#cc2b2b;font-weight:950;border-radius:10px;padding:7px 9px;cursor:pointer}
.draw-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.draw-actions button{border:1px solid var(--line);background:#f8fbff;color:#1f3b5a;border-radius:12px;font-weight:900;padding:8px 10px;cursor:pointer}
.visual-page.edit{right:2px;transform:rotate(6deg);color:#2563eb}
.editor-help{margin-top:12px;border-radius:16px;background:#f8fbff;border:1px solid var(--line);padding:12px;color:#52657c;font-size:13px;font-weight:750;line-height:1.7}
.header-btn{width:auto!important;max-width:max-content!important}
.custom-logo,.footer-logo-svg{display:block!important;width:190px!important;max-width:190px!important;height:auto!important}
.site-footer{background:transparent!important}
.footer-card{background:#ffffff!important;color:#102033!important}
@media(max-width:980px){.editor-layout{grid-template-columns:1fr}.editor-side{order:-1}.canvas-shell{width:100%}.editor-toolbar{justify-content:center}}
@media(max-width:760px){.header-btn{width:100%!important;max-width:100%!important}.custom-logo,.footer-logo-svg{width:170px!important;max-width:170px!important}}

