    :root {
      --green: #00a651;
      --orange: #ff9800;
      --red: #e30613;
      --ink: #26312a;
      --line: #d7e2d9;
      --bg: #eef3f8;
      --bg-soft: #f6f9fc;
      --navy: #1f2d45;
      --accent: #2e5b98;
      --text-scale: 1;
      --ui-bg: #F3F6FB;
      --ui-bg-alt: #EEF3FA;
      --ui-surface: #FFFFFF;
      --ui-surface-2: #F8FBFF;
      --ui-surface-3: #F1F6FD;
      --ui-border: #CCD7E6;
      --ui-border-soft: #DDE5F1;
      --ui-border-strong: #B9C9DC;
      --ui-divider: #E2EAF4;
      --ui-text: #1F2D3D;
      --ui-text-primary: #1F2D3D;
      --ui-text-secondary: #53657A;
      --ui-text-tertiary: #73859A;
      --ui-text-inverse: #F5F9FF;
      --ui-muted: #5F6F84;
      --ui-accent: #1F4B7A;
      --ui-accent-hover: #173E68;
      --ui-accent-soft: #EAF2FD;
      --ui-success: #2F7D57;
      --ui-warning: #A56A1F;
      --ui-danger: #A33C3C;
      --ui-success-soft: #EAF6EF;
      --ui-warning-soft: #FFF5E8;
      --ui-danger-soft: #FDEEEE;
      --ui-nav-bg: #243E63;
      --r-0: 0px;
      --r-1: 8px;
      --r-2: 10px;
      --r-3: 12px;
      --r-4: 14px;
      --r-5: 18px;
      --sh-1: 0 2px 8px rgba(16, 33, 53, 0.08);
      --sh-2: 0 8px 20px rgba(16, 33, 53, 0.12);
      --sh-3: 0 14px 34px rgba(16, 33, 53, 0.18);
      --sp-1: 4px;
      --sp-2: 8px;
      --sp-3: 12px;
      --sp-4: 16px;
      --sp-5: 20px;
      --sp-6: 24px;
      --sp-7: 32px;
      --ctl-sm: 36px;
      --ctl-md: 42px;
      --ctl-lg: 44px;
      --ctl-xl: 48px;
      --app-max: 1480px;
      --editor-max: 1360px;
      --content-max: 1120px;
      --nav-w: 232px;
      --ui-shadow-sm: var(--sh-1);
      --ui-shadow-md: var(--sh-2);
    }

    @media screen {
      body.editor-screen-corporate {
        --editor-rail-width: 212px;
        --editor-rail-gap: 18px;
        --editor-rail-bg: #0c1218;
        --editor-rail-line: rgba(255, 255, 255, 0.08);
        --editor-rail-text: #ecf3fa;
        --editor-rail-muted: rgba(201, 215, 230, 0.7);
        --editor-rail-active: #92bbe1;
        --editor-rail-active-bg: rgba(146, 187, 225, 0.16);
      }

      body.editor-screen-corporate .screen-editor-shell {
        padding-top: calc(var(--topbar-height) + 12px) !important;
      }

      body.editor-screen-corporate .topbar {
        background: #0b1117 !important;
        box-shadow: 0 8px 20px rgba(7, 12, 18, 0.18) !important;
      }

      body.editor-screen-corporate .topbar-bar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 12px !important;
        min-height: 54px !important;
        padding: 0 16px !important;
        overflow: visible !important;
      }

      body.editor-screen-corporate .topbar-brand {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
        max-width: min(44vw, 760px) !important;
        white-space: nowrap;
        overflow: hidden;
      }

      body.editor-screen-corporate .docbar-app,
      body.editor-screen-corporate .docbar-badge,
      body.editor-screen-corporate .pro-pill-inline,
      body.editor-screen-corporate .docbar-status,
      body.editor-screen-corporate .docbar-save-state {
        flex: 0 0 auto;
      }

      body.editor-screen-corporate .docbar-status {
        max-width: 260px !important;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      body.editor-screen-corporate .docbar-caption {
        display: none !important;
      }

      body.editor-screen-corporate .docbar-badge,
      body.editor-screen-corporate .pro-pill-inline,
      body.editor-screen-corporate .docbar-save-state,
      body.editor-screen-corporate .topbar-tool-btn,
      body.editor-screen-corporate .topbar-print-btn,
      body.editor-screen-corporate .topbar-overflow,
      body.editor-screen-corporate .topbar-overflow summary,
      body.editor-screen-corporate .topbar-toast {
        border-radius: 0 !important;
      }

      body.editor-screen-corporate .topbar-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        min-width: 0 !important;
        flex-wrap: nowrap !important;
        overflow: visible !important;
        position: relative;
        z-index: 94;
      }

      body.editor-screen-corporate .topbar-pro-ghost {
        display: none !important;
      }

      body.editor-screen-corporate .topbar-tool-btn,
      body.editor-screen-corporate .topbar-print-btn {
        min-height: 36px !important;
        padding: 0 12px !important;
      }

      body.editor-screen-corporate .topbar-tool-btn i,
      body.editor-screen-corporate .topbar-print-btn i,
      body.editor-screen-corporate .topbar-overflow summary i {
        font-size: 17px !important;
      }

      body.editor-screen-corporate .topbar-overflow {
        overflow: visible !important;
        z-index: 96 !important;
      }

      body.editor-screen-corporate .topbar-overflow summary {
        min-width: 38px !important;
        min-height: 36px !important;
        padding: 0 11px !important;
      }

      body.editor-screen-corporate .topbar-overflow .advanced-content {
        top: calc(100% + 8px) !important;
        right: 0 !important;
        left: auto !important;
        min-width: 320px !important;
        z-index: 98 !important;
        box-shadow: 0 18px 34px rgba(10, 20, 30, 0.22) !important;
      }

      body.editor-screen-corporate .topbar-datetime {
        flex: 0 0 auto;
        gap: 10px !important;
        margin-left: 2px !important;
        padding-left: 0 !important;
      }

      body.editor-screen-corporate .app,
      body.editor-screen-corporate .mobile-print-warning,
      body.editor-screen-corporate .editor-recovery-notice {
        width: auto !important;
        max-width: none !important;
        margin-left: calc(var(--editor-rail-width) + var(--editor-rail-gap)) !important;
        margin-right: 16px !important;
      }

      body.editor-screen-corporate .editor-shell {
        display: block !important;
        position: relative;
      }

      body.editor-screen-corporate .editor-main {
        order: initial !important;
        min-width: 0;
      }

      body.editor-screen-corporate .stepper-sidebar {
        display: block !important;
        position: fixed !important;
        top: var(--topbar-height) !important;
        left: 0 !important;
        bottom: 0 !important;
        width: var(--editor-rail-width) !important;
        padding: 12px 10px 18px !important;
        margin: 0 !important;
        background: linear-gradient(180deg, #0d1319 0%, #0a1015 100%) !important;
        border-right: 1px solid var(--editor-rail-line) !important;
        box-shadow: 10px 0 26px rgba(7, 12, 18, 0.08) !important;
        z-index: 72 !important;
        overflow: hidden !important;
      }

      body.editor-screen-corporate .workflow-stepper {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
        height: 100%;
        min-height: 0;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
      }

      body.editor-screen-corporate .workflow-stepper::-webkit-scrollbar {
        width: 6px;
      }

      body.editor-screen-corporate .workflow-stepper::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.12);
      }

      body.editor-screen-corporate .workflow-stepper .menu-title {
        margin: 2px 4px 8px;
        padding: 0 4px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        color: rgba(223, 234, 245, 0.88);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      body.editor-screen-corporate .workflow-stepper .menu-phase {
        margin: 10px 4px 2px;
        padding: 10px 4px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        color: rgba(163, 182, 200, 0.62);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
      }

      body.editor-screen-corporate .workflow-stepper .menu-phase:first-of-type {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
      }

      body.editor-screen-corporate .workflow-stepper .menu-btn {
        display: grid !important;
        grid-template-columns: 18px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 42px !important;
        padding: 10px 12px !important;
        border: 1px solid transparent !important;
        border-left: 2px solid transparent !important;
        background: transparent !important;
        color: var(--editor-rail-muted) !important;
        box-shadow: none !important;
        justify-content: flex-start !important;
        text-align: left;
        font-size: 13px;
        font-weight: 650;
        line-height: 1.2;
      }

      body.editor-screen-corporate .workflow-stepper .menu-btn i {
        width: 18px;
        text-align: center;
        font-size: 15px;
      }

      body.editor-screen-corporate .workflow-stepper .menu-btn span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      body.editor-screen-corporate .workflow-stepper .menu-btn:hover {
        border-color: rgba(255, 255, 255, 0.08) !important;
        background: rgba(255, 255, 255, 0.04) !important;
        color: var(--editor-rail-text) !important;
      }

      body.editor-screen-corporate .workflow-stepper .menu-btn.step-open {
        color: rgba(203, 216, 229, 0.76) !important;
      }

      body.editor-screen-corporate .workflow-stepper .menu-btn.step-done {
        color: #e6f2fb !important;
        border-left-color: #6da280 !important;
        background: rgba(94, 143, 111, 0.12) !important;
      }

      body.editor-screen-corporate .workflow-stepper .menu-btn.step-current,
      body.editor-screen-corporate .workflow-stepper .menu-btn.active {
        color: #ffffff !important;
        border-color: rgba(146, 187, 225, 0.22) !important;
        border-left-color: var(--editor-rail-active) !important;
        background: var(--editor-rail-active-bg) !important;
      }

      body.editor-screen-corporate .workflow-stepper .menu-btn.step-done::after,
      body.editor-screen-corporate .workflow-stepper .menu-btn.step-current::after,
      body.editor-screen-corporate .workflow-stepper .menu-btn.active::after {
        content: "";
        justify-self: end;
        width: 6px;
        height: 6px;
        border-radius: 999px;
      }

      body.editor-screen-corporate .workflow-stepper .menu-btn.step-done::after {
        background: #9ed0af;
      }

      body.editor-screen-corporate .workflow-stepper .menu-btn.step-current::after,
      body.editor-screen-corporate .workflow-stepper .menu-btn.active::after {
        background: var(--editor-rail-active);
      }

      body.editor-screen-corporate .workflow-stepper .menu-btn:focus-visible {
        outline: 2px solid rgba(140, 184, 229, 0.28) !important;
        outline-offset: 1px;
      }

      body.editor-screen-corporate .editor-view button,
      body.editor-screen-corporate .editor-view input:not([type="radio"]):not([type="checkbox"]),
      body.editor-screen-corporate .editor-view textarea,
      body.editor-screen-corporate .editor-view select,
      body.editor-screen-corporate .editor-view fieldset.form-section,
      body.editor-screen-corporate .editor-view .guided-shell,
      body.editor-screen-corporate .editor-view .guided-footer,
      body.editor-screen-corporate .editor-view .start-welcome-card,
      body.editor-screen-corporate .editor-view .start-route,
      body.editor-screen-corporate .editor-view .start-proof-card,
      body.editor-screen-corporate .editor-view .start-guide-card,
      body.editor-screen-corporate .editor-view .goal-guidance-card,
      body.editor-screen-corporate .editor-view .goal-guidance-item,
      body.editor-screen-corporate .editor-view .goal-guidance-badge,
      body.editor-screen-corporate .editor-view .meta-core-summary,
      body.editor-screen-corporate .editor-view .meta-core-label,
      body.editor-screen-corporate .editor-view .meta-media-card,
      body.editor-screen-corporate .editor-view .meta-media-badge,
      body.editor-screen-corporate .editor-view .upload-actions,
      body.editor-screen-corporate .editor-view .upload-status,
      body.editor-screen-corporate .editor-view .paste-zone,
      body.editor-screen-corporate .editor-view .section-status-inline,
      body.editor-screen-corporate .editor-view .section-clear,
      body.editor-screen-corporate .editor-view .progress-input-head,
      body.editor-screen-corporate .editor-view .progress-input-row,
      body.editor-screen-corporate .editor-view .matrix,
      body.editor-screen-corporate .editor-view .matrix-add,
      body.editor-screen-corporate .editor-view .progress-add,
      body.editor-screen-corporate .editor-view .field-control,
      body.editor-screen-corporate .editor-view .field-clear-btn,
      body.editor-screen-corporate .mobile-print-warning .warning-card,
      body.editor-screen-corporate .editor-recovery-card,
      body.editor-screen-corporate .guide-modal-card,
      body.editor-screen-corporate .pro-modal-card {
        border-radius: 0 !important;
      }

      @media (max-width: 1180px) {
        body.editor-screen-corporate {
          --editor-rail-width: 88px;
        }

        body.editor-screen-corporate .app,
        body.editor-screen-corporate .mobile-print-warning,
        body.editor-screen-corporate .editor-recovery-notice {
          margin-left: calc(var(--editor-rail-width) + 12px) !important;
          margin-right: 12px !important;
        }

        body.editor-screen-corporate .workflow-stepper .menu-title,
        body.editor-screen-corporate .workflow-stepper .menu-phase,
        body.editor-screen-corporate .workflow-stepper .menu-btn span,
        body.editor-screen-corporate .docbar-save-state {
          display: none !important;
        }

        body.editor-screen-corporate .workflow-stepper {
          align-items: stretch;
          gap: 6px;
        }

        body.editor-screen-corporate .workflow-stepper .menu-btn {
          grid-template-columns: 1fr;
          justify-items: center;
          padding: 10px 8px !important;
        }

        body.editor-screen-corporate .workflow-stepper .menu-btn::after {
          display: none;
        }
      }

      @media (max-width: 900px) {
        body.editor-screen-corporate {
          --editor-rail-width: 72px;
          --topbar-height: 92px;
        }

        body.editor-screen-corporate .topbar-bar {
          grid-template-columns: minmax(0, 1fr) !important;
          gap: 8px !important;
          padding: 8px 12px !important;
        }

        body.editor-screen-corporate .topbar-brand {
          max-width: none !important;
        }

        body.editor-screen-corporate .topbar-actions {
          justify-content: flex-start !important;
          flex-wrap: wrap !important;
        }

        body.editor-screen-corporate .topbar-datetime {
          margin-left: auto !important;
        }
      }
    }

    * { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; font-family: "Aptos", "Segoe UI", "Calibri", "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: linear-gradient(180deg, #edf2f8 0%, #f7f9fc 100%); }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      background: #f7f9fc;
      border: 1px solid #d2dbe8;
      border-top: 0;
      border-radius: 0 0 10px 10px;
      box-shadow: 0 2px 8px rgba(26, 34, 48, 0.08);
      padding: 10px 12px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: start;
      max-width: 1460px;
      margin: 0 auto;
    }
    .documentbar {
      display: none;
    }

    .mobile-print-warning {
      display: none;
      max-width: 1460px;
      margin: 8px auto 0 auto;
      padding: 0 12px;
    }
    .mobile-print-warning .warning-card {
      border: 1px solid #f1d79b;
      background: #fff8e8;
      color: #5c4720;
      border-radius: 10px;
      padding: 10px 12px;
      display: flex;
      gap: 10px;
      align-items: flex-start;
      justify-content: space-between;
    }
    .mobile-print-warning .warning-text {
      font-size: 12px;
      line-height: 1.4;
    }
    .mobile-print-warning .warning-close {
      flex: 0 0 auto;
      border: 1px solid #d8bc84;
      background: #fffef9;
      color: #5f4b24;
      border-radius: 6px;
      min-height: 28px;
      padding: 6px 9px;
      font-size: 12px;
      font-weight: 700;
    }
    .mobile-print-warning.is-hidden {
      display: none !important;
    }

    .topbar .left,
    .topbar .right,
    .topbar .compact-actions {
      display: flex;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
    }
    .topbar .left {
      gap: 10px;
      align-items: stretch;
    }
    .toolbar-group {
      border: 1px solid #d4dce8;
      border-radius: 8px;
      background: #ffffff;
      padding: 6px 8px;
      display: flex;
      align-items: center;
      gap: 8px;
      min-height: 40px;
    }
    .group-title {
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #4a596f;
      padding-right: 6px;
      border-right: 1px solid #e0e6ef;
      white-space: nowrap;
    }
    .toolbar-group .compact-actions {
      gap: 6px;
    }
    .toolbar-group.file-group {
      flex-wrap: wrap;
    }
    .topbar .group { display: contents; }
    .file-hint {
      font-size: 11px;
      color: #5a6575;
      margin-left: 2px;
    }
    .topbar .right {
      margin-left: auto;
      align-items: stretch;
    }
    .topbar details.advanced {
      border: 1px solid #d4dce8;
      border-radius: 8px;
      background: #ffffff;
      padding: 4px 8px;
      min-height: 40px;
    }
    .topbar details.advanced summary {
      list-style: none;
      cursor: pointer;
      font-size: 11px;
      font-weight: 700;
      color: #34455f;
      padding: 3px 2px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .topbar details.advanced summary::-webkit-details-marker {
      display: none;
    }
    .topbar .advanced-content {
      display: flex;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
      padding: 4px 0 2px 0;
      border-top: 1px solid #dfe7f2;
      margin-top: 4px;
    }
    .toolbar-field {
      font-size: 12px;
      color: #34455f;
      display: inline-flex;
      gap: 6px;
      align-items: center;
      background: #ffffff;
      border: 1px solid #d4dce8;
      border-radius: 6px;
      padding: 5px 8px;
      height: 36px;
    }
    .toolbar-field select {
      border: 1px solid #c0cee0;
      border-radius: 6px;
      padding: 4px 6px;
      font-size: 12px;
      height: 26px;
      background: #fff;
    }
    .fit-state {
      font-size: 12px;
      color: #35553f;
      min-width: 130px;
    }
    .toggle-planning-btn {
      border: 1px solid #b7c6da;
      background: #ffffff;
      color: #263b56;
      font-weight: 700;
      padding: 8px 10px;
      border-radius: 6px;
      min-height: 40px;
    }
    .toggle-planning-btn[data-enabled="true"] {
      background: #eef4fb;
      border-color: #8fa9c9;
      color: #17365b;
    }
    .toggle-inline {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: #34455f;
      padding: 0 6px;
    }
    .toggle-inline input[type="checkbox"] {
      width: 14px;
      height: 14px;
      margin: 0;
    }

    button {
      border: 1px solid #cfd8e6;
      background: #ffffff;
      color: #27364b;
      padding: 8px 11px;
      border-radius: 6px;
      font-weight: 700;
      cursor: pointer;
      transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
      font-size: 13px;
      line-height: 1.1;
      min-height: 34px;
    }

    button:hover {
      background: #f3f6fb;
      border-color: #aebbd0;
      box-shadow: none;
      transform: none;
    }

    button.primary {
      background: #25364d;
      border-color: #1f2d3f;
      color: #fff;
      min-height: 40px;
      min-width: 136px;
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 0.01em;
      box-shadow: none;
    }

    button.primary:hover {
      background: #1f2d3f;
      border-color: #172233;
      box-shadow: none;
    }

    .app {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      padding: 12px;
      min-height: calc(100vh - 56px);
      max-width: 1460px;
      margin: 0 auto;
    }
    .preview-panel {
      display: none;
    }
    .form-panel {
      max-width: 1220px;
      width: 100%;
      margin: 0 auto;
    }

    .panel {
      background: #fff;
      border: 1px solid #d4deeb;
      border-radius: 12px;
      overflow: hidden;
      min-height: 0;
      box-shadow: 0 1px 0 rgba(31, 45, 69, 0.05);
    }

    .panel .head {
      padding: 10px 12px;
      border-bottom: 1px solid #d7e2f0;
      font-size: 13px;
      font-weight: 700;
      color: #243551;
      background: linear-gradient(180deg, #f8fbff 0%, #f2f7fc 100%);
    }

    .form-wrap {
      max-height: calc(100vh - 120px);
      overflow: auto;
      padding: 14px;
    }

    .editor-form {
      display: grid;
      gap: 10px;
    }
    .editor-shell {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 205px;
      gap: 12px;
      align-items: start;
    }
    .section-menu {
      position: sticky;
      top: 0;
      z-index: 3;
      border: 1px solid #d6dde8;
      border-radius: 8px;
      background: #f8fafc;
      padding: 8px;
      display: grid;
      gap: 6px;
    }
    .menu-title {
      font-size: 11px;
      font-weight: 800;
      color: #385076;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      padding: 2px 2px 6px 2px;
      border-bottom: 1px solid #d8e3f1;
      margin-bottom: 2px;
    }
    .menu-btn {
      border: 1px solid #d2dbe8;
      background: #fff;
      color: #2f3f58;
      border-radius: 6px;
      padding: 7px 8px;
      font-size: 12px;
      font-weight: 700;
      text-align: left;
      line-height: 1.1;
    }
    .menu-btn.active {
      background: #eef2f7;
      border-color: #aebed3;
      color: #23344d;
      box-shadow: inset 2px 0 0 #5a708d;
    }
    .editor-main {
      min-width: 0;
      max-width: 1050px;
    }
    .form-intro {
      border: 1px solid #d6dde8;
      border-radius: 8px;
      background: #f8fafc;
      padding: 10px 12px;
    }
    .form-intro h3 {
      margin: 0 0 6px 0;
      font-size: 14px;
      color: #1f416f;
    }
    .form-intro p {
      margin: 0;
      font-size: 12px;
      color: #385276;
      line-height: 1.45;
    }
    .input-block-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
      align-items: start;
    }
    .input-block-grid .span-3 {
      grid-column: 1 / -1;
    }

    fieldset {
      border: 1px solid #d2deec;
      border-top: 2px solid #9fb8d8;
      border-radius: 10px;
      margin: 0;
      padding: 10px;
      background: var(--bg-soft);
    }
    .form-section {
      scroll-margin-top: 14px;
    }

    legend {
      padding: 0 6px;
      font-weight: 700;
      color: #243d61;
      font-size: 13px;
    }

    .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .meta-grid {
      display: grid;
      grid-template-columns: 220px minmax(280px, 1fr) minmax(280px, 1fr);
      gap: 8px 10px;
      align-items: end;
    }
    .meta-grid .meta-type { grid-column: 1; }
    .meta-grid .meta-name { grid-column: 2 / 4; }
    .meta-grid .meta-date { grid-column: 1; max-width: 220px; }
    .meta-grid .meta-manager { grid-column: 2; max-width: 420px; }
    .meta-grid .meta-client { grid-column: 3; }
    .meta-grid .meta-org { grid-column: 1 / 4; }
    .meta-grid .meta-subtitle { grid-column: 1 / 4; }
    .meta-grid .meta-paste-target { grid-column: 1 / 4; }
    .meta-grid .meta-hero-upload { grid-column: 1 / 3; }
    .meta-grid .meta-logo-upload,
    .meta-grid .meta-logo-text-field { grid-column: 3; }
    .meta-grid .meta-upload-actions,
    .meta-grid .meta-logo-upload-actions { grid-column: 1 / 4; margin-top: -2px; }
    .meta-grid-full { grid-column: 1 / 4; }
    .meta-paste-target {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      padding: 6px 10px;
      border: 1px solid #d2ddec;
      border-radius: 8px;
      background: #f6f9fd;
      color: #3f5572;
      font-size: 12px;
    }
    .meta-paste-target .meta-paste-target-label {
      font-weight: 700;
      color: #2e4362;
    }
    .meta-paste-target label {
      margin: 0;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      color: #2e4362;
    }

    label {
      display: grid;
      gap: 4px;
      font-size: 12px;
      color: #2b3f32;
      margin-bottom: 8px;
    }
    .field-caption {
      display: inline-flex;
      align-items: center;
      gap: 0;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: #3a4a61;
      line-height: 1.1;
    }
    .field-caption::before {
      content: none;
    }
    .field-help {
      font-size: 11px;
      line-height: 1.45;
      color: #6a829f;
      font-weight: 400;
    }
    .section-subline {
      margin: -2px 0 8px 0;
      font-size: 11px;
      color: #587296;
    }
    .guided-start-card-rich {
      display: grid;
      gap: 12px;
    }
    .start-welcome-card,
    .meta-stage-card,
    .meta-media-intro {
      border: 1px solid #d9e3ef;
      border-radius: 14px;
      background: linear-gradient(180deg, #fbfdff 0%, #f3f8fe 100%);
      padding: 12px 14px;
    }
    .start-kicker,
    .meta-stage-kicker {
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #5f7a97;
      margin-bottom: 6px;
    }
    .start-welcome-card h4,
    .meta-stage-title {
      margin: 0 0 6px 0;
      font-size: 20px;
      line-height: 1.15;
      color: #20364e;
    }
    .start-welcome-card p,
    .meta-stage-copy,
    .meta-media-intro span {
      margin: 0;
      font-size: 13px;
      line-height: 1.55;
      color: #536d88;
    }
    .start-trust-row,
    .meta-stage-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
    }
    .start-trust-pill,
    .meta-stage-pill {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 6px 10px;
      border: 1px solid #d3deeb;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.84);
      font-size: 11px;
      font-weight: 700;
      color: #44607e;
    }
    .meta-stage-pill.is-solid {
      background: #eaf2fc;
      border-color: #c8d8eb;
      color: #1f4d79;
    }
    .start-route-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 10px;
    }
    .start-route {
      appearance: none;
      width: 100%;
      min-height: 160px;
      padding: 14px;
      border: 1px solid #d6e0eb;
      border-radius: 16px;
      background: #ffffff;
      display: grid;
      align-content: start;
      gap: 8px;
      text-align: left;
      cursor: pointer;
      transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }
    .start-route:hover {
      border-color: #bcd0e4;
      box-shadow: 0 8px 18px rgba(24, 42, 63, 0.08);
      transform: translateY(-1px);
    }
    .start-route-eyebrow {
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #6c829a;
    }
    .start-route-title {
      font-size: 16px;
      font-weight: 700;
      line-height: 1.2;
      color: #22384f;
    }
    .start-route-copy {
      font-size: 13px;
      line-height: 1.5;
      color: #59728d;
    }
    .start-route-primary {
      border-color: #c5d8ed;
      background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
    }
    .start-step-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 10px;
    }
    .start-step {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 10px 12px;
      border: 1px solid #d9e3ef;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.8);
      font-size: 12px;
      line-height: 1.45;
      color: #47627e;
    }
    .start-step strong {
      width: 24px;
      height: 24px;
      flex: 0 0 24px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #e8f0fa;
      color: #1f4d79;
      font-size: 11px;
      font-weight: 800;
    }
    .start-note {
      margin: 0;
    }
    .meta-media-intro {
      display: grid;
      gap: 4px;
    }
    .meta-media-intro strong {
      font-size: 13px;
      color: #27425d;
    }
    .meta-media-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      align-items: start;
    }
    .meta-media-card {
      display: grid;
      gap: 12px;
      align-content: start;
      border: 1px solid #d8e3ef;
      border-radius: 16px;
      background: #ffffff;
      padding: 14px;
      box-shadow: 0 10px 24px rgba(23, 42, 63, 0.04);
    }
    .meta-media-card-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }
    .meta-media-card-head h5 {
      margin: 0 0 6px 0;
      font-size: 16px;
      line-height: 1.2;
      color: #21384f;
    }
    .meta-media-card-head p {
      margin: 0;
      font-size: 12px;
      line-height: 1.55;
      color: #5b728c;
    }
    .meta-media-badge {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 5px 10px;
      border: 1px solid #d7e2ee;
      border-radius: 999px;
      background: #f7fbff;
      font-size: 11px;
      font-weight: 700;
      color: #4a6480;
      white-space: nowrap;
    }
    .meta-hero-upload,
    .meta-logo-upload {
      display: none;
    }
    .meta-logo-text-field {
      margin-bottom: 0;
    }
    .upload-meta-row {
      display: grid;
      gap: 4px;
    }
    .upload-meta-label {
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #6f859d;
    }
    .upload-button-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .upload-button-row > * {
      flex: 0 0 auto;
    }

    input, textarea, select {
      border: 1px solid #c2d1e4;
      border-radius: 8px;
      padding: 7px;
      font: inherit;
      font-size: 12px;
      width: 100%;
      background: #fff;
    }

    textarea { min-height: 86px; resize: vertical; line-height: 1.4; }

    .small { font-size: 11px; color: #5d6f62; }
    .hint {
      display: block;
      margin-top: 3px;
      font-size: 11px;
      color: #516888;
      line-height: 1.35;
    }
    .field-control {
      position: relative;
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      align-items: start;
    }
    .field-control > input,
    .field-control > textarea {
      padding-right: 34px;
    }
    .field-control > input[type="date"] {
      padding-right: 64px;
    }
    .field-clear-btn {
      position: absolute;
      right: 6px;
      top: 50%;
      transform: translateY(-50%);
      width: 22px;
      height: 22px;
      min-width: 22px;
      border: 1px solid #c5d4c8;
      background: #ffffff;
      color: #547060;
      font-size: 12px;
      border-radius: 999px;
      padding: 0;
      line-height: 1;
      font-weight: 700;
      opacity: 0;
      pointer-events: none;
      transition: opacity 120ms ease, border-color 120ms ease, color 120ms ease;
    }
    .field-control > input[type="date"] + .field-clear-btn {
      right: 34px;
    }
    .field-control:hover .field-clear-btn,
    .field-control:focus-within .field-clear-btn {
      opacity: 1;
      pointer-events: auto;
    }
    .field-clear-btn:hover {
      border-color: #98b09f;
      color: #2f4f3b;
    }
    .field-clear-btn.for-textarea {
      top: 8px;
      transform: none;
    }
    fieldset {
      position: relative;
    }
    .section-clear {
      position: absolute;
      top: 8px;
      right: 10px;
      border: 1px solid #d0dbd2;
      background: #fff;
      color: #486354;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 500;
      padding: 4px 8px;
    }
    .upload-actions {
      display: flex;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
      margin-top: 6px;
    }
    .meta-media-card .upload-actions {
      display: grid;
      gap: 10px;
      align-items: stretch;
      margin-top: 0;
      padding: 12px;
      border: 1px solid #dbe6f1;
      border-radius: 14px;
      background: linear-gradient(180deg, #fbfdff 0%, #f4f8fd 100%);
    }
    .paste-zone {
      border: 1px dashed #9fb8d8;
      border-radius: 8px;
      background: #f7fbff;
      color: #35506f;
      font-size: 11px;
      padding: 9px 10px;
      min-height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      cursor: text;
      outline: none;
    }
    .meta-media-card .paste-zone {
      min-height: 78px;
      padding: 14px;
      justify-content: flex-start;
      align-items: flex-start;
      gap: 6px;
      text-align: left;
      cursor: pointer;
      transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
    }
    .meta-media-card .paste-zone strong {
      font-size: 13px;
      line-height: 1.3;
      color: #1f4d79;
    }
    .meta-media-card .paste-zone span {
      font-size: 12px;
      line-height: 1.5;
      color: #607891;
    }
    .meta-media-card .paste-zone.has-file {
      border-style: solid;
      border-color: #b9d3c5;
      background: linear-gradient(180deg, #fbfefc 0%, #f0f8f3 100%);
    }
    .meta-media-card .paste-zone.has-file strong {
      color: #2f7d57;
    }
    .paste-zone:focus {
      border-color: #2f5f95;
      box-shadow: 0 0 0 2px rgba(47, 95, 149, 0.15);
    }
    .upload-status {
      font-size: 12px;
      line-height: 1.45;
      color: #2b5c40;
    }
    .upload-status.is-empty {
      color: #6c829a;
    }
    .upload-button-row button[disabled],
    .upload-button-row .preview-link-btn[disabled] {
      opacity: 0.56;
      cursor: not-allowed;
      box-shadow: none;
    }
    .status-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }
    .section-status-inline {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 8px;
      margin: -2px 116px 8px 0;
      font-size: 11px;
      color: #4d5f77;
    }
    .section-status-inline.no-offset {
      margin: 0;
      justify-content: flex-start;
    }
    .section-status-inline select {
      width: 150px;
      max-width: 100%;
      height: 30px;
      border-radius: 6px;
      font-size: 12px;
    }
    .section-clear.inline-btn {
      position: static;
      top: auto;
      right: auto;
    }
    .planning-top-controls {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px 12px;
      margin-bottom: 8px;
    }
    .planning-toggle-group {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
      color: #3f5572;
      background: #f6f9fd;
      border: 1px solid #d2ddec;
      border-radius: 8px;
      padding: 6px 10px;
    }
    .planning-toggle-group label {
      margin: 0;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      color: #2e4362;
    }
    .planning-toggle-group input[type="radio"] {
      width: 14px;
      height: 14px;
      margin: 0;
    }
    .radio-inline {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 14px;
      align-items: center;
      margin: 4px 0 8px;
    }
    .radio-inline label {
      margin: 0;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: #2f4665;
      background: #f8fbff;
      border: 1px solid #d3e0ef;
      border-radius: 999px;
      padding: 5px 10px;
    }
    .radio-inline input[type="radio"] {
      width: 14px;
      height: 14px;
      margin: 0;
    }
    .upload-status {
      font-size: 12px;
      line-height: 1.45;
      color: #2b5c40;
    }
    .upload-status::before {
      content: none;
    }
    .preview-link-btn {
      border: 1px solid #b8cde4;
      background: #fff;
      color: #2e4d72;
      border-radius: 6px;
      padding: 5px 9px;
      font-size: 11px;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      cursor: pointer;
    }
    .image-modal {
      position: fixed;
      inset: 0;
      z-index: 3000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 22px;
      background: rgba(19, 30, 45, 0.72);
    }
    .image-modal.open {
      display: flex;
    }
    .image-modal-dialog {
      width: min(1200px, 96vw);
      max-height: 92vh;
      background: #fff;
      border: 1px solid #c8d6e6;
      border-radius: 10px;
      box-shadow: 0 16px 40px rgba(8, 20, 35, 0.35);
      display: grid;
      grid-template-rows: auto 1fr;
      overflow: hidden;
    }
    .image-modal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 14px;
      border-bottom: 1px solid #dbe6f2;
      background: #f7fbff;
    }
    .image-modal-title {
      margin: 0;
      font-size: 14px;
      font-weight: 700;
      color: #2a4567;
    }
    .image-modal-close {
      border: 1px solid #b7c9dc;
      background: #fff;
      color: #34587f;
      border-radius: 7px;
      font-size: 18px;
      line-height: 1;
      width: 30px;
      height: 30px;
      font-weight: 700;
      cursor: pointer;
    }
    .image-modal-body {
      background: #f2f7fd;
      overflow: auto;
      padding: 10px;
    }
    .image-modal-body img {
      display: block;
      width: 100%;
      height: auto;
      border: 1px solid #cfdeed;
      background: #fff;
    }

    .matrix {
      display: grid;
      gap: 0;
      margin-bottom: 8px;
      border: 1px solid #d6e0d8;
      border-radius: 8px;
      overflow: hidden;
      background: #fff;
    }

    .matrix .row {
      display: grid;
      gap: 0;
      grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr;
      border-bottom: 1px solid #edf2ee;
    }
    .matrix .row:last-child { border-bottom: 0; }

    .matrix .row.issue { grid-template-columns: 1.5fr 0.7fr 1.2fr; }
    .matrix .row.risk { grid-template-columns: 1.3fr 0.6fr 0.6fr 1.2fr; }
    .matrix .row.decision { grid-template-columns: 1.2fr 1.3fr; }

    .matrix .row.head-row input {
      font-weight: 700;
      background: #f4f8f5;
      color: #294235;
      text-transform: uppercase;
      letter-spacing: 0.01em;
      font-size: 11px;
    }
    .matrix .row.matrix-data-row {
      align-items: stretch;
    }
    .matrix .row > input,
    .matrix .row > select {
      border: 0;
      border-right: 1px solid #edf2ee;
      border-radius: 0;
      margin: 0;
      height: 32px;
      padding: 6px 8px;
      font-size: 12px;
      background: #fff;
    }
    .matrix .row > input:last-of-type,
    .matrix .row > select:last-of-type {
      border-right: 1px solid #edf2ee;
    }
    .matrix .row.matrix-data-row > input,
    .matrix .row.matrix-data-row > select {
      min-height: 32px;
    }
    .matrix-remove {
      border: 0;
      border-left: 1px solid #edf2ee;
      background: #fff;
      color: #7a8a7f;
      border-radius: 0;
      min-height: 32px;
      padding: 0;
      font-size: 14px;
      font-weight: 700;
    }
    .matrix-remove:hover {
      background: #f8fbf9;
      color: #2c4a39;
    }
    .matrix-toolbar {
      margin-top: 6px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    .matrix-add {
      font-size: 12px;
      padding: 6px 10px;
      border-radius: 6px;
    }
    .budget-total-input {
      margin-top: 6px;
      border: 1px solid #d6e0d8;
      border-radius: 8px;
      overflow: hidden;
      background: #f8fcf9;
    }
    .budget-total-row {
      display: grid;
      grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr;
      gap: 0;
    }
    .budget-total-row input {
      border: 0;
      border-right: 1px solid #d6e0d8;
      border-radius: 0;
      background: #f8fcf9;
      font-weight: 700;
      height: 32px;
      padding: 6px 8px;
      font-size: 12px;
    }
    .budget-total-row input:last-child { border-right: 0; text-align: right; }
    #budgetMatrix .row.matrix-data-row > input,
    #budgetMatrix .row.matrix-data-row > select {
      background: #f8fcf9;
    }
    #budgetMatrix .row.matrix-data-row > input[data-matrix-col="1"],
    #budgetMatrix .row.matrix-data-row > input[data-matrix-col="2"],
    #budgetMatrix .row.matrix-data-row > input[data-matrix-col="3"] {
      text-align: right;
      font-variant-numeric: tabular-nums;
    }

    .progress-input-table {
      border: 1px solid #d6e0d8;
      border-radius: 8px;
      overflow: hidden;
      background: #fff;
      margin-top: 6px;
    }
    .progress-input-head,
    .progress-input-row {
      display: grid;
      grid-template-columns: 1.8fr 0.8fr 0.6fr 44px;
      gap: 0;
    }
    .progress-input-head {
      background: #f4f8f5;
      border-bottom: 1px solid #d6e0d8;
      font-size: 11px;
      font-weight: 700;
      color: #294235;
    }
    .progress-input-head span {
      padding: 6px 8px;
      border-right: 1px solid #d6e0d8;
    }
    .progress-input-head span:last-child { border-right: 0; }
    .progress-input-row {
      border-bottom: 1px solid #edf2ee;
    }
    .progress-input-row:last-child { border-bottom: 0; }
    .progress-input-row input,
    .progress-input-row select {
      border: 0;
      border-right: 1px solid #edf2ee;
      border-radius: 0;
      margin: 0;
      height: 32px;
      padding: 6px 8px;
      font-size: 12px;
      background: #fff;
    }
    .progress-input-row > .progress-remove { border-right: 0; }
    .progress-input-row input[type="number"] {
      text-align: right;
    }
    .progress-remove {
      border: 0;
      border-left: 1px solid #edf2ee;
      background: #fff;
      color: #7a8a7f;
      border-radius: 0;
      height: 32px;
      padding: 0;
      font-size: 14px;
      font-weight: 700;
    }
    .progress-remove:hover {
      background: #f8fbf9;
      color: #2c4a39;
    }
    .progress-toolbar {
      margin-top: 6px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    .progress-add {
      font-size: 12px;
      padding: 6px 10px;
      border-radius: 7px;
    }

    .preview-wrap {
      padding: 10px;
      overflow: auto;
      max-height: calc(100vh - 120px);
      background: #fff;
    }
    .preview-toggle {
      border: 1px solid #b8c9bb;
      border-radius: 8px;
      background: #fff;
      color: #1b3a2a;
      font-weight: 700;
      padding: 8px 12px;
    }

    .mobile-app-gate {
      display: none;
    }

    @media screen and (max-width: 860px), screen and (pointer: coarse) and (max-width: 1024px) and (orientation: portrait) {
      body.editor-screen-corporate {
        min-height: 100vh;
        background:
          radial-gradient(circle at top right, rgba(180, 214, 161, 0.24), transparent 26%),
          linear-gradient(180deg, #f6fafc 0%, #edf3f8 100%);
      }

      body.editor-screen-corporate .screen-editor-shell,
      body.editor-screen-corporate .image-modal,
      body.editor-screen-corporate .pro-modal,
      body.editor-screen-corporate .guide-modal {
        display: none !important;
      }

      body.editor-screen-corporate .mobile-app-gate {
        min-height: 100vh;
        display: grid;
        place-items: center;
        padding: 24px;
      }

      body.editor-screen-corporate .mobile-app-gate-card {
        width: min(100%, 420px);
        display: grid;
        gap: 16px;
        padding: 28px 24px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(185, 202, 218, 0.5);
        box-shadow: 0 24px 50px rgba(20, 38, 60, 0.08);
        color: #203345;
      }

      body.editor-screen-corporate .mobile-app-gate-kicker {
        display: inline-flex;
        width: fit-content;
        min-height: 34px;
        align-items: center;
        padding: 0 14px;
        border-radius: 999px;
        background: #edf4fb;
        color: #335173;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      body.editor-screen-corporate .mobile-app-gate-card h1 {
        margin: 0;
        font-size: clamp(30px, 8vw, 40px);
        line-height: 0.98;
        letter-spacing: -0.05em;
        color: #172638;
        text-wrap: balance;
      }

      body.editor-screen-corporate .mobile-app-gate-card p {
        margin: 0;
        color: #5f748b;
        font-size: 16px;
        line-height: 1.6;
      }

      body.editor-screen-corporate .mobile-app-gate-actions {
        display: grid;
        gap: 12px;
        margin-top: 4px;
      }

      body.editor-screen-corporate .mobile-app-gate-actions .primary,
      body.editor-screen-corporate .mobile-app-gate-link {
        width: 100%;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        text-decoration: none;
        font-weight: 700;
        font-size: 15px;
      }

      body.editor-screen-corporate .mobile-app-gate-actions .primary {
        border: 1px solid #20456a;
        background: #20456a;
        color: #fff;
      }

      body.editor-screen-corporate .mobile-app-gate-link {
        border: 1px solid #d4e0eb;
        background: #fff;
        color: #335173;
      }

      body.editor-screen-corporate .mobile-app-gate-note {
        color: #7a8ea3;
        font-size: 14px;
      }
    }

    @page {
      margin: 1.5mm;
      size: A3 landscape;
      size: 420mm 297mm;
    }

    @supports (-webkit-appearance: none) {
      @page {
        size: A3 landscape !important;
        margin: 1.5mm !important;
      }
    }

    @-moz-document url-prefix() {
      @page {
        size: A3 landscape !important;
        margin: 1.5mm !important;
      }
    }

    .sheet {
      width: calc(420mm - 3mm);
      min-height: calc(297mm - 3mm);
      margin: 0 auto 12px auto;
      background: #fff;
      border: 1px solid #ccd6ce;
      padding: 1.8mm;
      overflow: hidden;
      position: relative;
    }

    .sheet-1 { page-break-after: always; }
    .sheet-2 {
      page-break-before: auto;
      display: grid;
      grid-template-rows: auto 1fr;
      gap: 4px;
      min-height: 0;
      background: #fff;
    }
    .sheet-3 {
      page-break-before: auto;
      display: grid;
      grid-template-rows: auto 1fr;
      gap: 4px;
      min-height: 0;
      background: #fff;
    }
    .sheet-4 {
      page-break-before: auto;
      display: grid;
      grid-template-rows: auto 1fr;
      gap: 4px;
      min-height: 0;
      background: #fff;
    }
    body.planning-page-off .sheet-3 {
      display: none !important;
    }
    body.budget-page-off .sheet-4 {
      display: none !important;
    }

    .cover {
      height: 100%;
      display: grid;
      grid-template-rows: auto 1fr;
      gap: 8px;
      min-height: 0;
    }
    .cover-header {
      display: grid;
      grid-template-rows: auto auto;
      gap: 8px;
      min-height: 0;
    }

    .cover-top { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
    .cover-date { font-size: 14px; color: #627468; }
    .cover-logo {
      border: 2px solid var(--green);
      border-radius: 12px;
      padding: 10px 12px;
      font-weight: 700;
      color: var(--green);
      max-width: 340px;
    }
    .cover-logo img {
      display: none;
      width: auto;
      height: auto;
      max-width: 100%;
      max-height: 64px;
      object-fit: contain;
    }
    .cover-logo.has-image img {
      display: block;
    }
    .cover-logo.has-image .cover-logo-text {
      display: none;
    }
    .cover-logo:not(.has-image) .cover-logo-text {
      display: block;
    }

    .cover-hero {
      overflow: hidden;
    }

    .cover-hero h1 {
      margin: 0 0 10px 0;
      font-size: 52px;
      line-height: 1;
      letter-spacing: -0.02em;
      color: #1b2537;
    }

    .cover-hero p {
      margin: 0;
      font-size: 20px;
      color: #445266;
      max-width: 80%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .cover-image {
      border: 2px solid #bfc8c1;
      border-radius: 10px;
      overflow: hidden;
      background: #f5f7f5;
      min-height: 520px;
      position: relative;
    }
    .cover-content-frame {
      display: grid;
      grid-template-rows: minmax(0, 1fr) auto;
      gap: 8px;
      min-height: 0;
    }

    .cover-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: none;
    }

    .cover-image.has-image img {
      display: block;
    }

    .cover-image-placeholder {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      text-align: center;
      padding: 16px;
      color: #617067;
      font-size: 15px;
      line-height: 1.35;
      background: linear-gradient(135deg, #f2f7f3 0%, #ffffff 100%);
    }

    .cover-image.has-image .cover-image-placeholder {
      display: none;
    }

    .cover-meta {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .meta-pill {
      border: 1px solid #cde5d6;
      border-radius: 10px;
      padding: 10px;
      background: #f8fdf9;
      font-size: 12px;
      min-height: 68px;
      overflow: hidden;
    }

    .meta-pill strong { display: block; color: #0b6c3a; margin-bottom: 4px; }

    .p2-header {
      display: block;
      margin-bottom: 6px;
    }
    .p2-top {
      display: flex;
      justify-content: space-between;
      align-items: start;
      gap: 10px;
    }
    .p2-hero {
      display: block;
    }
    .p2-meta {
      margin: 0 0 1px 0;
      font-size: 12px;
      color: #6e7783;
      font-weight: 500;
    }
    .p2-title {
      margin: 0;
      font-size: 25px;
      line-height: 1.08;
      color: #1a2230;
      font-weight: 900;
      letter-spacing: -0.01em;
      white-space: normal;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .p2-title.long { font-size: 23px; }
    .p2-title.xlong { font-size: 20px; }
    .p2-date { display: none; }
    .p2-logo {
      display: none;
      max-width: 340px;
    }
    .p2-logo img {
      display: none;
      width: auto;
      height: auto;
      max-width: 100%;
      max-height: 64px;
      object-fit: contain;
    }
    .p2-logo.has-image img {
      display: block;
    }
    .p2-logo.has-image .p2-logo-text {
      display: none;
    }
    .p2-logo:not(.has-image) .p2-logo-text {
      display: block;
    }

    .report-grid {
      display: grid;
      grid-template-rows: minmax(0, 0.34fr) minmax(0, 1.34fr) minmax(0, 0.78fr);
      gap: 3px;
      height: calc(100% - 22px);
      margin: 11px 0;
      min-height: 0;
      overflow: hidden;
      align-content: start;
    }
    .planning-page-grid {
      height: calc(100% - 22px);
      margin: 11px 0;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: minmax(0, 1fr);
      gap: 0;
      align-items: start;
      overflow: hidden;
      align-content: start;
    }
    .budget-page-grid {
      height: calc(100% - 22px);
      margin: 11px 0;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: minmax(0, 1fr);
      gap: 0;
      align-items: start;
      overflow: hidden;
      align-content: start;
    }
    .planning-card {
      min-height: 0;
      height: 100%;
      grid-column: 1;
      grid-row: 1;
    }
    .budget-page-card {
      min-height: 0;
      height: 100%;
      grid-column: 1;
      grid-row: 1;
    }
    .planning-summary {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 6px;
      margin-bottom: 6px;
    }
    .planning-kpi {
      border: 1px solid #d7e0eb;
      background: #f7fafd;
      padding: 4px 6px;
      min-height: 32px;
    }
    .planning-kpi .label {
      font-size: 9px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: #4b5d76;
      font-weight: 700;
      line-height: 1.1;
    }
    .planning-kpi .value {
      display: block;
      margin-top: 2px;
      font-size: 13px;
      color: #1f2b3a;
      font-weight: 800;
      line-height: 1.1;
    }
    .gantt-wrap {
      font-size: 11px;
      line-height: 1.2;
      min-height: 0;
      height: auto;
      overflow: hidden;
      display: grid;
      grid-template-rows: auto auto;
      gap: 5px;
      margin-bottom: 8px;
    }
    .gantt-years-row {
      display: grid;
      grid-template-columns: 21% 79%;
      gap: 6px;
      align-items: center;
      margin-bottom: 2px;
    }
    .gantt-years-row .y-label {
      font-size: 9px;
      color: #42546d;
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 0.02em;
    }
    .gantt-years {
      display: flex;
      gap: 0;
      border-bottom: 1px solid #dbe4ee;
      padding: 0 0 2px 0;
      font-size: 9px;
      color: #42546d;
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 0.02em;
      margin-bottom: 2px;
    }
    .gantt-years span {
      min-width: 0;
      text-align: center;
      border-left: 1px solid #e3eaf2;
      font-weight: 800;
    }
    .gantt-years span:first-child { border-left: 0; }
    .gantt-months-row {
      display: grid;
      grid-template-columns: 21% 79%;
      gap: 6px;
      align-items: center;
      margin-bottom: 2px;
    }
    .gantt-months-row .m-label {
      font-size: 9px;
      color: #42546d;
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 0.02em;
    }
    .gantt-months-grid {
      display: flex;
      gap: 0;
      border-bottom: 1px solid #dbe4ee;
      padding: 0 0 2px 0;
      font-size: 9px;
      color: #42546d;
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 0.02em;
      margin-bottom: 2px;
    }
    .gantt-months-grid span {
      min-width: 0;
      text-align: center;
      border-left: 1px solid #e3eaf2;
    }
    .gantt-months-grid span:first-child { border-left: 0; }
    .gantt-weeks-row {
      display: grid;
      grid-template-columns: 21% 79%;
      gap: 6px;
      align-items: center;
      margin-bottom: 2px;
    }
    .gantt-weeks-row .w-label {
      font-size: 9px;
      color: #42546d;
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 0.02em;
    }
    .gantt-weeks {
      display: flex;
      gap: 0;
      border-bottom: 1px solid #dbe4ee;
      padding: 0 0 2px 0;
      font-size: 8.5px;
      color: #516782;
      font-weight: 700;
      letter-spacing: 0.01em;
      margin-bottom: 2px;
    }
    .gantt-weeks span {
      flex: 1 1 0;
      min-width: 0;
      text-align: center;
      border-left: 1px solid #e3eaf2;
      padding: 0 1px;
      white-space: nowrap;
      font-variant-numeric: tabular-nums;
    }
    .gantt-weeks span:first-child { border-left: 0; }
    .gantt-head {
      display: grid;
      grid-template-columns: 21% 79%;
      gap: 6px;
      border-bottom: 1px solid #dbe4ee;
      padding-bottom: 3px;
      font-size: 10px;
      font-weight: 700;
      color: #30465e;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }
    .gantt-plan-label {
      text-align: left;
      color: #30465e;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }
    .gantt-body {
      min-height: 0;
      overflow: hidden;
      display: grid;
      align-content: start;
      gap: 1px;
    }
    .gantt-row {
      display: grid;
      grid-template-columns: 21% 79%;
      gap: 6px;
      align-items: center;
      min-height: 16px;
    }
    .gantt-label {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: #243546;
      font-size: 10.8px;
    }
    .gantt-track {
      position: relative;
      height: 12px;
      border: 1px solid #d8e2ec;
      background: #f7fafd;
      overflow: hidden;
    }
    .gantt-bar {
      position: absolute;
      top: 1px;
      bottom: 1px;
      border-radius: 2px;
      min-width: 2px;
      background: #8aa3bf;
    }
    .gantt-bar.g { background: #1f9364; }
    .gantt-bar.o { background: #bf7c24; }
    .gantt-bar.r { background: #9e3f45; }
    .gantt-empty {
      color: #5e6f81;
      font-size: 11px;
      padding-top: 4px;
    }
    .gantt-wrap.dense .gantt-row {
      min-height: 14px;
      gap: 3px;
    }
    .gantt-wrap.dense .gantt-body {
      gap: 1px;
    }
    .gantt-wrap.dense .gantt-head {
      font-size: 9px;
      padding-bottom: 2px;
    }
    .gantt-wrap.dense .gantt-label {
      font-size: 9.5px;
      line-height: 1.05;
    }
    .gantt-wrap.dense .gantt-track {
      height: 8px;
    }
    .planning-conclusion {
      border-top: 1px solid #dbe4ee;
      padding-top: 4px;
    }
    .planning-conclusion h4 {
      margin: 0 0 3px 0;
      font-size: 9.4px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: #3f536e;
    }
    .planning-conclusion ul {
      margin: 0;
      padding-left: 14px;
      display: grid;
      gap: 1px;
      font-size: 9.8px;
      color: #25384e;
      line-height: 1.2;
    }
    .planning-conclusion li {
      margin: 0;
    }
    .planning-image-wrap {
      border: 1px solid #d8e2ec;
      background: #f9fcff;
      min-height: 120px;
      display: none;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .planning-image-wrap.show,
    .planning-image-wrap.has-image {
      display: flex;
    }
    .planning-image-wrap .empty-note {
      font-size: 12px;
      color: #5c7090;
      text-align: center;
      padding: 12px;
    }
    .planning-image-wrap img {
      width: 100%;
      height: auto;
      max-height: 100%;
      object-fit: contain;
      display: block;
    }
    .budget-image-wrap {
      border: 1px solid #d8e2ec;
      background: #f9fcff;
      min-height: 120px;
      display: none;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .budget-image-wrap.show,
    .budget-image-wrap.has-image {
      display: flex;
    }
    .budget-image-wrap .empty-note {
      font-size: 12px;
      color: #5c7090;
      text-align: center;
      padding: 12px;
    }
    .budget-image-wrap img {
      width: 100%;
      height: auto;
      max-height: 100%;
      object-fit: contain;
      display: block;
    }

    .cards-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; min-height: 0; align-items: stretch; }
    .cards-row.bottom-row { align-items: stretch; }
    .cards-row.bottom-row .card { grid-template-rows: auto 1fr; }

    .card {
      border: 1px solid #c6d0db;
      border-radius: 0;
      background: #fff;
      padding: 9px;
      display: grid;
      grid-template-rows: auto 1fr;
      overflow: hidden;
      min-height: 0;
      min-width: 0;
      position: relative;
    }
    .card[data-tone="g"] { border-color: #c6d0db; }
    .card[data-tone="o"] { border-color: #c6d0db; }
    .card[data-tone="r"] { border-color: #c6d0db; }

    .card-head {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      margin-bottom: 6px;
      gap: 6px;
      min-height: 22px;
      border-bottom: 1px solid #dde4ed;
      padding-bottom: 4px;
    }

    .card-head h3 {
      margin: 0;
      font-size: 12px;
      color: #1f2b3a;
      font-weight: 700;
      letter-spacing: 0.01em;
      line-height: 1.08;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-transform: uppercase;
    }
    .cards-row.bottom-row .card-head h3 { font-size: 12px; line-height: 1.08; }
    .cards-row.bottom-row .card-head {
      min-height: 24px;
      margin-bottom: 6px;
      padding-bottom: 5px;
    }

    .status-indicator {
      width: auto;
      min-width: 0;
      height: auto;
      border-radius: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      border: none;
      background: transparent;
      padding: 0;
      font-size: 10px;
      color: #1f2937;
      font-weight: 800;
      letter-spacing: 0.02em;
    }
    .status-indicator.g,
    .status-indicator.o,
    .status-indicator.r { color: #1f2937; }
    .status-symbol {
      display: inline;
      font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
      color: currentColor;
      font-weight: 800;
      font-size: 11px;
      line-height: 1;
      font-style: normal;
      letter-spacing: 0;
    }

    .card-content {
      font-size: 11.5px;
      line-height: 1.32;
      overflow: hidden;
      min-height: 0;
      min-width: 0;
    }
    .cards-row:nth-child(2) .card-content {
      line-height: 1.2;
    }
    .cards-row:nth-child(2) .card:first-child .card-content {
      line-height: 1.16;
    }
    .table-card .card-content {
      display: block;
      padding-top: 0;
      margin-top: 0;
    }
    .cards-row.bottom-row .table-card .card-content {
      padding-top: 0;
      margin-top: 0;
    }

    .card-content p { margin: 0 0 5px 0; }
    .card-content ul { margin: 0; padding-left: 14px; }
    .card-content li {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin: 0 0 4px 0;
    }
    .progress-group { margin-bottom: 6px; }
    .status-list { list-style: none; padding-left: 0; margin: 0; }
    .status-list li {
      display: grid;
      grid-template-columns: 12px minmax(0, 1fr);
      gap: 4px;
      align-items: baseline;
      white-space: normal;
      overflow: hidden;
    }
    .status-list li span:last-child {
      display: block;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      line-height: 1.15;
    }
    .status-mark {
      font-size: 10px;
      line-height: 1;
      color: #68766d;
      text-align: center;
      font-weight: 700;
    }
    .status-mark.done { color: #18aa57; }
    .status-mark.doing { color: #df8e14; }
    .status-mark.next { color: #97a3ad; }

    .clamp {
      display: -webkit-box;
      -webkit-line-clamp: 7;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .cards-row:first-child .clamp {
      -webkit-line-clamp: 6;
      line-clamp: 6;
    }

    table {
      width: 100%;
      margin-top: 0;
      border-collapse: collapse;
      font-size: 10.6px;
      line-height: 1.24;
      table-layout: fixed;
      min-width: 0;
    }

    th, td {
      border: 1px solid #dfe5e0;
      padding: 3px 5px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      vertical-align: middle;
      min-width: 0;
    }

    th { background: #e8edf3; color: #223042; text-align: left; }
    .right { text-align: right; }

    .table-card table {
      border: 1px solid #cfdbd3;
      background: #fff;
    }
    .table-card th {
      background: #e8edf3;
      color: #223042;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.02em;
      font-size: 0.9em;
    }
    .table-card tbody tr:nth-child(even) td {
      background: #f7f9fc;
    }
    .table-card td {
      white-space: normal;
      word-break: normal;
      overflow-wrap: anywhere;
      hyphens: auto;
      hyphenate-character: "-";
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .table-card .cell-text {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      line-height: 1.2;
    }
    .table-card .cell-1 { -webkit-line-clamp: 1; }

    .milestone-table td:last-child,
    .kpi-table td:last-child,
    .issue-table td:nth-child(2),
    .risk-table td:nth-child(2),
    .risk-table td:nth-child(3) {
      text-align: center;
      white-space: nowrap;
    }
    .kpi-table th:nth-child(1), .kpi-table td:nth-child(1) { width: 42%; }
    .kpi-table th:nth-child(2), .kpi-table td:nth-child(2) { width: 18%; }
    .kpi-table th:nth-child(3), .kpi-table td:nth-child(3) { width: 18%; }
    .kpi-table th:nth-child(4), .kpi-table td:nth-child(4) { width: 22%; }

    .milestone-table th:nth-child(1), .milestone-table td:nth-child(1) { width: 66%; }
    .milestone-table th:nth-child(2), .milestone-table td:nth-child(2) { width: 18%; }
    .milestone-table th:nth-child(3), .milestone-table td:nth-child(3) { width: 14%; }

    .budget-table th:nth-child(1), .budget-table td:nth-child(1) { width: 48%; }
    .budget-table th:nth-child(2), .budget-table td:nth-child(2) { width: 19%; }
    .budget-table th:nth-child(3), .budget-table td:nth-child(3) { width: 21%; }
    .budget-table th:nth-child(4), .budget-table td:nth-child(4) { width: 12%; }
    .budget-table th:nth-child(4), .budget-table td:nth-child(4) { text-align: right; }

    .issue-table th:nth-child(1), .issue-table td:nth-child(1) { width: 41%; }
    .issue-table th:nth-child(2), .issue-table td:nth-child(2) { width: 18%; }
    .issue-table th:nth-child(3), .issue-table td:nth-child(3) { width: 41%; }

    .risk-table th:nth-child(1), .risk-table td:nth-child(1) { width: 37.5%; }
    .risk-table th:nth-child(2), .risk-table td:nth-child(2) { width: 12%; }
    .risk-table th:nth-child(3), .risk-table td:nth-child(3) { width: 13%; }
    .risk-table th:nth-child(4), .risk-table td:nth-child(4) { width: 37.5%; }

    /* Issue/Risk border model: card owns outer border, tables keep only inner grid lines. */
    .issue-table,
    .risk-table {
      border: none;
      border-collapse: collapse;
      border-spacing: 0;
    }
    .issue-table thead th,
    .issue-table tbody td,
    .risk-table thead th,
    .risk-table tbody td {
      border: 1px solid #d7dde3;
    }
    .issue-table thead th:first-child,
    .issue-table tbody td:first-child,
    .risk-table thead th:first-child,
    .risk-table tbody td:first-child {
      border-left: none;
    }
    .issue-table thead th:last-child,
    .issue-table tbody td:last-child,
    .risk-table thead th:last-child,
    .risk-table tbody td:last-child {
      border-right: none;
    }
    .issue-table thead th,
    .risk-table thead th {
      border-bottom: 2px solid #c6ced6;
    }

    .decision-table th:nth-child(1), .decision-table td:nth-child(1) { width: 84%; }
    .decision-table th:nth-child(2), .decision-table td:nth-child(2) { width: 16%; }
    .decision-table td:nth-child(2),
    .decision-table th:nth-child(2) {
      text-align: center;
      white-space: nowrap;
      padding-left: 2px;
      padding-right: 2px;
      font-size: 0.9em;
    }

    .budget-table tbody tr.total-row td {
      white-space: nowrap;
      overflow: visible;
      text-overflow: clip;
      font-variant-numeric: tabular-nums;
    }

    .issue-table .cell-text {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      line-height: 1.2;
      white-space: normal;
      text-overflow: ellipsis;
    }
    .risk-table td:nth-child(1) .cell-text,
    .risk-table td:nth-child(4) .cell-text {
      display: block;
      line-height: 1.16;
      min-block-size: calc(3 * 1.16em);
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
      word-break: normal;
      overflow-wrap: break-word;
      hyphens: auto;
      -webkit-line-clamp: unset;
      -webkit-box-orient: initial;
    }
    .decision-table .cell-text {
      display: block;
      line-height: 1.2;
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
    }
    .issue-table td:nth-child(1) .cell-text,
    .issue-table td:nth-child(3) .cell-text,
    .decision-table td:nth-child(1) .cell-text {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      overflow: hidden;
      line-height: 1.16;
      min-block-size: calc(3 * 1.16em);
      white-space: normal;
      text-overflow: ellipsis;
    }
    .issue-table td {
      vertical-align: top;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: normal;
      word-break: normal;
      overflow-wrap: anywhere;
      hyphens: auto;
      hyphenate-character: "-";
    }
    .risk-table td {
      vertical-align: top;
      overflow: visible;
      text-overflow: clip;
      white-space: normal;
      word-break: normal;
      overflow-wrap: break-word;
      hyphens: auto;
      hyphenate-character: "-";
    }
    .decision-table td {
      vertical-align: top;
      overflow: visible;
      text-overflow: clip;
      white-space: normal;
      word-break: normal;
      overflow-wrap: anywhere;
      hyphens: auto;
      hyphenate-character: "-";
    }
    .issue-table th,
    .risk-table th,
    .decision-table th {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: clip;
      line-height: 1.08;
      font-size: 0.95em;
      padding-top: 1.8px;
      padding-bottom: 1.8px;
    }
    .cards-row.bottom-row .card-content {
      overflow: hidden;
      display: block;
    }
    .cards-row.bottom-row table {
      height: auto;
      align-self: auto;
    }

    .budget-table tbody tr:nth-child(odd) td {
      background: #fff;
    }
    .budget-table tbody tr:nth-child(even) td {
      background: #f7f9fc;
    }
    .budget-table tbody tr.total-row td {
      background: #e9eeea !important;
      font-weight: 800;
      border-top: 2px solid #8ea296;
      white-space: nowrap;
      overflow: visible;
      text-overflow: clip;
      font-variant-numeric: tabular-nums;
    }

    /* Subtle row-level urgency accents for screen preview: body rows only, no header accents. */
    .issue-table tbody tr.tone-high:not(.no-data-row) td,
    .risk-table tbody tr.tone-high:not(.no-data-row) td,
    .issue-table tbody tr.tone-medium:not(.no-data-row) td,
    .risk-table tbody tr.tone-medium:not(.no-data-row) td,
    .issue-table tbody tr.tone-low:not(.no-data-row) td,
    .risk-table tbody tr.tone-low:not(.no-data-row) td {
      background: #fff;
    }
    .issue-table tbody tr.tone-high:not(.no-data-row):nth-child(even) td,
    .risk-table tbody tr.tone-high:not(.no-data-row):nth-child(even) td,
    .issue-table tbody tr.tone-medium:not(.no-data-row):nth-child(even) td,
    .risk-table tbody tr.tone-medium:not(.no-data-row):nth-child(even) td,
    .issue-table tbody tr.tone-low:not(.no-data-row):nth-child(even) td,
    .risk-table tbody tr.tone-low:not(.no-data-row):nth-child(even) td {
      background: #f7f9fc;
    }

    .level-text {
      font-weight: 650;
      font-size: 0.95em;
      line-height: 1.1;
      display: inline-block;
      white-space: nowrap;
    }
    .level-high { color: #c62828; }
    .level-medium { color: #b26d00; }
    .level-low { color: #1f7f48; }

    .status-dot-inline {
      display: inline-flex;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #bbb;
      vertical-align: middle;
      align-items: center;
      justify-content: center;
    }
    .status-dot-inline.g { background: var(--green); }
    .status-dot-inline.o { background: var(--orange); }
    .status-dot-inline.r { background: var(--red); }
    .status-dot-inline .status-symbol {
      display: none;
      font-size: 8px;
      color: #111;
      font-weight: 700;
      line-height: 1;
    }
    .mono-status {
      font-weight: 700;
      color: #222;
      font-size: 0.82em;
      white-space: nowrap;
    }
    .percent-badge {
      display: inline-block;
      min-width: 34px;
      text-align: center;
      border-radius: 999px;
      font-weight: 800;
      font-size: 0.92em;
      color: #fff;
      padding: 1px 6px;
      line-height: 1.2;
    }
    .percent-badge.g { background: #0b9d52; }
    .percent-badge.o { background: #e88a00; }
    .percent-badge.r { background: #d62828; }
    .budget-status-text {
      font-weight: 600;
      color: #1f2937;
      font-size: 0.95em;
      white-space: nowrap;
    }
    .budget-note {
      margin: 0 0 5px 0;
      font-size: 0.98em;
      line-height: 1.24;
      color: #30473a;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 10;
      overflow: hidden;
    }
    #vBudgetPageNote {
      -webkit-line-clamp: 20;
    }
    .budget-page-section-title {
      margin: 0 0 4px 0;
      font-size: 9.8px;
      line-height: 1.1;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      font-weight: 700;
      color: #455a73;
    }
    .budget-page-divider {
      border-top: 1px solid #dbe4ee;
      margin: 6px 0 5px;
    }

    .badge {
      display: inline-block;
      border-radius: 999px;
      color: #fff;
      font-size: 9px;
      min-width: 42px;
      text-align: center;
      font-weight: 700;
      padding: 1px 5px;
    }

    .bg-g { background: var(--green); }
    .bg-o { background: var(--orange); }
    .bg-r { background: var(--red); }

    .sheet-note {
      position: absolute;
      right: 10mm;
      bottom: 8mm;
      font-size: 10px;
      color: #6a766e;
    }
    .sheet-credit {
      position: absolute;
      right: 2.4mm;
      bottom: 1.8mm;
      font-size: 7px;
      color: #8d97a5;
      letter-spacing: 0.01em;
    }

    @media screen {
      html, body {
        font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
      }
      body {
        background: linear-gradient(180deg, var(--ui-bg-alt) 0%, var(--ui-bg) 100%);
        color: var(--ui-text-primary);
      }
      h1, h2, h3, legend, .panel .head, .menu-title, .group-title {
        font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
      }

      .topbar {
        background: linear-gradient(180deg, #0f2744 0%, #17345a 100%);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-top: 0;
        border-radius: 0 0 var(--r-5) var(--r-5);
        box-shadow: var(--sh-3);
        height: auto;
        min-height: 64px;
        padding: 12px 18px;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: var(--sp-3);
        max-width: var(--app-max);
      }
      .topbar .left,
      .topbar .right {
        gap: var(--sp-3);
        align-items: center;
      }
      .topbar .left {
        flex-wrap: nowrap;
      }
      .toolbar-group {
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: var(--r-3);
        background: rgba(255, 255, 255, 0.12);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
        min-height: var(--ctl-lg);
        padding: 7px 10px;
      }
      .toolbar-group.file-group {
        min-width: 430px;
      }
      .group-title {
        font-size: 11px;
        font-weight: 800;
        color: var(--ui-text-inverse);
        letter-spacing: 0.05em;
        text-transform: uppercase;
        border-right-color: rgba(245, 249, 255, 0.28);
      }
      .file-hint {
        font-size: 12px;
        color: rgba(245, 249, 255, 0.82);
      }
      .topbar details.advanced {
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: var(--r-3);
        background: rgba(255, 255, 255, 0.1);
        min-height: var(--ctl-md);
      }
      .topbar details.advanced summary {
        color: var(--ui-text-inverse);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.05em;
      }
      .topbar .advanced-content {
        border-top-color: rgba(245, 249, 255, 0.22);
      }
      .toolbar-field {
        height: var(--ctl-md);
        min-height: var(--ctl-md);
        border: 1px solid #b7c9df;
        border-radius: var(--r-2);
        background: var(--ui-surface);
        color: var(--ui-text-secondary);
      }
      .toolbar-field select {
        height: 30px;
      }

      .topbar button {
        height: var(--ctl-md);
        min-height: var(--ctl-md);
        border-radius: var(--r-2);
        border: 1px solid transparent;
        padding: 0 14px;
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
      }
      .topbar #btnPrint {
        height: var(--ctl-lg);
        min-height: var(--ctl-lg);
        background: var(--ui-surface);
        border-color: #c6d7ea;
        color: var(--ui-accent);
        font-weight: 800;
        min-width: 138px;
      }
      .topbar #btnPrint:hover {
        background: #f2f7ff;
        border-color: #9cb5d5;
      }
      .topbar #btnSample,
      .topbar #btnExport,
      .topbar #btnImport {
        height: var(--ctl-md);
        min-height: var(--ctl-md);
        background: rgba(255, 255, 255, 0.94);
        border-color: #bfd0e4;
        color: var(--ui-accent);
      }
      .topbar #btnStressTest,
      .topbar #btnReset {
        height: var(--ctl-md);
        min-height: var(--ctl-md);
        background: rgba(255, 255, 255, 0.86);
        border-color: #cfd9e7;
        color: #2f4664;
      }
      .topbar #btnReset {
        color: #6f3a3a;
      }
      .topbar button:hover {
        transform: none;
        box-shadow: none;
      }

      .app {
        max-width: var(--app-max);
        margin: 0 auto;
        padding: var(--sp-5) 18px;
        gap: var(--sp-5);
      }
      .form-panel {
        max-width: var(--editor-max);
        width: 100%;
      }
      .panel {
        border: 1px solid var(--ui-border);
        border-radius: var(--r-4);
        box-shadow: var(--sh-1);
      }
      .panel .head {
        padding: 16px 20px;
        border-bottom: 1px solid var(--ui-divider);
        font-size: 20px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0;
        color: var(--ui-text-primary);
        background: var(--ui-surface-2);
      }
      .form-wrap {
        background: var(--ui-bg-alt);
        padding: var(--sp-6);
        max-height: calc(100vh - 132px);
      }
      .editor-form {
        gap: var(--sp-4);
      }
      .editor-shell {
        grid-template-columns: minmax(0, 1fr) var(--nav-w);
        gap: var(--sp-5);
      }

      .section-menu {
        background: var(--ui-nav-bg);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: var(--r-4);
        box-shadow: var(--sh-2);
        padding: 12px;
        gap: 8px;
        top: 76px;
      }
      .menu-title {
        color: rgba(245, 249, 255, 0.95);
        border-bottom-color: rgba(245, 249, 255, 0.22);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
      }
      .menu-btn {
        height: 41px;
        min-height: 41px;
        padding: 10px 12px;
        border-radius: var(--r-2);
        border: 1px solid rgba(245, 249, 255, 0.26);
        background: rgba(245, 249, 255, 0.08);
        color: rgba(245, 249, 255, 0.96);
        font-size: 14px;
        font-weight: 600;
      }
      .menu-btn:hover {
        background: rgba(245, 249, 255, 0.16);
        border-color: rgba(245, 249, 255, 0.5);
      }
      .menu-btn.active {
        background: var(--ui-surface);
        color: var(--ui-text-primary);
        border-color: #d7e3f2;
        box-shadow: inset 4px 0 0 var(--ui-accent), var(--sh-1);
      }
      .menu-btn:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(31, 75, 122, 0.25);
      }
      .editor-main {
        max-width: var(--content-max);
      }
      .input-block-grid {
        gap: var(--sp-4);
      }

      .form-intro {
        border: 1px solid var(--ui-border);
        border-radius: var(--r-4);
        background: var(--ui-surface);
        padding: 16px 18px;
        box-shadow: var(--sh-1);
      }
      .form-intro h3 {
        margin: 0 0 8px 0;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.2;
        color: var(--ui-text-primary);
      }
      .form-intro p {
        margin: 0;
        font-size: 13px;
        line-height: 1.55;
        color: var(--ui-text-secondary);
      }

      .editor-mode-switch {
        border: 1px solid var(--ui-border);
        border-radius: var(--r-4);
        background: var(--ui-surface);
        box-shadow: var(--sh-1);
        padding: 14px 16px;
        display: grid;
        gap: 10px;
      }
      .mode-switch-head h3 {
        margin: 0 0 3px;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.25;
        color: var(--ui-text-primary);
      }
      .mode-switch-head p {
        margin: 0;
        font-size: 12px;
        line-height: 1.45;
        color: var(--ui-text-secondary);
      }
      .mode-switch-options {
        display: inline-flex;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
      }
      .mode-option {
        margin: 0;
        min-height: 42px;
        border: 1px solid var(--ui-border);
        border-radius: 999px;
        padding: 7px 14px;
        background: var(--ui-surface-2);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--ui-text-primary);
        font-size: 13px;
        line-height: 1.2;
        cursor: pointer;
      }
      .mode-option input[type="radio"] {
        width: 16px;
        height: 16px;
        margin: 0;
        accent-color: var(--ui-accent);
      }
      .mode-option:has(input:checked) {
        border-color: #9cb5d5;
        background: var(--ui-accent-soft);
        box-shadow: inset 0 0 0 1px rgba(31, 75, 122, 0.12);
      }

      .guided-shell {
        border: 1px solid var(--ui-border);
        border-radius: var(--r-4);
        background: var(--ui-surface);
        box-shadow: var(--sh-1);
        padding: 14px 16px;
        margin-bottom: 12px;
        display: grid;
        gap: 10px;
      }
      .guided-step-meta {
        display: grid;
        gap: 0;
      }
      .guided-step-topline {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        font-size: 12px;
        line-height: 1.3;
        color: var(--ui-text-secondary);
      }
      .guided-footer {
        margin-top: 12px;
        border: 1px solid var(--ui-border);
        border-radius: var(--r-3);
        background: var(--ui-surface-2);
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
      }
      .guided-footer button {
        min-width: 110px;
      }

      body.editor-mode-guided .guided-final-step .guided-final-actions {
        margin: 10px 0;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
      }

      fieldset {
        border: 1px solid var(--ui-border);
        border-top: 1px solid var(--ui-border-strong);
        border-radius: var(--r-4);
        background: var(--ui-surface);
        padding: 18px;
        box-shadow: var(--sh-1);
      }
      .form-section {
        scroll-margin-top: 92px;
      }
      .form-section:hover {
        box-shadow: var(--sh-2);
      }
      legend {
        padding: 0 6px;
        margin-left: 2px;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--ui-text-primary);
      }
      .section-subline {
        margin: 0 0 12px 0;
        color: var(--ui-text-secondary);
        font-size: 13px;
        line-height: 1.5;
      }
      label {
        margin-bottom: 12px;
        gap: 6px;
        font-size: 13px;
        line-height: 1.5;
        color: var(--ui-text-secondary);
      }
      .field-caption {
        font-size: 11px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--ui-text-secondary);
      }
      .small,
      .hint {
        font-size: 12px;
        line-height: 1.45;
        color: var(--ui-text-secondary);
      }

      input, textarea, select {
        border: 1px solid #b8cbe2;
        border-radius: 11px;
        padding: 10px 12px;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.45;
        color: var(--ui-text-primary);
        background: #fcfdff;
      }
      input, select {
        min-height: var(--ctl-lg);
      }
      textarea {
        min-height: 110px;
        resize: vertical;
      }
      input::placeholder,
      textarea::placeholder {
        color: #8a98ab;
      }
      input:focus,
      textarea:focus,
      select:focus {
        outline: none;
        border-color: #4a76ab;
        box-shadow: 0 0 0 3px rgba(74, 118, 171, 0.18);
      }
      input[readonly], textarea[readonly], select[readonly] {
        background: #f3f6fa;
        border-color: #d3dde9;
        color: var(--ui-text-tertiary);
        cursor: default;
      }
      input:disabled, textarea:disabled, select:disabled {
        background: #f3f6fa;
        border-color: #d3dde9;
        color: var(--ui-text-tertiary);
        cursor: not-allowed;
      }

      .field-control > input,
      .field-control > textarea {
        padding-right: 38px;
      }
      .field-control > input[type="date"] {
        padding-right: 68px;
      }
      .field-clear-btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
        border-radius: var(--r-1);
        border: 1px solid #b6c7dd;
        color: #3f5a7d;
        background: var(--ui-surface);
      }
      .field-clear-btn:hover {
        border-color: #93acc8;
        color: #234064;
      }

      button {
        border: 1px solid #c0cee0;
        border-radius: var(--r-2);
        background: var(--ui-surface);
        color: var(--ui-text-primary);
        font-size: 14px;
        font-weight: 700;
        min-height: var(--ctl-md);
        padding: 0 14px;
      }
      button:hover {
        background: #f4f8ff;
        border-color: #9cb5d5;
      }
      button.primary {
        min-height: var(--ctl-lg);
        background: var(--ui-accent);
        border-color: var(--ui-accent);
        color: var(--ui-text-inverse);
        box-shadow: none;
      }
      button.primary:hover {
        background: var(--ui-accent-hover);
        border-color: var(--ui-accent-hover);
      }
      .section-clear,
      #btnClearHeroFile,
      #btnClearPlanningFile,
      #btnClearBudgetFile,
      .preview-link-btn,
      .matrix-add,
      .progress-add {
        min-height: var(--ctl-md);
        border-color: #b8cbe2;
        color: var(--ui-accent);
        background: var(--ui-surface);
      }
      #btnReset {
        color: #6f3a3a;
      }
      .section-clear {
        top: 12px;
        right: 12px;
      }

      .section-status-inline {
        margin: 0 120px 14px 0;
        align-items: center;
        gap: 8px;
        color: var(--ui-text-secondary);
        font-size: 13px;
      }
      .section-status-inline.no-offset {
        margin: 0;
      }
      .section-status-inline select {
        width: 176px;
        min-height: var(--ctl-lg);
      }
      .planning-top-controls {
        gap: 10px 12px;
        margin-bottom: 10px;
      }
      .planning-toggle-group {
        min-height: var(--ctl-lg);
        border: 1px solid var(--ui-border);
        border-radius: var(--r-3);
        background: var(--ui-surface-2);
        padding: 7px 10px;
        color: var(--ui-text-secondary);
      }
      .planning-toggle-group label {
        margin: 0;
        font-size: 13px;
        color: var(--ui-text-primary);
      }
      .planning-toggle-group input[type="radio"] {
        width: 16px;
        height: 16px;
      }
      .radio-inline {
        gap: 8px 12px;
        margin: 6px 0 10px;
      }
      .radio-inline label {
        margin: 0;
        min-height: 40px;
        padding: 7px 12px;
        border: 1px solid var(--ui-border);
        border-radius: 999px;
        background: var(--ui-surface-2);
        color: var(--ui-text-primary);
      }
      .radio-inline input[type="radio"] {
        width: 16px;
        height: 16px;
      }

      .upload-actions {
        margin-top: 8px;
        border: 1px solid #ccdcec;
        border-radius: var(--r-3);
        background: #f7fbff;
        padding: 12px;
      }
      .paste-zone {
        min-height: var(--ctl-lg);
        border: 1px dashed #a8c0de;
        border-radius: var(--r-2);
        background: #f6faff;
        color: #2b4d75;
        font-size: 12px;
      }
      .upload-status {
        font-size: 12px;
        color: #2b5c40;
      }
      .preview-link-btn {
        font-size: 13px;
        text-decoration: none;
      }

      .matrix,
      .progress-input-table,
      .budget-total-input {
        border: 1px solid var(--ui-border);
        border-radius: var(--r-3);
        background: var(--ui-surface);
        box-shadow: none;
      }
      .matrix .row,
      .progress-input-head,
      .progress-input-row {
        border-bottom: 1px solid #e6edf7;
      }
      .matrix .row.matrix-data-row:nth-child(even) > input,
      .matrix .row.matrix-data-row:nth-child(even) > select,
      .progress-input-row:nth-child(even) > input,
      .progress-input-row:nth-child(even) > select {
        background: #fbfdff;
      }
      .matrix .row.head-row input,
      .progress-input-head span {
        background: #eef4fb;
        color: #2a4c74;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0.03em;
        text-transform: uppercase;
      }
      .matrix .row > input,
      .matrix .row > select,
      .progress-input-row input,
      .progress-input-row select,
      .budget-total-row input {
        min-height: 40px;
        height: 40px;
        padding: 9px 10px;
        font-size: 14px;
        font-variant-numeric: tabular-nums;
        border-right-color: #e6edf7;
      }
      .matrix-remove,
      .progress-remove {
        min-height: 40px;
        border-left-color: #e6edf7;
        color: var(--ui-text-secondary);
      }
      .matrix-remove:hover,
      .progress-remove:hover {
        background: #f3f7fd;
        color: var(--ui-text-primary);
      }
      .matrix-toolbar,
      .progress-toolbar {
        margin-top: 10px;
      }

      .mobile-print-warning .warning-card {
        border: 1px solid #e7d7a8;
        background: #fffaf0;
        border-radius: var(--r-3);
      }
      .mobile-print-warning .warning-text {
        font-size: 12px;
      }
      .mobile-print-warning .warning-close {
        min-height: var(--ctl-sm);
      }
    }

    @media print {
      :root {
        --p2-content-height: calc(100% - 22mm);
        --p2-content-margin-y: 11mm;
        --p2-content-margin-top: calc(var(--p2-content-margin-y) * 0.80);
        --p2-content-margin-bottom: calc(var(--p2-content-margin-y) * 1.20);
        --p2-header-gap: 1.2mm;
        --print-title-top-bump: 10mm; /* duidelijke top-witruimte boven titel, met ondercompensatie */
        --print-card-radius: 1.6mm;
        --print-table-line: #d6dee8;
        --print-table-head: #eaf0f5;
      }

      body.pro-demo-watermark .sheet::after,
      body.pro-demo-watermark .sheet::before {
        content: none;
      }

      body.pro-demo-watermark .sheet-1::after {
        content: "DEMO";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-19deg);
        font-size: 44mm;
        line-height: 1;
        font-weight: 800;
        letter-spacing: 0.16em;
        color: rgba(42, 73, 113, 0.08);
        pointer-events: none;
        z-index: 20;
      }

      body.pro-demo-watermark .sheet-2::before,
      body.pro-demo-watermark .sheet-3::before,
      body.pro-demo-watermark .sheet-4::before {
        content: "VGR demo - activeer Pro voor een watermark-vrije PDF";
        position: absolute;
        right: 10mm;
        bottom: 8mm;
        padding: 2mm 3.2mm;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.84);
        border: 0.2mm solid rgba(42, 73, 113, 0.18);
        color: rgba(42, 73, 113, 0.76);
        font-size: 3.2mm;
        font-weight: 700;
        letter-spacing: 0.02em;
        z-index: 21;
      }

      html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        background: #fff;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
      }

      .topbar,
      .topbar-toast,
      .documentbar,
      .mobile-print-warning,
      .editor-recovery-notice,
      .editor-view,
      #guidedShell,
      #guidedFooter,
      #screenPreviewAnchor,
      .panel.form-panel,
      .panel.preview-panel > .head {
        display: none !important;
      }
      .preview-toggle { display: none !important; }
      .screen-editor-shell {
        min-height: 0 !important;
        padding: 0 !important;
        background: #fff !important;
      }
      .app {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
      }
      .report-view {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
      }
      .panel.preview-panel {
        display: block !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
        background: #fff !important;
      }
      .preview-wrap {
        max-height: none !important;
        min-height: 0 !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
      }

      .sheet {
        width: 100%;
        height: calc(297mm - 3mm);
        min-height: calc(297mm - 3mm);
        max-height: calc(297mm - 3mm);
        border: none;
        margin: 0 auto;
        padding: 1.2mm;
        box-sizing: border-box;
        break-inside: avoid;
        page-break-inside: avoid;
        overflow: hidden;
      }

      .sheet-1 { break-after: page; page-break-after: always; }
      .sheet-2 {
        break-before: auto;
        page-break-before: auto;
        break-after: page;
        page-break-after: always;
        gap: 0.8mm;
      }
      .sheet-3 {
        break-before: auto;
        page-break-before: auto;
        gap: 0.8mm;
      }
      .sheet-4 {
        break-before: auto;
        page-break-before: auto;
        gap: 0.8mm;
      }
      body.budget-page-on .sheet-3 {
        break-after: page;
        page-break-after: always;
      }
      body.budget-page-off .sheet-3 {
        break-after: auto;
        page-break-after: auto;
      }
      .sheet-note {
        left: 3.2mm;
        right: auto;
        bottom: 1.8mm;
        font-size: 7px;
        color: #8d97a5;
        letter-spacing: 0.01em;
        display: block !important;
      }
      .sheet-credit {
        right: 3.2mm;
        bottom: 1.8mm;
      }

      .p2-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        column-gap: 6mm;
        row-gap: 0;
        align-items: start;
        padding-top: var(--print-title-top-bump);
        margin-bottom: calc(var(--p2-header-gap) - var(--print-title-top-bump));
      }
      .p2-meta {
        grid-column: 1;
        grid-row: 2;
        font-size: 3.4mm;
        line-height: 1;
        margin: -1.1mm 0 0 0;
      }
      .p2-title {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
      }
      .p2-date {
        display: none !important;
      }
      .p2-logo {
        display: block;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: start;
        border: none !important;
        border-radius: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
      }
      .p2-logo .p2-logo-text {
        border: none !important;
        background: transparent !important;
        padding: 0;
        margin: 0;
      }
      .p2-logo.has-image img {
        max-height: 19.2mm;
        max-width: 64mm;
      }
      .p2-title {
        font-size: 7.7mm;
        line-height: 1.08;
      }
      .p2-title.long { font-size: 7.2mm; }
      .p2-title.xlong { font-size: 6.8mm; }

      .card,
      .meta-pill,
      .planning-kpi,
      .planning-image-wrap,
      .budget-image-wrap,
      .table-card table {
        border-radius: var(--print-card-radius);
      }

      .report-grid {
        height: var(--p2-content-height);
        margin: var(--p2-content-margin-top) 0 var(--p2-content-margin-bottom) 0;
        grid-template-rows: minmax(0, 0.2142fr) minmax(0, 0.6035985fr) minmax(0, 0.2882015fr);
        gap: 0.8mm;
        overflow: hidden;
        align-content: start;
      }
      .sheet-1 .cover {
        grid-template-rows: auto 1fr;
        gap: 0;
      }
      .sheet-1 .cover-header,
      .sheet-2 .p2-header,
      .sheet-3 .p2-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto;
        column-gap: 6mm;
        row-gap: 0;
        align-items: start;
        padding-top: var(--print-title-top-bump);
        margin-bottom: calc(var(--p2-header-gap) - var(--print-title-top-bump));
      }
      .sheet-1 .cover-top,
      .sheet-2 .p2-top,
      .sheet-3 .p2-top {
        display: contents;
      }
      .sheet-1 .cover-date,
      .sheet-2 .p2-date,
      .sheet-3 .p2-date {
        display: none !important;
        grid-column: 1;
        grid-row: 1;
        align-self: start;
      }
      .sheet-1 .cover-hero,
      .sheet-2 .p2-hero,
      .sheet-3 .p2-hero {
        grid-column: 1;
        grid-row: 1;
      }
      .sheet-1 .cover-logo,
      .sheet-2 .p2-logo,
      .sheet-3 .p2-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: start;
      }
      .sheet-1 .cover-logo,
      .sheet-2 .p2-logo,
      .sheet-3 .p2-logo {
        border: none !important;
        border-radius: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
      }
      .sheet-1 .cover-logo .cover-logo-text,
      .sheet-2 .p2-logo .p2-logo-text,
      .sheet-3 .p2-logo .p2-logo-text {
        border: none !important;
        background: transparent !important;
        padding: 0;
        margin: 0;
      }
      .sheet-1 .cover-logo.has-image img,
      .sheet-2 .p2-logo.has-image img,
      .sheet-3 .p2-logo.has-image img {
        max-height: 19.2mm; /* 20% smaller to reduce tall uploaded logos */
        max-width: 64mm;
      }
      .sheet-1 .cover-hero h1,
      .sheet-2 .p2-hero .p2-title,
      .sheet-3 .p2-hero .p2-title {
        font-size: 7.7mm;
        line-height: 1.08;
        margin: 0 0 1.2mm 0;
      }
      .sheet-2 .p2-hero .p2-title.long,
      .sheet-3 .p2-hero .p2-title.long {
        font-size: 7.2mm;
      }
      .sheet-2 .p2-hero .p2-title.xlong,
      .sheet-3 .p2-hero .p2-title.xlong {
        font-size: 6.8mm;
      }
      .sheet-1 .cover-hero p,
      .sheet-2 .p2-hero .p2-meta,
      .sheet-3 .p2-hero .p2-meta {
        font-size: 3.8mm;
        line-height: 1.08;
        margin: 0;
        max-width: 100%;
        color: #445266;
        font-weight: 400;
      }
      .sheet-1 .cover-content-frame {
        height: var(--p2-content-height);
        margin: var(--p2-content-margin-top) 0 var(--p2-content-margin-bottom) 0;
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 0.7mm;
        min-height: 0;
      }
      .sheet-1 .cover-image {
        min-height: 0;
      }
      .sheet-1 .cover-meta {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        border: 0.16mm solid rgba(55, 74, 98, 0.11);
        border-radius: 2.1mm;
        background: linear-gradient(180deg, rgba(253, 254, 255, 0.98) 0%, rgba(247, 249, 252, 0.98) 100%);
        box-shadow: inset 0 0.22mm 0 rgba(255, 255, 255, 0.88);
        overflow: hidden;
      }
      .sheet-1 .cover-meta .meta-pill {
        min-height: 14.2mm;
        padding: 2.25mm 3.2mm 2.4mm;
        border: 0;
        border-right: 0.18mm solid rgba(55, 74, 98, 0.1);
        border-radius: 0;
        background: transparent;
        font-size: 3.0mm;
        line-height: 1.3;
        box-shadow: none;
      }
      .sheet-1 .cover-meta .meta-pill:last-child {
        border-right: 0;
      }
      .sheet-1 .cover-meta .meta-pill strong {
        margin-bottom: 0.8mm;
        color: #748599;
        font-size: 2.15mm;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
      }
      .sheet-1 .cover-meta .meta-pill span {
        display: block;
        color: #223446;
        font-weight: 580;
        line-height: 1.24;
        overflow-wrap: anywhere;
      }
      .cards-row.bottom-row,
      .cards-row.bottom-row .card {
        break-inside: avoid;
        page-break-inside: avoid;
      }
      .cards-row.bottom-row .card-content {
        overflow: hidden;
      }
      .planning-page-grid {
        height: var(--p2-content-height);
        margin: var(--p2-content-margin-top) 0 var(--p2-content-margin-bottom) 0;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr);
        gap: 0;
      }
      .budget-page-grid {
        height: var(--p2-content-height);
        margin: var(--p2-content-margin-top) 0 var(--p2-content-margin-bottom) 0;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr);
        gap: 0;
      }
      .planning-card { height: 100%; grid-column: 1; grid-row: 1; }
      .budget-page-card { height: 100%; grid-column: 1; grid-row: 1; }
      .planning-summary { gap: 1mm; margin-bottom: 0.8mm; }
      .planning-kpi { min-height: 8.5mm; padding: 0.8mm 1.1mm; }
      .planning-kpi .label { font-size: 2.4mm; }
      .planning-kpi .value { font-size: 3.9mm; }
      .gantt-wrap.dense .gantt-row { min-height: 9.45mm; gap: 1.1mm; }
      .gantt-wrap.dense .gantt-body { gap: 1px; }
      .gantt-wrap.dense .gantt-head { font-size: 3.45mm; padding-bottom: 0.7mm; }
      .gantt-wrap.dense .gantt-label { font-size: 4.0mm; }
      .gantt-wrap.dense .gantt-track { height: 6.9mm; }
      .gantt-years-row { gap: 0.9mm; margin-bottom: 0.3mm; }
      .gantt-years-row .y-label { font-size: 2.3mm; }
      .gantt-years { font-size: 2.3mm; padding-bottom: 0.3mm; margin-bottom: 0; }
      .gantt-months-row { gap: 0.9mm; margin-bottom: 0.3mm; }
      .gantt-months-row .m-label { font-size: 2.2mm; }
      .gantt-months-grid { font-size: 2.2mm; padding-bottom: 0.3mm; margin-bottom: 0; }
      .gantt-weeks-row { gap: 0.9mm; margin-bottom: 0.3mm; }
      .gantt-weeks-row .w-label { font-size: 2.2mm; }
      .gantt-weeks { font-size: 2.0mm; padding-bottom: 0.3mm; margin-bottom: 0; }
      .gantt-wrap { font-size: 4.15mm; gap: 1.1mm; }
      .gantt-head { font-size: 3.45mm; padding-bottom: 0.7mm; }
      .gantt-row { min-height: 9.45mm; gap: 1.1mm; }
      .planning-conclusion { padding-top: 1mm; }
      .planning-conclusion h4 { font-size: 2.5mm; margin-bottom: 0.5mm; }
      .planning-conclusion ul { font-size: 2.8mm; gap: 0.4mm; }
      .gantt-track { height: 6.9mm; }
      .gantt-label { font-size: 4.0mm; }
      .cards-row {
        gap: 1.28mm;
        min-height: 0;
      }
      .report-grid {
        gap: 1.1mm;
      }
      .card {
        padding: 1.6mm;
        border-width: 0.22mm;
        border-color: rgba(86, 106, 128, 0.2);
        background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(250,252,254,1) 100%);
      }
      .sheet-2 .card[data-tone="o"] {
        border-color: rgba(168, 115, 36, 0.34);
      }
      .sheet-2 .card[data-tone="r"] {
        border-color: rgba(164, 69, 69, 0.34);
      }
      .card-head {
        margin-bottom: 1.34mm;
        padding-bottom: 0.92mm;
        border-bottom-color: rgba(115, 136, 159, 0.16);
      }
      .card-head h3,
      .cards-row.bottom-row .card-head h3 {
        font-size: 5.58mm;
        line-height: 1.06;
        font-weight: 665;
        letter-spacing: 0.014em;
        color: #23374d;
      }
      .status-indicator {
        min-height: 5.8mm;
        padding: 0.8mm 1.7mm 0.7mm;
        border: 0.2mm solid rgba(86, 106, 128, 0.18);
        border-radius: 999px;
        background: rgba(248, 250, 253, 0.92);
        font-size: 2.65mm;
        font-weight: 760;
        line-height: 1;
        letter-spacing: 0.04em;
        color: #415469;
      }
      .status-indicator.g {
        border-color: rgba(53, 112, 74, 0.18);
        color: #2f6c43;
        background: rgba(241, 248, 244, 0.95);
      }
      .status-indicator.o {
        border-color: rgba(168, 115, 36, 0.18);
        color: #996525;
        background: rgba(253, 248, 240, 0.95);
      }
      .status-indicator.r {
        border-color: rgba(164, 69, 69, 0.18);
        color: #944848;
        background: rgba(252, 243, 243, 0.95);
      }
      .status-symbol {
        font-size: 2.75mm;
        font-weight: 800;
        letter-spacing: 0.03em;
      }
      .card-content {
        font-size: 4.18mm;
        line-height: 1.26;
        color: #28384a;
      }
      .cards-row:nth-child(2) .card-content {
        font-size: 3.95mm;
        line-height: 1.18;
      }
      .cards-row:nth-child(2) .card:first-child .card-content {
        font-size: 3.95mm;
        line-height: 1.18;
      }
      .cards-row:nth-child(2) .status-list li {
        margin: 0 0 0.16mm 0;
      }
      .cards-row:nth-child(2) .progress-group {
        margin-bottom: 0.72mm;
      }
      .cards-row:nth-child(2) .progress-group:last-child {
        margin-bottom: 0;
      }
      .cards-row:nth-child(2) .progress-group > p {
        margin: 0 0 0.24mm 0;
        line-height: 1.1;
      }
      .status-list li {
        grid-template-columns: 3.4mm minmax(0, 1fr);
        gap: 0.62mm;
      }
      .status-list li span:last-child {
        line-height: 1.11;
      }
      .status-mark {
        font-size: 3.5mm;
        line-height: 0.95;
      }
      table {
        font-size: 3.85mm;
        line-height: 1.16;
      }
      .cards-row:nth-child(2) table {
        font-size: 4.05mm;
      }
      .sheet-2 .table-card {
        padding-left: 0;
        padding-right: 0;
      }
      .sheet-2 .table-card .card-head {
        padding-left: 1.6mm;
        padding-right: 1.6mm;
      }
      .sheet-2 .table-card > .card-content {
        padding-left: 0.28mm;
        padding-right: 0.28mm;
      }
      .sheet-2 .table-card table {
        border-left: none;
        border-right: none;
      }
      th, td {
        padding: 1.0mm 0.92mm;
        border-color: var(--print-table-line);
      }
      .table-card th {
        background: var(--print-table-head);
        border-color: var(--print-table-line);
        font-weight: 630;
        letter-spacing: 0.011em;
        color: #506176;
        padding-top: 0.92mm;
        padding-bottom: 0.86mm;
      }
      .table-card td {
        border-color: var(--print-table-line);
      }
      .sheet-2 .table-card thead th:first-child,
      .sheet-2 .table-card tbody td:first-child {
        border-left: none;
      }
      .sheet-2 .table-card thead th:last-child,
      .sheet-2 .table-card tbody td:last-child {
        border-right: none;
      }
      .sheet-2 #vBudgetNote {
        margin: 1.1mm 1.6mm 0;
      }
      .table-card tbody tr:nth-child(even) td {
        background: #f7f9fc;
      }

      .issue-table th:nth-child(1), .issue-table td:nth-child(1) { width: 43%; }
      .issue-table th:nth-child(2), .issue-table td:nth-child(2) { width: 14%; }
      .issue-table th:nth-child(3), .issue-table td:nth-child(3) { width: 43%; }
      .budget-table th:nth-child(4), .budget-table td:nth-child(4) { text-align: right; }
      .risk-table th:nth-child(1), .risk-table td:nth-child(1) { width: 37.5%; }
      .risk-table th:nth-child(2), .risk-table td:nth-child(2) { width: 12%; }
      .risk-table th:nth-child(3), .risk-table td:nth-child(3) { width: 13%; }
      .risk-table th:nth-child(4), .risk-table td:nth-child(4) { width: 37.5%; }
      .issue-table,
      .risk-table {
        border: none;
        border-collapse: collapse;
        border-spacing: 0;
      }
      .issue-table thead th,
      .issue-table tbody td,
      .risk-table thead th,
      .risk-table tbody td {
        border: 1px solid #d7dde3;
      }
      .issue-table thead th:first-child,
      .issue-table tbody td:first-child,
      .risk-table thead th:first-child,
      .risk-table tbody td:first-child {
        border-left: none;
      }
      .issue-table thead th:last-child,
      .issue-table tbody td:last-child,
      .risk-table thead th:last-child,
      .risk-table tbody td:last-child {
        border-right: none;
      }
      .issue-table thead th,
      .risk-table thead th {
        border-bottom: 2px solid #c6ced6;
      }

      .risk-table td:nth-child(1),
      .risk-table td:nth-child(4) {
        vertical-align: top;
      }
      .risk-table td:nth-child(1) .cell-text,
      .risk-table td:nth-child(4) .cell-text {
        display: block;
        line-height: 1.14;
        min-block-size: calc(3 * 1.14em);
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: auto;
        -webkit-line-clamp: unset;
        -webkit-box-orient: initial;
      }
      .issue-table td:nth-child(1) .cell-text,
      .issue-table td:nth-child(3) .cell-text,
      .decision-table td:nth-child(1) .cell-text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        line-height: 1.14;
        min-block-size: calc(3 * 1.14em);
        white-space: normal;
        text-overflow: ellipsis;
      }
      /* Fallback for long unbroken tokens can be enabled per engine if print layout ever breaks. */

      .milestone-table .status-dot-inline {
        width: 2mm;
        height: 2mm;
        border: 0.12mm solid rgba(54, 67, 82, 0.2);
        opacity: 0.9;
      }
      .milestone-table td:last-child {
        vertical-align: middle;
      }

      .budget-table tbody tr.total-row td {
        background: #edf2f6 !important;
        color: #1f2f3f;
        border-top: 0.36mm solid #8c9bab;
        font-weight: 760;
      }
      .budget-table tbody tr.total-row td:first-child {
        font-size: 0.9em;
      }

      .issue-table td .level-text,
      .risk-table td .level-text {
        color: #2f3c4b !important;
        font-weight: 620;
      }
      .issue-table tbody tr.tone-high:not(.no-data-row) td,
      .risk-table tbody tr.tone-high:not(.no-data-row) td,
      .issue-table tbody tr.tone-medium:not(.no-data-row) td,
      .risk-table tbody tr.tone-medium:not(.no-data-row) td,
      .issue-table tbody tr.tone-low:not(.no-data-row) td,
      .risk-table tbody tr.tone-low:not(.no-data-row) td {
        background: #fff !important;
      }
      .issue-table tbody tr.tone-high:not(.no-data-row):nth-child(even) td,
      .risk-table tbody tr.tone-high:not(.no-data-row):nth-child(even) td,
      .issue-table tbody tr.tone-medium:not(.no-data-row):nth-child(even) td,
      .risk-table tbody tr.tone-medium:not(.no-data-row):nth-child(even) td,
      .issue-table tbody tr.tone-low:not(.no-data-row):nth-child(even) td,
      .risk-table tbody tr.tone-low:not(.no-data-row):nth-child(even) td {
        background: #f7f9fc !important;
      }
      .issue-table tbody tr.no-data-row td,
      .risk-table tbody tr.no-data-row td {
        background: #fff !important;
      }
    }

    @media print and (-webkit-min-device-pixel-ratio: 0) {
      * {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
      }
      .sheet {
        width: 100% !important;
        height: calc(297mm - 3mm) !important;
        min-height: calc(297mm - 3mm) !important;
        max-height: calc(297mm - 3mm) !important;
      }
    }

    @media print {
      html.is-safari {
        --safari-page-h: calc(297mm - 12.3mm);
        --safari-page-pad: 1.1mm;
      }
      html.is-safari .sheet {
        width: 100% !important;
        height: var(--safari-page-h) !important;
        min-height: var(--safari-page-h) !important;
        max-height: var(--safari-page-h) !important;
        margin: 0 auto !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        padding: var(--safari-page-pad) !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        break-after: auto !important;
        page-break-after: auto !important;
      }
      html.is-safari .sheet-1,
      html.is-safari .sheet-2,
      html.is-safari .sheet-3,
      html.is-safari .sheet-4 {
        break-after: auto !important;
        page-break-after: auto !important;
      }
      html.is-safari .sheet-1 {
        break-after: page !important;
        page-break-after: always !important;
      }
      html.is-safari .sheet-2 {
        break-after: page !important;
        page-break-after: always !important;
      }
      html.is-safari .sheet-1 .cover {
        height: 100% !important;
        min-height: 0 !important;
        display: grid !important;
        grid-template-rows: auto 1fr !important;
        gap: 0 !important;
      }
      html.is-safari .sheet-1 .cover-header,
      html.is-safari .sheet-2 .p2-header,
      html.is-safari .sheet-3 .p2-header {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-rows: auto !important;
        column-gap: 6mm !important;
        row-gap: 0 !important;
        align-items: start !important;
        padding-top: var(--print-title-top-bump) !important;
        margin-bottom: calc(var(--p2-header-gap) - var(--print-title-top-bump)) !important;
      }
      html.is-safari .sheet-1 .cover-top,
      html.is-safari .sheet-2 .p2-top,
      html.is-safari .sheet-3 .p2-top {
        display: contents !important;
      }
      html.is-safari .sheet-1 .cover-date,
      html.is-safari .sheet-2 .p2-date,
      html.is-safari .sheet-3 .p2-date {
        display: none !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: start !important;
      }
      html.is-safari .sheet-1 .cover-hero,
      html.is-safari .sheet-2 .p2-hero,
      html.is-safari .sheet-3 .p2-hero {
        grid-column: 1 !important;
        grid-row: 1 !important;
      }
      html.is-safari .sheet-1 .cover-logo,
      html.is-safari .sheet-2 .p2-logo,
      html.is-safari .sheet-3 .p2-logo {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        align-self: start !important;
      }
      html.is-safari .sheet-1 .cover-hero h1,
      html.is-safari .sheet-2 .p2-hero .p2-title,
      html.is-safari .sheet-3 .p2-hero .p2-title {
        font-size: 7.7mm !important;
        line-height: 1.08 !important;
        margin: 0 0 1.2mm 0 !important;
      }
      html.is-safari .sheet-2 .p2-hero .p2-title.long,
      html.is-safari .sheet-3 .p2-hero .p2-title.long {
        font-size: 7.2mm !important;
      }
      html.is-safari .sheet-2 .p2-hero .p2-title.xlong,
      html.is-safari .sheet-3 .p2-hero .p2-title.xlong {
        font-size: 6.8mm !important;
      }
      html.is-safari .sheet-1 .cover-hero p,
      html.is-safari .sheet-2 .p2-hero .p2-meta,
      html.is-safari .sheet-3 .p2-hero .p2-meta {
        font-size: 3.8mm !important;
        line-height: 1.08 !important;
        margin: 0 !important;
        max-width: 100% !important;
        color: #445266 !important;
        font-weight: 400 !important;
      }
      html.is-safari .sheet-1 .cover-content-frame {
        height: var(--p2-content-height) !important;
        margin: var(--p2-content-margin-top) 0 var(--p2-content-margin-bottom) 0 !important;
        display: grid !important;
        grid-template-rows: minmax(0, 1fr) auto !important;
        gap: 0.6mm !important;
        min-height: 0 !important;
      }
      html.is-safari .sheet-1 .cover-image {
        flex: none !important;
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
      }
      html.is-safari .sheet-1 .cover-meta {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0 !important;
        border: 0.16mm solid rgba(55, 74, 98, 0.11) !important;
        border-radius: 2.1mm !important;
        background: linear-gradient(180deg, rgba(253, 254, 255, 0.98) 0%, rgba(247, 249, 252, 0.98) 100%) !important;
        box-shadow: inset 0 0.22mm 0 rgba(255, 255, 255, 0.88) !important;
        overflow: hidden !important;
      }
      html.is-safari .sheet-1 .cover-meta .meta-pill {
        min-height: 14.2mm !important;
        padding: 2.25mm 3.2mm 2.4mm !important;
        border: 0 !important;
        border-right: 0.18mm solid rgba(55, 74, 98, 0.1) !important;
        border-radius: 0 !important;
        background: transparent !important;
        font-size: 3.0mm !important;
        line-height: 1.3 !important;
        box-shadow: none !important;
      }
      html.is-safari .sheet-1 .cover-meta .meta-pill:last-child {
        border-right: 0 !important;
      }
      html.is-safari .sheet-1 .cover-meta .meta-pill strong {
        margin-bottom: 0.8mm !important;
        color: #748599 !important;
        font-size: 2.15mm !important;
        font-weight: 700 !important;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
      }
      html.is-safari .sheet-1 .cover-meta .meta-pill span {
        display: block !important;
        color: #223446 !important;
        font-weight: 580 !important;
        line-height: 1.24 !important;
        overflow-wrap: anywhere !important;
      }
      html.is-safari .sheet-2,
      html.is-safari .sheet-3,
      html.is-safari .sheet-4 {
        height: var(--safari-page-h) !important;
        min-height: var(--safari-page-h) !important;
        max-height: var(--safari-page-h) !important;
        display: grid !important;
        grid-template-rows: auto 1fr !important;
        gap: 0.8mm !important;
        overflow: hidden !important;
      }
      html.is-safari .sheet-2 .report-grid {
        height: var(--p2-content-height) !important;
        min-height: 0 !important;
        margin: var(--p2-content-margin-top) 0 var(--p2-content-margin-bottom) 0 !important;
        grid-template-rows: minmax(0, 0.2142fr) minmax(0, 0.6035985fr) minmax(0, 0.2882015fr) !important;
        gap: 1.1mm !important;
        align-content: start !important;
        overflow: hidden !important;
      }
      html.is-safari .sheet-3 .planning-page-grid {
        height: var(--p2-content-height) !important;
        min-height: 0 !important;
        margin: var(--p2-content-margin-top) 0 var(--p2-content-margin-bottom) 0 !important;
        overflow: hidden !important;
      }
      html.is-safari .sheet-4 .budget-page-grid {
        height: var(--p2-content-height) !important;
        min-height: 0 !important;
        margin: var(--p2-content-margin-top) 0 var(--p2-content-margin-bottom) 0 !important;
        overflow: hidden !important;
      }
      html.is-safari body.budget-page-on .sheet-3 {
        break-after: page !important;
        page-break-after: always !important;
      }
      html.is-safari body.budget-page-off .sheet-3 {
        break-after: auto !important;
        page-break-after: auto !important;
      }
      html.is-safari .cards-row.bottom-row {
        align-items: start !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
      }
      html.is-safari .cards-row.bottom-row .card {
        grid-template-rows: auto auto !important;
        height: auto !important;
        min-height: 0 !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
      }
      html.is-safari .cards-row.bottom-row .card-content {
        overflow: hidden !important;
      }
      html.is-safari .card,
      html.is-safari .card-content {
        overflow: hidden !important;
      }
      html.is-safari .cards-row {
        gap: 1.08mm !important;
      }
      html.is-safari .report-grid {
        gap: 1.02mm !important;
      }
      html.is-safari .card {
        padding: 1.6mm !important;
        border-width: 0.22mm !important;
        border-color: rgba(86, 106, 128, 0.2) !important;
        background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(250,252,254,1) 100%) !important;
      }
      html.is-safari .sheet-2 .card[data-tone="o"] {
        border-color: rgba(168, 115, 36, 0.34) !important;
      }
      html.is-safari .sheet-2 .card[data-tone="r"] {
        border-color: rgba(164, 69, 69, 0.34) !important;
      }
      html.is-safari .card-head {
        margin-bottom: 1.34mm !important;
        padding-bottom: 0.92mm !important;
        border-bottom-color: rgba(115, 136, 159, 0.16) !important;
      }
      html.is-safari .card-head h3,
      html.is-safari .cards-row.bottom-row .card-head h3 {
        font-size: 5.58mm !important;
        font-weight: 665 !important;
        letter-spacing: 0.014em !important;
        color: #23374d !important;
      }
      html.is-safari .status-indicator {
        min-height: 5.8mm !important;
        padding: 0.8mm 1.7mm 0.7mm !important;
        border: 0.2mm solid rgba(86, 106, 128, 0.18) !important;
        border-radius: 999px !important;
        background: rgba(248, 250, 253, 0.92) !important;
        font-size: 2.65mm !important;
        font-weight: 760 !important;
        line-height: 1 !important;
        letter-spacing: 0.04em !important;
        color: #415469 !important;
      }
      html.is-safari .status-indicator.g {
        border-color: rgba(53, 112, 74, 0.18) !important;
        color: #2f6c43 !important;
        background: rgba(241, 248, 244, 0.95) !important;
      }
      html.is-safari .status-indicator.o {
        border-color: rgba(168, 115, 36, 0.18) !important;
        color: #996525 !important;
        background: rgba(253, 248, 240, 0.95) !important;
      }
      html.is-safari .status-indicator.r {
        border-color: rgba(164, 69, 69, 0.18) !important;
        color: #944848 !important;
        background: rgba(252, 243, 243, 0.95) !important;
      }
      html.is-safari .status-symbol {
        font-size: 2.75mm !important;
        font-weight: 800 !important;
        letter-spacing: 0.03em !important;
      }
      html.is-safari .card-content {
        font-size: 4.18mm !important;
        line-height: 1.26 !important;
        color: #28384a !important;
      }
      html.is-safari .cards-row:nth-child(2) .card-content,
      html.is-safari .cards-row:nth-child(2) .card:first-child .card-content {
        font-size: 3.95mm !important;
        line-height: 1.18 !important;
      }
      html.is-safari .table-card th {
        font-weight: 630 !important;
        letter-spacing: 0.011em !important;
        color: #506176 !important;
        padding-top: 0.92mm !important;
        padding-bottom: 0.86mm !important;
      }
      html.is-safari .sheet-note {
        position: absolute !important;
        left: 3.2mm !important;
        right: auto !important;
        bottom: 1.8mm !important;
        font-size: 7px !important;
        color: #8d97a5 !important;
        letter-spacing: 0.01em !important;
        display: block !important;
      }
      html.is-safari .sheet-credit {
        position: absolute !important;
        right: 3.2mm !important;
        left: auto !important;
        bottom: 1.8mm !important;
        font-size: 7px !important;
        color: #8d97a5 !important;
        letter-spacing: 0.01em !important;
        display: block !important;
      }
    }

    @media screen and (max-width: 1200px) {
      .topbar {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 12px 18px;
        border-radius: 0 0 14px 14px;
      }
      .topbar .left,
      .topbar .right {
        width: 100%;
      }
      .topbar .left {
        flex-wrap: wrap;
      }
      .topbar .right {
        margin-left: 0;
        justify-content: flex-start;
      }
      .toolbar-group,
      .topbar details.advanced {
        width: 100%;
      }
      .toolbar-group.file-group {
        min-width: 0;
      }
      .app { grid-template-columns: 1fr; }
      .form-wrap, .preview-wrap { max-height: none; }
      .sheet { width: 100%; min-height: auto; }
      .cover-hero p { max-width: 100%; }
      .report-grid { display: block; height: auto; }
      .cards-row { grid-template-columns: 1fr; margin-bottom: 8px; }
      .card { min-height: 220px; }
      .input-block-grid { grid-template-columns: 1fr; }
      .editor-shell { grid-template-columns: 1fr; }
      .section-menu {
        position: static;
        width: 100%;
        max-width: none;
      }
      .meta-grid { grid-template-columns: 1fr; }
      .meta-grid .meta-type,
      .meta-grid .meta-name,
      .meta-grid .meta-date,
      .meta-grid .meta-manager,
      .meta-grid .meta-client,
      .meta-grid .meta-org,
      .meta-grid .meta-subtitle,
      .meta-grid .meta-paste-target,
      .meta-grid .meta-hero-upload,
      .meta-grid .meta-logo-upload,
      .meta-grid .meta-logo-text-field,
      .meta-grid .meta-logo-upload-actions,
      .meta-grid .meta-upload-actions {
        grid-column: 1;
        max-width: 100%;
      }
      .section-status-inline {
        justify-content: flex-start;
        margin-right: 0;
      }
      .guided-footer {
        justify-content: stretch;
      }
      .guided-footer button {
        flex: 1 1 0;
      }
    }

    @media screen and (max-width: 900px) {
      html, body {
        background: var(--ui-bg);
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
      }
      body {
        position: relative;
      }
      .mobile-print-warning {
        display: block;
      }
      .topbar {
        position: sticky;
        top: 0;
        padding: 10px 12px;
        gap: 8px;
        border-radius: 0 0 12px 12px;
        border-left: 0;
        border-right: 0;
      }
      .topbar .left,
      .topbar .right {
        gap: 6px;
      }
      .toolbar-group {
        padding: 8px 10px;
        min-height: 0;
        border-radius: 10px;
      }
      .toolbar-group .compact-actions {
        width: 100%;
      }
      .toolbar-group button,
      .topbar .right button,
      .topbar details.advanced summary {
        width: 100%;
      }
      .topbar details.advanced {
        border-radius: 10px;
      }
      .app {
        padding: 8px;
        gap: 8px;
        width: 100%;
        max-width: 100%;
      }
      .form-panel {
        max-width: 100%;
        width: 100%;
      }
      .panel {
        border-radius: var(--r-3);
        width: 100%;
        max-width: 100%;
      }
      .panel .head {
        padding: 10px 12px;
      }
      .form-wrap {
        padding: 16px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
      }
      .editor-form,
      .editor-main,
      .input-block-grid,
      fieldset,
      .form-section,
      label,
      .field-control {
        width: 100%;
        max-width: 100%;
        min-width: 0;
      }
      .editor-shell {
        gap: 12px;
      }
      .section-menu {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        padding: 8px;
      }
      .section-menu .menu-title {
        display: none;
      }
      .menu-btn {
        flex: 0 0 auto;
        min-width: max-content;
        font-size: 13px;
        padding: 8px 11px;
      }
      body.editor-mode-guided .menu-btn {
        padding-right: 26px;
      }
      fieldset {
        padding: 16px;
      }
      legend {
        font-size: 14px;
      }
      label {
        font-size: 13px;
      }
      input, textarea, select {
        font-size: 16px;
        min-height: 44px;
        max-width: 100%;
        min-width: 0;
      }
      textarea {
        min-height: 120px;
      }
      .field-caption {
        font-size: 11px;
      }
      .section-clear {
        position: static;
        margin: 0 0 8px 0;
        width: auto;
      }
      .section-status-inline,
      .planning-top-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
      }
      .section-status-inline select {
        width: 100%;
      }
      .planning-toggle-group {
        width: 100%;
        justify-content: space-between;
        min-height: 44px;
      }
      .upload-actions {
        align-items: stretch;
        width: 100%;
        max-width: 100%;
      }
      .meta-media-grid {
        grid-template-columns: 1fr;
      }
      .meta-media-card-head {
        flex-direction: column;
      }
      .upload-button-row {
        flex-direction: column;
      }
      .upload-button-row > * {
        width: 100%;
      }
      .upload-actions > * {
        width: 100%;
        max-width: 100%;
        min-width: 0;
      }
      .paste-zone {
        white-space: normal;
        word-break: break-word;
      }
      .preview-link-btn,
      #btnClearHeroFile,
      #btnClearLogoFile,
      #btnClearPlanningFile,
      #btnClearBudgetFile {
        justify-content: center;
        text-align: center;
        white-space: normal;
      }
      .matrix,
      .progress-input-table,
      .budget-total-input {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
      }
      .matrix .row,
      .progress-input-head,
      .progress-input-row,
      .budget-total-row {
        width: max-content;
        min-width: 100%;
      }
      .matrix .row {
        min-width: 760px;
      }
      .matrix .row.issue,
      .matrix .row.risk,
      .matrix .row.decision {
        min-width: 720px;
      }
      .progress-input-head,
      .progress-input-row {
        min-width: 760px;
      }
      .matrix-toolbar,
      .progress-toolbar {
        flex-direction: column;
        align-items: stretch;
      }
      .matrix-add,
      .progress-add {
        width: 100%;
      }
      .mode-switch-options {
        display: grid;
        grid-template-columns: 1fr;
      }
      .mode-option {
        width: 100%;
        justify-content: flex-start;
      }
      .guided-step-topline {
        flex-direction: column;
        align-items: flex-start;
      }
      .guided-footer {
        flex-direction: column;
        align-items: stretch;
      }
      .guided-footer button {
        width: 100%;
      }
      .preview-link-btn,
      .paste-zone,
      #btnClearHeroFile,
      #btnClearLogoFile,
      #btnClearPlanningFile,
      #btnClearBudgetFile {
        min-height: 42px;
      }
    }

    @media screen and (max-width: 640px) {
      .topbar {
        padding: 8px;
      }
      .group-title {
        font-size: 10px;
      }
      button {
        font-size: 13px;
        min-height: 38px;
      }
      .form-intro {
        padding: 12px;
      }
      .form-intro h3 {
        font-size: 18px;
      }
      .form-intro p {
        font-size: 12px;
      }
      .small,
      .hint {
        font-size: 11px;
      }
      .guided-step-meta h3 {
        font-size: 18px;
      }
      .guided-step-meta p {
        font-size: 12px;
      }
      .section-status-inline span,
      .planning-toggle-group span {
        font-size: 11px;
      }
      .planning-toggle-group label,
      .radio-inline label {
        font-size: 11px;
      }
      .matrix .row {
        min-width: 680px;
      }
      .matrix .row.issue,
      .matrix .row.risk,
      .matrix .row.decision {
        min-width: 640px;
      }
      .progress-input-head,
      .progress-input-row {
        min-width: 680px;
      }
      .field-clear-btn {
        opacity: 1;
        pointer-events: auto;
      }
      .toolbar-field {
        width: 100%;
        max-width: 100%;
      }
      .toolbar-field select {
        width: 100%;
        max-width: 100%;
      }
    }

    @media screen {
      html, body {
        font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
        background: linear-gradient(180deg, #eef3fa 0%, #f6f9fd 100%);
      }

      .documentbar {
        position: sticky;
        top: 0;
        z-index: 30;
        height: 64px;
        max-width: 1460px;
        margin: 0 auto;
        padding: 12px 18px;
        border-radius: 0 0 14px 14px;
        background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
        border: 1px solid #d8e2ef;
        border-top: 0;
        box-shadow: 0 6px 18px rgba(15, 39, 68, 0.09);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
      }
      body.editor-mode-guided .documentbar {
        position: sticky;
        top: 0;
      }
      body.editor-mode-free .documentbar {
        position: relative;
        top: auto;
        margin-top: 10px;
      }
      .docbar-left {
        min-width: 0;
        display: grid;
        gap: 2px;
      }
      .docbar-app {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #2c4669;
      }
      .docbar-status {
        font-size: 13px;
        line-height: 1.3;
        color: #5b6f86;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 540px;
      }
      .docbar-right {
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
      }
      .doc-mode-switch {
        height: 42px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 4px;
        background: #f0f5fc;
        border: 1px solid #c7d6e9;
        border-radius: 999px;
      }
      .doc-mode-option {
        margin: 0;
        height: 32px;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 0 12px;
        border-radius: 999px;
        cursor: pointer;
        color: #3d5573;
        font-size: 12px;
        font-weight: 700;
      }
      .doc-mode-option input[type="radio"] {
        width: 14px;
        height: 14px;
        margin: 0;
        accent-color: var(--ui-accent);
      }
      .doc-mode-option:has(input:checked) {
        background: #fff;
        color: #173b63;
        box-shadow: 0 1px 4px rgba(16, 33, 53, 0.14);
      }
      #btnDocPrint {
        min-height: 44px;
        height: 44px;
      }

      body.editor-mode-guided #sec-start .guided-start-card,
      body.editor-mode-guided #sec-export .guided-final-actions {
        max-width: 560px;
      }
      body.editor-mode-guided #sec-start .guided-start-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
      }
      body.editor-mode-guided #sec-start .guided-start-actions button {
        min-height: 42px;
      }
      body.editor-mode-guided #sec-export .guided-final-actions button {
        min-height: 42px;
      }
    }

    @media screen and (max-width: 1200px) {
      .documentbar {
        height: auto;
        min-height: 64px;
        padding: 10px 12px;
        border-radius: 0 0 12px 12px;
        flex-wrap: wrap;
        align-items: flex-start;
      }
      .docbar-left,
      .docbar-right {
        width: 100%;
      }
      .docbar-right {
        justify-content: space-between;
        flex-wrap: wrap;
      }
      .doc-mode-switch {
        width: 100%;
        justify-content: flex-start;
        height: auto;
        min-height: 42px;
        padding: 5px;
        flex-wrap: wrap;
        border-radius: 12px;
      }
    }

    @media screen and (max-width: 900px) {
      body.editor-mode-guided .documentbar {
        position: sticky;
        top: 0;
        z-index: 35;
        margin-top: 0;
      }
      body.editor-mode-free .documentbar {
        position: relative;
        top: auto;
      }
      body.editor-mode-guided:not(.editor-screen-corporate) .topbar {
        display: none !important;
      }
    }

    @media print {
      .mobile-print-warning {
        display: none !important;
      }
    }

    /* Corporate screen-only overrides (laat print volledig ongemoeid). */
    @media screen {
      body.editor-screen-corporate {
        --screen-shell-max: 1220px;
        --screen-shell-bg: #eaf0f6;
        --screen-surface: #ffffff;
        --screen-surface-soft: #f4f7fb;
        --screen-line: #d7e0ea;
        --screen-line-strong: #bfcddd;
        --screen-text: #203243;
        --screen-muted: #6c7d91;
        --screen-accent: #1f4d79;
        --screen-accent-soft: #eef4fb;
        --screen-shadow: 0 18px 48px rgba(19, 35, 55, 0.09);
        --editor-space-1: 6px;
        --editor-space-2: 10px;
        --editor-space-3: 14px;
        --editor-space-4: 18px;
        --editor-space-5: 26px;
        --editor-radius: 18px;
        --editor-radius-sm: 10px;
        --editor-field-h: 40px;
        --topbar-height: 92px;
        --stepper-height: 0px;
        --sticky-gap: 6px;
        --content-offset: calc(var(--topbar-height) + var(--sticky-gap) + 10px);
        --scroll-offset: var(--content-offset);
        --topnav-bg: #101822;
        --topnav-bg-strong: #0b121a;
        --topnav-surface: rgba(255, 255, 255, 0.04);
        --topnav-line: rgba(255, 255, 255, 0.1);
        --topnav-text: #f5f8fc;
        --topnav-muted: rgba(219, 227, 237, 0.72);
        --topnav-active: #86b3e1;
        --topnav-active-bg: rgba(134, 179, 225, 0.16);
        background: var(--screen-shell-bg);
        color: var(--screen-text);
      }
      body.editor-screen-corporate[data-ui-theme="slate"] {
        --screen-shell-bg: #e7edf4;
        --screen-surface: #ffffff;
        --screen-surface-soft: #eff4f9;
        --screen-line: #ced8e4;
        --screen-line-strong: #aebed1;
        --screen-text: #23394d;
        --screen-muted: #607489;
        --screen-accent: #355f8c;
        --screen-accent-soft: #ebf2fb;
        --topnav-active: #a5c0e0;
        --topnav-active-bg: rgba(165, 192, 224, 0.18);
      }
      body.editor-screen-corporate[data-ui-theme="forest"] {
        --screen-shell-bg: #e9f1ef;
        --screen-surface: #ffffff;
        --screen-surface-soft: #f1f7f5;
        --screen-line: #d0ddd8;
        --screen-line-strong: #b5c9c1;
        --screen-text: #203940;
        --screen-muted: #5d7677;
        --screen-accent: #23636b;
        --screen-accent-soft: #e8f6f6;
        --topnav-active: #8bc9c0;
        --topnav-active-bg: rgba(139, 201, 192, 0.18);
      }
      body.editor-screen-corporate[data-ui-theme="dark"] {
        --screen-shell-bg: #0f1720;
        --screen-surface: #16212c;
        --screen-surface-soft: #1b2935;
        --screen-line: #2c3b4b;
        --screen-line-strong: #44576b;
        --screen-text: #edf4fb;
        --screen-muted: #9aafc2;
        --screen-accent: #80b4e8;
        --screen-accent-soft: #1f3344;
        --screen-shadow: 0 20px 48px rgba(5, 9, 14, 0.42);
        --topnav-bg: #0a1118;
        --topnav-bg-strong: #060b11;
        --topnav-surface: rgba(128, 180, 232, 0.09);
        --topnav-line: rgba(128, 180, 232, 0.14);
        --topnav-text: #edf4fb;
        --topnav-muted: rgba(190, 208, 226, 0.78);
        --topnav-active: #9bc5ee;
        --topnav-active-bg: rgba(155, 197, 238, 0.16);
      }

      body.editor-screen-corporate .screen-editor-shell {
        padding: 10px 0 28px;
      }

      body.editor-screen-corporate .topbar {
        position: sticky;
        top: 0;
        z-index: 60;
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 0;
        width: min(var(--screen-shell-max), calc(100% - 20px));
        margin: 0 auto;
        padding: 0;
        border: 1px solid rgba(10, 18, 27, 0.14);
        border-radius: 20px;
        background: linear-gradient(180deg, var(--topnav-bg) 0%, var(--topnav-bg-strong) 100%);
        box-shadow: 0 18px 36px rgba(11, 18, 28, 0.16);
        overflow: hidden;
      }
      body.editor-screen-corporate .stealth-portal-trigger {
        position: fixed;
        right: 4px;
        bottom: 4px;
        width: 8px;
        height: 8px;
        z-index: 120;
        opacity: 0.015;
        background: #0f1f31;
        border-radius: 999px;
        pointer-events: auto;
      }
      body.editor-screen-corporate.editor-mode-guided .topbar,
      body.editor-screen-corporate.editor-mode-free .topbar {
        display: grid !important;
      }
      body.editor-screen-corporate .topbar-main {
        display: grid;
        grid-template-columns: minmax(260px, 1fr) minmax(320px, auto);
        align-items: center;
        gap: 18px;
        padding: 14px 18px 12px;
        border-bottom: 1px solid var(--topnav-line);
      }
      body.editor-screen-corporate .topbar-brand {
        min-width: 0;
        display: grid;
        gap: 5px;
      }
      body.editor-screen-corporate .docbar-app {
        margin: 0;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: var(--topnav-muted);
      }
      body.editor-screen-corporate .docbar-status {
        max-width: 100%;
        margin: 0;
        font-size: clamp(16px, 1.9vw, 21px);
        line-height: 1.05;
        font-weight: 720;
        color: var(--topnav-text);
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      body.editor-screen-corporate .docbar-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        flex-wrap: wrap;
      }
      body.editor-screen-corporate .docbar-save-state {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-width: 0;
        font-size: 11.5px;
        line-height: 1.35;
        color: var(--topnav-muted);
      }
      body.editor-screen-corporate .docbar-save-state::before {
        content: "";
        width: 7px;
        height: 7px;
        flex: 0 0 7px;
        border-radius: 999px;
        background: #9eb0c3;
        box-shadow: 0 0 0 3px rgba(158, 176, 195, 0.14);
      }
      body.editor-screen-corporate .docbar-save-state[data-state="saving"] {
        color: #5f7690;
      }
      body.editor-screen-corporate .docbar-save-state[data-state="saving"]::before {
        background: #d49a39;
        box-shadow: 0 0 0 3px rgba(212, 154, 57, 0.16);
      }
      body.editor-screen-corporate .docbar-save-state[data-state="saved"],
      body.editor-screen-corporate .docbar-save-state[data-state="restored"] {
        color: #597286;
      }
      body.editor-screen-corporate .docbar-save-state[data-state="saved"]::before,
      body.editor-screen-corporate .docbar-save-state[data-state="restored"]::before {
        background: #2f7d57;
        box-shadow: 0 0 0 3px rgba(47, 125, 87, 0.14);
      }
      body.editor-screen-corporate .docbar-save-state[data-state="warn"] {
        color: #8a6731;
      }
      body.editor-screen-corporate .docbar-save-state[data-state="warn"]::before {
        background: #bb7c2d;
        box-shadow: 0 0 0 3px rgba(187, 124, 45, 0.15);
      }
      body.editor-screen-corporate .docbar-badge {
        display: inline-flex;
        align-items: center;
        min-height: 24px;
        padding: 4px 9px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        color: var(--topnav-text);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
      }
      body.editor-screen-corporate .docbar-caption {
        min-width: 0;
        font-size: 12px;
        line-height: 1.35;
        color: var(--topnav-muted);
      }
      body.editor-screen-corporate .topbar[data-doc-state="sample"] .docbar-badge {
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.08);
        color: var(--topnav-text);
      }
      body.editor-screen-corporate .topbar[data-doc-state="loaded"] .docbar-badge {
        border-color: rgba(102, 176, 130, 0.22);
        background: rgba(57, 110, 78, 0.22);
        color: #dcefe4;
      }

      body.editor-screen-corporate .topbar-primary-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-width: 0;
      }
      body.editor-screen-corporate .topbar-navline {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
        min-width: 0;
        padding: 10px 18px 12px;
        background: rgba(4, 10, 16, 0.14);
      }
      body.editor-screen-corporate .topbar-sections {
        display: flex;
        align-items: center;
        gap: 4px;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
      }
      body.editor-screen-corporate .topbar-sections::-webkit-scrollbar {
        display: none;
      }
      body.editor-screen-corporate .topbar-sections .menu-btn {
        min-height: 32px;
        padding: 6px 10px;
        border: 1px solid transparent;
        border-radius: 10px;
        background: transparent;
        color: var(--topnav-muted);
        font-size: 12px;
        font-weight: 650;
        line-height: 1.1;
        white-space: nowrap;
        box-shadow: none;
      }
      body.editor-screen-corporate .topbar-sections .menu-btn:hover {
        background: var(--topnav-surface);
        color: var(--topnav-text);
        border-color: rgba(255, 255, 255, 0.06);
        box-shadow: none;
      }
      body.editor-screen-corporate .topbar-sections .menu-btn.step-open {
        color: var(--topnav-muted);
      }
      body.editor-screen-corporate .topbar-sections .menu-btn.step-done {
        color: rgba(217, 240, 224, 0.96);
      }
      body.editor-screen-corporate .topbar-sections .menu-btn.step-current,
      body.editor-screen-corporate .topbar-sections .menu-btn.active {
        color: var(--topnav-text);
        background: var(--topnav-active-bg);
        border-color: rgba(255, 255, 255, 0.12);
      }
      body.editor-screen-corporate .topbar-sections .menu-btn.step-done::after {
        content: "";
        display: inline-block;
        width: 6px;
        height: 6px;
        margin-left: 7px;
        border-radius: 999px;
        background: rgba(146, 205, 163, 0.95);
        vertical-align: middle;
      }
      body.editor-screen-corporate .topbar-sections .menu-btn.step-current::after,
      body.editor-screen-corporate .topbar-sections .menu-btn.active::after {
        content: "";
        display: inline-block;
        width: 6px;
        height: 6px;
        margin-left: 7px;
        border-radius: 999px;
        background: var(--topnav-active);
        vertical-align: middle;
      }
      body.editor-screen-corporate .topbar-command-bar {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        min-width: 0;
      }
      body.editor-screen-corporate .topbar-pro-strip {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        max-width: min(520px, 100%);
        flex-wrap: wrap;
        gap: 6px 10px;
        padding: 8px 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: none;
      }
      body.editor-screen-corporate .pro-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 76px;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        color: var(--topnav-text);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
      }
      body.editor-screen-corporate .pro-pill[data-tier="pro"] {
        background: rgba(59, 114, 76, 0.24);
        color: #dcefe4;
      }
      body.editor-screen-corporate .pro-copy {
        flex: 1 1 200px;
        min-width: 0;
        max-width: none;
        color: var(--topnav-muted);
        font-size: 11.5px;
        line-height: 1.4;
      }
      body.editor-screen-corporate .pro-link {
        border: 0;
        background: transparent;
        color: #d7e5f6;
        font-size: 12.5px;
        font-weight: 700;
        padding: 0;
        min-height: auto;
        width: auto;
        box-shadow: none;
        white-space: nowrap;
      }
      body.editor-screen-corporate .pro-link:hover {
        color: #ffffff;
        text-decoration: underline;
        border-color: transparent;
        background: transparent;
        box-shadow: none;
      }
      body.editor-screen-corporate .pro-link-strong {
        color: #ffffff;
      }
      body.editor-screen-corporate .topbar-overflow,
      body.editor-screen-corporate #btnGuide,
      body.editor-screen-corporate #btnExport {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        min-height: 36px;
        padding: 7px 12px;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.1;
        text-decoration: none;
        color: var(--topnav-text);
        background: rgba(255, 255, 255, 0.04);
        box-shadow: none;
      }
      body.editor-screen-corporate .topbar-overflow {
        position: relative;
        min-height: 36px;
        padding: 0;
        overflow: visible;
      }
      body.editor-screen-corporate .topbar-overflow summary {
        list-style: none;
        min-height: 36px;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.03em;
        color: var(--topnav-text);
        cursor: pointer;
      }
      body.editor-screen-corporate .topbar-overflow summary::-webkit-details-marker {
        display: none;
      }
      body.editor-screen-corporate .topbar-overflow[open] {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: none;
      }
      body.editor-screen-corporate .topbar-overflow .advanced-content {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        min-width: 320px;
        margin-top: 0;
        padding: 12px;
        display: block;
        border-top: 0;
        border: 1px solid #dbe5f0;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 18px 32px rgba(18, 34, 52, 0.12);
      }
      body.editor-screen-corporate .topbar-overflow-grid {
        display: grid;
        gap: 8px;
      }
      body.editor-screen-corporate .topbar-overflow-grid button {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
        min-height: 38px;
        padding: 8px 12px;
        border: 1px solid #d8e2ee;
        border-radius: 12px;
        background: #f8fbff;
        color: #4d657f;
        font-size: 12px;
        font-weight: 600;
      }
      body.editor-screen-corporate .topbar-overflow-grid .toolbar-field {
        margin-bottom: 0;
        margin: 0;
        width: 100%;
        height: auto;
        min-height: 38px;
        padding: 8px 12px;
        display: grid;
        gap: 6px;
        justify-items: stretch;
        border: 1px solid #d8e2ee;
        border-radius: 12px;
        background: #f8fbff;
        color: #4d657f;
      }
      body.editor-screen-corporate .topbar-overflow-grid #btnReset {
        color: #7a4343;
      }
      body.editor-screen-corporate .topbar-overflow-grid .toolbar-field select {
        width: 100%;
        height: 30px;
      }
      body.editor-screen-corporate .topbar-overflow-note {
        margin: 2px 2px 0;
        font-size: 11.5px;
        line-height: 1.45;
        color: #6c8097;
      }
      @media (max-width: 1480px) {
        body.editor-screen-corporate .topbar-main {
          grid-template-columns: minmax(0, 1fr);
          align-items: start;
          gap: 12px;
        }
        body.editor-screen-corporate .topbar-primary-actions {
          justify-content: flex-start;
        }
        body.editor-screen-corporate .topbar-navline {
          grid-template-columns: 1fr;
          justify-items: stretch;
        }
      }
      body.editor-screen-corporate #btnExport {
        color: var(--topnav-text);
        background: rgba(255, 255, 255, 0.04);
      }
      body.editor-screen-corporate button.primary,
      body.editor-screen-corporate button.primary:hover,
      body.editor-screen-corporate button.primary:focus-visible {
        color: #ffffff;
      }
      body.editor-screen-corporate button.primary:disabled {
        color: rgba(255, 255, 255, 0.76);
      }
      body.editor-screen-corporate #btnPrint {
        min-height: 36px;
        padding: 7px 14px;
        border-radius: 10px;
        background: linear-gradient(180deg, #1f4d79 0%, #173c62 100%);
        border-color: #173c62;
        box-shadow: 0 8px 18px rgba(18, 50, 84, 0.24);
        color: #ffffff !important;
      }
      body.editor-screen-corporate #btnPrint:disabled {
        background: linear-gradient(180deg, #42607e 0%, #35506b 100%);
        border-color: #35506b;
        color: rgba(255, 255, 255, 0.76) !important;
        box-shadow: none;
      }
      body.editor-screen-corporate .topbar-hidden-control {
        display: none !important;
      }
      body.editor-screen-corporate .topbar button:hover,
      body.editor-screen-corporate .topbar-sections .menu-btn:hover {
        border-color: rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff;
        transform: none;
        box-shadow: none;
      }
      body.editor-screen-corporate #btnPrint:hover {
        background: linear-gradient(180deg, #194264 0%, #13314f 100%);
        border-color: #13314f;
        color: #ffffff !important;
        box-shadow: 0 12px 24px rgba(19, 49, 79, 0.22);
      }

      body.editor-screen-corporate .documentbar {
        display: none !important;
      }
      body.editor-screen-corporate .mobile-print-warning {
        width: min(var(--screen-shell-max), calc(100% - 24px));
        margin: 8px auto 0;
        padding: 0;
      }
      body.editor-screen-corporate .mobile-print-warning .warning-card {
        align-items: center;
      }
      body.editor-screen-corporate .mobile-print-warning .warning-text {
        display: grid;
        gap: 4px;
        color: #6d5525;
        font-size: 12.5px;
        line-height: 1.5;
      }
      body.editor-screen-corporate .mobile-print-warning .warning-text strong {
        color: #734f18;
        font-size: 13px;
      }
      body.editor-screen-corporate .editor-recovery-notice {
        width: min(var(--screen-shell-max), calc(100% - 24px));
        margin: 8px auto 0;
      }
      body.editor-screen-corporate .editor-recovery-notice.is-hidden {
        display: none;
      }
      body.editor-screen-corporate .editor-recovery-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        padding: 10px 14px;
        border: 1px solid #d8e2ee;
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 253, 0.98) 100%);
        box-shadow: 0 8px 20px rgba(20, 35, 52, 0.05);
      }
      body.editor-screen-corporate .editor-recovery-card[data-tone="warn"] {
        border-color: rgba(165, 106, 31, 0.22);
        background: linear-gradient(180deg, rgba(255, 251, 246, 0.98) 0%, rgba(255, 245, 232, 0.96) 100%);
      }
      body.editor-screen-corporate .editor-recovery-copy {
        min-width: 0;
        font-size: 12px;
        line-height: 1.5;
        color: #5e7389;
      }
      body.editor-screen-corporate .editor-recovery-card[data-tone="warn"] .editor-recovery-copy {
        color: #7f6131;
      }
      body.editor-screen-corporate .editor-recovery-close {
        min-height: 34px;
        padding: 0 12px;
        border: 1px solid #d5dfeb;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.92);
        color: #5b7087;
        font-size: 12px;
        font-weight: 700;
      }

      body.editor-screen-corporate .app {
        width: min(var(--screen-shell-max), calc(100% - 24px));
        margin: 0 auto;
        padding: 10px 0 0;
        gap: var(--editor-space-3);
      }
      body.editor-screen-corporate .editor-view,
      body.editor-screen-corporate .report-view,
      body.editor-screen-corporate .form-panel,
      body.editor-screen-corporate .preview-panel {
        max-width: 100%;
        width: 100%;
      }
      body.editor-screen-corporate .editor-view {
        display: block;
      }
      body.editor-screen-corporate .report-view {
        display: none;
      }
      body.editor-screen-corporate .panel {
        border: 1px solid var(--screen-line);
        border-radius: var(--editor-radius);
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: 0 10px 28px rgba(20, 35, 52, 0.05);
      }
      body.editor-screen-corporate .form-panel {
        border: 0;
        background: transparent;
        box-shadow: none;
      }
      body.editor-screen-corporate .form-panel > .head {
        display: none;
      }
      body.editor-screen-corporate .panel .head {
        background: transparent;
        border-bottom: 1px solid #e6ecf4;
        padding: var(--editor-space-3) var(--editor-space-4);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: #62758a;
      }
      body.editor-screen-corporate .form-wrap {
        max-height: none;
        overflow: visible;
        padding: 0;
        background: transparent;
      }
      body.editor-screen-corporate .editor-form {
        gap: 0;
      }
      body.editor-screen-corporate .editor-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        margin-top: 0;
        padding-top: 0;
        align-items: start;
      }
      body.editor-screen-corporate .editor-main {
        max-width: 100%;
        margin-top: 0;
        padding-top: 0;
        min-width: 0;
        order: 2;
      }
      body.editor-screen-corporate .stepper-sidebar {
        display: none;
      }

      body.editor-screen-corporate .workflow-stepper {
        display: none;
      }
      body.editor-screen-corporate .topbar-sections .menu-btn:focus-visible,
      body.editor-screen-corporate .topbar-command-bar button:focus-visible,
      body.editor-screen-corporate .topbar-overflow summary:focus-visible {
        outline: 2px solid rgba(140, 184, 229, 0.28);
        outline-offset: 1px;
      }

      body.editor-screen-corporate .input-block-grid {
        gap: 14px;
      }
      body.editor-screen-corporate fieldset.form-section {
        margin: 0 0 14px;
        padding: 18px 18px 16px;
        border: 1px solid var(--screen-line);
        border-top: 1px solid var(--screen-line);
        border-radius: var(--editor-radius);
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: 0 8px 20px rgba(19, 35, 55, 0.04);
      }
      body.editor-screen-corporate fieldset.form-section:hover {
        box-shadow: 0 10px 24px rgba(19, 35, 55, 0.06);
      }
      body.editor-screen-corporate .form-section {
        scroll-margin-top: var(--scroll-offset);
      }
      body.editor-screen-corporate .guided-shell {
        scroll-margin-top: var(--scroll-offset);
      }
      body.editor-screen-corporate legend {
        margin: 0 0 10px;
        padding: 0;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.1;
        letter-spacing: -0.01em;
        text-transform: none;
        color: #223547;
      }
      body.editor-screen-corporate .section-subline {
        margin: 0 0 10px;
        font-size: 12px;
        line-height: 1.45;
        color: var(--screen-muted);
      }
      body.editor-screen-corporate .form-section > .small,
      body.editor-screen-corporate .form-section > .section-toolbar + .small,
      body.editor-screen-corporate .form-section > .planning-top-controls + .small,
      body.editor-screen-corporate #planningModeGantt > .small {
        display: block;
        margin: 0 0 10px;
      }
      body.editor-screen-corporate label {
        font-size: 12px;
        font-weight: 600;
        color: #2a3d50;
        gap: 6px;
        margin-bottom: 12px;
      }
      body.editor-screen-corporate .field-caption {
        font-size: 12px;
        font-weight: 700;
        text-transform: none;
        letter-spacing: 0.01em;
        color: #41576e;
      }
      body.editor-screen-corporate .field-help {
        font-size: 12px;
        line-height: 1.55;
        color: #6b7f95;
      }
      body.editor-screen-corporate .form-section > label:last-child,
      body.editor-screen-corporate .form-section > .field-group-inline:last-child,
      body.editor-screen-corporate .form-section > .budget-page-toggle:last-child,
      body.editor-screen-corporate .form-section > .editor-upload-card:last-child {
        margin-bottom: 0;
      }
      body.editor-screen-corporate .guided-active .section-subline {
        display: none;
      }
      /* Metadata basis: 12-koloms grid voor logische desktop-plaatsing. */
      body.editor-screen-corporate #sec-meta .meta-grid {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 10px 14px;
        align-items: start;
        grid-auto-flow: row;
      }
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-grid-full {
        grid-column: 1 / -1;
      }
      body.editor-screen-corporate #sec-meta .meta-grid > label {
        margin-bottom: 0;
        align-self: start;
      }
      body.editor-screen-corporate #sec-meta .meta-core-summary {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        padding: 10px 12px;
        border: 1px solid #d8e3ef;
        border-radius: 14px;
        background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
        color: #4a6178;
      }
      body.editor-screen-corporate #sec-meta .meta-core-label {
        display: inline-flex;
        align-items: center;
        min-height: 26px;
        padding: 4px 10px;
        border-radius: 999px;
        background: #eaf2fc;
        color: #1f4d79;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
      }
      body.editor-screen-corporate #sec-meta .meta-core-summary strong {
        font-size: 13px;
        color: #223547;
      }
      body.editor-screen-corporate #sec-meta .meta-core-divider {
        width: 1px;
        height: 18px;
        background: #d7e1ec;
      }
      body.editor-screen-corporate #sec-meta .meta-core-later {
        color: #667b91;
      }
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-type,
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-date,
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-name,
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-manager,
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-client,
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-org,
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-subtitle {
        max-width: 100%;
      }
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-name { grid-column: 1 / span 6; }
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-date { grid-column: 7 / span 3; }
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-type { grid-column: 10 / span 3; }
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-client { grid-column: 1 / span 6; }
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-manager { grid-column: 7 / span 6; }
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-org { grid-column: 1 / span 6; }
      body.editor-screen-corporate #sec-meta .meta-grid > .meta-subtitle { grid-column: 7 / span 6; }
      body.editor-screen-corporate #sec-meta .meta-hero-upload,
      body.editor-screen-corporate #sec-meta .meta-logo-upload {
        display: none;
      }
      body.editor-screen-corporate #sec-meta .meta-media-intro {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-top: 10px;
        padding: 18px 2px 4px;
        border-top: 1px solid #dce6f0;
        border-radius: 0;
      }
      body.editor-screen-corporate #sec-meta .meta-media-intro strong {
        display: block;
        font-size: 20px;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: #223547;
      }
      body.editor-screen-corporate #sec-meta .meta-media-intro span {
        max-width: 56ch;
        font-size: 13px;
        line-height: 1.55;
        color: #6b8094;
      }
      body.editor-screen-corporate #sec-meta .meta-media-grid {
        grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
        gap: var(--editor-space-3);
        align-items: stretch;
      }
      body.editor-screen-corporate #sec-meta .meta-media-card {
        border: 1px solid #dce6f0;
        border-radius: 22px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 254, 0.98) 100%);
        padding: var(--editor-space-3);
        box-shadow: 0 14px 30px rgba(21, 39, 60, 0.05);
        gap: var(--editor-space-3);
      }
      body.editor-screen-corporate #sec-meta .meta-media-card-head {
        gap: 14px;
      }
      body.editor-screen-corporate #sec-meta .meta-media-card-head h5 {
        margin: 0 0 8px 0;
        font-size: 20px;
        line-height: 1.2;
        color: #223547;
      }
      body.editor-screen-corporate #sec-meta .meta-media-card-head p {
        margin: 0;
        font-size: 13px;
        line-height: 1.6;
        color: #61768c;
        max-width: 42ch;
      }
      body.editor-screen-corporate #sec-meta .meta-media-choice-row {
        display: grid;
        gap: 10px;
      }
      body.editor-screen-corporate #sec-meta .meta-media-choice-label {
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #6f859d;
      }
      body.editor-screen-corporate #sec-meta .meta-media-choice-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      body.editor-screen-corporate #sec-meta .meta-media-choice-btn {
        min-height: 34px;
        padding: 0 12px;
        border: 1px solid #d6e2ef;
        border-radius: 999px;
        background: #f7fbff;
        color: #365675;
        font-size: 12px;
        font-weight: 700;
      }
      body.editor-screen-corporate #sec-meta .meta-media-choice-btn.is-active {
        border-color: #8daeca;
        background: #214f7c;
        color: #f7fbff;
      }
      body.editor-screen-corporate #sec-meta .meta-media-choice-btn:hover {
        border-color: #bed1e4;
        background: #eef5fd;
      }
      body.editor-screen-corporate #sec-meta .meta-logo-mode-panel[hidden] {
        display: none !important;
      }
      body.editor-screen-corporate #sec-meta .meta-logo-mode-panel {
        display: grid;
        gap: 12px;
      }
      body.editor-screen-corporate #sec-meta .meta-logo-text-field {
        display: grid;
        gap: 8px;
        width: 100%;
        max-width: none;
      }
      body.editor-screen-corporate #sec-meta .meta-upload-trigger-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }
      body.editor-screen-corporate #sec-meta .meta-upload-trigger-btn,
      body.editor-screen-corporate #sec-meta .meta-upload-paste-btn {
        min-height: 38px;
        padding: 0 14px;
        border-radius: 999px;
        border: 1px solid #cfdeec;
        background: #f7fbff;
        color: #2e4c68;
        font-size: 13px;
        font-weight: 700;
      }
      body.editor-screen-corporate #sec-meta .meta-upload-trigger-btn:hover,
      body.editor-screen-corporate #sec-meta .meta-upload-paste-btn:hover {
        border-color: #b8cddd;
        background: #edf5fd;
      }
      body.editor-screen-corporate #sec-meta .meta-paste-hint {
        font-size: 12px;
        line-height: 1.5;
        color: #315574;
        font-weight: 600;
      }
      body.editor-screen-corporate #sec-meta .meta-upload-actions,
      body.editor-screen-corporate #sec-meta .meta-logo-upload-actions {
        width: 100%;
        margin-top: 0;
        padding: 14px;
        gap: 10px;
      }
      body.editor-screen-corporate #sec-meta .meta-upload-actions .paste-zone,
      body.editor-screen-corporate #sec-meta .meta-logo-upload-actions .paste-zone {
        width: 100%;
        flex: 1 1 100%;
        min-height: 88px;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 14px 16px;
        gap: 8px;
        text-align: left;
      }
      body.editor-screen-corporate #sec-meta .meta-media-card-logo {
        gap: 16px;
      }
      body.editor-screen-corporate #sec-meta .meta-media-card-logo .paste-zone {
        min-height: 72px;
      }
      body.editor-screen-corporate #sec-meta .meta-media-card-logo .meta-logo-text-field input {
        min-height: 46px;
      }
      body.editor-screen-corporate #sec-meta .meta-media-card input[type="file"] {
        display: none;
      }
      body.editor-screen-corporate #sec-meta .meta-media-card-hero .paste-zone:not(.has-file):not(.is-locked) {
        position: relative;
        overflow: hidden;
        border-style: solid;
        border-color: rgba(182, 199, 214, 0.95);
        background: linear-gradient(180deg, rgba(247, 250, 254, 0.98) 0%, rgba(238, 244, 249, 0.98) 100%);
      }
      body.editor-screen-corporate #sec-meta .meta-media-card-hero .paste-zone:not(.has-file):not(.is-locked)::after {
        content: "";
        display: none;
      }
      body.editor-screen-corporate #sec-meta .paste-zone.is-active-target {
        border-color: #9fbdd9;
        box-shadow: 0 0 0 4px rgba(71, 116, 160, 0.12);
      }
      body.editor-screen-corporate #sec-meta .meta-upload-actions .paste-zone strong,
      body.editor-screen-corporate #sec-meta .meta-logo-upload-actions .paste-zone strong {
        font-size: 14px;
        line-height: 1.35;
        color: #244761;
      }
      body.editor-screen-corporate #sec-meta .meta-upload-actions .paste-zone span,
      body.editor-screen-corporate #sec-meta .meta-logo-upload-actions .paste-zone span {
        font-size: 12px;
        line-height: 1.55;
        color: #667b91;
        max-width: 28ch;
      }
      body.editor-screen-corporate #sec-meta .meta-upload-actions .paste-zone.has-file,
      body.editor-screen-corporate #sec-meta .meta-logo-upload-actions .paste-zone.has-file {
        border-style: solid;
        border-color: rgba(47, 125, 87, 0.24);
        background: linear-gradient(180deg, rgba(249, 253, 251, 0.98) 0%, rgba(238, 248, 242, 0.98) 100%);
      }
      body.editor-screen-corporate #sec-meta .meta-upload-actions .paste-zone.has-file strong,
      body.editor-screen-corporate #sec-meta .meta-logo-upload-actions .paste-zone.has-file strong {
        color: #2f7d57;
      }
      body.editor-screen-corporate #sec-meta .meta-upload-actions .paste-zone.is-locked,
      body.editor-screen-corporate #sec-meta .meta-logo-upload-actions .paste-zone.is-locked {
        border-style: dashed;
        border-color: rgba(41, 75, 117, 0.2);
        background: linear-gradient(180deg, rgba(247, 249, 252, 0.92) 0%, rgba(239, 244, 249, 0.92) 100%);
      }
      body.editor-screen-corporate #sec-meta .meta-upload-actions .paste-zone.is-locked strong,
      body.editor-screen-corporate #sec-meta .meta-logo-upload-actions .paste-zone.is-locked strong {
        color: #476887;
      }
      body.editor-screen-corporate #sec-meta .meta-upload-actions .paste-zone.is-locked span,
      body.editor-screen-corporate #sec-meta .meta-logo-upload-actions .paste-zone.is-locked span {
        color: #71839a;
      }
      body.editor-screen-corporate #sec-meta .upload-meta-row {
        gap: 6px;
      }
      body.editor-screen-corporate #sec-meta .upload-meta-label {
        font-size: 11px;
        color: #74879b;
      }
      body.editor-screen-corporate #sec-meta .upload-meta-row,
      body.editor-screen-corporate #sec-meta .upload-button-row {
        display: none;
      }
      body.editor-screen-corporate #sec-meta .meta-upload-actions:has(.paste-zone.has-file) .upload-meta-row,
      body.editor-screen-corporate #sec-meta .meta-logo-upload-actions:has(.paste-zone.has-file) .upload-meta-row {
        display: grid;
      }
      body.editor-screen-corporate #sec-meta .meta-upload-actions:has(.paste-zone.has-file) .upload-button-row,
      body.editor-screen-corporate #sec-meta .meta-logo-upload-actions:has(.paste-zone.has-file) .upload-button-row {
        display: flex;
      }
      body.editor-screen-corporate #sec-meta .meta-logo-mode-panel-image:has(.paste-zone.has-file) .meta-paste-hint,
      body.editor-screen-corporate #sec-meta .meta-media-card-hero:has(.paste-zone.has-file) .meta-paste-hint {
        display: none !important;
      }
      body.editor-screen-corporate #sec-meta .upload-button-row {
        gap: 10px;
      }
      body.editor-screen-corporate #sec-meta .upload-button-row button[disabled],
      body.editor-screen-corporate #sec-meta .upload-button-row .preview-link-btn[disabled] {
        opacity: 0.58;
        box-shadow: none;
      }
      body.editor-screen-corporate .hint,
      body.editor-screen-corporate .small {
        color: #687b90;
        font-size: 12px;
        line-height: 1.5;
      }
      body.editor-screen-corporate input,
      body.editor-screen-corporate textarea,
      body.editor-screen-corporate select {
        min-height: var(--editor-field-h);
        padding: 8px 10px;
        border-color: #ccd8e7;
        border-radius: var(--editor-radius-sm);
        background: #fbfcfe;
        color: #233548;
        font-size: 12px;
        line-height: 1.45;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
      }
      body.editor-screen-corporate input:focus,
      body.editor-screen-corporate textarea:focus,
      body.editor-screen-corporate select:focus {
        border-color: #9fb6d1;
        outline: 2px solid rgba(31, 77, 121, 0.12);
        outline-offset: 0;
        background: #ffffff;
      }
      body.editor-screen-corporate textarea {
        min-height: 96px;
        resize: vertical;
      }
      body.editor-screen-corporate .goal-guidance-card {
        margin: 0 0 var(--editor-space-3);
        padding: 14px 16px;
        border: 1px solid #dbe5f0;
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 253, 0.98) 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
      }
      body.editor-screen-corporate .goal-guidance-head {
        display: grid;
        gap: 8px;
        margin-bottom: 12px;
      }
      body.editor-screen-corporate .goal-guidance-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        min-height: 28px;
        padding: 4px 10px;
        border: 1px solid #d6e2ef;
        border-radius: 999px;
        background: #eef5fd;
        color: #234f79;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
      }
      body.editor-screen-corporate .goal-guidance-head p {
        margin: 0;
        font-size: 13px;
        line-height: 1.6;
        color: #61758c;
      }
      body.editor-screen-corporate .goal-guidance-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
      }
      body.editor-screen-corporate .goal-guidance-item {
        display: grid;
        gap: 6px;
        padding: 12px;
        border: 1px solid #dce6f0;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.9);
      }
      body.editor-screen-corporate .goal-guidance-item strong {
        font-size: 13px;
        line-height: 1.35;
        color: #21384d;
      }
      body.editor-screen-corporate .goal-guidance-item span {
        font-size: 12px;
        line-height: 1.55;
        color: #65798f;
      }
      body.editor-screen-corporate #sec-goal textarea,
      body.editor-screen-corporate #sec-scope textarea,
      body.editor-screen-corporate #sec-quality textarea {
        min-height: 120px;
      }
      body.editor-screen-corporate input::placeholder,
      body.editor-screen-corporate textarea::placeholder {
        color: #91a1b4;
      }
      body.editor-screen-corporate .field-clear-btn {
        width: 24px;
        height: 24px;
        min-width: 24px;
        border-radius: 999px;
        border-color: #d5dfeb;
        background: rgba(255, 255, 255, 0.94);
        color: #72849a;
      }

      body.editor-screen-corporate .section-status-inline {
        margin: 0 0 10px 0;
        width: max-content;
        max-width: 100%;
        justify-content: flex-start;
        padding: 4px 8px;
        border: 1px solid #dbe5f0;
        border-radius: 999px;
        background: #f7fafe;
        color: #5a6d82;
        gap: 8px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
      }
      body.editor-screen-corporate .section-status-inline.no-offset {
        margin: 0 0 10px 0;
      }
      body.editor-screen-corporate .section-status-inline select {
        width: auto;
        min-width: 108px;
        height: 30px;
        min-height: 30px;
        padding: 5px 28px 5px 10px;
        border-radius: 999px;
        border-color: #d2deec;
        background: rgba(255, 255, 255, 0.9);
        color: #31465d;
        font-size: 12px;
        font-weight: 700;
      }
      body.editor-screen-corporate .section-status-inline[data-status="green"] {
        border-color: rgba(47, 125, 87, 0.18);
        background: rgba(234, 246, 239, 0.85);
      }
      body.editor-screen-corporate .section-status-inline[data-status="green"] select {
        border-color: rgba(47, 125, 87, 0.2);
        color: #2f7d57;
      }
      body.editor-screen-corporate .section-status-inline[data-status="orange"] {
        border-color: rgba(165, 106, 31, 0.2);
        background: rgba(255, 245, 232, 0.92);
      }
      body.editor-screen-corporate .section-status-inline[data-status="orange"] select {
        border-color: rgba(165, 106, 31, 0.22);
        color: #9a631f;
      }
      body.editor-screen-corporate .section-status-inline[data-status="red"] {
        border-color: rgba(163, 60, 60, 0.18);
        background: rgba(253, 238, 238, 0.92);
      }
      body.editor-screen-corporate .section-status-inline[data-status="red"] select {
        border-color: rgba(163, 60, 60, 0.18);
        color: #9a4343;
      }
      body.editor-screen-corporate .section-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--editor-space-3);
        margin: 0 0 var(--editor-space-3);
        flex-wrap: wrap;
      }
      body.editor-screen-corporate .section-toolbar .section-status-inline {
        margin: 0;
        justify-content: flex-start;
      }
      body.editor-screen-corporate .section-toolbar .section-clear {
        position: static;
        top: auto;
        right: auto;
        margin-left: auto;
      }
      body.editor-screen-corporate .section-clear {
        top: 22px;
        right: 22px;
        min-height: 32px;
        padding: 0 10px;
        border-radius: 999px;
        border-color: #d4deea;
        background: rgba(255, 255, 255, 0.9);
        color: #667a90;
        font-size: 12px;
        font-weight: 600;
      }
      body.editor-screen-corporate #sec-issues,
      body.editor-screen-corporate #sec-risks,
      body.editor-screen-corporate #sec-decisions {
        background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
      }
      body.editor-screen-corporate .planning-top-controls {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr) max-content;
        align-items: center;
        gap: var(--editor-space-2) var(--editor-space-3);
        margin-bottom: var(--editor-space-3);
      }
      body.editor-screen-corporate .planning-top-controls .section-status-inline {
        margin: 0;
      }
      body.editor-screen-corporate .planning-top-controls .planning-toggle-group {
        justify-self: center;
        margin: 0 auto;
      }
      body.editor-screen-corporate .planning-top-controls .section-clear {
        position: static;
        top: auto;
        right: auto;
        margin-left: auto;
        justify-self: end;
      }
      body.editor-screen-corporate .planning-toggle-group,
      body.editor-screen-corporate .meta-paste-target {
        border-color: #dbe5f0;
        border-radius: 14px;
        background: #f8fbff;
        padding: 10px 12px;
      }
      body.editor-screen-corporate .budget-page-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0 0 12px;
        flex-wrap: wrap;
      }
      body.editor-screen-corporate .budget-page-toggle .small {
        margin: 0;
        max-width: 48ch;
      }
      body.editor-screen-corporate .field-group-inline {
        display: grid;
        gap: 8px;
        margin: 0 0 12px;
      }
      body.editor-screen-corporate .field-group-inline .field-caption {
        margin: 0;
      }
      body.editor-screen-corporate .radio-inline {
        gap: 10px 12px;
        margin: 6px 0 10px;
      }
      body.editor-screen-corporate .field-group-inline .radio-inline {
        margin: 0;
      }
      body.editor-screen-corporate .radio-inline label {
        border-color: #dbe6f2;
        border-radius: 999px;
        background: #fbfdff;
        padding: 8px 12px;
        margin-bottom: 0;
      }
      body.editor-screen-corporate .upload-hidden-field {
        display: none;
      }
      body.editor-screen-corporate .editor-upload-card {
        display: grid;
        gap: 12px;
        padding: 14px;
        border: 1px solid #dbe5ef;
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 254, 0.98) 100%);
        box-shadow: 0 12px 26px rgba(21, 39, 60, 0.04);
      }
      body.editor-screen-corporate .editor-upload-card-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 14px;
      }
      body.editor-screen-corporate .editor-upload-card-kicker {
        margin: 0 0 4px;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #7a8b9d;
      }
      body.editor-screen-corporate .editor-upload-card-title {
        margin: 0 0 6px;
        font-size: 18px;
        line-height: 1.2;
        color: #223547;
      }
      body.editor-screen-corporate .editor-upload-card-copy {
        margin: 0;
        font-size: 13px;
        line-height: 1.55;
        color: #61768c;
      }
      body.editor-screen-corporate .editor-upload-card-badge {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 6px 11px;
        border: 1px solid #d8e3ef;
        border-radius: 999px;
        background: #f8fbff;
        color: #526a82;
        font-size: 11px;
        font-weight: 700;
      }
      body.editor-screen-corporate .editor-upload-card .upload-actions {
        margin-top: 0;
      }
      body.editor-screen-corporate .editor-upload-card .paste-zone {
        width: 100%;
        min-height: 88px;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 14px 16px;
        gap: 8px;
        text-align: left;
      }
      body.editor-screen-corporate .editor-upload-card .paste-zone strong {
        font-size: 13px;
        line-height: 1.35;
        color: #244761;
      }
      body.editor-screen-corporate .editor-upload-card .paste-zone span {
        font-size: 12px;
        line-height: 1.55;
        color: #667b91;
      }
      body.editor-screen-corporate .editor-upload-card .paste-zone.has-file {
        border-style: solid;
        border-color: rgba(47, 125, 87, 0.24);
        background: linear-gradient(180deg, rgba(249, 253, 251, 0.98) 0%, rgba(238, 248, 242, 0.98) 100%);
      }
      body.editor-screen-corporate .editor-upload-card .paste-zone.has-file strong {
        color: #2f7d57;
      }
      body.editor-screen-corporate .editor-upload-card .upload-button-row button[disabled],
      body.editor-screen-corporate .editor-upload-card .upload-button-row .preview-link-btn[disabled] {
        opacity: 0.58;
        box-shadow: none;
      }
      body.editor-screen-corporate .upload-actions {
        margin-top: var(--editor-space-2);
        padding: var(--editor-space-3);
        border: 1px solid #e0e8f2;
        border-radius: 16px;
        background: #f8fbff;
        gap: var(--editor-space-2);
      }
      body.editor-screen-corporate .paste-zone {
        min-height: 52px;
        border-color: #c3d3e6;
        border-radius: 14px;
        background: #ffffff;
        color: #46607d;
        font-size: 12px;
        justify-content: flex-start;
      }
      body.editor-screen-corporate .preview-link-btn,
      body.editor-screen-corporate .matrix-add,
      body.editor-screen-corporate .progress-add {
        min-height: 36px;
        padding: 8px 12px;
        border: 1px solid #d6e0eb;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.92);
        color: #4c6277;
        font-size: 12px;
        font-weight: 650;
      }
      body.editor-screen-corporate .section-clear:hover,
      body.editor-screen-corporate .preview-link-btn:hover,
      body.editor-screen-corporate .matrix-add:hover,
      body.editor-screen-corporate .progress-add:hover {
        border-color: #c5d4e3;
        background: #ffffff;
        color: #2f4863;
        box-shadow: 0 6px 16px rgba(29, 51, 76, 0.05);
      }
      body.editor-screen-corporate .matrix-toolbar,
      body.editor-screen-corporate .progress-toolbar {
        margin-top: var(--editor-space-2);
        gap: var(--editor-space-2);
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
      }
      body.editor-screen-corporate .matrix,
      body.editor-screen-corporate .progress-input-table,
      body.editor-screen-corporate .budget-total-input {
        border-color: #dde6f0;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
      }
      body.editor-screen-corporate .matrix .row,
      body.editor-screen-corporate .progress-input-row {
        border-bottom-color: #e8eef5;
      }
      body.editor-screen-corporate .matrix .row.head-row input,
      body.editor-screen-corporate .progress-input-head span {
        background: #f6f9fc;
        color: #607487;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.03em;
        text-transform: none;
        min-height: 40px;
        padding: 10px 12px;
      }
      body.editor-screen-corporate .matrix .row > input,
      body.editor-screen-corporate .matrix .row > select,
      body.editor-screen-corporate .progress-input-row input,
      body.editor-screen-corporate .progress-input-row select,
      body.editor-screen-corporate .budget-total-row input {
        min-height: 42px;
        height: 42px;
        padding: 10px 12px;
        font-size: 13px;
        border-right-color: #e8eef5;
      }
      body.editor-screen-corporate .matrix .row.matrix-data-row:nth-child(even) > input,
      body.editor-screen-corporate .matrix .row.matrix-data-row:nth-child(even) > select,
      body.editor-screen-corporate .progress-input-row:nth-child(even) > input,
      body.editor-screen-corporate .progress-input-row:nth-child(even) > select {
        background: #fbfcfe;
      }
      body.editor-screen-corporate .matrix-remove,
      body.editor-screen-corporate .progress-remove {
        min-height: 42px;
        border-left-color: #e8eef5;
        background: #fbfcfe;
        color: #7f92a6;
      }
      body.editor-screen-corporate .matrix-remove:hover,
      body.editor-screen-corporate .progress-remove:hover {
        background: #f0f5fa;
        color: #36506a;
      }
      body.editor-screen-corporate .budget-total-row input {
        background: #f7fafc;
        font-weight: 700;
      }
      body.editor-screen-corporate .guided-start-card,
      body.editor-screen-corporate .guided-final-actions {
        border: 1px solid #dde6f0;
        border-radius: 14px;
        background: #f8fbff;
        padding: 12px;
      }
      body.editor-screen-corporate .guided-start-card-rich {
        gap: 10px;
      }
      body.editor-screen-corporate .start-welcome-card,
      body.editor-screen-corporate .meta-stage-card,
      body.editor-screen-corporate .meta-media-intro {
        border-radius: 16px;
        border-color: #d8e3ef;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 247, 253, 0.98) 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
        padding: 10px 12px;
      }
      body.editor-screen-corporate .start-welcome-card h4,
      body.editor-screen-corporate .meta-stage-title {
        font-size: 18px;
        letter-spacing: -0.02em;
      }
      body.editor-screen-corporate .start-welcome-card p,
      body.editor-screen-corporate .meta-stage-copy,
      body.editor-screen-corporate .meta-media-intro span {
        font-size: 12px;
      }
      body.editor-screen-corporate .start-trust-row,
      body.editor-screen-corporate .meta-stage-pills {
        gap: 6px;
        margin-top: 8px;
      }
      body.editor-screen-corporate .start-trust-pill,
      body.editor-screen-corporate .meta-stage-pill {
        min-height: 28px;
        padding: 5px 10px;
        border-color: #d7e2ee;
        color: #47627c;
        background: rgba(255, 255, 255, 0.9);
      }
      body.editor-screen-corporate .meta-stage-pill.is-solid {
        border-color: #c5d7eb;
        background: #ebf3fc;
        color: #1c4c79;
      }
      body.editor-screen-corporate .start-route-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
      }
      body.editor-screen-corporate .start-route {
        min-height: 124px;
        padding: 12px;
        border-radius: 14px;
        border-color: #dbe5f0;
        background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
        box-shadow: 0 8px 18px rgba(19, 35, 55, 0.05);
      }
      body.editor-screen-corporate .start-route:hover {
        border-color: #bfd3e8;
        box-shadow: 0 12px 24px rgba(19, 35, 55, 0.08);
      }
      body.editor-screen-corporate .start-route-primary {
        border-color: #bfd3e8;
        background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
      }
      body.editor-screen-corporate .start-route-eyebrow {
        color: #688098;
      }
      body.editor-screen-corporate .start-route-title {
        font-size: 15px;
        color: #1f344a;
      }
      body.editor-screen-corporate .start-route-copy {
        font-size: 12px;
        line-height: 1.45;
        color: #5f748c;
      }
      body.editor-screen-corporate .start-step-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
      }
      body.editor-screen-corporate .start-step {
        min-height: 0;
        padding: 8px 10px;
        border-radius: 14px;
        border-color: #dbe4ef;
        background: rgba(255, 255, 255, 0.82);
      }
      body.editor-screen-corporate .start-step strong {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
      }
      body.editor-screen-corporate .start-proof-card {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.95fr);
        gap: 14px;
        padding: 14px;
        border: 1px solid #dbe5f0;
        border-radius: 18px;
        background: linear-gradient(135deg, rgba(246, 250, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
      }
      body.editor-screen-corporate .start-proof-copy {
        display: grid;
        gap: 10px;
        align-content: start;
      }
      body.editor-screen-corporate .start-proof-kicker {
        display: inline-flex;
        width: fit-content;
        min-height: 28px;
        align-items: center;
        padding: 4px 10px;
        border: 1px solid #d7e3ef;
        border-radius: 999px;
        background: #eef5fd;
        color: #244f79;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
      }
      body.editor-screen-corporate .start-proof-copy h5 {
        margin: 0;
        font-size: 20px;
        line-height: 1.15;
        color: #203448;
      }
      body.editor-screen-corporate .start-proof-copy p {
        margin: 0;
        font-size: 13px;
        line-height: 1.6;
        color: #5f748c;
      }
      body.editor-screen-corporate .start-proof-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }
      body.editor-screen-corporate .start-proof-link,
      body.editor-screen-corporate .start-proof-secondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 9px 14px;
        border-radius: 12px;
        border: 1px solid #d6e1ed;
        text-decoration: none;
        font-size: 12px;
        font-weight: 700;
      }
      body.editor-screen-corporate .start-proof-link {
        background: linear-gradient(180deg, #234d7a 0%, #1a3e62 100%);
        border-color: #1a3e62;
        color: #fff;
        box-shadow: 0 10px 22px rgba(23, 60, 98, 0.18);
      }
      body.editor-screen-corporate .start-proof-secondary {
        background: rgba(255, 255, 255, 0.9);
        color: #4d647c;
      }
      body.editor-screen-corporate .start-proof-link:hover {
        color: #fff;
        border-color: #163553;
        background: linear-gradient(180deg, #1f476f 0%, #163553 100%);
      }
      body.editor-screen-corporate .start-proof-secondary:hover {
        border-color: #c6d6e6;
        background: #fff;
        color: #2f4863;
      }
      body.editor-screen-corporate .start-proof-note {
        color: #6c8097;
      }
      body.editor-screen-corporate .start-guide-card {
        display: grid;
        gap: 12px;
        padding: 14px;
        border: 1px solid #dbe5f0;
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 254, 0.98) 100%);
      }
      body.editor-screen-corporate .start-guide-head {
        display: grid;
        gap: 6px;
      }
      body.editor-screen-corporate .start-guide-kicker {
        display: inline-flex;
        width: fit-content;
        min-height: 26px;
        align-items: center;
        padding: 4px 10px;
        border: 1px solid #dbe6f1;
        border-radius: 999px;
        background: #f5f8fc;
        color: #5a7089;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
      }
      body.editor-screen-corporate .start-guide-head h5 {
        margin: 0;
        font-size: 18px;
        line-height: 1.2;
        color: #203448;
      }
      body.editor-screen-corporate .start-guide-list {
        margin: 0;
        padding-left: 18px;
        display: grid;
        gap: 8px;
        color: #5f748c;
        font-size: 13px;
        line-height: 1.6;
      }
      body.editor-screen-corporate .start-guide-caveat {
        padding: 12px 14px;
        border: 1px solid rgba(172, 128, 53, 0.18);
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(255, 250, 240, 0.96) 0%, rgba(255, 246, 232, 0.96) 100%);
        color: #7b5a25;
        font-size: 12.5px;
        line-height: 1.55;
      }
      body.editor-screen-corporate .start-guide-actions {
        display: flex;
        justify-content: flex-start;
      }

      .guide-modal {
        width: min(640px, calc(100vw - 32px));
        border: 0;
        padding: 0;
        border-radius: 24px;
        background: transparent;
        box-shadow: 0 32px 84px rgba(18, 35, 56, 0.3);
      }
      .guide-modal::backdrop {
        background: rgba(18, 35, 56, 0.44);
        backdrop-filter: blur(4px);
      }
      .guide-modal-card {
        display: grid;
        gap: 18px;
        padding: 24px;
        border-radius: 24px;
        border: 1px solid rgba(41, 75, 117, 0.14);
        background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(245,248,252,0.99) 100%);
      }
      body.editor-screen-corporate .guide-modal-card {
        padding: 24px;
      }
      .guide-modal-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
      }
      .guide-modal-kicker {
        margin: 0 0 4px;
        color: #56708e;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }
      .guide-modal-head h4 {
        margin: 0;
        color: #203247;
        font-size: 28px;
        line-height: 1.08;
      }
      .guide-modal-close {
        border: 0;
        background: transparent;
        color: #6e8096;
        font-size: 28px;
        line-height: 1;
        padding: 0;
      }
      .guide-modal-body {
        display: grid;
        gap: 16px;
      }
      .file-action-modal-card {
        gap: 20px;
      }
      .file-action-copy {
        margin: 0;
        color: #4f667f;
        font-size: 15px;
        line-height: 1.6;
      }
      .file-action-note {
        margin: 0;
        padding: 14px 16px;
        border: 1px solid rgba(64, 111, 164, 0.14);
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(241, 246, 252, 0.96) 0%, rgba(236, 243, 251, 0.96) 100%);
        color: #36506b;
        font-size: 14px;
        line-height: 1.55;
      }
      .file-action-actions {
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        flex-wrap: wrap;
      }
      .file-action-actions button:not(.primary) {
        border: 1px solid rgba(41, 75, 117, 0.16);
        background: rgba(255, 255, 255, 0.96);
        color: #30465f;
      }
      .guide-modal-steps {
        margin: 0;
        padding-left: 20px;
        display: grid;
        gap: 10px;
        color: #556c86;
        font-size: 14px;
        line-height: 1.65;
      }
      .guide-modal-warning {
        display: grid;
        gap: 10px;
        padding: 16px;
        border: 1px solid rgba(172, 128, 53, 0.18);
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(255, 250, 240, 0.96) 0%, rgba(255, 246, 232, 0.96) 100%);
        color: #7b5a25;
      }
      .guide-modal-warning strong {
        color: #744f18;
      }
      .guide-modal-warning ul {
        margin: 0;
        padding-left: 18px;
        display: grid;
        gap: 8px;
        font-size: 13.5px;
        line-height: 1.55;
      }
      body.editor-screen-corporate .start-proof-preview {
        position: relative;
        display: grid;
        place-items: center;
        min-height: 220px;
        padding: 8px;
      }
      body.editor-screen-corporate .start-proof-sheet {
        position: absolute;
        width: 210px;
        border: 1px solid #d8e1eb;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 18px 36px rgba(29, 50, 76, 0.12);
      }
      body.editor-screen-corporate .start-proof-sheet-cover {
        top: 8px;
        left: 12px;
        height: 154px;
        transform: rotate(-4deg);
        overflow: hidden;
      }
      body.editor-screen-corporate .start-proof-sheet-report {
        right: 6px;
        bottom: 10px;
        height: 148px;
        transform: rotate(4deg);
        overflow: hidden;
      }
      body.editor-screen-corporate .start-proof-cover-top {
        height: 26px;
        background: linear-gradient(90deg, #fefefe 0%, #f6f9fc 100%);
      }
      body.editor-screen-corporate .start-proof-cover-hero {
        height: 88px;
        background:
          linear-gradient(135deg, rgba(59, 91, 128, 0.82) 0%, rgba(148, 182, 201, 0.45) 48%, rgba(236, 242, 247, 0.88) 100%);
      }
      body.editor-screen-corporate .start-proof-cover-band {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        padding: 0;
      }
      body.editor-screen-corporate .start-proof-cover-band span {
        display: block;
        height: 40px;
        border-right: 1px solid #e0e7ef;
        background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fa 100%);
      }
      body.editor-screen-corporate .start-proof-cover-band span:last-child {
        border-right: 0;
      }
      body.editor-screen-corporate .start-proof-header-line {
        height: 24px;
        border-bottom: 1px solid #e3e9f0;
        background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
      }
      body.editor-screen-corporate .start-proof-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding: 10px;
      }
      body.editor-screen-corporate .start-proof-grid span {
        display: block;
        min-height: 42px;
        border: 1px solid #e0e7ef;
        border-radius: 10px;
        background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
      }
      body.editor-screen-corporate .start-proof-grid span:nth-child(4),
      body.editor-screen-corporate .start-proof-grid span:nth-child(5),
      body.editor-screen-corporate .start-proof-grid span:nth-child(6) {
        min-height: 58px;
      }
      body.editor-screen-corporate .start-note {
        color: #62778e;
      }
      body.editor-screen-corporate #sec-start.is-compact .start-welcome-card,
      body.editor-screen-corporate #sec-start.is-compact .start-step-list,
      body.editor-screen-corporate #sec-start.is-compact .start-note {
        display: none;
      }
      body.editor-screen-corporate #sec-start.is-compact .guided-start-card {
        padding: 12px 14px;
      }
      body.editor-screen-corporate #sec-start.is-compact .section-subline {
        margin-bottom: 8px;
      }
      body.editor-screen-corporate #sec-start.is-compact .start-route {
        min-height: 0;
        padding: 10px 12px;
        gap: 6px;
      }
      body.editor-screen-corporate #sec-start.is-compact .start-route-eyebrow {
        display: none;
      }
      body.editor-screen-corporate #sec-start.is-compact .start-route-title {
        font-size: 14px;
      }
      body.editor-screen-corporate #sec-start.is-compact .start-route-copy {
        font-size: 12px;
        line-height: 1.4;
      }
      body.editor-screen-corporate .guided-start-actions,
      body.editor-screen-corporate .guided-final-actions {
        display: flex;
        flex-wrap: wrap;
        gap: var(--editor-space-2);
      }
      body.editor-screen-corporate .guided-final-actions {
        margin-top: 12px;
      }
      body.editor-screen-corporate.pro-tier-free #btnGuidedSave,
      body.editor-screen-corporate.pro-tier-free #btnExport,
      body.editor-screen-corporate.pro-tier-free #btnImport,
      body.editor-screen-corporate.pro-tier-free #btnGuidedOpen {
        opacity: 0.68;
      }
      body.editor-screen-corporate [data-locked="true"] {
        position: relative;
      }
      body.editor-screen-corporate [data-locked="true"]::after {
        content: "Pro";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 32px;
        margin-left: 8px;
        padding: 2px 8px;
        border-radius: 999px;
        background: rgba(33, 78, 131, 0.1);
        color: #214e83;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
      }
      body.editor-screen-corporate.pro-tier-free .export-summary-card::after {
        content: "Demo: sla op/open en branding zijn beschikbaar in VGR Pro.";
        display: block;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(41, 75, 117, 0.12);
        color: #60758f;
        font-size: 13px;
      }

      .pro-modal {
        width: min(520px, calc(100vw - 32px));
        border: 0;
        padding: 0;
        border-radius: 24px;
        background: transparent;
        box-shadow: 0 30px 80px rgba(16, 30, 51, 0.3);
      }
      .pro-modal::backdrop {
        background: rgba(18, 35, 56, 0.44);
        backdrop-filter: blur(4px);
      }
      .pro-modal-card {
        display: grid;
        gap: 16px;
        padding: 24px;
        border-radius: 24px;
        border: 1px solid rgba(41, 75, 117, 0.14);
        background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(245,248,252,0.99) 100%);
      }
      .pro-modal-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
      }
      .pro-modal-kicker {
        margin: 0 0 4px;
        color: #56708e;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }
      .pro-modal-head h4 {
        margin: 0;
        color: #203247;
        font-size: 28px;
        line-height: 1.05;
      }
      .pro-modal-close {
        border: 0;
        background: transparent;
        color: #6e8096;
        font-size: 28px;
        line-height: 1;
        padding: 0;
      }
      .pro-modal-copy,
      .pro-modal-note {
        margin: 0;
        color: #647991;
        font-size: 14px;
        line-height: 1.5;
      }
      .pro-feature-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      .pro-feature-list span {
        padding: 8px 12px;
        border-radius: 999px;
        background: rgba(225, 233, 243, 0.72);
        color: #325372;
        font-size: 13px;
        font-weight: 700;
      }
      .pro-modal-field {
        display: grid;
        gap: 8px;
        color: #314b67;
        font-size: 13px;
        font-weight: 700;
      }
      .pro-modal-feedback {
        min-height: 20px;
        color: #647991;
        font-size: 13px;
        font-weight: 600;
      }
      .pro-modal-feedback[data-tone="success"] { color: #2d6e45; }
      .pro-modal-feedback[data-tone="error"] { color: #a43f46; }
      .pro-modal-feedback[data-tone="warn"] { color: #9c6a25; }
      .pro-modal-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
      }

      body.editor-screen-corporate .guided-shell {
        display: none !important;
      }
      body.editor-screen-corporate .guided-section-context {
        display: grid;
        gap: 4px;
        margin: 0 0 12px;
        padding: 0 0 10px;
        border-bottom: 1px solid #e6edf5;
      }
      body.editor-screen-corporate .guided-section-context[hidden] {
        display: none !important;
      }
      body.editor-screen-corporate .guided-section-topline {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--screen-muted);
      }
      }
      body.editor-screen-corporate .guided-active > legend {
        display: none;
      }
      body.editor-screen-corporate .guided-active .section-header {
        display: block !important;
      }
      body.editor-screen-corporate .guided-active .section-toolbar,
      body.editor-screen-corporate .guided-active .planning-top-controls,
      body.editor-screen-corporate .guided-active .section-status-inline {
        margin-top: 0;
      }
      body.editor-screen-corporate .guided-active .section-toolbar,
      body.editor-screen-corporate .guided-active .planning-top-controls {
        margin-bottom: 12px;
      }
      body.editor-screen-corporate .guided-footer {
        border: 1px solid var(--screen-line);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 8px 18px rgba(19, 35, 55, 0.04);
        padding: 8px;
      }
      body.editor-screen-corporate .guided-footer button {
        min-height: 38px;
        border-radius: 10px;
      }
      body.editor-screen-corporate .export-summary-card {
        display: grid;
        gap: 10px;
        padding: 14px;
        border: 1px solid #dbe5ef;
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 253, 0.98) 100%);
      }
      body.editor-screen-corporate .export-summary-kicker {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #7a8b9d;
      }
      body.editor-screen-corporate .export-summary-card h4 {
        margin: 0;
        font-size: 20px;
        line-height: 1.15;
        color: #223547;
      }
      body.editor-screen-corporate .export-summary-card p {
        margin: 0;
        font-size: 13px;
        line-height: 1.6;
        color: #61768c;
        max-width: 72ch;
      }
      body.editor-screen-corporate .export-choice-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }
      body.editor-screen-corporate .export-choice {
        display: grid;
        gap: 4px;
        padding: 10px 12px;
        border: 1px solid #dce6f0;
        border-radius: 14px;
        background: #ffffff;
      }
      body.editor-screen-corporate .export-choice strong {
        font-size: 13px;
        color: #223547;
      }
      body.editor-screen-corporate .export-choice span {
        font-size: 12px;
        line-height: 1.5;
        color: #667b91;
      }
      /* Guided mode: alleen de actieve sectie + guided shell/footer, nooit de report-view. */
      body.editor-screen-corporate.editor-mode-guided:not(.guided-preview-active) .editor-view {
        display: block;
      }
      body.editor-screen-corporate.editor-mode-guided:not(.guided-preview-active) .report-view {
        display: none;
      }
      body.editor-screen-corporate.editor-mode-guided .input-block-grid > .form-section {
        display: none !important;
      }
      body.editor-screen-corporate.editor-mode-guided .input-block-grid > .form-section.guided-active {
        display: block !important;
      }
      body.editor-screen-corporate.editor-mode-guided:not(.guided-preview-active) #guidedShell,
      body.editor-screen-corporate.editor-mode-guided:not(.guided-preview-active) #guidedFooter {
        display: block;
      }

      /* Free mode: volledige invulflow, geen guided shell/footer en geen report-view. */
      body.editor-screen-corporate.editor-mode-free .editor-view {
        display: block;
      }
      body.editor-screen-corporate.editor-mode-free .report-view {
        display: none;
      }
      body.editor-screen-corporate.editor-mode-free .input-block-grid > .form-section {
        display: block;
      }
      body.editor-screen-corporate.editor-mode-free #guidedShell,
      body.editor-screen-corporate.editor-mode-free #guidedFooter {
        display: none !important;
      }
      /* Preview-context: rapport zichtbaar, editorflow uit de screen-layout. */
      body.editor-screen-corporate.editor-mode-guided.guided-preview-active .editor-view {
        display: none;
      }
      body.editor-screen-corporate.editor-mode-guided.guided-preview-active .report-view {
        display: block;
      }
      body.editor-screen-corporate.editor-mode-guided.guided-preview-active #guidedShell,
      body.editor-screen-corporate.editor-mode-guided.guided-preview-active #guidedFooter {
        display: none !important;
      }

      body.editor-screen-corporate .screen-preview-anchor {
        position: relative;
        top: calc(-1 * var(--scroll-offset));
        height: 0;
        width: 100%;
      }
      body.editor-screen-corporate .preview-panel .head {
        border-bottom: 1px solid #dde6f2;
      }
      /* Visual polish: preview krijgt een rustiger documentkader wanneer zichtbaar. */
      body.editor-screen-corporate .preview-panel {
        margin-top: 8px;
        border-color: #d2deeb;
      }
      body.editor-screen-corporate .preview-wrap {
        background: #eaf0f7;
        padding: 14px;
        border-radius: 0 0 12px 12px;
      }
      body.editor-screen-corporate .preview-wrap .sheet {
        border-color: #c9d6e6;
        box-shadow: 0 6px 16px rgba(16, 31, 49, 0.07);
      }

      body.editor-screen-corporate .report-view .preview-panel {
        display: block;
      }

      body.editor-screen-corporate[data-ui-theme="dark"] .panel,
      body.editor-screen-corporate[data-ui-theme="dark"] fieldset.form-section,
      body.editor-screen-corporate[data-ui-theme="dark"] .guided-shell,
      body.editor-screen-corporate[data-ui-theme="dark"] .guided-footer,
      body.editor-screen-corporate[data-ui-theme="dark"] .editor-recovery-card,
      body.editor-screen-corporate[data-ui-theme="dark"] .start-welcome-card,
      body.editor-screen-corporate[data-ui-theme="dark"] .start-proof-card,
      body.editor-screen-corporate[data-ui-theme="dark"] .start-guide-card {
        background: var(--screen-surface) !important;
        color: var(--screen-text) !important;
        border-color: var(--screen-line) !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22) !important;
      }
      body.editor-screen-corporate[data-ui-theme="dark"] .topbar {
        background: linear-gradient(180deg, var(--topnav-bg) 0%, var(--topnav-bg-strong) 100%) !important;
        border-color: rgba(128, 180, 232, 0.12) !important;
      }
      body.editor-screen-corporate[data-ui-theme="dark"] .topbar-pro-strip,
      body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow,
      body.editor-screen-corporate[data-ui-theme="dark"] #btnExport,
      body.editor-screen-corporate[data-ui-theme="dark"] #btnGuide,
      body.editor-screen-corporate[data-ui-theme="dark"] .start-route,
      body.editor-screen-corporate[data-ui-theme="dark"] input,
      body.editor-screen-corporate[data-ui-theme="dark"] textarea,
      body.editor-screen-corporate[data-ui-theme="dark"] select,
      body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow .advanced-content,
      body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow-grid button,
      body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow-grid .toolbar-field {
        background: var(--screen-surface-soft) !important;
        color: var(--screen-text) !important;
        border-color: var(--screen-line-strong) !important;
      }
      body.editor-screen-corporate[data-ui-theme="dark"] .topbar-sections .menu-btn {
        background: transparent !important;
        color: var(--topnav-muted) !important;
        border-color: transparent !important;
      }
      body.editor-screen-corporate[data-ui-theme="dark"] .topbar-sections .menu-btn.step-current,
      body.editor-screen-corporate[data-ui-theme="dark"] .topbar-sections .menu-btn.step-done,
      body.editor-screen-corporate[data-ui-theme="dark"] .topbar-sections .menu-btn.active {
        background: var(--topnav-active-bg) !important;
        color: var(--topnav-text) !important;
        border-color: rgba(128, 180, 232, 0.18) !important;
      }
      body.editor-screen-corporate[data-ui-theme="dark"] .docbar-app,
      body.editor-screen-corporate[data-ui-theme="dark"] .docbar-caption,
      body.editor-screen-corporate[data-ui-theme="dark"] .docbar-save-state,
      body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow-note,
      body.editor-screen-corporate[data-ui-theme="dark"] .pro-copy,
      body.editor-screen-corporate[data-ui-theme="dark"] .small,
      body.editor-screen-corporate[data-ui-theme="dark"] .section-subline,
      body.editor-screen-corporate[data-ui-theme="dark"] .start-route-copy {
        color: var(--screen-muted) !important;
      }
      body.editor-screen-corporate[data-ui-theme="dark"] .docbar-badge,
      body.editor-screen-corporate[data-ui-theme="dark"] .pro-pill {
        background: rgba(128, 180, 232, 0.12) !important;
        color: var(--screen-accent) !important;
        border-color: rgba(128, 180, 232, 0.18) !important;
      }
      body.editor-screen-corporate[data-ui-theme="dark"] button.primary,
      body.editor-screen-corporate[data-ui-theme="dark"] #btnPrint {
        background: linear-gradient(180deg, #6ea7e0 0%, #568ac1 100%) !important;
        border-color: #568ac1 !important;
        color: #0f1720 !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22) !important;
      }

      @media (max-width: 1200px) {
        body.editor-screen-corporate {
          --topbar-height: 140px;
        }
        body.editor-screen-corporate .editor-shell {
          grid-template-columns: 1fr;
          gap: 12px;
        }
        body.editor-screen-corporate .topbar-main,
        body.editor-screen-corporate .topbar-navline {
          grid-template-columns: 1fr;
          justify-items: stretch;
        }
        body.editor-screen-corporate .topbar-primary-actions,
        body.editor-screen-corporate .topbar-command-bar {
          justify-content: flex-start;
        }
        body.editor-screen-corporate .topbar-pro-strip {
          width: 100%;
          max-width: none;
          border-radius: 14px;
          justify-content: flex-start;
        }
        body.editor-screen-corporate .pro-copy {
          max-width: none;
          flex: 1 1 220px;
        }
        body.editor-screen-corporate .topbar-sections {
          padding-bottom: 2px;
        }
        body.editor-screen-corporate #sec-meta .meta-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-type,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-date,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-name,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-manager,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-client,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-org,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-subtitle,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-grid-full {
          grid-column: auto;
        }
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-grid-full,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-name,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-media-intro,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-media-grid {
          grid-column: 1 / -1;
        }
        body.editor-screen-corporate .start-route-grid,
        body.editor-screen-corporate .start-step-list,
        body.editor-screen-corporate .start-proof-card {
          grid-template-columns: 1fr;
        }
        body.editor-screen-corporate .start-guide-card {
          grid-template-columns: 1fr;
        }
        body.editor-screen-corporate .goal-guidance-grid {
          grid-template-columns: 1fr;
        }
        body.editor-screen-corporate #sec-meta .meta-media-grid {
          grid-template-columns: 1fr;
        }
        body.editor-screen-corporate .export-choice-row {
          grid-template-columns: 1fr;
        }
        body.editor-screen-corporate .start-route {
          min-height: 0;
        }
        body.editor-screen-corporate .start-proof-preview {
          min-height: 200px;
        }
      }

      @media (max-width: 900px) {
        body.editor-screen-corporate {
          --topbar-height: 188px;
        }
        body.editor-screen-corporate .stealth-portal-trigger {
          display: none;
        }
        body.editor-screen-corporate .topbar {
          width: calc(100% - 14px);
          margin-top: 0;
          padding: 0;
          border-radius: 0 0 10px 10px;
          border-left: 0;
          border-right: 0;
        }
        body.editor-screen-corporate .docbar-status {
          font-size: 18px;
        }
        body.editor-screen-corporate .topbar-main,
        body.editor-screen-corporate .topbar-navline {
          padding-left: 12px;
          padding-right: 12px;
        }
        body.editor-screen-corporate .topbar-pro-strip {
          width: 100%;
          align-items: flex-start;
          flex-wrap: wrap;
        }
        body.editor-screen-corporate .topbar-command-bar {
          flex-wrap: wrap;
        }
        body.editor-screen-corporate .topbar-command-bar button,
        body.editor-screen-corporate .topbar-command-bar .topbar-overflow {
          flex: 1 1 calc(50% - 4px);
          min-width: 140px;
        }
        body.editor-screen-corporate .topbar-pro-strip .pro-link {
          width: auto;
          justify-content: flex-start;
        }
        body.editor-screen-corporate .pro-modal-card {
          padding: 20px;
        }
        body.editor-screen-corporate .pro-modal-actions {
          display: grid;
          grid-template-columns: 1fr;
        }
        body.editor-screen-corporate .guide-modal-card {
          padding: 20px;
        }
        .file-action-actions {
          display: grid;
        }
        .file-action-actions .primary,
        .file-action-actions button:not(.primary) {
          width: 100%;
        }
        body.editor-screen-corporate .topbar-overflow summary {
          width: 100%;
          justify-content: center;
        }
        body.editor-screen-corporate .topbar-overflow .advanced-content {
          position: static;
          top: auto;
          right: auto;
          min-width: 0;
          margin-top: 8px;
          box-shadow: none;
        }
        body.editor-screen-corporate .mobile-print-warning {
          width: calc(100% - 14px);
          margin-top: 6px;
        }
        body.editor-screen-corporate .editor-recovery-notice {
          width: calc(100% - 14px);
          margin-top: 6px;
        }
        body.editor-screen-corporate .app {
          width: calc(100% - 14px);
          padding-top: 8px;
          gap: 10px;
        }
        body.editor-screen-corporate #sec-meta .meta-grid {
          grid-template-columns: 1fr;
        }
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-type,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-name,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-date,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-manager,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-client,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-org,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-subtitle,
        body.editor-screen-corporate #sec-meta .meta-grid > .meta-grid-full {
          grid-column: 1;
        }
        body.editor-screen-corporate .docbar-meta {
          display: grid;
          gap: 6px;
        }
        body.editor-screen-corporate .docbar-save-state {
          width: 100%;
        }
        body.editor-screen-corporate .docbar-caption {
          width: 100%;
        }
        body.editor-screen-corporate fieldset.form-section {
          padding: 16px 14px;
        }
        body.editor-screen-corporate #sec-meta .meta-core-summary,
        body.editor-screen-corporate #sec-meta .meta-media-intro,
        body.editor-screen-corporate .budget-page-toggle {
          display: grid;
          gap: 8px;
          justify-items: start;
        }
        body.editor-screen-corporate #sec-meta .meta-core-divider {
          display: none;
        }
        body.editor-screen-corporate .start-route {
          padding: 12px;
          border-radius: 14px;
        }
        body.editor-screen-corporate .start-step {
          min-height: 0;
        }
        body.editor-screen-corporate .section-status-inline,
        body.editor-screen-corporate .section-status-inline.no-offset {
          margin: 0 0 10px 0;
          width: 100%;
          justify-content: space-between;
          border-radius: 10px;
        }
        body.editor-screen-corporate .section-toolbar {
          align-items: stretch;
        }
        body.editor-screen-corporate .section-toolbar .section-clear,
        body.editor-screen-corporate .planning-top-controls .section-clear {
          margin-left: auto;
          align-self: flex-end;
        }
        body.editor-screen-corporate .section-status-inline select {
          width: 52%;
        }
        body.editor-screen-corporate .planning-top-controls {
          display: flex;
          align-items: stretch;
        }
        body.editor-screen-corporate .planning-top-controls .planning-toggle-group {
          justify-self: auto;
          margin: 0;
        }
        body.editor-screen-corporate .editor-upload-card-head {
          display: grid;
          gap: 10px;
        }
        body.editor-screen-corporate .editor-recovery-card {
          grid-template-columns: 1fr;
          align-items: start;
        }
      }
    }

    /* Canonical urgency accents (wins by order): body-first-cell only, no border-left. */
    .issue-table tbody tr.tone-high:not(.no-data-row) td:first-child,
    .risk-table tbody tr.tone-high:not(.no-data-row) td:first-child {
      box-shadow: none !important;
    }

    .issue-table tbody tr.tone-medium:not(.no-data-row) td:first-child,
    .risk-table tbody tr.tone-medium:not(.no-data-row) td:first-child {
      box-shadow: none !important;
    }

    .issue-table tbody tr.tone-low:not(.no-data-row) td:first-child,
    .risk-table tbody tr.tone-low:not(.no-data-row) td:first-child {
      box-shadow: none !important;
    }

    /* Final minimal outer-edge fix: remove only left/right outer table edges for issue/risk. */
    .issue-table thead th:first-child,
    .issue-table tbody td:first-child,
    .risk-table thead th:first-child,
    .risk-table tbody td:first-child {
      border-left: none !important;
    }
    .issue-table thead th:last-child,
    .issue-table tbody td:last-child,
    .risk-table thead th:last-child,
    .risk-table tbody td:last-child {
      border-right: none !important;
    }

    @media print {
      .issue-table thead th:first-child,
      .issue-table tbody td:first-child,
      .risk-table thead th:first-child,
      .risk-table tbody td:first-child {
        border-left: none !important;
      }
      .issue-table thead th:last-child,
      .issue-table tbody td:last-child,
      .risk-table thead th:last-child,
      .risk-table tbody td:last-child {
        border-right: none !important;
      }
    }

    @media screen {
      body.editor-screen-corporate {
        --topbar-height: 56px;
      }

      body.editor-screen-corporate .topbar {
        border-radius: 16px;
      }

      body.editor-screen-corporate .topbar-bar {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
        min-height: 56px;
        padding: 0 14px;
      }

      body.editor-screen-corporate .topbar-main,
      body.editor-screen-corporate .topbar-navline {
        display: contents;
      }

      body.editor-screen-corporate .topbar-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        white-space: nowrap;
      }

      body.editor-screen-corporate .docbar-app {
        font-size: 12px;
        letter-spacing: 0.12em;
        color: rgba(235, 241, 247, 0.84);
      }

      body.editor-screen-corporate .docbar-status {
        max-width: 220px;
        font-size: 15px;
        font-weight: 700;
        line-height: 1;
      }

      body.editor-screen-corporate .docbar-caption {
        display: none;
      }

      body.editor-screen-corporate .docbar-badge,
      body.editor-screen-corporate .pro-pill-inline {
        min-height: 24px;
        padding: 4px 8px;
        font-size: 10px;
        letter-spacing: 0.08em;
      }

      body.editor-screen-corporate .pro-pill-inline[data-tier="free"] {
        background: rgba(171, 186, 202, 0.16);
        color: rgba(240, 245, 250, 0.92);
      }

      body.editor-screen-corporate .pro-pill-inline[data-tier="pro"] {
        background: rgba(59, 114, 76, 0.24);
        color: #dcefe4;
      }

      body.editor-screen-corporate .docbar-save-state {
        font-size: 11px;
        color: rgba(188, 202, 217, 0.8);
      }

      body.editor-screen-corporate .docbar-save-state::before {
        width: 6px;
        height: 6px;
        flex: 0 0 6px;
      }

      body.editor-screen-corporate .topbar-sections {
        gap: 2px;
        padding: 0 6px 0 2px;
      }

      body.editor-screen-corporate .topbar-sections .menu-btn {
        min-height: 34px;
        padding: 6px 8px;
        border-radius: 9px;
        font-size: 12px;
      }

      body.editor-screen-corporate .topbar-actions {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        min-width: 0;
      }

      body.editor-screen-corporate .topbar-command-bar {
        display: contents;
      }

      body.editor-screen-corporate .topbar-tool-btn,
      body.editor-screen-corporate .topbar-print-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 36px;
        padding: 0 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04);
        color: var(--topnav-text);
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        box-shadow: none;
        white-space: nowrap;
      }

      body.editor-screen-corporate .topbar-tool-btn i,
      body.editor-screen-corporate .topbar-print-btn i,
      body.editor-screen-corporate .topbar-datetime i,
      body.editor-screen-corporate .topbar-overflow summary i {
        font-size: 17px;
      }

      body.editor-screen-corporate .topbar-tool-btn:hover,
      body.editor-screen-corporate .topbar-print-btn:hover {
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
      }

      body.editor-screen-corporate .topbar-overflow {
        min-height: 36px;
        border-radius: 10px;
      }

      body.editor-screen-corporate .topbar-overflow summary {
        min-width: 38px;
        min-height: 36px;
        padding: 0 10px;
      }

      body.editor-screen-corporate .topbar-datetime {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding-left: 4px;
        color: rgba(222, 231, 240, 0.86);
        font-size: 11.5px;
        font-weight: 600;
        white-space: nowrap;
      }

      body.editor-screen-corporate .topbar-datetime-item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
      }

      body.editor-screen-corporate .topbar-print-btn {
        padding: 0 14px;
      }

      body.editor-screen-corporate .topbar-pro-ghost {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        clip-path: inset(50%);
        white-space: nowrap;
      }

      body.editor-screen-corporate .topbar-toast {
        position: fixed;
        top: calc(var(--topbar-height) + 12px);
        right: calc((100vw - min(var(--screen-shell-max), calc(100% - 20px))) / 2 + 14px);
        z-index: 70;
        min-width: 280px;
        max-width: min(420px, calc(100vw - 28px));
        padding: 10px 12px;
        border: 1px solid rgba(21, 40, 67, 0.14);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.98);
        color: #35506d;
        font-size: 12px;
        line-height: 1.4;
        box-shadow: 0 14px 28px rgba(17, 32, 49, 0.14);
      }

      body.editor-screen-corporate .topbar-toast[data-tone="info"] {
        border-color: rgba(44, 93, 145, 0.16);
      }
      body.editor-screen-corporate .topbar-toast[data-tone="success"] {
        border-color: rgba(47, 125, 87, 0.2);
        color: #2f6c43;
      }

      body.editor-screen-corporate[data-ui-theme="dark"] .topbar-toast {
        background: rgba(22, 33, 44, 0.98);
        color: #dbe7f4;
        border-color: rgba(128, 180, 232, 0.16);
      }

      @media (max-width: 1200px) {
        body.editor-screen-corporate {
          --topbar-height: 88px;
        }

        body.editor-screen-corporate .topbar-bar {
          grid-template-columns: minmax(0, 1fr);
          gap: 10px;
          padding: 10px 12px;
          min-height: 0;
        }

        body.editor-screen-corporate .topbar-brand,
        body.editor-screen-corporate .topbar-actions {
          justify-content: flex-start;
        }

        body.editor-screen-corporate .topbar-actions {
          justify-content: space-between;
          flex-wrap: wrap;
        }

        body.editor-screen-corporate .topbar-sections {
          order: 3;
          padding: 0 0 2px;
        }

        body.editor-screen-corporate .topbar-datetime {
          margin-left: auto;
        }
      }

      @media (max-width: 900px) {
        body.editor-screen-corporate {
          --topbar-height: 104px;
        }

        body.editor-screen-corporate .topbar-bar {
          padding-left: 10px;
          padding-right: 10px;
        }

        body.editor-screen-corporate .docbar-status {
          max-width: 132px;
          font-size: 13px;
        }

        body.editor-screen-corporate .docbar-save-state,
        body.editor-screen-corporate .docbar-app {
          display: none;
        }

        body.editor-screen-corporate .topbar-tool-btn span,
        body.editor-screen-corporate .topbar-print-btn span {
          display: none;
        }

        body.editor-screen-corporate .topbar-tool-btn,
        body.editor-screen-corporate .topbar-print-btn,
        body.editor-screen-corporate .topbar-overflow summary {
          min-width: 38px;
          padding-left: 10px;
          padding-right: 10px;
        }

        body.editor-screen-corporate .topbar-actions {
          gap: 6px;
        }

        body.editor-screen-corporate .topbar-datetime {
          width: 100%;
          justify-content: flex-end;
          padding-left: 0;
        }

        body.editor-screen-corporate .topbar-toast {
          right: 10px;
          left: 10px;
          max-width: none;
          min-width: 0;
        }
      }
    }

    @media screen {
      body.editor-screen-corporate {
        --editor-radius: 0px;
        --editor-radius-sm: 0px;
        --topbar-height: 56px;
      }

      body.editor-screen-corporate .screen-editor-shell {
        padding-top: calc(var(--topbar-height) + 12px) !important;
      }

      body.editor-screen-corporate .topbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        margin: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-radius: 0 !important;
        overflow: visible !important;
        z-index: 90 !important;
        box-shadow: 0 8px 22px rgba(8, 15, 24, 0.18) !important;
      }

      body.editor-screen-corporate .topbar-bar {
        grid-template-columns: minmax(230px, auto) minmax(0, 1fr) auto !important;
        gap: 10px !important;
        min-height: 56px !important;
        padding: 0 12px !important;
      }

      body.editor-screen-corporate .topbar-brand {
        max-width: min(420px, 30vw);
        gap: 8px !important;
        min-width: 0 !important;
        overflow: hidden;
      }

      body.editor-screen-corporate .docbar-app {
        font-size: 11px !important;
      }

      body.editor-screen-corporate .docbar-status {
        max-width: 160px !important;
        font-size: 14px !important;
      }

      body.editor-screen-corporate .docbar-save-state {
        max-width: 132px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        opacity: 0.82;
      }

      body.editor-screen-corporate .docbar-badge,
      body.editor-screen-corporate .pro-pill-inline {
        border-radius: 0 !important;
        min-height: 22px !important;
      }

      body.editor-screen-corporate .topbar-sections {
        align-self: stretch;
        min-width: 0;
        gap: 0 !important;
      }

      body.editor-screen-corporate .topbar-sections .menu-btn {
        min-height: 32px !important;
        padding: 6px 8px !important;
        border-radius: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
      }

      body.editor-screen-corporate .topbar-actions {
        gap: 6px !important;
        flex-wrap: nowrap !important;
      }

      body.editor-screen-corporate .topbar-tool-btn,
      body.editor-screen-corporate .topbar-print-btn,
      body.editor-screen-corporate .topbar-overflow {
        border-radius: 0 !important;
        min-height: 34px !important;
      }

      body.editor-screen-corporate .topbar-tool-btn {
        min-width: 104px;
        padding: 0 10px !important;
      }

      body.editor-screen-corporate .topbar-print-btn {
        padding: 0 12px !important;
      }

      body.editor-screen-corporate .topbar-overflow {
        position: relative;
        overflow: visible !important;
        z-index: 92;
      }

      body.editor-screen-corporate .topbar-overflow summary {
        border-radius: 0 !important;
        min-width: 36px !important;
        min-height: 34px !important;
        position: relative;
        z-index: 93;
      }

      body.editor-screen-corporate .topbar-overflow[open] {
        background: rgba(255, 255, 255, 0.06) !important;
      }

      body.editor-screen-corporate .topbar-overflow .advanced-content {
        top: calc(100% + 6px) !important;
        right: 0 !important;
        z-index: 95 !important;
        min-width: 300px !important;
        border-radius: 0 !important;
        box-shadow: 0 16px 34px rgba(13, 25, 38, 0.18) !important;
      }

      body.editor-screen-corporate .topbar-overflow-grid button,
      body.editor-screen-corporate .topbar-overflow-grid .toolbar-field,
      body.editor-screen-corporate .topbar-toast {
        border-radius: 0 !important;
      }

      body.editor-screen-corporate .topbar-datetime {
        gap: 8px !important;
        padding-left: 2px !important;
        font-size: 11px !important;
      }

      body.editor-screen-corporate .topbar-datetime-item {
        gap: 5px !important;
      }

      body.editor-screen-corporate .topbar-toast {
        top: calc(var(--topbar-height) + 10px) !important;
        right: 12px !important;
      }

      body.editor-screen-corporate .editor-view button,
      body.editor-screen-corporate .editor-view input:not([type="radio"]):not([type="checkbox"]),
      body.editor-screen-corporate .editor-view textarea,
      body.editor-screen-corporate .editor-view select,
      body.editor-screen-corporate .editor-view fieldset.form-section,
      body.editor-screen-corporate .editor-view .guided-shell,
      body.editor-screen-corporate .editor-view .guided-footer,
      body.editor-screen-corporate .editor-view .start-welcome-card,
      body.editor-screen-corporate .editor-view .start-route,
      body.editor-screen-corporate .editor-view .start-proof-card,
      body.editor-screen-corporate .editor-view .start-guide-card,
      body.editor-screen-corporate .editor-view .goal-guidance-card,
      body.editor-screen-corporate .editor-view .goal-guidance-item,
      body.editor-screen-corporate .editor-view .goal-guidance-badge,
      body.editor-screen-corporate .editor-view .meta-core-summary,
      body.editor-screen-corporate .editor-view .meta-core-label,
      body.editor-screen-corporate .editor-view .meta-media-card,
      body.editor-screen-corporate .editor-view .meta-media-badge,
      body.editor-screen-corporate .editor-view .upload-actions,
      body.editor-screen-corporate .editor-view .upload-status,
      body.editor-screen-corporate .editor-view .paste-zone,
      body.editor-screen-corporate .editor-view .section-status-inline,
      body.editor-screen-corporate .editor-view .section-clear,
      body.editor-screen-corporate .editor-view .start-kicker,
      body.editor-screen-corporate .editor-view .start-trust-pill,
      body.editor-screen-corporate .editor-view .start-route-eyebrow,
      body.editor-screen-corporate .editor-view .start-proof-kicker,
      body.editor-screen-corporate .editor-view .start-guide-kicker,
      body.editor-screen-corporate .editor-view .progress-input-head,
      body.editor-screen-corporate .editor-view .progress-input-row,
      body.editor-screen-corporate .editor-view .matrix,
      body.editor-screen-corporate .editor-view .matrix-add,
      body.editor-screen-corporate .editor-view .progress-add,
      body.editor-screen-corporate .editor-view .field-control,
      body.editor-screen-corporate .editor-view .field-clear-btn,
      body.editor-screen-corporate .editor-view .export-summary-kicker,
      body.editor-screen-corporate .mobile-print-warning .warning-card,
      body.editor-screen-corporate .editor-recovery-card,
      body.editor-screen-corporate .guide-modal-card,
      body.editor-screen-corporate .pro-modal-card {
        border-radius: 0 !important;
      }

      body.editor-screen-corporate [data-locked="true"]::after {
        border-radius: 0 !important;
      }

      @media (max-width: 1400px) {
        body.editor-screen-corporate .docbar-save-state {
          display: none !important;
        }
      }

      @media (max-width: 1200px) {
        body.editor-screen-corporate {
          --topbar-height: 88px;
        }

        body.editor-screen-corporate .topbar-bar {
          grid-template-columns: minmax(0, 1fr) !important;
          gap: 8px !important;
          padding: 8px 10px !important;
          min-height: 0 !important;
        }

        body.editor-screen-corporate .topbar-brand {
          max-width: none;
        }

        body.editor-screen-corporate .topbar-actions {
          justify-content: flex-start !important;
          flex-wrap: wrap !important;
        }

        body.editor-screen-corporate .topbar-datetime {
          margin-left: auto;
        }
      }

      @media (max-width: 900px) {
        body.editor-screen-corporate {
          --topbar-height: 98px;
        }

        body.editor-screen-corporate .docbar-status {
          max-width: 120px !important;
          font-size: 13px !important;
        }

        body.editor-screen-corporate .docbar-app,
        body.editor-screen-corporate .docbar-save-state {
          display: none !important;
        }

        body.editor-screen-corporate .topbar-tool-btn span,
        body.editor-screen-corporate .topbar-print-btn span {
          display: none !important;
        }

        body.editor-screen-corporate .topbar-tool-btn,
        body.editor-screen-corporate .topbar-print-btn,
        body.editor-screen-corporate .topbar-overflow summary {
          min-width: 36px !important;
          padding-left: 9px !important;
          padding-right: 9px !important;
        }

        body.editor-screen-corporate .topbar-datetime {
          width: 100%;
          justify-content: flex-end;
        }

        body.editor-screen-corporate .topbar-toast {
          left: 10px !important;
          right: 10px !important;
          max-width: none !important;
          min-width: 0 !important;
        }
      }
    }

@media screen {
  body.editor-screen-corporate {
    --editor-rail-width: 212px;
    --editor-rail-gap: 18px;
    --editor-rail-active: #92bbe1;
    --editor-rail-active-bg: rgba(146, 187, 225, 0.16);
  }

  body.editor-screen-corporate .screen-editor-shell {
    padding-top: calc(var(--topbar-height) + 12px) !important;
  }

  body.editor-screen-corporate .topbar {
    background: #0b1117 !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 20px rgba(7, 12, 18, 0.18) !important;
  }

  body.editor-screen-corporate .topbar-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 54px !important;
    padding: 0 16px !important;
    overflow: visible !important;
  }

  body.editor-screen-corporate .topbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    max-width: min(44vw, 760px) !important;
    white-space: nowrap;
    overflow: hidden;
  }

  body.editor-screen-corporate .docbar-caption,
  body.editor-screen-corporate .topbar-pro-ghost {
    display: none !important;
  }

  body.editor-screen-corporate .docbar-status {
    max-width: 260px !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.editor-screen-corporate .topbar-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    position: relative;
    z-index: 94;
  }

  body.editor-screen-corporate .topbar-tool-btn,
  body.editor-screen-corporate .topbar-print-btn,
  body.editor-screen-corporate .topbar-overflow,
  body.editor-screen-corporate .topbar-overflow summary,
  body.editor-screen-corporate .topbar-toast,
  body.editor-screen-corporate .docbar-badge,
  body.editor-screen-corporate .pro-pill-inline,
  body.editor-screen-corporate .docbar-save-state {
    border-radius: 0 !important;
  }

  body.editor-screen-corporate .topbar-overflow {
    overflow: visible !important;
    z-index: 96 !important;
  }

  body.editor-screen-corporate .topbar-overflow .advanced-content {
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    min-width: 320px !important;
    z-index: 98 !important;
    box-shadow: 0 18px 34px rgba(10, 20, 30, 0.22) !important;
  }

  body.editor-screen-corporate .app,
  body.editor-screen-corporate .mobile-print-warning,
  body.editor-screen-corporate .editor-recovery-notice {
    width: auto !important;
    max-width: none !important;
    margin-left: calc(var(--editor-rail-width) + var(--editor-rail-gap)) !important;
    margin-right: 16px !important;
  }

  body.editor-screen-corporate .editor-shell {
    display: block !important;
    position: relative;
  }

  body.editor-screen-corporate .stepper-sidebar {
    display: block !important;
    position: fixed !important;
    top: var(--topbar-height) !important;
    left: 0 !important;
    bottom: 0 !important;
    width: var(--editor-rail-width) !important;
    padding: 12px 10px 18px !important;
    margin: 0 !important;
    background: linear-gradient(180deg, #0d1319 0%, #0a1015 100%) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 10px 0 26px rgba(7, 12, 18, 0.08) !important;
    z-index: 72 !important;
    overflow: hidden !important;
  }

  body.editor-screen-corporate .workflow-stepper {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-title {
    margin: 2px 4px 8px;
    padding: 0 4px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(223, 234, 245, 0.88);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  body.editor-screen-corporate .workflow-stepper .menu-phase {
    margin: 10px 4px 2px;
    padding: 10px 4px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(163, 182, 200, 0.62);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  body.editor-screen-corporate .workflow-stepper .menu-phase:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 42px !important;
    padding: 10px 12px !important;
    border: 1px solid transparent !important;
    border-left: 2px solid transparent !important;
    background: transparent !important;
    color: rgba(201, 215, 230, 0.7) !important;
    box-shadow: none !important;
    text-align: left;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn i {
    width: 18px;
    text-align: center;
    font-size: 15px;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn:hover {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #ecf3fa !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn.step-open {
    color: rgba(203, 216, 229, 0.76) !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn.step-done {
    color: #e6f2fb !important;
    border-left-color: #6da280 !important;
    background: rgba(94, 143, 111, 0.12) !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn.step-current,
  body.editor-screen-corporate .workflow-stepper .menu-btn.active {
    color: #ffffff !important;
    border-color: rgba(146, 187, 225, 0.22) !important;
    border-left-color: var(--editor-rail-active) !important;
    background: var(--editor-rail-active-bg) !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn.step-done::after,
  body.editor-screen-corporate .workflow-stepper .menu-btn.step-current::after,
  body.editor-screen-corporate .workflow-stepper .menu-btn.active::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn.step-done::after {
    background: #9ed0af;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn.step-current::after,
  body.editor-screen-corporate .workflow-stepper .menu-btn.active::after {
    background: var(--editor-rail-active);
  }

  @media (max-width: 1180px) {
    body.editor-screen-corporate {
      --editor-rail-width: 88px;
    }

    body.editor-screen-corporate .app,
    body.editor-screen-corporate .mobile-print-warning,
    body.editor-screen-corporate .editor-recovery-notice {
      margin-left: calc(var(--editor-rail-width) + 12px) !important;
      margin-right: 12px !important;
    }

    body.editor-screen-corporate .workflow-stepper .menu-title,
    body.editor-screen-corporate .workflow-stepper .menu-phase,
    body.editor-screen-corporate .workflow-stepper .menu-btn span,
    body.editor-screen-corporate .docbar-save-state {
      display: none !important;
    }

    body.editor-screen-corporate .workflow-stepper .menu-btn {
      grid-template-columns: 1fr !important;
      justify-items: center;
      padding: 10px 8px !important;
    }

    body.editor-screen-corporate .workflow-stepper .menu-btn::after {
      display: none;
    }
  }

  @media (max-width: 900px) {
    body.editor-screen-corporate {
      --editor-rail-width: 72px;
      --topbar-height: 92px;
    }

    body.editor-screen-corporate .topbar-bar {
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 8px !important;
      padding: 8px 12px !important;
    }

    body.editor-screen-corporate .topbar-brand {
      max-width: none !important;
    }

    body.editor-screen-corporate .topbar-actions {
      justify-content: flex-start !important;
      flex-wrap: wrap !important;
    }

    body.editor-screen-corporate .topbar-datetime {
      margin-left: auto !important;
    }
  }
}

@media screen {
  /* Final safety net: hidden legends must never surface as visible duplicate titles. */
  body.editor-screen-corporate fieldset.form-section > legend.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  /* Matrix sections: force one clean header row and a separate matrix topline row. */
  body.editor-screen-corporate #sec-progress .section-header,
  body.editor-screen-corporate #sec-milestones .section-header,
  body.editor-screen-corporate #sec-planning .section-header,
  body.editor-screen-corporate #sec-budget .section-header,
  body.editor-screen-corporate #sec-issues .section-header,
  body.editor-screen-corporate #sec-risks .section-header,
  body.editor-screen-corporate #sec-decisions .section-header {
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 18px !important;
    padding-right: 0 !important;
    margin-bottom: 0 !important;
  }

  body.editor-screen-corporate #sec-progress .section-header-controls,
  body.editor-screen-corporate #sec-milestones .section-header-controls,
  body.editor-screen-corporate #sec-planning .section-header-controls,
  body.editor-screen-corporate #sec-budget .section-header-controls,
  body.editor-screen-corporate #sec-issues .section-header-controls,
  body.editor-screen-corporate #sec-risks .section-header-controls,
  body.editor-screen-corporate #sec-decisions .section-header-controls {
    position: static !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    justify-self: end !important;
    align-self: start !important;
    min-width: 0 !important;
  }

  body.editor-screen-corporate #sec-progress .section-header-controls .section-status-inline,
  body.editor-screen-corporate #sec-milestones .section-header-controls .section-status-inline,
  body.editor-screen-corporate #sec-planning .section-header-controls .section-status-inline,
  body.editor-screen-corporate #sec-budget .section-header-controls .section-status-inline,
  body.editor-screen-corporate #sec-issues .section-header-controls .section-status-inline,
  body.editor-screen-corporate #sec-risks .section-header-controls .section-status-inline,
  body.editor-screen-corporate #sec-decisions .section-header-controls .section-status-inline {
    margin: 0 !important;
    width: max-content !important;
    max-width: 100% !important;
  }

  body.editor-screen-corporate #sec-progress .matrix-topline,
  body.editor-screen-corporate #sec-milestones .matrix-topline,
  body.editor-screen-corporate #sec-planning .matrix-topline,
  body.editor-screen-corporate #sec-budget .matrix-topline,
  body.editor-screen-corporate #sec-issues .matrix-topline,
  body.editor-screen-corporate #sec-risks .matrix-topline,
  body.editor-screen-corporate #sec-decisions .matrix-topline {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 14px !important;
    margin: 0 !important;
  }

  body.editor-screen-corporate #sec-progress .matrix-topline .matrix-help,
  body.editor-screen-corporate #sec-milestones .matrix-topline .matrix-help,
  body.editor-screen-corporate #sec-planning .matrix-topline .matrix-help,
  body.editor-screen-corporate #sec-budget .matrix-topline .matrix-help,
  body.editor-screen-corporate #sec-issues .matrix-topline .matrix-help,
  body.editor-screen-corporate #sec-risks .matrix-topline .matrix-help,
  body.editor-screen-corporate #sec-decisions .matrix-topline .matrix-help {
    margin: 0 !important;
    min-width: 0 !important;
  }

  body.editor-screen-corporate #sec-progress .matrix-topline .section-clear,
  body.editor-screen-corporate #sec-milestones .matrix-topline .section-clear,
  body.editor-screen-corporate #sec-planning .matrix-topline .section-clear,
  body.editor-screen-corporate #sec-budget .matrix-topline .section-clear,
  body.editor-screen-corporate #sec-issues .matrix-topline .section-clear,
  body.editor-screen-corporate #sec-risks .matrix-topline .section-clear,
  body.editor-screen-corporate #sec-decisions .matrix-topline .section-clear {
    position: static !important;
    margin: 0 !important;
    justify-self: end !important;
    align-self: start !important;
  }

  body.editor-screen-corporate #sec-progress .progress-toolbar,
  body.editor-screen-corporate #sec-milestones .matrix-toolbar,
  body.editor-screen-corporate #sec-planning .matrix-toolbar,
  body.editor-screen-corporate #sec-budget .matrix-toolbar,
  body.editor-screen-corporate #sec-issues .matrix-toolbar,
  body.editor-screen-corporate #sec-risks .matrix-toolbar,
  body.editor-screen-corporate #sec-decisions .matrix-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 4px !important;
  }

  body.editor-screen-corporate #sec-progress .progress-toolbar .small,
  body.editor-screen-corporate #sec-milestones .matrix-toolbar .small,
  body.editor-screen-corporate #sec-planning .matrix-toolbar .small,
  body.editor-screen-corporate #sec-budget .matrix-toolbar .small,
  body.editor-screen-corporate #sec-issues .matrix-toolbar .small,
  body.editor-screen-corporate #sec-risks .matrix-toolbar .small,
  body.editor-screen-corporate #sec-decisions .matrix-toolbar .small {
    justify-self: start !important;
    margin-left: 0 !important;
  }

  body.editor-screen-corporate #sec-progress .progress-toolbar .progress-add,
  body.editor-screen-corporate #sec-milestones .matrix-toolbar .matrix-add,
  body.editor-screen-corporate #sec-planning .matrix-toolbar .matrix-add,
  body.editor-screen-corporate #sec-budget .matrix-toolbar .matrix-add,
  body.editor-screen-corporate #sec-issues .matrix-toolbar .matrix-add,
  body.editor-screen-corporate #sec-risks .matrix-toolbar .matrix-add,
  body.editor-screen-corporate #sec-decisions .matrix-toolbar .matrix-add {
    justify-self: end !important;
  }

}

@media screen and (max-width: 1180px) {
  body.editor-screen-corporate #sec-progress .section-header,
  body.editor-screen-corporate #sec-milestones .section-header,
  body.editor-screen-corporate #sec-planning .section-header,
  body.editor-screen-corporate #sec-budget .section-header,
  body.editor-screen-corporate #sec-issues .section-header,
  body.editor-screen-corporate #sec-risks .section-header,
  body.editor-screen-corporate #sec-decisions .section-header,
  body.editor-screen-corporate #sec-progress .matrix-topline,
  body.editor-screen-corporate #sec-milestones .matrix-topline,
  body.editor-screen-corporate #sec-planning .matrix-topline,
  body.editor-screen-corporate #sec-budget .matrix-topline,
  body.editor-screen-corporate #sec-issues .matrix-topline,
  body.editor-screen-corporate #sec-risks .matrix-topline,
  body.editor-screen-corporate #sec-decisions .matrix-topline {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.editor-screen-corporate #sec-progress .section-header-controls,
  body.editor-screen-corporate #sec-milestones .section-header-controls,
  body.editor-screen-corporate #sec-planning .section-header-controls,
  body.editor-screen-corporate #sec-budget .section-header-controls,
  body.editor-screen-corporate #sec-issues .section-header-controls,
  body.editor-screen-corporate #sec-risks .section-header-controls,
  body.editor-screen-corporate #sec-decisions .section-header-controls,
  body.editor-screen-corporate #sec-progress .matrix-topline .section-clear,
  body.editor-screen-corporate #sec-milestones .matrix-topline .section-clear,
  body.editor-screen-corporate #sec-planning .matrix-topline .section-clear,
  body.editor-screen-corporate #sec-budget .matrix-topline .section-clear,
  body.editor-screen-corporate #sec-issues .matrix-topline .section-clear,
  body.editor-screen-corporate #sec-risks .matrix-topline .section-clear,
  body.editor-screen-corporate #sec-decisions .matrix-topline .section-clear {
    justify-self: start !important;
  }
}

/* Final screen-only content layout consistency pass */
@media screen {
  body.editor-screen-corporate {
    --vgr-content-title: 31px;
    --vgr-content-subtitle: 15px;
    --vgr-content-label: 14px;
    --vgr-content-help: 12px;
    --vgr-content-status: 10px;
    --vgr-content-gap: 18px;
    --vgr-content-card-radius: 20px;
    --vgr-content-card-border: #dbe5ee;
    --vgr-content-muted: #62768b;
  }

  body.editor-screen-corporate .guided-step-topline,
  body.editor-screen-corporate .guided-step-meta,
  body.editor-screen-corporate .guided-section-context,
  body.editor-screen-corporate #guidedStepCounter {
    display: none !important;
  }

  body.editor-screen-corporate .input-block-grid > .form-section,
  body.editor-screen-corporate .form-section {
    display: grid !important;
    gap: var(--vgr-content-gap) !important;
    padding: 28px 30px 30px !important;
    border-radius: var(--vgr-content-card-radius) !important;
  }

  body.editor-screen-corporate .section-header,
  body.editor-screen-corporate .section-header.section-header-start {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0 0 18px !important;
    border-bottom: 1px solid rgba(216, 226, 236, 0.95) !important;
  }

  body.editor-screen-corporate .section-header-copy {
    display: grid !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  body.editor-screen-corporate .section-title {
    margin: 0 !important;
    font-size: var(--vgr-content-title) !important;
    line-height: 1.05 !important;
  }

  body.editor-screen-corporate .section-subline {
    margin: 0 !important;
    max-width: 74ch !important;
    font-size: var(--vgr-content-subtitle) !important;
    line-height: 1.56 !important;
    color: var(--vgr-content-muted) !important;
  }

  body.editor-screen-corporate .section-header-controls {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
  }

  body.editor-screen-corporate .section-status-inline {
    display: inline-grid !important;
    grid-auto-flow: column !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 42px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
  }

  body.editor-screen-corporate .section-status-inline > span {
    font-size: var(--vgr-content-status) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.08em !important;
  }

  body.editor-screen-corporate .section-status-inline select {
    min-height: 30px !important;
    font-size: 13px !important;
  }

  body.editor-screen-corporate .form-section > label,
  body.editor-screen-corporate .meta-grid > label,
  body.editor-screen-corporate .meta-media-card > label,
  body.editor-screen-corporate .editor-upload-card > label {
    display: grid !important;
    gap: 8px !important;
    font-size: var(--vgr-content-label) !important;
  }

  body.editor-screen-corporate .field-help,
  body.editor-screen-corporate .hint,
  body.editor-screen-corporate .small,
  body.editor-screen-corporate .editor-upload-card-copy,
  body.editor-screen-corporate .meta-media-card-head p,
  body.editor-screen-corporate .upload-meta-label,
  body.editor-screen-corporate .upload-status,
  body.editor-screen-corporate .meta-paste-hint {
    font-size: var(--vgr-content-help) !important;
    line-height: 1.55 !important;
    color: var(--vgr-content-muted) !important;
  }

  body.editor-screen-corporate #sec-meta .meta-grid > .meta-type { grid-column: 1 / span 3 !important; }
  body.editor-screen-corporate #sec-meta .meta-grid > .meta-name { grid-column: 4 / span 6 !important; }
  body.editor-screen-corporate #sec-meta .meta-grid > .meta-date { grid-column: 10 / span 3 !important; }
  body.editor-screen-corporate #sec-meta .meta-grid > .meta-client { grid-column: 1 / span 6 !important; }
  body.editor-screen-corporate #sec-meta .meta-grid > .meta-manager { grid-column: 7 / span 6 !important; }
  body.editor-screen-corporate #sec-meta .meta-grid > .meta-org { grid-column: 1 / span 6 !important; }
  body.editor-screen-corporate #sec-meta .meta-grid > .meta-subtitle { grid-column: 7 / span 6 !important; }

  body.editor-screen-corporate .meta-media-card,
  body.editor-screen-corporate .editor-upload-card {
    display: grid !important;
    gap: 16px !important;
    padding: 22px !important;
    border: 1px solid var(--vgr-content-card-border) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #fbfdff 0%, #f7fbff 100%) !important;
    box-shadow: 0 10px 24px rgba(19, 35, 55, 0.04) !important;
  }

  body.editor-screen-corporate .meta-media-card-head,
  body.editor-screen-corporate .editor-upload-card-head {
    display: grid !important;
    gap: 6px !important;
    align-items: start !important;
  }

  body.editor-screen-corporate .meta-upload-trigger-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  body.editor-screen-corporate .paste-zone {
    min-height: 120px !important;
    padding: 18px !important;
  }

  body.editor-screen-corporate .upload-actions,
  body.editor-screen-corporate .editor-upload-actions,
  body.editor-screen-corporate .meta-upload-actions,
  body.editor-screen-corporate .meta-logo-upload-actions {
    display: grid !important;
    gap: 14px !important;
  }

  body.editor-screen-corporate .upload-meta-row {
    margin: 0 !important;
  }

  body.editor-screen-corporate .upload-button-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  body.editor-screen-corporate .goal-guidance-card {
    margin: 0 !important;
  }

  body.editor-screen-corporate .matrix-topline {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin: 0 !important;
  }

  body.editor-screen-corporate .matrix-topline .matrix-help {
    margin: 0 !important;
    flex: 1 1 auto !important;
  }

  body.editor-screen-corporate .matrix-topline .section-clear {
    margin: 0 !important;
    flex: 0 0 auto !important;
  }

  body.editor-screen-corporate .progress-input-head,
  body.editor-screen-corporate .matrix .head-row {
    margin: 0 0 10px !important;
  }

  body.editor-screen-corporate .progress-input-head span,
  body.editor-screen-corporate .matrix .head-row .matrix-head-cell {
    min-height: 18px !important;
    letter-spacing: 0.04em !important;
  }

  body.editor-screen-corporate .progress-input-row,
  body.editor-screen-corporate .matrix .row.matrix-data-row,
  body.editor-screen-corporate .budget-total-row {
    margin: 0 0 12px !important;
  }

  body.editor-screen-corporate .progress-input-row input,
  body.editor-screen-corporate .progress-input-row select,
  body.editor-screen-corporate .matrix .row.matrix-data-row input,
  body.editor-screen-corporate .matrix .row.matrix-data-row select,
  body.editor-screen-corporate .budget-total-row input,
  body.editor-screen-corporate .matrix-remove,
  body.editor-screen-corporate .progress-remove {
    min-height: 48px !important;
    border-radius: 14px !important;
  }

  body.editor-screen-corporate .matrix-toolbar,
  body.editor-screen-corporate .progress-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 4px !important;
  }

  body.editor-screen-corporate .matrix-toolbar .small,
  body.editor-screen-corporate .progress-toolbar .small {
    justify-self: start !important;
    margin-left: 0 !important;
  }

  body.editor-screen-corporate .matrix-toolbar .matrix-add,
  body.editor-screen-corporate .progress-toolbar .progress-add {
    justify-self: end !important;
  }

  body.editor-screen-corporate .section-options {
    display: grid !important;
    gap: 14px !important;
    margin: 0 !important;
  }

  body.editor-screen-corporate .section-options-planning {
    grid-template-columns: repeat(2, minmax(0, max-content)) !important;
    align-items: start !important;
    gap: 16px 24px !important;
  }

  body.editor-screen-corporate .planning-render-group,
  body.editor-screen-corporate .budget-page-toggle {
    display: grid !important;
    gap: 8px !important;
  }

  body.editor-screen-corporate .guided-footer {
    display: grid !important;
    grid-template-columns: auto auto 1fr auto !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 18px !important;
    padding-top: 0 !important;
  }

  body.editor-screen-corporate #guidedNext {
    grid-column: 4 !important;
    justify-self: end !important;
  }

  body.editor-screen-corporate .guided-final-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 6px !important;
  }

  body.editor-screen-corporate .guided-final-actions-left {
    justify-self: start !important;
  }

  body.editor-screen-corporate .guided-final-actions-right {
    justify-self: end !important;
  }

  body.editor-screen-corporate .guided-final-actions-right .primary[hidden] {
    display: none !important;
  }

  body.editor-screen-corporate .export-choice-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body.editor-screen-corporate .export-choice {
    display: grid !important;
    gap: 6px !important;
    padding: 18px !important;
    border: 1px solid var(--vgr-content-card-border) !important;
    border-radius: 16px !important;
    background: #fbfdff !important;
  }

  @media (max-width: 1180px) {
    body.editor-screen-corporate .section-header,
    body.editor-screen-corporate .section-header.section-header-start {
      grid-template-columns: 1fr !important;
      gap: 12px !important;
    }

    body.editor-screen-corporate .section-header-controls {
      justify-content: flex-start !important;
    }

    body.editor-screen-corporate .section-options-planning,
    body.editor-screen-corporate .export-choice-row {
      grid-template-columns: 1fr !important;
    }
  }

  @media (max-width: 860px) {
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-type,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-name,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-date,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-client,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-manager,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-org,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-subtitle,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-grid-full {
      grid-column: 1 / -1 !important;
    }
  }

  @media (max-width: 760px) {
    body.editor-screen-corporate .matrix-topline,
    body.editor-screen-corporate .matrix-toolbar,
    body.editor-screen-corporate .progress-toolbar,
    body.editor-screen-corporate .guided-final-actions {
      display: grid !important;
      grid-template-columns: 1fr !important;
    }

    body.editor-screen-corporate .matrix-topline .section-clear,
    body.editor-screen-corporate .matrix-toolbar .matrix-add,
    body.editor-screen-corporate .progress-toolbar .progress-add,
    body.editor-screen-corporate .guided-final-actions-right,
    body.editor-screen-corporate .guided-final-actions-left {
      justify-self: start !important;
    }

    body.editor-screen-corporate .guided-footer {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.editor-screen-corporate #guidedNext {
      grid-column: 1 / -1 !important;
      width: 100% !important;
    }
  }
}

@media screen {
  body.editor-screen-corporate #guidedShell,
  body.editor-screen-corporate .guided-section-context,
  body.editor-screen-corporate .guided-step-topline,
  body.editor-screen-corporate .guided-step-meta,
  body.editor-screen-corporate #guidedStepCounter {
    display: none !important;
  }

  body.editor-screen-corporate #sec-start {
    padding-bottom: 22px !important;
  }

  body.editor-screen-corporate #sec-start .section-header-start {
    display: block !important;
    margin-bottom: 18px !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid #dde7f0 !important;
  }

  body.editor-screen-corporate #sec-start .section-header-start .section-title {
    margin-bottom: 6px !important;
  }

  body.editor-screen-corporate #sec-start .section-header-start .section-subline {
    margin: 0 !important;
    max-width: 62ch !important;
  }

  body.editor-screen-corporate #sec-start .start-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  body.editor-screen-corporate #sec-start .start-main-col,
  body.editor-screen-corporate #sec-start .start-main-col-full {
    min-width: 0 !important;
  }

  body.editor-screen-corporate #sec-start .start-proof-col,
  body.editor-screen-corporate #sec-start .start-proof-card {
    display: none !important;
  }

  body.editor-screen-corporate #sec-start .guided-start-card.guided-start-card-rich,
  body.editor-screen-corporate #sec-start .start-choice-card {
    padding: 22px !important;
    background: linear-gradient(180deg, #fbfdff 0%, #f6fafe 100%) !important;
    border: 1px solid #dce5ee !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 30px rgba(19, 35, 55, 0.05) !important;
  }

  body.editor-screen-corporate #sec-start .start-welcome-card,
  body.editor-screen-corporate #sec-start .start-kicker {
    display: none !important;
  }

  body.editor-screen-corporate #sec-start .start-route-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body.editor-screen-corporate #sec-start .start-route {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: 84px !important;
    padding: 16px 18px !important;
    border: 1px solid #d7e2ec !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    text-align: left !important;
    box-shadow: none !important;
    transition: border-color 120ms ease, background-color 120ms ease, transform 120ms ease !important;
  }

  body.editor-screen-corporate #sec-start .start-route::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: #8ca0b5;
    justify-self: end;
  }

  body.editor-screen-corporate #sec-start .start-route.start-route-primary {
    border-color: #c7d8ea !important;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%) !important;
  }

  body.editor-screen-corporate #sec-start .start-route:hover,
  body.editor-screen-corporate #sec-start .start-route:focus-visible {
    border-color: #bfcfe0 !important;
    background: #fcfeff !important;
    transform: translateY(-1px) !important;
  }

  body.editor-screen-corporate #sec-start .start-route-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
    background: #eef4fa !important;
    color: #2b4c6b !important;
    font-size: 19px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  }

  body.editor-screen-corporate #sec-start .start-route.start-route-primary .start-route-icon {
    background: #e4effb !important;
    color: #20486f !important;
  }

  body.editor-screen-corporate #sec-start .start-route-body {
    display: grid !important;
    gap: 4px !important;
    align-content: center !important;
  }

  body.editor-screen-corporate #sec-start .start-route-title {
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1.12 !important;
    color: #21374d !important;
  }

  body.editor-screen-corporate #sec-start .start-route-copy {
    max-width: none !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: #617589 !important;
  }

  @media (max-width: 980px) {
    body.editor-screen-corporate #sec-start .guided-start-card.guided-start-card-rich,
    body.editor-screen-corporate #sec-start .start-choice-card {
      padding: 18px !important;
    }

    body.editor-screen-corporate #sec-start .start-route {
      grid-template-columns: 44px minmax(0, 1fr) auto !important;
      min-height: 78px !important;
      padding: 14px 16px !important;
    }

    body.editor-screen-corporate #sec-start .start-route-icon {
      width: 44px !important;
      height: 44px !important;
      font-size: 16px !important;
    }

    body.editor-screen-corporate #sec-start .start-route-title {
      font-size: 18px !important;
    }
  }
}

body.sheet-credit-hidden .sheet-credit {
  display: none !important;
}

body.editor-screen-corporate .topbar-overflow-grid .toolbar-switch {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 32px !important;
  padding: 10px 11px !important;
  border: 1px solid rgba(194, 206, 222, 0.92) !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 253, 0.98) 100%) !important;
}

body.editor-screen-corporate .toolbar-switch-copy {
  display: grid !important;
  gap: 3px !important;
  min-width: 0 !important;
}

body.editor-screen-corporate .toolbar-switch-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #203149 !important;
}

body.editor-screen-corporate .toolbar-switch-note {
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: #5f738b !important;
}

body.editor-screen-corporate .toolbar-switch-control {
  position: relative !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
}

body.editor-screen-corporate .toolbar-switch-control input[type="checkbox"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
}

body.editor-screen-corporate .toolbar-switch-slider {
  position: relative !important;
  display: inline-flex !important;
  width: 46px !important;
  height: 28px !important;
  border-radius: 999px !important;
  background: #d5deea !important;
  box-shadow: inset 0 0 0 1px rgba(166, 182, 201, 0.92) !important;
  transition: background-color 160ms ease, box-shadow 160ms ease !important;
}

body.editor-screen-corporate .toolbar-switch-slider::after {
  content: "" !important;
  position: absolute !important;
  top: 3px !important;
  left: 3px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 2px 6px rgba(31, 47, 71, 0.16) !important;
  transition: transform 160ms ease !important;
}

body.editor-screen-corporate .toolbar-switch-control input[type="checkbox"]:checked + .toolbar-switch-slider {
  background: #2b5f99 !important;
  box-shadow: inset 0 0 0 1px rgba(22, 63, 108, 0.85) !important;
}

body.editor-screen-corporate .toolbar-switch-control input[type="checkbox"]:checked + .toolbar-switch-slider::after {
  transform: translateX(18px) !important;
}

body.editor-screen-corporate .toolbar-switch-control input[type="checkbox"]:focus-visible + .toolbar-switch-slider {
  outline: 2px solid rgba(32, 89, 156, 0.42) !important;
  outline-offset: 2px !important;
}

body.editor-screen-corporate .toolbar-switch-control input[type="checkbox"]:disabled {
  cursor: not-allowed !important;
}

body.editor-screen-corporate .toolbar-switch-control input[type="checkbox"]:disabled + .toolbar-switch-slider {
  opacity: 0.68 !important;
}

body.editor-screen-corporate.pro-tier-free .toolbar-switch {
  background: linear-gradient(180deg, rgba(249, 251, 254, 0.98) 0%, rgba(244, 247, 251, 0.98) 100%) !important;
}

body.editor-screen-corporate.pro-tier-free .toolbar-switch-note::after {
  content: " Pro-optie." !important;
  color: #244d7e !important;
  font-weight: 700 !important;
}

body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow-grid .toolbar-switch {
  border-color: rgba(78, 101, 124, 0.92) !important;
  background: linear-gradient(180deg, rgba(18, 28, 42, 0.98) 0%, rgba(13, 22, 35, 0.98) 100%) !important;
}

body.editor-screen-corporate[data-ui-theme="dark"] .toolbar-switch-label {
  color: #e1ebf5 !important;
}

body.editor-screen-corporate[data-ui-theme="dark"] .toolbar-switch-note {
  color: #9fb4ca !important;
}

body.editor-screen-corporate[data-ui-theme="dark"] .toolbar-switch-slider {
  background: #314257 !important;
  box-shadow: inset 0 0 0 1px rgba(93, 117, 143, 0.84) !important;
}

body.editor-screen-corporate[data-ui-theme="dark"] .toolbar-switch-control input[type="checkbox"]:checked + .toolbar-switch-slider {
  background: #5f92ca !important;
  box-shadow: inset 0 0 0 1px rgba(111, 155, 206, 0.9) !important;
}

body.editor-screen-corporate[data-ui-theme="dark"] .toolbar-switch-slider::after {
  background: #f7fbff !important;
}

body.editor-screen-corporate[data-ui-theme="dark"] .toolbar-switch-control input[type="checkbox"]:focus-visible + .toolbar-switch-slider {
  outline-color: rgba(129, 176, 228, 0.5) !important;
}

@media (max-width: 640px) {
  body.editor-screen-corporate .topbar-overflow-grid .toolbar-switch {
    align-items: flex-start !important;
  }

  body.editor-screen-corporate .toolbar-switch-control {
    margin-top: 2px !important;
  }
}

@media screen {
  body.editor-screen-corporate {
    --editor-rail-width: 184px;
    --editor-rail-gap: 24px;
  }

  body.editor-screen-corporate .app,
  body.editor-screen-corporate .mobile-print-warning,
  body.editor-screen-corporate .editor-recovery-notice {
    margin-left: calc(var(--editor-rail-width) + var(--editor-rail-gap)) !important;
    margin-right: 20px !important;
  }

  body.editor-screen-corporate .topbar-bar {
    padding: 0 18px !important;
    min-height: 52px !important;
  }

  body.editor-screen-corporate .topbar-brand {
    gap: 8px !important;
    max-width: min(36vw, 620px) !important;
  }

  body.editor-screen-corporate .docbar-app {
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    opacity: 0.76;
  }

  body.editor-screen-corporate .docbar-badge,
  body.editor-screen-corporate .pro-pill-inline {
    min-height: 20px !important;
    padding: 3px 8px !important;
    font-size: 10px !important;
    opacity: 0.9;
  }

  body.editor-screen-corporate .docbar-status {
    font-size: 13px !important;
    max-width: 220px !important;
  }

  body.editor-screen-corporate .docbar-save-state {
    font-size: 11px !important;
    opacity: 0.62 !important;
  }

  body.editor-screen-corporate .topbar-tool-btn,
  body.editor-screen-corporate .topbar-print-btn,
  body.editor-screen-corporate .topbar-overflow {
    min-height: 34px !important;
  }

  body.editor-screen-corporate .topbar-tool-btn {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: rgba(237, 244, 251, 0.86) !important;
  }

  body.editor-screen-corporate .topbar-tool-btn span {
    font-size: 12px !important;
  }

  body.editor-screen-corporate .topbar-datetime {
    font-size: 11px !important;
    color: rgba(229, 238, 247, 0.82) !important;
  }

  body.editor-screen-corporate .stepper-sidebar {
    width: var(--editor-rail-width) !important;
    padding: 10px 8px 18px !important;
  }

  body.editor-screen-corporate .workflow-stepper {
    gap: 3px !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-title {
    margin: 0 4px 8px;
    padding: 0 4px 8px;
    font-size: 11px;
  }

  body.editor-screen-corporate .workflow-stepper .menu-phase {
    margin: 9px 4px 2px;
    padding: 9px 4px 0;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn {
    min-height: 40px !important;
    gap: 10px !important;
    padding: 9px 10px !important;
    font-size: 12.5px !important;
  }

  body.editor-screen-corporate .guided-shell {
    margin-bottom: 18px !important;
    padding: 18px 22px !important;
    border-color: #d9e4ef !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    box-shadow: 0 8px 18px rgba(19, 35, 55, 0.04) !important;
  }

  body.editor-screen-corporate .guided-step-topline,
  body.editor-screen-corporate #guidedStepCounter {
    font-size: 11px !important;
    letter-spacing: 0.08em;
  }

  body.editor-screen-corporate .input-block-grid {
    gap: 18px !important;
  }

  body.editor-screen-corporate fieldset.form-section {
    margin: 0 0 18px !important;
    padding: 22px 24px 20px !important;
    border-color: #dde6ef !important;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%) !important;
    box-shadow: 0 8px 18px rgba(19, 35, 55, 0.035) !important;
  }

  body.editor-screen-corporate legend {
    margin-bottom: 12px !important;
    font-size: 22px !important;
    color: #213547 !important;
  }

  body.editor-screen-corporate .section-subline {
    margin: 0 0 16px !important;
    max-width: 72ch;
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: #73869a !important;
  }

  body.editor-screen-corporate label {
    font-size: 12px !important;
    font-weight: 600 !important;
    gap: 7px !important;
    margin-bottom: 14px !important;
  }

  body.editor-screen-corporate .field-caption {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #31495f !important;
  }

  body.editor-screen-corporate .field-help,
  body.editor-screen-corporate .hint,
  body.editor-screen-corporate .small {
    font-size: 11.5px !important;
    line-height: 1.55 !important;
    color: #76899d !important;
  }

  body.editor-screen-corporate input,
  body.editor-screen-corporate textarea,
  body.editor-screen-corporate select {
    background: #fcfdff !important;
    border-color: #d3deea !important;
  }

  body.editor-screen-corporate textarea {
    min-height: 112px !important;
  }

  body.editor-screen-corporate .section-status-inline {
    min-height: 32px;
    padding: 3px 8px !important;
    background: #f8fbfe !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .section-status-inline select {
    min-width: 100px !important;
    font-size: 11.5px !important;
  }

  body.editor-screen-corporate .section-clear,
  body.editor-screen-corporate .field-clear-btn,
  body.editor-screen-corporate .matrix-remove,
  body.editor-screen-corporate .progress-remove,
  body.editor-screen-corporate .preview-link-btn,
  body.editor-screen-corporate .upload-button-row button,
  body.editor-screen-corporate .topbar-overflow-grid button {
    box-shadow: none !important;
    color: #62778e !important;
  }

  body.editor-screen-corporate .section-clear,
  body.editor-screen-corporate .preview-link-btn,
  body.editor-screen-corporate .upload-button-row button {
    background: #fbfcfe !important;
    border-color: #d8e2ed !important;
  }

  body.editor-screen-corporate .matrix .head-row input,
  body.editor-screen-corporate .progress-input-head input,
  body.editor-screen-corporate .progress-input-head select {
    background: #f5f8fb !important;
    color: #53687f !important;
    border-color: #dbe5ef !important;
    font-size: 11px !important;
    letter-spacing: 0.03em;
  }

  body.editor-screen-corporate .matrix .row.matrix-data-row,
  body.editor-screen-corporate .progress-input-row {
    gap: 0 !important;
  }

  body.editor-screen-corporate #sec-start {
    padding-bottom: 24px !important;
  }

  body.editor-screen-corporate #sec-start .section-subline {
    max-width: 60ch;
    margin-bottom: 18px !important;
  }

  body.editor-screen-corporate .start-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 1.08fr);
    gap: 20px;
    align-items: stretch;
  }

  body.editor-screen-corporate .start-main-col,
  body.editor-screen-corporate .start-proof-col {
    min-width: 0;
  }

  body.editor-screen-corporate .guided-start-card.guided-start-card-rich {
    display: grid;
    gap: 16px;
    min-height: 100%;
    padding: 18px !important;
    border-color: #dbe5ef !important;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%) !important;
  }

  body.editor-screen-corporate .start-welcome-card {
    padding: 14px 16px !important;
    border-radius: 6px !important;
  }

  body.editor-screen-corporate .start-welcome-card h4 {
    font-size: 20px !important;
    line-height: 1.16 !important;
    max-width: 18ch;
  }

  body.editor-screen-corporate .start-welcome-card p {
    max-width: 56ch;
  }

  body.editor-screen-corporate .start-route-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.editor-screen-corporate .start-route {
    min-height: 0 !important;
    padding: 14px 16px !important;
    border-radius: 6px !important;
    gap: 7px;
  }

  body.editor-screen-corporate .start-route-title {
    font-size: 17px !important;
    line-height: 1.18 !important;
  }

  body.editor-screen-corporate .start-route-copy {
    max-width: 48ch;
  }

  body.editor-screen-corporate .start-step-list {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body.editor-screen-corporate .start-step {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 10px 12px !important;
    border-radius: 6px !important;
  }

  body.editor-screen-corporate .start-guide-card {
    gap: 10px !important;
    padding: 14px 16px !important;
    border-radius: 6px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%) !important;
  }

  body.editor-screen-corporate .start-guide-head h5 {
    font-size: 16px !important;
  }

  body.editor-screen-corporate .start-guide-list {
    gap: 6px !important;
    font-size: 12.5px !important;
  }

  body.editor-screen-corporate .start-guide-caveat {
    padding: 10px 12px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
  }

  body.editor-screen-corporate .start-proof-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr) !important;
    align-items: stretch;
    gap: 20px !important;
    min-height: 100%;
    padding: 20px 22px !important;
    border-radius: 6px !important;
    border-color: #dbe5ef !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    box-shadow: 0 10px 22px rgba(19, 35, 55, 0.04) !important;
  }

  body.editor-screen-corporate .start-proof-copy {
    gap: 12px !important;
    align-content: start;
    padding-right: 4px;
  }

  body.editor-screen-corporate .start-proof-kicker,
  body.editor-screen-corporate .start-guide-kicker {
    min-height: 24px !important;
    padding: 3px 9px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
  }

  body.editor-screen-corporate .start-proof-copy h5 {
    font-size: 30px !important;
    line-height: 1.05 !important;
    max-width: 12ch;
  }

  body.editor-screen-corporate .start-proof-copy p {
    max-width: 44ch;
    font-size: 13px !important;
  }

  body.editor-screen-corporate .start-proof-actions {
    gap: 12px !important;
  }

  body.editor-screen-corporate .start-proof-link,
  body.editor-screen-corporate .start-proof-secondary {
    min-height: 40px !important;
    padding: 10px 16px !important;
    border-radius: 4px !important;
  }

  body.editor-screen-corporate .start-proof-preview {
    min-height: 340px !important;
    padding: 16px 8px 12px !important;
  }

  body.editor-screen-corporate .start-proof-sheet {
    width: 260px !important;
    border-radius: 8px !important;
  }

  body.editor-screen-corporate .start-proof-sheet-cover {
    top: 10px !important;
    left: 18px !important;
    height: 190px !important;
    transform: rotate(-3deg) !important;
  }

  body.editor-screen-corporate .start-proof-sheet-report {
    right: 10px !important;
    bottom: 14px !important;
    height: 182px !important;
    transform: rotate(3deg) !important;
  }

  body.editor-screen-corporate .start-proof-grid span {
    border-radius: 6px !important;
  }

  body.editor-screen-corporate #sec-meta .meta-core-summary,
  body.editor-screen-corporate #sec-meta .meta-media-intro,
  body.editor-screen-corporate #sec-meta .meta-media-card,
  body.editor-screen-corporate .goal-guidance-card,
  body.editor-screen-corporate .goal-guidance-item {
    border-radius: 6px !important;
  }

  body.editor-screen-corporate #sec-meta .meta-media-card,
  body.editor-screen-corporate .goal-guidance-card {
    box-shadow: 0 8px 18px rgba(21, 39, 60, 0.035) !important;
  }

  body.editor-screen-corporate #sec-meta .meta-media-card-head p,
  body.editor-screen-corporate .goal-guidance-head p,
  body.editor-screen-corporate .goal-guidance-item span {
    color: #72869a !important;
  }

  @media (max-width: 1440px) {
    body.editor-screen-corporate .start-layout {
      grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1fr);
    }

    body.editor-screen-corporate .start-proof-card {
      grid-template-columns: minmax(0, 1fr) minmax(240px, 0.86fr) !important;
    }
  }

  @media (max-width: 1180px) {
    body.editor-screen-corporate {
      --editor-rail-width: 92px;
      --editor-rail-gap: 18px;
    }

    body.editor-screen-corporate .start-layout {
      grid-template-columns: 1fr !important;
    }

    body.editor-screen-corporate .start-proof-card {
      grid-template-columns: 1fr !important;
      min-height: 0;
    }

      body.editor-screen-corporate .start-proof-copy h5 {
        max-width: none;
      }
    }
}

@media screen {
  body.editor-screen-corporate {
    --editor-rail-width: 172px;
    --editor-rail-gap: 20px;
    --editor-card-radius: 4px;
    --editor-soft-border: #d9e2eb;
    --editor-soft-ink: #6d7f92;
    --editor-soft-bg: #f6f9fc;
    --editor-doc-bg: #fcfdff;
  }

  body.editor-screen-corporate .app {
    padding-right: 22px !important;
  }

  body.editor-screen-corporate .editor-view {
    max-width: none !important;
    width: auto !important;
  }

  body.editor-screen-corporate .editor-shell {
    gap: 0 !important;
  }

  body.editor-screen-corporate .editor-main {
    max-width: none !important;
  }

  body.editor-screen-corporate .topbar {
    border-radius: 0 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 28px rgba(7, 14, 23, 0.14) !important;
  }

  body.editor-screen-corporate .topbar-bar {
    min-height: 54px !important;
    padding: 10px 18px !important;
    gap: 16px !important;
  }

  body.editor-screen-corporate .topbar-brand {
    min-width: 0;
    gap: 10px !important;
    flex: 1 1 auto !important;
  }

  body.editor-screen-corporate .docbar-app {
    letter-spacing: 0.12em !important;
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }

  body.editor-screen-corporate .docbar-status {
    max-width: 28ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.95) !important;
  }

  body.editor-screen-corporate .docbar-caption,
  body.editor-screen-corporate .docbar-badge,
  body.editor-screen-corporate .topbar-datetime,
  body.editor-screen-corporate .topbar-pro-ghost,
  body.editor-screen-corporate .topbar-hidden-control {
    display: none !important;
  }

  body.editor-screen-corporate .docbar-save-state {
    margin-left: 4px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: rgba(141, 160, 179, 0.88) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    min-height: 0 !important;
  }

  body.editor-screen-corporate .docbar-save-state::before {
    width: 7px !important;
    height: 7px !important;
    margin-right: 6px !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .topbar-actions {
    gap: 10px !important;
    flex: 0 0 auto !important;
  }

  body.editor-screen-corporate .topbar-file-cluster {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
  }

  body.editor-screen-corporate .topbar-file-cluster .topbar-tool-btn {
    min-height: 36px !important;
    padding: 0 13px !important;
    border: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.09) !important;
    background: transparent !important;
    color: rgba(241, 245, 250, 0.9) !important;
    font-size: 13px !important;
    gap: 8px !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .topbar-file-cluster .topbar-tool-btn:last-of-type {
    border-right: 0 !important;
  }

  body.editor-screen-corporate .topbar-tool-btn i,
  body.editor-screen-corporate .topbar-print-btn i,
  body.editor-screen-corporate .topbar-overflow summary i {
    font-size: 15px !important;
  }

  body.editor-screen-corporate .topbar-pro-pill {
    align-self: stretch;
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 10px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0 !important;
    background: rgba(116, 143, 177, 0.12) !important;
    color: #b9c9da !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
  }

  body.editor-screen-corporate .topbar-overflow {
    margin: 0 !important;
  }

  body.editor-screen-corporate .topbar-overflow summary {
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(241, 245, 250, 0.88) !important;
  }

  body.editor-screen-corporate .topbar-overflow .advanced-content {
    top: calc(100% + 10px) !important;
    right: 0 !important;
    min-width: 290px !important;
    border-radius: 4px !important;
    border: 1px solid #dbe4ed !important;
    background: #fbfdff !important;
    box-shadow: 0 18px 36px rgba(18, 33, 53, 0.14) !important;
  }

  body.editor-screen-corporate .topbar-overflow-grid {
    gap: 10px !important;
  }

  body.editor-screen-corporate .topbar-overflow-grid button,
  body.editor-screen-corporate .topbar-overflow-grid .toolbar-field {
    min-height: 0 !important;
    padding: 10px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
  }

  body.editor-screen-corporate .topbar-pro-meta {
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    background: #f7fafd;
  }

  body.editor-screen-corporate .topbar-pro-meta .pro-copy {
    color: #5c7288 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  body.editor-screen-corporate .topbar-pro-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  body.editor-screen-corporate .topbar-pro-actions .pro-link {
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 4px !important;
  }

  body.editor-screen-corporate .topbar-print-btn {
    min-height: 36px !important;
    padding: 0 13px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(124, 150, 181, 0.26) !important;
    background: rgba(68, 103, 143, 0.18) !important;
    color: #e9f0f7 !important;
    font-size: 13px !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .topbar-print-btn:hover,
  body.editor-screen-corporate .topbar-file-cluster .topbar-tool-btn:hover,
  body.editor-screen-corporate .topbar-overflow summary:hover {
    background: rgba(255, 255, 255, 0.06) !important;
  }

  body.editor-screen-corporate .workflow-stepper {
    padding-top: 14px !important;
  }

  body.editor-screen-corporate .stepper-sidebar {
    padding: 14px 8px 18px !important;
  }

  body.editor-screen-corporate .menu-phase {
    margin: 12px 6px 10px !important;
    padding-top: 12px !important;
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
    color: rgba(167, 181, 196, 0.7) !important;
  }

  body.editor-screen-corporate .menu-btn {
    min-height: 48px !important;
    padding: 10px 12px !important;
    border-radius: 4px !important;
    color: rgba(228, 236, 244, 0.72) !important;
    border-color: transparent !important;
    background: transparent !important;
  }

  body.editor-screen-corporate .menu-btn i {
    color: rgba(189, 201, 214, 0.78) !important;
  }

  body.editor-screen-corporate .menu-btn.active,
  body.editor-screen-corporate .menu-btn.step-current {
    color: #f4f7fb !important;
    background: rgba(118, 145, 176, 0.12) !important;
    border-color: rgba(150, 177, 206, 0.18) !important;
    box-shadow: inset 2px 0 0 #8bb1d8 !important;
  }

  body.editor-screen-corporate .menu-btn.step-done {
    color: rgba(214, 232, 220, 0.8) !important;
    background: rgba(72, 115, 88, 0.12) !important;
  }

  body.editor-screen-corporate .panel.form-panel,
  body.editor-screen-corporate .guided-shell,
  body.editor-screen-corporate .input-block-grid > .form-section,
  body.editor-screen-corporate .guided-start-card.guided-start-card-rich,
  body.editor-screen-corporate .start-proof-card {
    border-radius: 4px !important;
    box-shadow: 0 8px 20px rgba(22, 38, 57, 0.035) !important;
  }

  body.editor-screen-corporate .panel.form-panel {
    background: #f8fbfe !important;
  }

  body.editor-screen-corporate .guided-shell {
    padding: 22px 28px 24px !important;
  }

  body.editor-screen-corporate .guided-shell > .guided-header,
  body.editor-screen-corporate .guided-shell > .guided-intro,
  body.editor-screen-corporate .section-subline {
    max-width: 64ch;
  }

  body.editor-screen-corporate .form-section {
    padding: 22px 24px 24px !important;
    border: 1px solid var(--editor-soft-border) !important;
    background: var(--editor-doc-bg) !important;
  }

  body.editor-screen-corporate .form-section legend,
  body.editor-screen-corporate .guided-header h3,
  body.editor-screen-corporate .guided-shell > h3 {
    letter-spacing: -0.02em !important;
  }

  body.editor-screen-corporate .section-subline,
  body.editor-screen-corporate .hint,
  body.editor-screen-corporate label > .hint,
  body.editor-screen-corporate .editor-upload-card-copy,
  body.editor-screen-corporate .small {
    color: var(--editor-soft-ink) !important;
  }

  body.editor-screen-corporate .section-subline {
    font-size: 13px !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }

  body.editor-screen-corporate label,
  body.editor-screen-corporate .field-caption {
    color: #20344a !important;
    font-weight: 600 !important;
  }

  body.editor-screen-corporate textarea,
  body.editor-screen-corporate input[type="text"],
  body.editor-screen-corporate input[type="date"],
  body.editor-screen-corporate input[type="number"],
  body.editor-screen-corporate select {
    border-radius: 4px !important;
    border: 1px solid #d7e0e8 !important;
    background: #fbfdff !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate textarea {
    min-height: 132px !important;
    padding: 14px 15px !important;
    background: linear-gradient(180deg, #fdfefe 0%, #f8fbfd 100%) !important;
    line-height: 1.55 !important;
  }

  body.editor-screen-corporate textarea:focus,
  body.editor-screen-corporate input:focus,
  body.editor-screen-corporate select:focus {
    outline: none !important;
    border-color: #9bb8d5 !important;
    box-shadow: 0 0 0 3px rgba(119, 153, 190, 0.12) !important;
  }

  body.editor-screen-corporate #sec-start {
    padding-bottom: 18px !important;
  }

  body.editor-screen-corporate .start-layout {
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr) !important;
    gap: 22px !important;
  }

  body.editor-screen-corporate .guided-start-card.guided-start-card-rich {
    padding: 18px !important;
    background: linear-gradient(180deg, #fbfdff 0%, #f7fafc 100%) !important;
  }

  body.editor-screen-corporate .start-welcome-card {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }

  body.editor-screen-corporate .start-welcome-card h4 {
    max-width: 18ch !important;
    margin-bottom: 10px !important;
  }

  body.editor-screen-corporate .start-welcome-card p {
    max-width: 50ch !important;
    font-size: 13px !important;
    color: #5f7489 !important;
  }

  body.editor-screen-corporate .start-trust-row,
  body.editor-screen-corporate .start-step-list,
  body.editor-screen-corporate .start-guide-card,
  body.editor-screen-corporate .start-proof-note,
  body.editor-screen-corporate .start-route-eyebrow {
    display: none !important;
  }

  body.editor-screen-corporate .start-route-grid {
    gap: 12px !important;
  }

  body.editor-screen-corporate .start-route {
    padding: 15px 16px !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    border: 1px solid #dde6ef !important;
  }

  body.editor-screen-corporate .start-route.start-route-primary {
    border-color: #c6d8ea !important;
    background: linear-gradient(180deg, #fdfefe 0%, #f5faff 100%) !important;
  }

  body.editor-screen-corporate .start-route-title {
    font-size: 18px !important;
    color: #21374d !important;
  }

  body.editor-screen-corporate .start-route-copy {
    font-size: 13px !important;
    color: #64788d !important;
  }

  body.editor-screen-corporate .start-inline-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 2px;
  }

  body.editor-screen-corporate .start-note {
    margin: 0 !important;
    font-size: 12px !important;
    max-width: 52ch;
  }

  body.editor-screen-corporate .start-inline-link {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #355a83 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .start-proof-card {
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr) !important;
    padding: 22px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  }

  body.editor-screen-corporate .start-proof-copy {
    gap: 14px !important;
  }

  body.editor-screen-corporate .start-proof-copy h5 {
    max-width: 13ch !important;
    font-size: 31px !important;
    line-height: 1.04 !important;
  }

  body.editor-screen-corporate .start-proof-copy p {
    max-width: 40ch !important;
    font-size: 13px !important;
    color: #5f7489 !important;
  }

  body.editor-screen-corporate .start-proof-link {
    min-height: 38px !important;
    padding: 0 16px !important;
    border-radius: 4px !important;
  }

  body.editor-screen-corporate .start-proof-secondary {
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 4px !important;
    background: transparent !important;
    border: 1px solid #d8e2ec !important;
    color: #496783 !important;
  }

  body.editor-screen-corporate .start-proof-preview {
    min-height: 372px !important;
    padding: 12px 4px !important;
  }

  body.editor-screen-corporate .section-status-inline {
    display: inline-flex !important;
    align-items: center;
    gap: 10px !important;
    padding: 6px 10px !important;
    border: 1px solid #dde6ee !important;
    border-radius: 999px !important;
    background: #fbfdff !important;
  }

  body.editor-screen-corporate .section-status-inline > span {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #62758a !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  body.editor-screen-corporate .section-status-inline select {
    min-height: 28px !important;
    padding: 0 28px 0 10px !important;
    border: 0 !important;
    background: transparent !important;
    color: #20344a !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  body.editor-screen-corporate .section-status-inline[data-status="green"] {
    background: #f5faf6 !important;
    border-color: #d8eadc !important;
  }

  body.editor-screen-corporate .section-status-inline[data-status="orange"] {
    background: #fcf8f1 !important;
    border-color: #ece0c9 !important;
  }

  body.editor-screen-corporate .section-status-inline[data-status="red"] {
    background: #fbf3f3 !important;
    border-color: #ebd7d7 !important;
  }

  body.editor-screen-corporate .matrix-help {
    margin: 2px 0 12px !important;
    border: 0 !important;
  }

  body.editor-screen-corporate .matrix-help summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 !important;
    list-style: none;
    background: transparent !important;
    border: 0 !important;
    color: #708398 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer;
  }

  body.editor-screen-corporate .matrix-help summary::-webkit-details-marker {
    display: none;
  }

  body.editor-screen-corporate .matrix-help summary::before {
    content: "\\f05a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    color: #8397ab;
  }

  body.editor-screen-corporate .matrix-help .small {
    margin-top: 8px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  body.editor-screen-corporate .matrix,
  body.editor-screen-corporate .progress-input-table {
    border: 0 !important;
    background: transparent !important;
  }

  body.editor-screen-corporate .matrix .head-row,
  body.editor-screen-corporate .progress-input-head {
    margin-bottom: 8px !important;
    padding: 0 10px !important;
    border: 0 !important;
    background: transparent !important;
    color: #617589 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  body.editor-screen-corporate .matrix .row.matrix-data-row,
  body.editor-screen-corporate .progress-input-row {
    margin-bottom: 8px !important;
    padding: 8px !important;
    border: 1px solid #dde6ee !important;
    border-radius: 4px !important;
    background: #fbfdff !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
  }

  body.editor-screen-corporate .matrix .row.matrix-data-row > *,
  body.editor-screen-corporate .progress-input-row > * {
    min-height: 40px !important;
  }

  body.editor-screen-corporate .matrix .row.matrix-data-row input,
  body.editor-screen-corporate .matrix .row.matrix-data-row select,
  body.editor-screen-corporate .progress-input-row input,
  body.editor-screen-corporate .progress-input-row select {
    background: #ffffff !important;
    border-color: #dbe4ec !important;
  }

  body.editor-screen-corporate .matrix-toolbar,
  body.editor-screen-corporate .progress-toolbar {
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-top: 8px !important;
  }

  body.editor-screen-corporate .matrix-toolbar .small,
  body.editor-screen-corporate .progress-toolbar .small,
  body.editor-screen-corporate .budget-page-toggle .small {
    font-size: 11px !important;
    color: #8295a9 !important;
  }

  body.editor-screen-corporate .matrix-remove,
  body.editor-screen-corporate .progress-remove,
  body.editor-screen-corporate .section-clear,
  body.editor-screen-corporate .field-clear-btn {
    min-height: 32px !important;
    padding: 0 10px !important;
    border-radius: 4px !important;
    border-color: #dbe3eb !important;
    background: #fafcfe !important;
    color: #6f8296 !important;
    font-size: 12px !important;
  }

  body.editor-screen-corporate .matrix-remove,
  body.editor-screen-corporate .progress-remove {
    justify-self: end !important;
  }

  body.editor-screen-corporate [data-locked="true"]::after {
    content: "\\f023" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    min-width: 0 !important;
    margin-left: 8px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #7a8ea5 !important;
    font-size: 12px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  body.editor-screen-corporate.pro-tier-free #btnExport,
  body.editor-screen-corporate.pro-tier-free #btnImport,
  body.editor-screen-corporate.pro-tier-free #btnGuidedSave,
  body.editor-screen-corporate.pro-tier-free #btnGuidedOpen {
    opacity: 0.9 !important;
  }

  @media (max-width: 1400px) {
    body.editor-screen-corporate {
      --editor-rail-width: 150px;
    }

    body.editor-screen-corporate .docbar-save-state {
      display: none !important;
    }

    body.editor-screen-corporate .start-layout {
      grid-template-columns: minmax(300px, 0.92fr) minmax(340px, 1.08fr) !important;
    }
  }

  @media (max-width: 1180px) {
    body.editor-screen-corporate {
      --editor-rail-width: 88px;
    }

    body.editor-screen-corporate .topbar-bar {
      padding: 10px 14px !important;
      gap: 12px !important;
    }

    body.editor-screen-corporate .docbar-status {
      max-width: 18ch;
    }

    body.editor-screen-corporate .start-layout,
    body.editor-screen-corporate .start-proof-card {
      grid-template-columns: 1fr !important;
    }

    body.editor-screen-corporate .start-inline-help {
      align-items: flex-start;
      flex-direction: column;
    }
  }
}

@media screen {
  body.editor-screen-corporate {
    --editor-rail-width: 230px;
    --editor-rail-gap: 20px;
  }

  body.editor-screen-corporate .topbar {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
  }

  body.editor-screen-corporate .topbar-bar {
    display: grid !important;
    grid-template-columns: var(--editor-rail-width) minmax(0, 1fr) !important;
    column-gap: var(--editor-rail-gap) !important;
    align-items: center !important;
    width: 100% !important;
    padding: 10px 0 10px 16px !important;
  }

  body.editor-screen-corporate .topbar-brand {
    min-width: 0 !important;
    justify-content: flex-start !important;
  }

  body.editor-screen-corporate .docbar-status {
    max-width: 18ch !important;
  }

  body.editor-screen-corporate .docbar-save-state {
    display: none !important;
  }

  body.editor-screen-corporate .topbar-actions {
    justify-self: stretch !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
    padding-right: 0 !important;
  }

  body.editor-screen-corporate .topbar-file-cluster {
    gap: 0 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }

  body.editor-screen-corporate .topbar-file-cluster .topbar-tool-btn {
    min-height: 38px !important;
    padding: 0 14px !important;
  }

  body.editor-screen-corporate .topbar-cluster-tag {
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    padding: 0 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(167, 186, 206, 0.78);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.015);
  }

  body.editor-screen-corporate .topbar-pro-pill {
    display: inline-flex !important;
    align-self: flex-start !important;
    padding: 3px 7px !important;
    margin-bottom: 2px !important;
    border: 1px solid #d8e1ea !important;
    border-left: 1px solid #d8e1ea !important;
    background: #f6f9fc !important;
    color: #7b8fa4 !important;
    font-size: 9px !important;
    letter-spacing: 0.12em !important;
  }

  body.editor-screen-corporate .topbar-print-btn {
    min-height: 36px !important;
    padding: 0 12px !important;
    background: rgba(64, 95, 130, 0.14) !important;
    border-color: rgba(128, 154, 182, 0.22) !important;
  }

  body.editor-screen-corporate .app,
  body.editor-screen-corporate .mobile-print-warning,
  body.editor-screen-corporate .editor-recovery-notice {
    margin-left: calc(var(--editor-rail-width) + var(--editor-rail-gap)) !important;
    margin-right: 16px !important;
  }

  body.editor-screen-corporate .stepper-sidebar {
    width: var(--editor-rail-width) !important;
    padding: 16px 10px 24px !important;
    overflow: hidden !important;
  }

  body.editor-screen-corporate .workflow-stepper {
    gap: 6px !important;
    height: auto !important;
    overflow: visible !important;
    padding-bottom: 18px !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-title {
    margin: 4px 8px 10px !important;
    padding: 0 8px 12px !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-phase {
    margin: 14px 8px 4px !important;
    padding: 12px 8px 0 !important;
    color: rgba(162, 177, 193, 0.56) !important;
    font-size: 10px !important;
    letter-spacing: 0.16em !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn {
    min-height: 50px !important;
    padding: 12px 16px !important;
    gap: 14px !important;
    border: 1px solid transparent !important;
    border-left: 0 !important;
    color: rgba(220, 230, 240, 0.76) !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn i {
    width: 20px !important;
    font-size: 15px !important;
    color: rgba(192, 203, 214, 0.72) !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn span {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.25 !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn:hover {
    border-color: transparent !important;
    background: rgba(255, 255, 255, 0.045) !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn.step-open {
    color: rgba(217, 227, 236, 0.78) !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn.step-done {
    background: rgba(98, 129, 109, 0.1) !important;
    color: rgba(230, 238, 233, 0.86) !important;
    border-color: transparent !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn.step-current,
  body.editor-screen-corporate .workflow-stepper .menu-btn.active {
    background: rgba(132, 154, 177, 0.12) !important;
    color: #f5f8fb !important;
    border-color: transparent !important;
    box-shadow: inset 2px 0 0 rgba(143, 175, 205, 0.75) !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn.step-done::after,
  body.editor-screen-corporate .workflow-stepper .menu-btn.step-current::after,
  body.editor-screen-corporate .workflow-stepper .menu-btn.active::after {
    display: none !important;
  }

  body.editor-screen-corporate .start-route-grid {
    gap: 16px !important;
  }

  body.editor-screen-corporate .start-route {
    border-color: #e4ebf2 !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  }

  body.editor-screen-corporate .start-route.start-route-primary {
    border-color: #d6e2ec !important;
    background: linear-gradient(180deg, #fbfdff 0%, #f7fbfe 100%) !important;
  }

  body.editor-screen-corporate .start-inline-help {
    display: none !important;
  }

  body.editor-screen-corporate [data-locked="true"]::after {
    content: "" !important;
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    margin-left: 8px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background-color: #7b8ea4 !important;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 8h-1V6a4 4 0 10-8 0v2H7a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zm-6 7.73V17a1 1 0 002 0v-1.27a2 2 0 10-2 0zM10 8V6a2 2 0 114 0v2h-4z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 8h-1V6a4 4 0 10-8 0v2H7a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zm-6 7.73V17a1 1 0 002 0v-1.27a2 2 0 10-2 0zM10 8V6a2 2 0 114 0v2h-4z'/%3E%3C/svg%3E") !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    vertical-align: middle !important;
  }

  @media (max-height: 760px) {
    body.editor-screen-corporate .stepper-sidebar {
      overflow: hidden !important;
    }

    body.editor-screen-corporate .workflow-stepper {
      height: 100% !important;
      overflow-y: auto !important;
      overflow-x: hidden !important;
    }
  }

  @media (max-width: 1180px) {
    body.editor-screen-corporate {
      --editor-rail-width: 88px;
    }

    body.editor-screen-corporate .topbar-bar {
      grid-template-columns: auto 1fr !important;
      column-gap: 12px !important;
    }
  }
}

@media screen {
  body.editor-screen-corporate {
    --editor-rail-width: 206px;
  }

  body.editor-screen-corporate .topbar {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.editor-screen-corporate .topbar-bar {
    width: 100vw !important;
    max-width: none !important;
    padding: 10px 12px 10px 12px !important;
  }

  body.editor-screen-corporate .topbar-actions {
    margin-right: 0 !important;
    padding-right: 0 !important;
  }

  body.editor-screen-corporate .topbar-print-btn {
    margin-right: 0 !important;
  }
}

@media screen {
  body.editor-screen-corporate[data-ui-theme="dark"] {
    background: linear-gradient(180deg, #0b1218 0%, #121b23 100%) !important;
    color: var(--screen-text) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .screen-editor-shell,
  body.editor-screen-corporate[data-ui-theme="dark"] .app,
  body.editor-screen-corporate[data-ui-theme="dark"] .editor-view,
  body.editor-screen-corporate[data-ui-theme="dark"] .form-wrap {
    background: transparent !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .panel.form-panel,
  body.editor-screen-corporate[data-ui-theme="dark"] .guided-shell,
  body.editor-screen-corporate[data-ui-theme="dark"] .guided-footer,
  body.editor-screen-corporate[data-ui-theme="dark"] .input-block-grid > .form-section,
  body.editor-screen-corporate[data-ui-theme="dark"] .guided-start-card.guided-start-card-rich,
  body.editor-screen-corporate[data-ui-theme="dark"] .start-proof-card,
  body.editor-screen-corporate[data-ui-theme="dark"] .editor-upload-card,
  body.editor-screen-corporate[data-ui-theme="dark"] .meta-media-card,
  body.editor-screen-corporate[data-ui-theme="dark"] .goal-guidance-card,
  body.editor-screen-corporate[data-ui-theme="dark"] .goal-guidance-item,
  body.editor-screen-corporate[data-ui-theme="dark"] .editor-recovery-card,
  body.editor-screen-corporate[data-ui-theme="dark"] .warning-card,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow .advanced-content,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-pro-meta {
    background: #16212c !important;
    color: var(--screen-text) !important;
    border-color: #2c3b4b !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .guided-start-card.guided-start-card-rich,
  body.editor-screen-corporate[data-ui-theme="dark"] .start-proof-card,
  body.editor-screen-corporate[data-ui-theme="dark"] .start-route,
  body.editor-screen-corporate[data-ui-theme="dark"] textarea,
  body.editor-screen-corporate[data-ui-theme="dark"] input:not([type="radio"]):not([type="checkbox"]),
  body.editor-screen-corporate[data-ui-theme="dark"] select,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix .row.matrix-data-row,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-input-row,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix .head-row input,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-input-head input,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-input-head select,
  body.editor-screen-corporate[data-ui-theme="dark"] .budget-total-row input,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow-grid button,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow-grid .toolbar-field {
    background: #1b2935 !important;
    color: var(--screen-text) !important;
    border-color: #334455 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .topbar,
  body.editor-screen-corporate[data-ui-theme="dark"] .stepper-sidebar {
    background: linear-gradient(180deg, #091017 0%, #0d141c 100%) !important;
    border-color: rgba(128, 180, 232, 0.14) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-file-cluster,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow summary,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-print-btn {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(128, 180, 232, 0.16) !important;
    color: var(--screen-text) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-file-cluster .topbar-tool-btn,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-print-btn,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-cluster-tag,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow summary,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow-grid button,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow-grid .toolbar-field,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-pro-meta .pro-copy,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow-note {
    color: var(--screen-text) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-cluster-tag,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-pro-pill {
    background: rgba(128, 180, 232, 0.08) !important;
    border-color: rgba(128, 180, 232, 0.16) !important;
    color: #a8c7e7 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .docbar-app,
  body.editor-screen-corporate[data-ui-theme="dark"] .docbar-status,
  body.editor-screen-corporate[data-ui-theme="dark"] .menu-title,
  body.editor-screen-corporate[data-ui-theme="dark"] .menu-btn,
  body.editor-screen-corporate[data-ui-theme="dark"] .field-caption,
  body.editor-screen-corporate[data-ui-theme="dark"] label,
  body.editor-screen-corporate[data-ui-theme="dark"] .start-route-title,
  body.editor-screen-corporate[data-ui-theme="dark"] .start-proof-copy h5,
  body.editor-screen-corporate[data-ui-theme="dark"] .editor-upload-card-title,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix .head-row,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-input-head,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix-help summary,
  body.editor-screen-corporate[data-ui-theme="dark"] .section-status-inline select,
  body.editor-screen-corporate[data-ui-theme="dark"] .meta-media-card-head h5,
  body.editor-screen-corporate[data-ui-theme="dark"] .goal-guidance-head h5 {
    color: var(--screen-text) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .section-subline,
  body.editor-screen-corporate[data-ui-theme="dark"] .small,
  body.editor-screen-corporate[data-ui-theme="dark"] .hint,
  body.editor-screen-corporate[data-ui-theme="dark"] .field-help,
  body.editor-screen-corporate[data-ui-theme="dark"] .start-welcome-card p,
  body.editor-screen-corporate[data-ui-theme="dark"] .start-route-copy,
  body.editor-screen-corporate[data-ui-theme="dark"] .start-proof-copy p,
  body.editor-screen-corporate[data-ui-theme="dark"] .editor-upload-card-copy,
  body.editor-screen-corporate[data-ui-theme="dark"] .upload-status,
  body.editor-screen-corporate[data-ui-theme="dark"] .upload-meta-label,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix-toolbar .small,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-toolbar .small,
  body.editor-screen-corporate[data-ui-theme="dark"] .budget-page-toggle .small,
  body.editor-screen-corporate[data-ui-theme="dark"] .menu-phase {
    color: var(--screen-muted) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] textarea::placeholder,
  body.editor-screen-corporate[data-ui-theme="dark"] input::placeholder {
    color: #7f93a8 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] textarea:focus,
  body.editor-screen-corporate[data-ui-theme="dark"] input:focus,
  body.editor-screen-corporate[data-ui-theme="dark"] select:focus {
    border-color: #6486a9 !important;
    box-shadow: 0 0 0 3px rgba(128, 180, 232, 0.14) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .start-route {
    background: linear-gradient(180deg, #192531 0%, #16212c 100%) !important;
    border-color: #2d3d4d !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .start-route.start-route-primary {
    background: linear-gradient(180deg, #1b2936 0%, #17232e 100%) !important;
    border-color: #3a5068 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .start-proof-secondary,
  body.editor-screen-corporate[data-ui-theme="dark"] .section-clear,
  body.editor-screen-corporate[data-ui-theme="dark"] .field-clear-btn,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix-remove,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-remove,
  body.editor-screen-corporate[data-ui-theme="dark"] .preview-link-btn,
  body.editor-screen-corporate[data-ui-theme="dark"] .upload-button-row button {
    background: #18232d !important;
    color: #d9e4ee !important;
    border-color: #314252 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .paste-zone {
    background: #18232d !important;
    border-color: #314252 !important;
    color: var(--screen-text) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .section-status-inline {
    background: #17222d !important;
    border-color: #2e3d4c !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .section-status-inline[data-status="green"] {
    background: rgba(67, 122, 83, 0.18) !important;
    border-color: rgba(95, 150, 111, 0.36) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .section-status-inline[data-status="orange"] {
    background: rgba(131, 99, 56, 0.18) !important;
    border-color: rgba(173, 137, 83, 0.36) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .section-status-inline[data-status="red"] {
    background: rgba(126, 69, 69, 0.2) !important;
    border-color: rgba(170, 97, 97, 0.36) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .matrix .head-row,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-input-head {
    background: transparent !important;
    color: #c9d7e5 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .matrix .row.matrix-data-row,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-input-row {
    background: #16212c !important;
    border-color: #2f4050 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .matrix .row.matrix-data-row input,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix .row.matrix-data-row select,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-input-row input,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-input-row select,
  body.editor-screen-corporate[data-ui-theme="dark"] .budget-total-row input {
    background: #0f1821 !important;
    color: var(--screen-text) !important;
    border-color: #314252 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .guide-modal-card,
  body.editor-screen-corporate[data-ui-theme="dark"] .pro-modal-card,
  body.editor-screen-corporate[data-ui-theme="dark"] .image-modal-card {
    background: #16212c !important;
    color: var(--screen-text) !important;
    border-color: #2d3d4c !important;
  }
}

@media screen {
  body.editor-screen-corporate {
    --editor-rail-width: 256px;
    --editor-rail-gap: 24px;
  }

  body.editor-screen-corporate .topbar {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, #0c131a 0%, #111922 100%) !important;
    border-bottom: 1px solid rgba(167, 186, 206, 0.14) !important;
    box-shadow: 0 14px 28px rgba(8, 15, 24, 0.16) !important;
  }

  body.editor-screen-corporate .topbar-bar {
    display: grid !important;
    grid-template-columns: var(--editor-rail-width) minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: var(--editor-rail-gap) !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 10px 18px 10px 0 !important;
    box-sizing: border-box !important;
  }

  body.editor-screen-corporate .topbar-brand {
    min-width: 0 !important;
    padding-left: 18px !important;
    gap: 10px !important;
    justify-content: flex-start !important;
  }

  body.editor-screen-corporate .docbar-app {
    font-size: 13px !important;
    letter-spacing: 0.12em !important;
  }

  body.editor-screen-corporate .docbar-status {
    max-width: 24ch !important;
    color: rgba(224, 232, 240, 0.82) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.editor-screen-corporate .docbar-save-state,
  body.editor-screen-corporate .topbar-pro-strip,
  body.editor-screen-corporate .topbar-pro-pill,
  body.editor-screen-corporate .topbar-pro-meta .pro-pill {
    display: none !important;
  }

  body.editor-screen-corporate .topbar-actions {
    min-width: 0 !important;
    justify-self: stretch !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    padding-right: 0 !important;
  }

  body.editor-screen-corporate .topbar-file-cluster {
    display: inline-grid !important;
    grid-template-columns: repeat(2, auto) 18px !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(167, 186, 206, 0.16) !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.025) !important;
  }

  body.editor-screen-corporate .topbar-file-cluster .topbar-tool-btn {
    min-height: 38px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-right: 1px solid rgba(167, 186, 206, 0.1) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(232, 238, 244, 0.92) !important;
  }

  body.editor-screen-corporate .topbar-file-cluster .topbar-tool-btn:last-of-type {
    border-right: 0 !important;
  }

  body.editor-screen-corporate .topbar-file-cluster [data-locked="true"]::after {
    display: none !important;
  }

  body.editor-screen-corporate .topbar-cluster-tag {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch !important;
    width: 18px !important;
    min-width: 18px !important;
    padding: 0 !important;
    border-left: 1px solid rgba(167, 186, 206, 0.08) !important;
    background: rgba(255, 255, 255, 0.018) !important;
    color: rgba(167, 186, 206, 0.72) !important;
    font-size: 0 !important;
  }

  body.editor-screen-corporate .topbar-cluster-tag::before {
    content: "" !important;
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    background-color: currentColor !important;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 8h-1V6a4 4 0 10-8 0v2H7a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zm-6 7.73V17a1 1 0 002 0v-1.27a2 2 0 10-2 0zM10 8V6a2 2 0 114 0v2h-4z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 8h-1V6a4 4 0 10-8 0v2H7a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zm-6 7.73V17a1 1 0 002 0v-1.27a2 2 0 10-2 0zM10 8V6a2 2 0 114 0v2h-4z'/%3E%3C/svg%3E") !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
  }

  body.editor-screen-corporate.pro-tier-pro .topbar-cluster-tag {
    display: none !important;
  }

  body.editor-screen-corporate.pro-tier-pro .topbar-file-cluster {
    grid-template-columns: repeat(2, auto) !important;
  }

  body.editor-screen-corporate .topbar-print-btn {
    min-height: 36px !important;
    padding: 0 12px !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border-color: rgba(167, 186, 206, 0.16) !important;
    color: rgba(236, 241, 246, 0.9) !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .topbar-print-btn:hover {
    background: rgba(255, 255, 255, 0.065) !important;
  }

  body.editor-screen-corporate .topbar-overflow .advanced-content {
    top: calc(100% + 8px) !important;
    right: 0 !important;
    min-width: 296px !important;
    max-width: 312px !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 10px !important;
  }

  body.editor-screen-corporate .topbar-overflow-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
    align-items: start !important;
  }

  body.editor-screen-corporate .topbar-overflow-grid > .topbar-pro-meta,
  body.editor-screen-corporate .topbar-overflow-grid > .topbar-overflow-note {
    grid-column: 1 / -1 !important;
  }

  body.editor-screen-corporate .topbar-overflow-grid button,
  body.editor-screen-corporate .topbar-overflow-grid .toolbar-field {
    min-height: 32px !important;
    padding: 7px 9px !important;
    font-size: 12px !important;
  }

  body.editor-screen-corporate .topbar-overflow-grid .toolbar-field {
    display: grid !important;
    gap: 4px !important;
    align-items: stretch !important;
  }

  body.editor-screen-corporate .topbar-overflow-grid .toolbar-field select {
    min-height: 27px !important;
    padding: 4px 26px 4px 8px !important;
    font-size: 12px !important;
  }

  body.editor-screen-corporate .topbar-pro-meta {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
    padding: 8px 9px !important;
  }

  body.editor-screen-corporate .topbar-pro-meta .pro-copy {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  body.editor-screen-corporate .topbar-pro-actions {
    display: flex !important;
    gap: 6px !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }

  body.editor-screen-corporate .topbar-pro-actions .pro-link {
    min-height: 30px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }

  body.editor-screen-corporate .topbar-overflow-note {
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  body.editor-screen-corporate .topbar-hidden-control,
  body.editor-screen-corporate #btnGuidedPrintFinal[hidden],
  body.editor-screen-corporate #guidedNext[hidden] {
    display: none !important;
  }

  body.editor-screen-corporate .app,
  body.editor-screen-corporate .mobile-print-warning {
    margin-left: calc(var(--editor-rail-width) + var(--editor-rail-gap)) !important;
    margin-right: 18px !important;
  }

  body.editor-screen-corporate .editor-recovery-notice {
    position: fixed !important;
    top: calc(var(--topbar-height, 58px) + 14px) !important;
    right: 18px !important;
    left: auto !important;
    width: min(440px, calc(100vw - 36px)) !important;
    margin: 0 !important;
    z-index: 60 !important;
    pointer-events: none !important;
  }

  body.editor-screen-corporate .editor-recovery-card {
    pointer-events: auto !important;
  }

  body.editor-screen-corporate .stepper-sidebar {
    width: var(--editor-rail-width) !important;
    top: calc(var(--topbar-height, 58px) + 18px) !important;
    bottom: 12px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.editor-screen-corporate .workflow-stepper {
    height: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 2px 6px 8px !important;
    gap: 1px !important;
    scrollbar-width: thin !important;
    scrollbar-gutter: stable !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-title {
    margin: 0 2px 6px !important;
    padding: 0 8px 6px !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-phase {
    margin: 7px 2px 1px !important;
    padding: 4px 8px 0 !important;
    color: rgba(162, 177, 193, 0.52) !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn {
    min-height: 31px !important;
    padding: 6px 10px !important;
    gap: 8px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: rgba(224, 232, 240, 0.74) !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn i {
    width: 16px !important;
    font-size: 13px !important;
    color: rgba(186, 200, 214, 0.7) !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn span {
    line-height: 1.15 !important;
    font-size: 13px !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn:hover {
    background: rgba(255, 255, 255, 0.032) !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn.step-done {
    background: rgba(96, 128, 108, 0.08) !important;
    color: rgba(233, 239, 234, 0.8) !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn.step-current,
  body.editor-screen-corporate .workflow-stepper .menu-btn.active {
    background: rgba(142, 164, 186, 0.12) !important;
    color: #f6f9fc !important;
    box-shadow: inset 2px 0 0 rgba(150, 180, 208, 0.68) !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn.step-current i,
  body.editor-screen-corporate .workflow-stepper .menu-btn.active i {
    color: rgba(220, 231, 242, 0.92) !important;
  }

  body.editor-screen-corporate .start-route-grid {
    gap: 14px !important;
  }

  body.editor-screen-corporate .start-route {
    border-color: rgba(212, 222, 233, 0.78) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 251, 253, 0.98) 100%) !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .start-route.start-route-primary {
    border-color: rgba(204, 217, 230, 0.92) !important;
    background: linear-gradient(180deg, #fcfdff 0%, #f7fafc 100%) !important;
  }

  body.editor-screen-corporate .goal-guidance-card,
  body.editor-screen-corporate .matrix-help {
    margin: 4px 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .goal-guidance-summary,
  body.editor-screen-corporate .matrix-help summary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: 0 !important;
    color: #72859a !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
  }

  body.editor-screen-corporate .goal-guidance-summary::-webkit-details-marker,
  body.editor-screen-corporate .matrix-help summary::-webkit-details-marker {
    display: none !important;
  }

  body.editor-screen-corporate .goal-guidance-summary::before,
  body.editor-screen-corporate .matrix-help summary::before {
    content: "" !important;
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    background-color: currentColor !important;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 17h2v-6h-2v6zm0-8h2V7h-2v2zm1 13C6.48 22 2 17.52 2 12S6.48 2 12 2s10 4.48 10 10-4.48 10-10 10z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 17h2v-6h-2v6zm0-8h2V7h-2v2zm1 13C6.48 22 2 17.52 2 12S6.48 2 12 2s10 4.48 10 10-4.48 10-10 10z'/%3E%3C/svg%3E") !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
  }

  body.editor-screen-corporate .goal-guidance-summary::after,
  body.editor-screen-corporate .matrix-help summary::after {
    content: "+" !important;
    margin-left: 2px !important;
    color: #97a9bc !important;
    font-size: 12px !important;
    font-weight: 700 !important;
  }

  body.editor-screen-corporate .goal-guidance-card[open] .goal-guidance-summary::after,
  body.editor-screen-corporate .matrix-help[open] summary::after {
    content: "−" !important;
  }

  body.editor-screen-corporate .goal-guidance-summary-copy {
    color: #72859a !important;
  }

  body.editor-screen-corporate .goal-guidance-body,
  body.editor-screen-corporate .matrix-help .small {
    margin-top: 8px !important;
  }

  body.editor-screen-corporate .goal-guidance-body {
    padding-top: 2px !important;
  }

  body.editor-screen-corporate .smart-start-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }

  body.editor-screen-corporate .smart-start-chip {
    min-height: 32px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(177, 196, 214, 0.8) !important;
    background: rgba(248, 251, 255, 0.96) !important;
    color: #3d5977 !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .smart-start-chip:hover {
    border-color: rgba(120, 151, 186, 0.92) !important;
    background: #f3f8fd !important;
    color: #25486d !important;
  }

  body.editor-screen-corporate .smart-start-chip.smart-action-chip {
    border-color: rgba(95, 132, 173, 0.42) !important;
    background: linear-gradient(180deg, #eef5fc 0%, #e6f0fa 100%) !important;
    color: #244a74 !important;
  }

  body.editor-screen-corporate .matrix .head-row {
    margin-bottom: 8px !important;
    padding: 0 10px !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.editor-screen-corporate .matrix .head-row .matrix-head-cell {
    display: flex !important;
    align-items: center !important;
    min-height: 18px !important;
    padding: 0 8px !important;
    color: #65798d !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  body.editor-screen-corporate .matrix .head-row .matrix-head-cell-action {
    justify-content: flex-end !important;
    padding-right: 2px !important;
  }

  body.editor-screen-corporate .matrix .head-row input {
    display: none !important;
  }

  body.editor-screen-corporate .matrix-toolbar,
  body.editor-screen-corporate .progress-toolbar {
    gap: 10px !important;
  }

  body.editor-screen-corporate .matrix-toolbar .small,
  body.editor-screen-corporate .progress-toolbar .small,
  body.editor-screen-corporate .upload-status,
  body.editor-screen-corporate .upload-meta-label {
    font-size: 11px !important;
    color: #8093a7 !important;
  }

  body.editor-screen-corporate .section-clear,
  body.editor-screen-corporate .matrix-remove,
  body.editor-screen-corporate .progress-remove,
  body.editor-screen-corporate .field-clear-btn,
  body.editor-screen-corporate .upload-button-row button,
  body.editor-screen-corporate .preview-link-btn {
    min-height: 30px !important;
    padding: 0 10px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .upload-actions {
    gap: 10px !important;
  }

  body.editor-screen-corporate .upload-meta-row {
    gap: 8px !important;
    align-items: center !important;
  }

  body.editor-screen-corporate .upload-button-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    justify-content: flex-start !important;
  }

  body.editor-screen-corporate .guided-final-actions {
    align-items: center !important;
  }

  body.editor-screen-corporate .guided-final-actions #btnGuidedSave {
    min-height: 38px !important;
  }

  @media (max-width: 1180px) {
    body.editor-screen-corporate {
      --editor-rail-width: 96px;
      --editor-rail-gap: 14px;
    }

    body.editor-screen-corporate .topbar-bar {
      grid-template-columns: auto 1fr !important;
      column-gap: 12px !important;
      padding-right: 12px !important;
    }

    body.editor-screen-corporate .topbar-brand,
    body.editor-screen-corporate .topbar-actions {
      padding-right: 0 !important;
      padding-left: 12px !important;
    }
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .topbar {
    background: linear-gradient(180deg, #081018 0%, #0c141c 100%) !important;
    border-bottom-color: rgba(130, 178, 226, 0.14) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .docbar-status,
  body.editor-screen-corporate[data-ui-theme="dark"] .goal-guidance-summary,
  body.editor-screen-corporate[data-ui-theme="dark"] .goal-guidance-summary-copy,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix-help summary,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix .head-row .matrix-head-cell {
    color: #d8e4ef !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-file-cluster,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow summary,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-print-btn {
    background: rgba(255, 255, 255, 0.032) !important;
    border-color: rgba(130, 178, 226, 0.16) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow .advanced-content,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-pro-meta {
    background: #16212c !important;
    border-color: #2f4050 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-cluster-tag {
    border-left-color: rgba(130, 178, 226, 0.12) !important;
    background: rgba(130, 178, 226, 0.06) !important;
    color: rgba(176, 206, 235, 0.8) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .workflow-stepper .menu-phase,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix-toolbar .small,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-toolbar .small,
  body.editor-screen-corporate[data-ui-theme="dark"] .upload-status,
  body.editor-screen-corporate[data-ui-theme="dark"] .upload-meta-label {
    color: #91a6bb !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .workflow-stepper .menu-btn {
    color: rgba(216, 226, 236, 0.76) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .workflow-stepper .menu-btn i {
    color: rgba(176, 196, 214, 0.76) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .workflow-stepper .menu-btn.step-current,
  body.editor-screen-corporate[data-ui-theme="dark"] .workflow-stepper .menu-btn.active {
    background: rgba(109, 140, 172, 0.16) !important;
    box-shadow: inset 2px 0 0 rgba(150, 189, 224, 0.78) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .matrix .head-row .matrix-head-cell {
    color: #9db3c8 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .goal-guidance-summary::after,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix-help summary::after {
    color: #9db3c8 !important;
  }
}

@media screen {
  body.editor-screen-corporate {
    margin: 0 !important;
    background: #edf2f6 !important;
    color: #16212d !important;
    --cleanup-shell-gutter: 32px;
    --cleanup-rail-width: 256px;
    --cleanup-content-width: 1140px;
    --cleanup-shell-gap: 24px;
    --cleanup-rail-top: 72px;
  }

  body.editor-screen-corporate .screen-editor-shell {
    min-height: 100vh !important;
    padding-top: 0 !important;
    background: #edf2f6 !important;
  }

  body.editor-screen-corporate .documentbar,
  body.editor-screen-corporate .screen-preview-drawer,
  body.editor-screen-corporate .report-view,
  body.editor-screen-corporate .mobile-print-warning {
    display: none !important;
  }

  body.editor-screen-corporate #editorTopbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 60 !important;
    background: #16212c !important;
    border-bottom: 1px solid rgba(118, 138, 158, 0.16) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  body.editor-screen-corporate .topbar-bar,
  body.editor-screen-corporate .editor-shell {
    width: calc(100vw - (var(--cleanup-shell-gutter) * 2)) !important;
    margin-left: var(--cleanup-shell-gutter) !important;
    margin-right: var(--cleanup-shell-gutter) !important;
  }

  body.editor-screen-corporate .topbar-bar {
    display: grid !important;
    grid-template-columns: var(--cleanup-rail-width) minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: var(--cleanup-shell-gap) !important;
    padding: 14px 0 !important;
  }

  body.editor-screen-corporate .topbar-brand {
    grid-column: 1 !important;
    min-width: 0 !important;
    padding: 0 !important;
    gap: 12px !important;
    align-items: center !important;
  }

  body.editor-screen-corporate .topbar-actions {
    grid-column: 2 !important;
    min-width: 0 !important;
    padding: 0 !important;
    gap: 12px !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }

  body.editor-screen-corporate .docbar-save-state {
    display: none !important;
  }

  body.editor-screen-corporate .docbar-app {
    color: #f4f8fb !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
  }

  body.editor-screen-corporate .docbar-status {
    color: rgba(218, 228, 239, 0.78) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  body.editor-screen-corporate .topbar-file-cluster,
  body.editor-screen-corporate .topbar-overflow > summary,
  body.editor-screen-corporate .topbar-print-btn {
    border-radius: 12px !important;
    border: 1px solid rgba(128, 152, 176, 0.16) !important;
    background: rgba(255, 255, 255, 0.035) !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .topbar-tool-btn,
  body.editor-screen-corporate .topbar-overflow > summary,
  body.editor-screen-corporate .topbar-print-btn {
    min-height: 42px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  body.editor-screen-corporate .topbar-tool-btn {
    color: #edf4fb !important;
    background: transparent !important;
    border: 0 !important;
  }

  body.editor-screen-corporate .topbar-cluster-tag {
    width: 28px !important;
    min-width: 28px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-left: 1px solid rgba(128, 152, 176, 0.14) !important;
  }

  body.editor-screen-corporate .topbar-print-btn {
    color: #edf4fb !important;
  }

  body.editor-screen-corporate .topbar-overflow .advanced-content {
    margin-top: 10px !important;
    padding: 14px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(128, 152, 176, 0.16) !important;
    background: #16212c !important;
    box-shadow: 0 18px 34px rgba(9, 15, 22, 0.24) !important;
  }

  body.editor-screen-corporate .topbar-pro-meta,
  body.editor-screen-corporate .topbar-overflow-note {
    opacity: 0.72 !important;
  }

  body.editor-screen-corporate .topbar-pro-meta .pro-copy,
  body.editor-screen-corporate .topbar-overflow-note {
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  body.editor-screen-corporate .app {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 28px 0 56px !important;
    background: transparent !important;
  }

  body.editor-screen-corporate .editor-view,
  body.editor-screen-corporate .panel.form-panel,
  body.editor-screen-corporate .form-wrap,
  body.editor-screen-corporate .editor-form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .panel.form-panel > .head {
    display: none !important;
  }

  body.editor-screen-corporate .editor-shell {
    display: grid !important;
    grid-template-columns: var(--cleanup-rail-width) minmax(0, var(--cleanup-content-width)) !important;
    column-gap: var(--cleanup-shell-gap) !important;
    align-items: start !important;
    justify-content: start !important;
  }

  body.editor-screen-corporate .stepper-sidebar {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: fixed !important;
    left: 0 !important;
    top: var(--cleanup-rail-top) !important;
    bottom: 0 !important;
    align-self: start !important;
    width: var(--cleanup-rail-width) !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    border-top: 0 !important;
    border-right: 1px solid rgba(126, 146, 167, 0.12) !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, #111923 0%, #121d28 100%) !important;
    box-shadow: none !important;
    z-index: 5 !important;
  }

  body.editor-screen-corporate .workflow-stepper {
    height: 100% !important;
    max-height: none !important;
    overflow: hidden !important;
    padding: 12px 14px 18px !important;
    gap: 4px !important;
    scrollbar-width: none !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-title {
    display: none !important;
    margin: 0 0 10px !important;
    padding: 0 10px 10px !important;
    border-bottom: 1px solid rgba(126, 146, 167, 0.1) !important;
    color: rgba(204, 214, 225, 0.72) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-phase {
    margin: 10px 0 4px !important;
    padding: 0 10px !important;
    color: rgba(137, 153, 170, 0.56) !important;
    font-size: 10px !important;
    letter-spacing: 0.16em !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-phase:first-of-type {
    margin-top: 0 !important;
    padding-top: 2px !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn {
    min-height: 40px !important;
    padding: 10px 12px !important;
    gap: 10px !important;
    border-radius: 12px !important;
    border: 0 !important;
    background: transparent !important;
    color: rgba(222, 230, 238, 0.78) !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn:hover {
    background: rgba(255, 255, 255, 0.035) !important;
  }

  body.editor-screen-corporate .workflow-stepper .menu-btn.step-current,
  body.editor-screen-corporate .workflow-stepper .menu-btn.active {
    background: rgba(153, 174, 196, 0.14) !important;
    box-shadow: inset 2px 0 0 rgba(176, 200, 222, 0.68) !important;
  }

  body.editor-screen-corporate .editor-main {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: var(--cleanup-content-width) !important;
    min-width: 0 !important;
  }

  body.editor-screen-corporate .guided-shell,
  body.editor-screen-corporate .guided-footer,
  body.editor-screen-corporate .input-block-grid > .form-section {
    width: 100% !important;
    max-width: none !important;
  }

  body.editor-screen-corporate .guided-shell,
  body.editor-screen-corporate .guided-footer,
  body.editor-screen-corporate .input-block-grid > .form-section,
  body.editor-screen-corporate .form-section {
    scroll-margin-top: 96px !important;
  }

  body.editor-screen-corporate .guided-shell {
    margin: 0 0 20px !important;
    padding: 22px 26px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(210, 219, 228, 0.74) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .guided-footer {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: max-content !important;
    margin-top: 16px !important;
    padding: 0 !important;
    border-top: 0 !important;
    background: transparent !important;
  }

  body.editor-screen-corporate .guided-footer button {
    min-height: 40px !important;
    padding: 0 16px !important;
    border-radius: 10px !important;
  }

  body.editor-screen-corporate .input-block-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  body.editor-screen-corporate .input-block-grid > .form-section {
    margin: 0 !important;
    padding: 24px 26px 26px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(215, 223, 231, 0.78) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: none !important;
    position: relative !important;
  }

  body.editor-screen-corporate .form-section legend {
    margin: 0 !important;
    padding: 0 !important;
    color: #182433 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
  }

  body.editor-screen-corporate .section-subline {
    margin: 8px 0 16px !important;
    color: #6b7d90 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    max-width: 62ch !important;
  }

  body.editor-screen-corporate .form-section .section-subline {
    padding-right: 0 !important;
  }

  body.editor-screen-corporate .hint,
  body.editor-screen-corporate .field-help,
  body.editor-screen-corporate .small,
  body.editor-screen-corporate .goal-guidance-summary-copy,
  body.editor-screen-corporate .editor-upload-card-copy,
  body.editor-screen-corporate .meta-media-card-head p,
  body.editor-screen-corporate .upload-meta-label,
  body.editor-screen-corporate .upload-status {
    color: #7c8ea1 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  body.editor-screen-corporate .section-toolbar,
  body.editor-screen-corporate .planning-top-controls,
  body.editor-screen-corporate .matrix-toolbar,
  body.editor-screen-corporate .progress-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
  }

  body.editor-screen-corporate .section-status-inline {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(208, 217, 226, 0.68) !important;
    background: rgba(248, 250, 252, 0.84) !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .section-status-inline > span {
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
  }

  body.editor-screen-corporate .section-status-inline select {
    min-height: 24px !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  body.editor-screen-corporate .form-section > .section-status-inline {
    margin: 0 0 14px !important;
  }

  body.editor-screen-corporate .form-section > .section-status-inline > span {
    display: inline !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #66798d !important;
  }

  body.editor-screen-corporate .form-section > .section-toolbar > .section-status-inline,
  body.editor-screen-corporate .form-section > .planning-top-controls > .section-status-inline {
    margin-left: auto !important;
    order: 10 !important;
  }

  body.editor-screen-corporate #sec-goal .hint,
  body.editor-screen-corporate #sec-scope .hint,
  body.editor-screen-corporate #sec-quality .hint {
    display: block !important;
  }

  body.editor-screen-corporate .matrix-help {
    margin: 4px 0 10px !important;
  }

  body.editor-screen-corporate .matrix-help summary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    list-style: none !important;
    padding: 0 !important;
    color: #708399 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
  }

  body.editor-screen-corporate .matrix-help summary::-webkit-details-marker {
    display: none !important;
  }

  body.editor-screen-corporate .matrix-help summary::before,
  body.editor-screen-corporate .matrix-help summary::after {
    content: none !important;
  }

  body.editor-screen-corporate .matrix-help .small {
    margin: 6px 0 0 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  body.editor-screen-corporate .section-clear {
    order: 1 !important;
  }

  body.editor-screen-corporate .matrix-toolbar,
  body.editor-screen-corporate .progress-toolbar {
    margin-top: 10px !important;
    justify-content: flex-start !important;
  }

  body.editor-screen-corporate .matrix-toolbar .small,
  body.editor-screen-corporate .progress-toolbar .small {
    color: #7c8ea1 !important;
    font-size: 12px !important;
  }

  body.editor-screen-corporate .section-clear,
  body.editor-screen-corporate .matrix-add,
  body.editor-screen-corporate .progress-add,
  body.editor-screen-corporate .matrix-remove,
  body.editor-screen-corporate .progress-remove,
  body.editor-screen-corporate .field-clear-btn,
  body.editor-screen-corporate .preview-link-btn,
  body.editor-screen-corporate .upload-button-row button {
    min-height: 32px !important;
    padding: 0 10px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(208, 217, 226, 0.9) !important;
    background: #f8fafc !important;
    color: #34475b !important;
    font-size: 12px !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .matrix .head-row,
  body.editor-screen-corporate .progress-input-head {
    margin-bottom: 8px !important;
    padding: 0 8px !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.editor-screen-corporate .matrix .head-row .matrix-head-cell,
  body.editor-screen-corporate .progress-input-head span {
    color: #6b8094 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  body.editor-screen-corporate .progress-input-row,
  body.editor-screen-corporate .matrix .row.matrix-data-row,
  body.editor-screen-corporate .budget-total-row {
    margin-bottom: 10px !important;
    padding: 10px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(217, 224, 232, 0.9) !important;
    background: #f9fbfd !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .meta-media-card,
  body.editor-screen-corporate .editor-upload-card {
    padding: 20px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(216, 223, 231, 0.82) !important;
    background: #fafbfd !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .paste-zone {
    min-height: 104px !important;
    border-radius: 14px !important;
    border: 1px dashed rgba(183, 196, 210, 0.9) !important;
    background: rgba(255, 255, 255, 0.78) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] {
    background: #0a1118 !important;
    color: #e0e9f2 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .screen-editor-shell {
    background: #0a1118 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] #editorTopbar,
  body.editor-screen-corporate[data-ui-theme="dark"] .stepper-sidebar {
    background: #0e1721 !important;
    border-color: rgba(128, 152, 176, 0.16) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-file-cluster,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow > summary,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-print-btn,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow .advanced-content,
  body.editor-screen-corporate[data-ui-theme="dark"] .guided-shell,
  body.editor-screen-corporate[data-ui-theme="dark"] .input-block-grid > .form-section,
  body.editor-screen-corporate[data-ui-theme="dark"] .meta-media-card,
  body.editor-screen-corporate[data-ui-theme="dark"] .editor-upload-card {
    background: #131c26 !important;
    border-color: rgba(128, 152, 176, 0.16) !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .docbar-app,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-tool-btn,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-print-btn,
  body.editor-screen-corporate[data-ui-theme="dark"] .form-section legend,
  body.editor-screen-corporate[data-ui-theme="dark"] .meta-media-card-head h5,
  body.editor-screen-corporate[data-ui-theme="dark"] .editor-upload-card-title {
    color: #eef5fb !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .docbar-status,
  body.editor-screen-corporate[data-ui-theme="dark"] .section-subline,
  body.editor-screen-corporate[data-ui-theme="dark"] .hint,
  body.editor-screen-corporate[data-ui-theme="dark"] .field-help,
  body.editor-screen-corporate[data-ui-theme="dark"] .small,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix-help summary,
  body.editor-screen-corporate[data-ui-theme="dark"] .editor-upload-card-copy,
  body.editor-screen-corporate[data-ui-theme="dark"] .meta-media-card-head p,
  body.editor-screen-corporate[data-ui-theme="dark"] .upload-meta-label,
  body.editor-screen-corporate[data-ui-theme="dark"] .upload-status,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-pro-meta .pro-copy,
  body.editor-screen-corporate[data-ui-theme="dark"] .topbar-overflow-note {
    color: #99aec3 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] input,
  body.editor-screen-corporate[data-ui-theme="dark"] textarea,
  body.editor-screen-corporate[data-ui-theme="dark"] select,
  body.editor-screen-corporate[data-ui-theme="dark"] .section-status-inline,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-input-row,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix .matrix-data-row,
  body.editor-screen-corporate[data-ui-theme="dark"] .budget-total-row,
  body.editor-screen-corporate[data-ui-theme="dark"] .paste-zone,
  body.editor-screen-corporate[data-ui-theme="dark"] .section-clear,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix-add,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-add,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix-remove,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-remove,
  body.editor-screen-corporate[data-ui-theme="dark"] .preview-link-btn,
  body.editor-screen-corporate[data-ui-theme="dark"] .upload-button-row button {
    background: #101922 !important;
    border-color: rgba(128, 152, 176, 0.16) !important;
    color: #e0e9f2 !important;
  }

  @media (max-width: 1180px) {
    body.editor-screen-corporate {
      --cleanup-shell-gutter: 18px;
      --cleanup-rail-width: 1fr;
      --cleanup-shell-gap: 18px;
      --cleanup-content-width: 100%;
    }

    body.editor-screen-corporate .topbar-bar,
    body.editor-screen-corporate .editor-shell {
      width: calc(100vw - (var(--cleanup-shell-gutter) * 2)) !important;
      margin-left: var(--cleanup-shell-gutter) !important;
      margin-right: var(--cleanup-shell-gutter) !important;
      grid-template-columns: minmax(0, 1fr) !important;
    }

    body.editor-screen-corporate .topbar-bar {
      row-gap: 12px !important;
      padding: 12px 0 !important;
    }

    body.editor-screen-corporate .topbar-brand,
    body.editor-screen-corporate .topbar-actions,
    body.editor-screen-corporate .stepper-sidebar,
    body.editor-screen-corporate .editor-main {
      grid-column: 1 !important;
    }

    body.editor-screen-corporate .topbar-actions {
      justify-content: flex-start !important;
      flex-wrap: wrap !important;
      row-gap: 8px !important;
    }

    body.editor-screen-corporate .topbar-file-cluster {
      order: 1 !important;
    }

    body.editor-screen-corporate .topbar-overflow {
      order: 2 !important;
    }

    body.editor-screen-corporate .topbar-print-btn {
      order: 3 !important;
    }

    body.editor-screen-corporate .stepper-sidebar {
      position: relative !important;
      left: auto !important;
      top: auto !important;
      bottom: auto !important;
      width: 100% !important;
      max-height: none !important;
      overflow: visible !important;
      border: 1px solid rgba(126, 146, 167, 0.12) !important;
      border-radius: 16px !important;
      margin-bottom: 18px !important;
    }

    body.editor-screen-corporate .workflow-stepper {
      height: auto !important;
      overflow: visible !important;
      display: flex !important;
      flex-wrap: wrap !important;
      align-items: flex-start !important;
      gap: 8px !important;
      padding: 12px !important;
    }

    body.editor-screen-corporate .workflow-stepper .menu-title,
    body.editor-screen-corporate .workflow-stepper .menu-phase {
      width: 100% !important;
    }

    body.editor-screen-corporate .workflow-stepper .menu-phase {
      margin: 8px 0 0 !important;
      padding: 0 4px !important;
    }

    body.editor-screen-corporate .workflow-stepper .menu-btn {
      min-height: 38px !important;
      padding: 8px 12px !important;
      flex: 0 1 auto !important;
    }

    body.editor-screen-corporate #sec-meta .meta-grid > .meta-name,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-date,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-type,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-client,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-manager,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-org,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-subtitle {
      grid-column: 1 / -1 !important;
    }

    body.editor-screen-corporate #sec-meta .meta-media-intro {
      flex-direction: column !important;
      align-items: flex-start !important;
    }

    body.editor-screen-corporate .guided-footer {
      flex-wrap: wrap !important;
    }
  }

  @media (max-width: 820px) {
    body.editor-screen-corporate {
      --cleanup-shell-gutter: 14px;
      --cleanup-shell-gap: 14px;
    }

    body.editor-screen-corporate .topbar-bar,
    body.editor-screen-corporate .editor-shell {
      width: calc(100vw - (var(--cleanup-shell-gutter) * 2)) !important;
      margin-left: var(--cleanup-shell-gutter) !important;
      margin-right: var(--cleanup-shell-gutter) !important;
    }

    body.editor-screen-corporate .docbar-app {
      font-size: 20px !important;
    }

    body.editor-screen-corporate .docbar-status {
      font-size: 12px !important;
    }

    body.editor-screen-corporate .topbar-tool-btn,
    body.editor-screen-corporate .topbar-overflow > summary,
    body.editor-screen-corporate .topbar-print-btn {
      min-height: 38px !important;
      padding: 0 12px !important;
      font-size: 12px !important;
    }

    body.editor-screen-corporate .input-block-grid > .form-section {
      padding: 20px 18px 20px !important;
    }

    body.editor-screen-corporate .guided-shell {
      padding: 18px 18px !important;
    }
  }

  @media (max-height: 860px) {
    body.editor-screen-corporate {
      --cleanup-rail-top: 68px;
    }

    body.editor-screen-corporate .topbar-bar {
      padding: 10px 0 !important;
    }

    body.editor-screen-corporate .topbar-tool-btn,
    body.editor-screen-corporate .topbar-overflow > summary,
    body.editor-screen-corporate .topbar-print-btn {
      min-height: 38px !important;
      padding: 0 12px !important;
      font-size: 12px !important;
    }

    body.editor-screen-corporate .topbar-actions {
      gap: 10px !important;
    }

    body.editor-screen-corporate .stepper-sidebar {
      overflow-y: auto !important;
      overscroll-behavior: contain !important;
      scrollbar-width: thin !important;
    }

    body.editor-screen-corporate .workflow-stepper {
      height: auto !important;
      min-height: 100% !important;
      overflow: visible !important;
      padding: 10px 12px 18px !important;
    }
  }

  @media (max-height: 760px) {
    body.editor-screen-corporate {
      --cleanup-rail-top: 64px;
    }

    body.editor-screen-corporate .topbar-bar {
      padding: 8px 0 !important;
    }

    body.editor-screen-corporate .topbar-actions {
      gap: 8px !important;
    }

    body.editor-screen-corporate .topbar-tool-btn,
    body.editor-screen-corporate .topbar-overflow > summary,
    body.editor-screen-corporate .topbar-print-btn {
      min-height: 36px !important;
      padding: 0 10px !important;
      font-size: 12px !important;
    }

    body.editor-screen-corporate .workflow-stepper {
      padding: 8px 10px 16px !important;
      gap: 2px !important;
    }

    body.editor-screen-corporate .workflow-stepper .menu-title {
      margin-bottom: 8px !important;
      padding-bottom: 8px !important;
    }

    body.editor-screen-corporate .workflow-stepper .menu-phase {
      margin: 8px 0 2px !important;
      padding: 0 8px !important;
      font-size: 9px !important;
    }

    body.editor-screen-corporate .workflow-stepper .menu-btn {
      min-height: 36px !important;
      padding: 8px 10px !important;
      gap: 8px !important;
      font-size: 12px !important;
    }
  }
}

/* Landing page */
body.landing-page {
  margin: 0;
  background: #f3f7fb;
  color: #172638;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

body.landing-page * {
  box-sizing: border-box;
}

body.landing-page a {
  color: inherit;
  text-decoration: none;
}

body.landing-page .landing-shell {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
}

body.landing-page .landing-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 24, 36, 0.92);
  border-bottom: 1px solid rgba(121, 143, 166, 0.16);
  backdrop-filter: blur(18px);
}

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

body.landing-page .landing-mobile-nav {
  display: none;
  position: relative;
}

body.landing-page .landing-mobile-nav summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(120, 145, 171, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(235, 242, 248, 0.88);
  cursor: pointer;
  list-style: none;
}

body.landing-page .landing-mobile-nav summary::-webkit-details-marker {
  display: none;
}

body.landing-page .landing-mobile-nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(120, 145, 171, 0.2);
  background: rgba(20, 32, 47, 0.96);
  box-shadow: 0 18px 34px rgba(12, 24, 38, 0.32);
}

body.landing-page .landing-mobile-nav-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(236, 243, 249, 0.88);
  font-size: 14px;
  font-weight: 600;
}

body.landing-page .landing-mobile-nav-panel button {
  margin-top: 4px;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: #eef4fa;
  color: #24466a;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

body.landing-page .landing-mobile-nav-panel a:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.landing-page .landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

body.landing-page .landing-brand-mark {
  color: #f3f7fb;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

body.landing-page .landing-brand-copy {
  color: rgba(226, 235, 245, 0.8);
  font-size: 15px;
  font-weight: 600;
}

body.landing-page .landing-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgba(226, 235, 245, 0.82);
  font-size: 14px;
  font-weight: 600;
}

body.landing-page .landing-nav a:hover,
body.landing-page .landing-link-btn:hover {
  color: #ffffff;
}

body.landing-page .landing-header-actions,
body.landing-page .landing-hero-actions,
body.landing-page .landing-cta-band-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.landing-page .landing-header-actions {
  flex: 0 0 auto;
}

body.landing-page .landing-link-btn,
body.landing-page .landing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(120, 145, 171, 0.2);
  font-size: 14px;
  font-weight: 700;
  transition: 0.18s ease;
}

body.landing-page .landing-link-btn {
  color: rgba(235, 242, 248, 0.86);
  background: rgba(255, 255, 255, 0.03);
}

body.landing-page .landing-cta {
  color: #f8fbff;
  background: linear-gradient(180deg, #2f5c92 0%, #244971 100%);
  box-shadow: 0 12px 28px rgba(24, 54, 92, 0.22);
}

body.landing-page .landing-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(24, 54, 92, 0.28);
}

body.landing-page .landing-cta-secondary {
  color: #294662;
  background: #eef4fa;
  border-color: rgba(150, 173, 197, 0.34);
  box-shadow: none;
}

body.landing-page .landing-cta-quiet {
  color: #294662;
  background: transparent;
  border-color: rgba(150, 173, 197, 0.4);
  box-shadow: none;
}

body.landing-page .landing-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(circle at top right, rgba(180, 214, 161, 0.35), transparent 28%),
    linear-gradient(180deg, #f6fafc 0%, #edf3f8 100%);
}

body.landing-page .landing-hero-grid,
body.landing-page .landing-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.94fr);
  gap: 36px;
  align-items: center;
}

body.landing-page .landing-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #eaf2fc;
  color: #244c74;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.landing-page .landing-hero h1,
body.landing-page .landing-section-head h2,
body.landing-page .landing-cta-band h2 {
  margin: 0;
  letter-spacing: -0.04em;
  color: #172638;
  text-wrap: balance;
}

body.landing-page .landing-hero h1 {
  max-width: 10.2ch;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 0.98;
}

body.landing-page .landing-lead,
body.landing-page .landing-proof-copy p,
body.landing-page .landing-proof-note {
  color: #5f748b;
  font-size: 19px;
  line-height: 1.62;
}

body.landing-page .landing-lead {
  max-width: 36rem;
  margin: 22px 0 0;
}

body.landing-page .landing-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

body.landing-page .landing-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #294d74;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

body.landing-page .landing-text-link:hover {
  color: #173b60;
}

body.landing-page .landing-text-link-muted {
  color: #55708c;
}

body.landing-page .landing-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(171, 190, 209, 0.28);
  color: #35506c;
  font-size: 13px;
  font-weight: 600;
}

body.landing-page .landing-proof-note {
  max-width: 35rem;
  margin: 12px 0 0;
  font-size: 14px;
}

body.landing-page .landing-trust-strip {
  padding: 0 0 20px;
  background: linear-gradient(180deg, #edf3f8 0%, #f3f7fb 100%);
}

body.landing-page .landing-trust-grid,
body.landing-page .landing-objection-grid {
  display: grid;
  gap: 18px;
}

body.landing-page .landing-trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.landing-page .landing-trust-item,
body.landing-page .landing-objection-card {
  border: 1px solid rgba(185, 202, 218, 0.42);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(20, 38, 60, 0.05);
}

body.landing-page .landing-trust-item {
  padding: 18px 20px;
}

body.landing-page .landing-trust-item strong,
body.landing-page .landing-objection-card h3 {
  display: block;
  margin: 0 0 8px;
  color: #1f3750;
  font-size: 18px;
  letter-spacing: -0.02em;
}

body.landing-page .landing-trust-item span,
body.landing-page .landing-objection-card p {
  color: #5f748b;
  line-height: 1.6;
}

body.landing-page .landing-hero-copy {
  position: relative;
  z-index: 1;
}

body.landing-page .landing-hero-visual {
  min-width: 0;
  width: 100%;
  max-width: 720px;
  justify-self: end;
}

body.landing-page .landing-browser-frame,
body.landing-page .landing-proof-panel,
body.landing-page .landing-problem-card,
body.landing-page .landing-feature-card,
body.landing-page .landing-price-card,
body.landing-page .landing-cta-band-inner {
  border: 1px solid rgba(185, 202, 218, 0.5);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 50px rgba(20, 38, 60, 0.08);
}

body.landing-page .landing-browser-frame {
  overflow: hidden;
  border-radius: 26px;
}

body.landing-page .landing-browser-bar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: #eaf0f6;
}

body.landing-page .landing-browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(68, 94, 122, 0.24);
}

body.landing-page .landing-browser-body {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 480px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

body.landing-page .landing-mock-sidebar {
  padding: 20px 16px;
  background: linear-gradient(180deg, #121b24 0%, #16212d 100%);
}

body.landing-page .landing-mock-phase {
  margin-bottom: 12px;
  color: rgba(173, 188, 202, 0.7);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.landing-page .landing-mock-item {
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(231, 238, 245, 0.78);
  font-size: 14px;
  font-weight: 700;
}

body.landing-page .landing-mock-item.is-active {
  background: rgba(170, 191, 212, 0.14);
  box-shadow: inset 2px 0 0 rgba(184, 204, 223, 0.85);
}

body.landing-page .landing-mock-document {
  padding: 24px;
}

body.landing-page .landing-mock-document-head {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

body.landing-page .landing-mock-chip {
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eaf2fc;
  color: #2a4f73;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.landing-page .landing-mock-chip.muted {
  background: #f0f4f7;
  color: #698097;
}

body.landing-page .landing-mock-title,
body.landing-page .landing-proof-cover-title {
  height: 18px;
  width: 54%;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dae5ef 0%, #f1f6fb 100%);
}

body.landing-page .landing-mock-line,
body.landing-page .landing-proof-cover-line,
body.landing-page .landing-proof-report-header {
  height: 11px;
  border-radius: 999px;
  background: #e7eff6;
}

body.landing-page .landing-mock-line { margin-bottom: 10px; }
body.landing-page .landing-mock-line.w-80 { width: 80%; }
body.landing-page .landing-mock-line.w-52 { width: 52%; margin-bottom: 18px; }
body.landing-page .landing-mock-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

body.landing-page .landing-mock-card {
  min-height: 102px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbfd 0%, #eef4f8 100%);
  border: 1px solid rgba(214, 224, 233, 0.9);
}

body.landing-page .landing-mock-image,
body.landing-page .landing-proof-cover-image {
  border-radius: 18px;
  background-color: #eef3f6;
  background-position: center;
  background-size: cover;
}

body.landing-page .landing-mock-image {
  min-height: 160px;
}

body.landing-page .landing-section {
  padding: 72px 0;
}

body.landing-page .landing-section-head {
  max-width: 860px;
  margin-bottom: 30px;
}

body.landing-page .landing-section-head h2,
body.landing-page .landing-cta-band h2 {
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.02;
}

body.landing-page .landing-problem-grid,
body.landing-page .landing-feature-grid,
body.landing-page .landing-pricing-grid {
  display: grid;
  gap: 22px;
}

body.landing-page .landing-problem-grid,
body.landing-page .landing-pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.landing-page .landing-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.landing-page .landing-problem-card,
body.landing-page .landing-feature-card,
body.landing-page .landing-price-card {
  border-radius: 24px;
  padding: 28px;
}

body.landing-page .landing-problem-card h3,
body.landing-page .landing-feature-card h3,
body.landing-page .landing-price-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

body.landing-page .landing-problem-card ul,
body.landing-page .landing-price-card ul {
  margin: 0;
  padding-left: 18px;
  color: #5f748b;
  line-height: 1.7;
}

body.landing-page .landing-problem-card-accent,
body.landing-page .landing-price-card-pro {
  background: linear-gradient(180deg, #16324c 0%, #173a58 100%);
  border-color: rgba(111, 145, 177, 0.26);
}

body.landing-page .landing-problem-card-accent h3,
body.landing-page .landing-problem-card-accent ul,
body.landing-page .landing-price-card-pro h3,
body.landing-page .landing-price-card-pro ul,
body.landing-page .landing-price-card-pro .landing-price-head span {
  color: #eef5fb;
}

body.landing-page .landing-proof-panel {
  border-radius: 28px;
  padding: 22px;
}

body.landing-page .landing-proof-panel-head,
body.landing-page .landing-price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

body.landing-page .landing-proof-panel-head {
  margin-bottom: 16px;
  color: #5d738a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.landing-page .landing-proof-panel-head a {
  color: #294d74;
}

body.landing-page .landing-proof-sheet {
  border-radius: 20px;
  border: 1px solid rgba(214, 224, 233, 0.9);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

body.landing-page .landing-proof-sheet-cover {
  padding: 18px;
  margin-bottom: 16px;
}

body.landing-page .landing-proof-cover-header {
  width: 34%;
  height: 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #dbe7f0;
}

body.landing-page .landing-proof-cover-image {
  min-height: 200px;
  margin-bottom: 16px;
}

body.landing-page .landing-proof-cover-line { width: 76%; margin-bottom: 10px; }
body.landing-page .landing-proof-cover-line.short { width: 48%; margin-bottom: 0; }
body.landing-page .landing-proof-sheet-report { padding: 18px; }
body.landing-page .landing-proof-report-header { width: 44%; margin-bottom: 16px; }
body.landing-page .landing-proof-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.landing-page .landing-proof-report-grid span {
  min-height: 88px;
  border-radius: 16px;
  background: #edf3f8;
  border: 1px solid rgba(214, 224, 233, 0.9);
}

body.landing-page .landing-proof-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

body.landing-page .landing-outcome-strip {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

body.landing-page .landing-outcome-strip span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(236, 243, 250, 0.9);
  border: 1px solid rgba(180, 198, 214, 0.42);
  color: #53677c;
  font-size: 14px;
  font-weight: 600;
}

body.landing-page .landing-outcome-strip strong {
  color: #1f3750;
}

body.landing-page .landing-proof-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  color: #203346;
}

body.landing-page .landing-proof-list span,
body.landing-page .landing-feature-card p,
body.landing-page .landing-price-head span {
  color: #60758c;
  line-height: 1.6;
}

body.landing-page .landing-price-payoff {
  margin: 0 0 16px;
  color: #edf5fb;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

body.landing-page .landing-price-summary {
  margin: 0 0 18px;
  color: rgba(237, 244, 251, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

body.landing-page .landing-price-amount {
  display: grid;
  gap: 2px;
  margin: 0 0 16px;
}

body.landing-page .landing-price-amount strong {
  color: #17334e;
  font-size: clamp(34px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.05em;
}

body.landing-page .landing-price-amount span {
  color: #60758c;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

body.landing-page .landing-price-card-pro .landing-price-amount strong,
body.landing-page .landing-price-card-pro .landing-price-amount span {
  color: #eef5fb;
}

body.landing-page .landing-price-note {
  margin: 18px 0 0;
  color: rgba(237, 244, 251, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

body.landing-page .landing-objections {
  padding-top: 12px;
}

body.landing-page .landing-objection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.landing-page .landing-objection-card {
  padding: 24px 24px 22px;
}

body.landing-page .landing-feature-card i {
  margin-bottom: 18px;
  color: #2a537b;
  font-size: 24px;
}

body.landing-page .landing-mobile-nav[open] summary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(160, 184, 207, 0.3);
}

body.landing-page .landing-cta-band {
  padding: 16px 0 84px;
}

body.landing-page .landing-cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #eef4fa 100%);
}

body.landing-page .landing-footer {
  padding: 0 0 48px;
}

body.landing-page .landing-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(182, 198, 214, 0.45);
  color: #60758c;
  font-size: 14px;
  line-height: 1.7;
}

body.landing-page .landing-footer-brand {
  display: grid;
  gap: 2px;
  color: #223547;
}

body.landing-page .landing-footer-brand strong {
  font-size: 15px;
  letter-spacing: 0.04em;
}

body.landing-page .landing-footer-meta {
  display: grid;
  justify-items: end;
  gap: 2px;
}

body.purchase-page .purchase-main {
  padding: 40px 0 84px;
  background:
    radial-gradient(circle at top right, rgba(180, 214, 161, 0.28), transparent 26%),
    linear-gradient(180deg, #f6fafc 0%, #edf3f8 100%);
}

body.purchase-page .purchase-header-bar {
  min-height: 76px;
}

body.purchase-page .purchase-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.purchase-page .purchase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.82fr);
  gap: 32px;
  align-items: start;
}

body.purchase-page .purchase-copy h1,
body.purchase-page .purchase-summary-card h2 {
  margin: 0;
  letter-spacing: -0.04em;
  color: #172638;
  text-wrap: balance;
}

body.purchase-page .purchase-copy h1 {
  max-width: 12ch;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 0.98;
}

body.purchase-page .purchase-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

body.purchase-page .purchase-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(171, 190, 209, 0.28);
  color: #35506c;
  font-size: 13px;
  font-weight: 600;
}

body.purchase-page .purchase-steps,
body.purchase-page .purchase-summary-card,
body.purchase-page .purchase-proof-card {
  border: 1px solid rgba(185, 202, 218, 0.48);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 50px rgba(20, 38, 60, 0.08);
}

body.purchase-page .purchase-steps {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 22px;
  border-radius: 24px;
}

body.purchase-page .purchase-step strong {
  display: block;
  margin-bottom: 4px;
  color: #1f3750;
  font-size: 17px;
}

body.purchase-page .purchase-step span,
body.purchase-page .purchase-proof-card p,
body.purchase-page .purchase-summary-lead,
body.purchase-page .purchase-footnote,
body.purchase-page .purchase-summary-notes span {
  color: #5f748b;
  line-height: 1.6;
}

body.purchase-page .purchase-proof-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 24px;
}

body.purchase-page .purchase-proof-card strong {
  display: block;
  margin-bottom: 8px;
  color: #1f3750;
  font-size: 18px;
  letter-spacing: -0.02em;
}

body.purchase-page .purchase-summary-card {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #16324c 0%, #173a58 100%);
  border-color: rgba(111, 145, 177, 0.26);
}

body.purchase-page .purchase-summary-head {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

body.purchase-page .purchase-summary-kicker {
  color: rgba(237, 244, 251, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.purchase-page .purchase-summary-card h2,
body.purchase-page .purchase-price strong,
body.purchase-page .purchase-summary-lead,
body.purchase-page .purchase-feature-list,
body.purchase-page .purchase-summary-notes span,
body.purchase-page .purchase-footnote {
  color: #eef5fb;
}

body.purchase-page .purchase-price {
  display: grid;
  gap: 2px;
  margin-bottom: 16px;
}

body.purchase-page .purchase-price strong {
  font-size: clamp(36px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.05em;
}

body.purchase-page .purchase-price span {
  color: rgba(237, 244, 251, 0.82);
  font-size: 14px;
  font-weight: 600;
}

body.purchase-page .purchase-summary-lead {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
}

body.purchase-page .purchase-feature-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.75;
}

body.purchase-page .purchase-summary-notes {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(138, 165, 190, 0.24);
}

body.purchase-page .purchase-summary-notes span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}

body.purchase-page .purchase-license-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

body.purchase-page .purchase-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.purchase-page .purchase-field {
  display: grid;
  gap: 8px;
}

body.purchase-page .purchase-field span {
  color: #eef5fb;
  font-size: 14px;
  font-weight: 700;
}

body.purchase-page .purchase-field input {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(138, 165, 190, 0.3);
  background: rgba(246, 250, 253, 0.98);
  color: #17334e;
  font-size: 15px;
}

body.purchase-page .purchase-field input:focus-visible {
  outline: none;
  border-color: rgba(159, 190, 221, 0.95);
  box-shadow: 0 0 0 4px rgba(196, 221, 246, 0.18);
}

body.purchase-page .purchase-field input:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

body.purchase-page .purchase-session-ref,
body.purchase-page .purchase-form-feedback {
  min-height: 22px;
  font-size: 13px;
  line-height: 1.55;
}

body.purchase-page .purchase-session-ref {
  color: rgba(237, 244, 251, 0.78);
}

body.purchase-page .purchase-session-ref[data-tone="warn"],
body.purchase-page .purchase-form-feedback[data-tone="warn"] {
  color: #ffd48d;
}

body.purchase-page .purchase-form-feedback {
  color: rgba(237, 244, 251, 0.82);
}

body.purchase-page .purchase-form-feedback[data-tone="success"] {
  color: #abefbf;
}

body.purchase-page .purchase-form-feedback[data-tone="error"] {
  color: #ffb2bc;
}

body.purchase-page .purchase-license-result {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(138, 165, 190, 0.24);
}

body.purchase-page .purchase-license-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.purchase-page .purchase-license-result-head strong,
body.purchase-page .purchase-license-note {
  color: #eef5fb;
}

body.purchase-page .purchase-copy-btn {
  min-height: 40px;
  padding: 0 14px;
}

body.purchase-page .purchase-license-code {
  display: block;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px dashed rgba(169, 193, 215, 0.52);
  background: rgba(247, 251, 255, 0.1);
  color: #f8fbff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  word-break: break-word;
}

body.purchase-page .purchase-license-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

body.purchase-page .purchase-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

body.purchase-page .purchase-actions .landing-cta,
body.purchase-page .purchase-actions .landing-text-link {
  width: 100%;
}

body.purchase-page .purchase-footnote {
  margin: 14px 0 0;
  font-size: 13px;
}

body.purchase-page .purchase-cta-trust {
  margin: 12px 0 0;
  color: rgba(237, 244, 251, 0.8);
  font-size: 13px;
  line-height: 1.6;
}

body.purchase-success-page .purchase-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 920px;
  margin: 0 auto;
}

body.purchase-success-page .purchase-code-card,
body.purchase-success-page .purchase-form-card {
  border-radius: 28px;
  border: 1px solid rgba(185, 202, 218, 0.48);
  box-shadow: 0 24px 50px rgba(20, 38, 60, 0.08);
}

body.purchase-success-page .purchase-license-result-head strong,
body.purchase-success-page .purchase-license-status {
  color: #203345;
}

body.purchase-success-page .purchase-code-state {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 22px;
  background: #f7fbff;
  border: 1px solid #d9e5ef;
}

body.purchase-success-page .purchase-license-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

body.purchase-success-page .purchase-license-code {
  padding: 20px 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px dashed #b9cddd;
  color: #17334e;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
  letter-spacing: 0.12em;
}

body.purchase-success-page .purchase-license-code.is-placeholder {
  color: #8aa0b5;
  letter-spacing: 0.02em;
  font-size: 20px;
  font-weight: 700;
}

body.purchase-success-page .purchase-copy-btn {
  min-height: 100%;
  white-space: nowrap;
  color: #17334e;
  background: #ffffff;
  border-color: #cbd9e6;
  box-shadow: none;
}

body.purchase-success-page .purchase-copy-btn:hover {
  color: #17334e;
  background: #f4f8fc;
  border-color: #b8cadb;
}

body.purchase-success-page .purchase-license-status {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #5f748b;
}

body.purchase-success-page .purchase-license-status[data-tone="success"] {
  color: #2f7d57;
}

body.purchase-success-page .purchase-license-status[data-tone="warn"] {
  color: #936212;
}

body.purchase-success-page .purchase-license-status[data-tone="error"] {
  color: #a33f53;
}

body.purchase-success-page .purchase-code-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

body.purchase-success-page .purchase-code-actions .landing-cta {
  width: fit-content;
}

body.purchase-success-page .purchase-form-card {
  display: grid;
  gap: 22px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.96);
}

body.purchase-success-page .purchase-form-card .purchase-summary-head,
body.purchase-success-page .purchase-form-card .purchase-summary-lead,
body.purchase-success-page .purchase-form-card .purchase-summary-kicker,
body.purchase-success-page .purchase-form-card .purchase-field span {
  color: #17334e;
}

body.purchase-success-page .purchase-form-card .purchase-summary-head {
  margin-bottom: 0;
}

body.purchase-success-page .purchase-form-card h2 {
  margin: 0;
  color: #172638;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body.purchase-success-page .purchase-form-card .purchase-summary-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #5f748b;
}

body.purchase-success-page .purchase-form-card .purchase-license-form {
  margin-top: 4px;
}

body.purchase-success-page .purchase-form-card .purchase-field input {
  min-height: 54px;
  border-radius: 16px;
  background: #f7fbff;
  border-color: #d4e0eb;
}

body.purchase-success-page .purchase-form-card .purchase-session-ref {
  color: #6b8197;
}

body.purchase-success-page .purchase-form-card .purchase-form-feedback {
  color: #57708a;
}

body.purchase-success-page .purchase-form-card .purchase-form-feedback[data-tone="success"] {
  color: #2f7d57;
}

body.purchase-success-page .purchase-form-card .purchase-form-feedback[data-tone="warn"] {
  color: #936212;
}

body.purchase-success-page .purchase-form-card .purchase-form-feedback[data-tone="error"] {
  color: #a33f53;
}

body.purchase-success-page .purchase-form-card .purchase-cta-trust {
  color: #6b8197;
}

body.purchase-success-page .purchase-form-side-note {
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid #e1e9f1;
}

body.purchase-success-page .purchase-form-side-note strong {
  color: #203345;
  font-size: 14px;
}

body.purchase-success-page .purchase-form-side-note span {
  color: #6b8197;
  font-size: 14px;
  line-height: 1.55;
}

body.purchase-success-page .purchase-footer-minimal .landing-footer-meta {
  justify-items: end;
}

@media (max-width: 1340px) {
  body.landing-page .landing-shell {
    width: min(1120px, calc(100vw - 40px));
  }

  body.landing-page .landing-header-bar {
    gap: 18px;
  }

  body.landing-page .landing-nav {
    gap: 18px;
    font-size: 13px;
  }

  body.landing-page .landing-hero-grid,
  body.landing-page .landing-proof-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
    gap: 28px;
  }

  body.landing-page .landing-hero h1 {
    max-width: 10.5ch;
    font-size: clamp(38px, 4.4vw, 56px);
  }

  body.landing-page .landing-lead {
    max-width: 34rem;
  }

  body.purchase-page .purchase-copy h1 {
    max-width: 12.5ch;
    font-size: clamp(34px, 4vw, 50px);
  }
}

@media (max-width: 1240px) {
  body.landing-page .landing-header-bar {
    gap: 14px;
  }

  body.landing-page .landing-nav {
    display: none;
  }

  body.landing-page .landing-mobile-nav {
    display: block;
  }

  body.landing-page .landing-header-actions {
    margin-left: auto;
  }

  body.landing-page .landing-hero-grid,
  body.landing-page .landing-proof-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  body.landing-page .landing-hero-copy,
  body.landing-page .landing-proof-copy {
    max-width: 720px;
  }

  body.landing-page .landing-hero-visual,
  body.landing-page .landing-proof-panel {
    width: 100%;
    max-width: 720px;
  }

  body.landing-page .landing-browser-body {
    min-height: 430px;
  }

  body.purchase-page .purchase-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1100px) {
  body.purchase-success-page .purchase-grid {
    max-width: none;
  }

  body.purchase-success-page .purchase-code-actions .landing-cta {
    width: 100%;
  }
}

@media (max-width: 1160px) {
  body.landing-page .landing-proof-grid,
  body.landing-page .landing-feature-grid,
  body.landing-page .landing-cta-band-inner,
  body.landing-page .landing-trust-grid,
  body.landing-page .landing-objection-grid,
  body.landing-page .landing-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    flex-direction: column;
    align-items: flex-start;
  }

  body.landing-page .landing-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.landing-page .landing-browser-body {
    grid-template-columns: 150px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  body.landing-page .landing-shell {
    width: min(100vw - 32px, 1180px);
  }

  body.landing-page .landing-header-bar {
    min-height: 70px;
    padding: 14px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
  }

  body.landing-page .landing-brand {
    min-width: 0;
  }

  body.landing-page .landing-mobile-nav {
    order: initial;
  }

  body.landing-page .landing-header-actions {
    display: none;
  }

  body.landing-page .landing-hero {
    padding: 46px 0 30px;
  }

  body.landing-page .landing-hero h1 {
    max-width: none;
    font-size: clamp(36px, 6.6vw, 52px);
  }

  body.landing-page .landing-problem-grid,
  body.landing-page .landing-pricing-grid,
  body.landing-page .landing-feature-grid,
  body.landing-page .landing-trust-grid,
  body.landing-page .landing-objection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.landing-page .landing-lead,
  body.landing-page .landing-proof-copy p {
    font-size: 17px;
  }

  body.landing-page .landing-mock-document {
    padding: 18px;
  }

  body.landing-page .landing-browser-body {
    min-height: 390px;
  }

  body.purchase-page .purchase-header-actions {
    display: none;
  }
}

@media (max-width: 760px) {
  body.landing-page .landing-shell {
    width: min(100vw - 28px, 1180px);
  }

  body.landing-page .landing-header-bar {
    min-height: auto;
    padding: 12px 0;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.landing-page .landing-brand-copy {
    display: none;
  }

  body.landing-page .landing-header-actions {
    display: none;
  }

  body.landing-page .landing-hero-actions,
  body.landing-page .landing-cta-band-actions {
    width: 100%;
  }

  body.landing-page .landing-link-btn,
  body.landing-page .landing-cta {
    width: 100%;
  }

  body.landing-page .landing-mobile-nav-panel {
    right: 0;
    left: auto;
    min-width: min(280px, calc(100vw - 28px));
  }

  body.landing-page .landing-hero {
    padding: 42px 0 24px;
  }

  body.landing-page .landing-hero h1 {
    max-width: none;
    font-size: clamp(32px, 8.4vw, 44px);
  }

  body.landing-page .landing-problem-grid,
  body.landing-page .landing-pricing-grid,
  body.landing-page .landing-feature-grid,
  body.landing-page .landing-trust-grid,
  body.landing-page .landing-objection-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.landing-page .landing-lead,
  body.landing-page .landing-proof-copy p {
    font-size: 17px;
  }

  body.landing-page .landing-hero-points {
    gap: 8px;
  }

  body.landing-page .landing-hero-points span {
    width: 100%;
    justify-content: flex-start;
  }

  body.landing-page .landing-text-link {
    min-height: 40px;
    width: 100%;
    padding: 0;
  }

  body.landing-page .landing-browser-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.landing-page .landing-mock-sidebar {
    display: none;
  }

  body.landing-page .landing-section,
  body.landing-page .landing-cta-band {
    padding: 52px 0;
  }

  body.landing-page .landing-problem-card,
  body.landing-page .landing-feature-card,
  body.landing-page .landing-price-card,
  body.landing-page .landing-proof-panel,
  body.landing-page .landing-cta-band-inner {
    padding: 22px;
  }

  body.landing-page .landing-footer-meta {
    justify-items: start;
  }

  body.purchase-page .purchase-main {
    padding: 28px 0 52px;
  }

  body.purchase-page .purchase-copy h1 {
    max-width: none;
    font-size: clamp(30px, 8.4vw, 42px);
  }

  body.purchase-page .purchase-trust-list {
    gap: 8px;
  }

  body.purchase-page .purchase-trust-list span {
    width: 100%;
    justify-content: flex-start;
  }

  body.purchase-page .purchase-field-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.purchase-page .purchase-steps,
  body.purchase-page .purchase-proof-card,
  body.purchase-page .purchase-summary-card {
    padding: 22px;
  }

  body.purchase-success-page .purchase-code-card,
  body.purchase-success-page .purchase-form-card {
    padding: 22px;
  }

  body.purchase-success-page .purchase-license-code-row {
    grid-template-columns: minmax(0, 1fr);
  }

  body.purchase-success-page .purchase-copy-btn {
    width: 100%;
  }

  body.purchase-success-page .purchase-footer-minimal .landing-footer-meta {
    justify-items: start;
  }
}

@media screen {
  .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  body.editor-screen-corporate {
    --vgr-form-surface: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    --vgr-form-surface-soft: #f8fbfe;
    --vgr-form-border: #d6e1eb;
    --vgr-form-border-strong: #c7d6e5;
    --vgr-form-text: #203345;
    --vgr-form-muted: #6d8196;
    --vgr-form-muted-soft: #7f92a5;
    --vgr-form-focus: rgba(56, 108, 163, 0.16);
  }

  body.editor-screen-corporate .input-block-grid {
    gap: 28px !important;
  }

  body.editor-screen-corporate .input-block-grid > .form-section,
  body.editor-screen-corporate .form-section {
    padding: 28px 30px 30px !important;
    border-radius: 22px !important;
    border: 1px solid var(--vgr-form-border) !important;
    background: var(--vgr-form-surface) !important;
    box-shadow: 0 14px 34px rgba(21, 39, 61, 0.05) !important;
  }

  body.editor-screen-corporate .form-section legend {
    color: #17293b !important;
    font-size: 29px !important;
    font-weight: 720 !important;
    line-height: 1.04 !important;
    letter-spacing: -0.04em !important;
    text-transform: none !important;
  }

  body.editor-screen-corporate .section-header {
    position: relative !important;
    display: block !important;
    padding-right: 238px !important;
    margin-bottom: 18px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(214, 225, 235, 0.9) !important;
  }

  body.editor-screen-corporate .section-header-copy {
    min-width: 0 !important;
  }

  body.editor-screen-corporate .section-title {
    margin: 0 !important;
    color: #17293b !important;
    font-size: 29px !important;
    font-weight: 720 !important;
    line-height: 1.04 !important;
    letter-spacing: -0.04em !important;
  }

  body.editor-screen-corporate .section-subline {
    max-width: 66ch !important;
    margin: 8px 0 0 !important;
    color: var(--vgr-form-muted) !important;
    font-size: 14px !important;
    line-height: 1.58 !important;
  }

  body.editor-screen-corporate .section-header-controls {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    min-width: 214px !important;
  }

  body.editor-screen-corporate .section-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }

  body.editor-screen-corporate .matrix-toolbar .section-clear,
  body.editor-screen-corporate .progress-toolbar .section-clear {
    margin-right: auto !important;
  }

  body.editor-screen-corporate .section-options {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px 20px !important;
    margin: 0 0 16px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(215, 224, 233, 0.82) !important;
    background: rgba(248, 251, 254, 0.88) !important;
  }

  body.editor-screen-corporate .form-section > label,
  body.editor-screen-corporate #sec-meta .meta-grid > label,
  body.editor-screen-corporate .meta-media-card > label,
  body.editor-screen-corporate .editor-upload-card > label {
    display: grid !important;
    gap: 8px !important;
    margin: 0 0 18px !important;
    color: var(--vgr-form-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
  }

  body.editor-screen-corporate .form-section > label:last-of-type,
  body.editor-screen-corporate .form-section > .field-group-inline:last-child,
  body.editor-screen-corporate .form-section > .budget-page-toggle:last-child,
  body.editor-screen-corporate .form-section > .editor-upload-card:last-child {
    margin-bottom: 0 !important;
  }

  body.editor-screen-corporate .field-caption {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    color: #294761 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  body.editor-screen-corporate .field-caption::before {
    width: 20px !important;
    height: 20px !important;
    border-radius: 999px !important;
    background: #edf4fb !important;
    color: #39648f !important;
    font-size: 10px !important;
  }

  body.editor-screen-corporate input:not([type="radio"]):not([type="checkbox"]),
  body.editor-screen-corporate textarea,
  body.editor-screen-corporate select {
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    border: 1px solid var(--vgr-form-border) !important;
    background: #ffffff !important;
    color: var(--vgr-form-text) !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease !important;
  }

  body.editor-screen-corporate input[type="date"],
  body.editor-screen-corporate select {
    padding-right: 14px !important;
  }

  body.editor-screen-corporate textarea {
    min-height: 168px !important;
    padding: 14px 15px !important;
    resize: vertical !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  }

  body.editor-screen-corporate textarea::placeholder,
  body.editor-screen-corporate input::placeholder {
    color: #93a4b4 !important;
  }

  body.editor-screen-corporate input:not([type="radio"]):not([type="checkbox"]):hover,
  body.editor-screen-corporate textarea:hover,
  body.editor-screen-corporate select:hover {
    border-color: var(--vgr-form-border-strong) !important;
    background: #fcfdff !important;
  }

  body.editor-screen-corporate textarea:focus,
  body.editor-screen-corporate input:not([type="radio"]):not([type="checkbox"]):focus,
  body.editor-screen-corporate select:focus {
    outline: none !important;
    border-color: #8fb0cf !important;
    box-shadow: 0 0 0 4px var(--vgr-form-focus) !important;
  }

  body.editor-screen-corporate .field-help,
  body.editor-screen-corporate .hint,
  body.editor-screen-corporate .small,
  body.editor-screen-corporate .editor-upload-card-copy,
  body.editor-screen-corporate .meta-media-card-head p,
  body.editor-screen-corporate .upload-meta-label,
  body.editor-screen-corporate .upload-status,
  body.editor-screen-corporate .matrix-help .small {
    color: var(--vgr-form-muted-soft) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  body.editor-screen-corporate .field-help,
  body.editor-screen-corporate .hint {
    margin-top: -1px !important;
  }

  body.editor-screen-corporate .section-toolbar,
  body.editor-screen-corporate .planning-top-controls,
  body.editor-screen-corporate .matrix-toolbar,
  body.editor-screen-corporate .progress-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px 12px !important;
  }

  body.editor-screen-corporate .section-status-inline {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(203, 214, 225, 0.96) !important;
    background: rgba(248, 251, 254, 0.92) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  }

  body.editor-screen-corporate .section-status-inline > span {
    color: #72869a !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  body.editor-screen-corporate .section-status-inline select {
    min-height: 28px !important;
    width: auto !important;
    padding: 0 2px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--vgr-form-text) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .section-header-controls .section-status-inline {
    margin: 0 !important;
    width: max-content !important;
  }

  body.editor-screen-corporate .planning-render-group {
    margin: 0 0 16px !important;
  }

  body.editor-screen-corporate .matrix-help {
    margin: 2px 0 12px !important;
    border: 0 !important;
  }

  body.editor-screen-corporate .matrix-help summary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 2px 0 !important;
    color: #65798e !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    list-style: none !important;
    cursor: pointer !important;
  }

  body.editor-screen-corporate .matrix-help summary::-webkit-details-marker {
    display: none !important;
  }

  body.editor-screen-corporate .matrix-help summary::before {
    content: "" !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 999px !important;
    background: #edf4fb !important;
    box-shadow: inset 0 0 0 1px rgba(179, 197, 215, 0.72) !important;
  }

  body.editor-screen-corporate .matrix-help summary::after {
    content: "+" !important;
    margin-left: -24px !important;
    width: 18px !important;
    text-align: center !important;
    color: #53779c !important;
    font-size: 12px !important;
    font-weight: 700 !important;
  }

  body.editor-screen-corporate .matrix-help[open] summary::after {
    content: "−" !important;
  }

  body.editor-screen-corporate .progress-input-table,
  body.editor-screen-corporate .matrix,
  body.editor-screen-corporate .budget-total-input {
    border: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  body.editor-screen-corporate .progress-input-head,
  body.editor-screen-corporate .matrix .head-row {
    margin: 0 0 10px !important;
    padding: 0 6px !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.editor-screen-corporate .progress-input-head span,
  body.editor-screen-corporate .matrix .head-row .matrix-head-cell {
    padding: 0 8px !important;
    color: #73879a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    background: transparent !important;
    border: 0 !important;
  }

  body.editor-screen-corporate .progress-input-row,
  body.editor-screen-corporate .matrix .row.matrix-data-row,
  body.editor-screen-corporate .budget-total-row {
    gap: 10px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .progress-input-row input,
  body.editor-screen-corporate .progress-input-row select,
  body.editor-screen-corporate .matrix .row.matrix-data-row input,
  body.editor-screen-corporate .matrix .row.matrix-data-row select,
  body.editor-screen-corporate .budget-total-row input {
    min-height: 46px !important;
    height: auto !important;
    padding: 0 14px !important;
    border: 1px solid var(--vgr-form-border) !important;
    border-right: 1px solid var(--vgr-form-border) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
  }

  body.editor-screen-corporate .budget-total-row input {
    font-weight: 700 !important;
    background: #f8fbfe !important;
  }

  body.editor-screen-corporate .matrix-remove,
  body.editor-screen-corporate .progress-remove {
    min-height: 46px !important;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border: 1px solid var(--vgr-form-border) !important;
    border-left: 1px solid var(--vgr-form-border) !important;
    border-radius: 14px !important;
    background: #fbfdff !important;
    color: #6b8095 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  }

  body.editor-screen-corporate .matrix-toolbar,
  body.editor-screen-corporate .progress-toolbar {
    margin-top: 2px !important;
  }

  body.editor-screen-corporate .matrix-toolbar .small,
  body.editor-screen-corporate .progress-toolbar .small {
    margin-left: auto !important;
  }

  body.editor-screen-corporate .section-clear,
  body.editor-screen-corporate .matrix-add,
  body.editor-screen-corporate .progress-add,
  body.editor-screen-corporate .field-clear-btn,
  body.editor-screen-corporate .preview-link-btn,
  body.editor-screen-corporate .upload-button-row button {
    min-height: 36px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    border: 1px solid var(--vgr-form-border) !important;
    background: #fbfdff !important;
    color: #38506a !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .meta-media-card,
  body.editor-screen-corporate .editor-upload-card {
    padding: 22px !important;
    border-radius: 18px !important;
    border: 1px solid var(--vgr-form-border) !important;
    background: linear-gradient(180deg, #fbfdff 0%, #f7fbfe 100%) !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate .meta-media-card-head,
  body.editor-screen-corporate .editor-upload-card-head {
    gap: 14px !important;
    margin-bottom: 2px !important;
  }

  body.editor-screen-corporate .meta-media-card-head h5,
  body.editor-screen-corporate .editor-upload-card-title {
    font-size: 24px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
    color: #1d3248 !important;
  }

  body.editor-screen-corporate .meta-media-badge,
  body.editor-screen-corporate .editor-upload-card-badge {
    min-height: 30px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    background: #f2f7fc !important;
    border: 1px solid #d8e3ee !important;
    color: #5c738b !important;
    font-size: 11px !important;
    font-weight: 700 !important;
  }

  body.editor-screen-corporate .paste-zone {
    min-height: 126px !important;
    padding: 18px !important;
    border-radius: 16px !important;
    border: 1px dashed #c0cfdd !important;
    background: rgba(255, 255, 255, 0.84) !important;
    display: grid !important;
    align-content: center !important;
    justify-items: start !important;
    gap: 6px !important;
    text-align: left !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
  }

  body.editor-screen-corporate .paste-zone strong {
    color: #234667 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  body.editor-screen-corporate .paste-zone span {
    color: #72859a !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  body.editor-screen-corporate .upload-actions,
  body.editor-screen-corporate .editor-upload-actions {
    gap: 12px !important;
  }

  body.editor-screen-corporate .upload-meta-row {
    gap: 6px !important;
  }

  body.editor-screen-corporate .upload-button-row {
    gap: 8px !important;
  }

  body.editor-screen-corporate .guided-footer {
    gap: 10px !important;
    margin-top: 18px !important;
    padding-top: 4px !important;
  }

  body.editor-screen-corporate .guided-footer button {
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] {
    --vgr-form-surface: linear-gradient(180deg, #16212c 0%, #131c26 100%);
    --vgr-form-surface-soft: #15212b;
    --vgr-form-border: #314454;
    --vgr-form-border-strong: #40607c;
    --vgr-form-text: #e5eef7;
    --vgr-form-muted: #9cb0c3;
    --vgr-form-muted-soft: #8ea4b8;
    --vgr-form-focus: rgba(128, 180, 232, 0.18);
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .form-section legend,
  body.editor-screen-corporate[data-ui-theme="dark"] .meta-media-card-head h5,
  body.editor-screen-corporate[data-ui-theme="dark"] .editor-upload-card-title {
    color: #eef5fb !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .field-caption {
    color: #b6cde3 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .field-caption::before {
    background: #213345 !important;
    color: #aed0f1 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] input:not([type="radio"]):not([type="checkbox"]),
  body.editor-screen-corporate[data-ui-theme="dark"] textarea,
  body.editor-screen-corporate[data-ui-theme="dark"] select {
    background: #111c26 !important;
    color: var(--vgr-form-text) !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .section-status-inline {
    background: #17222d !important;
    border-color: var(--vgr-form-border) !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .section-status-inline select {
    color: var(--vgr-form-text) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .progress-input-row input,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-input-row select,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix .row.matrix-data-row input,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix .row.matrix-data-row select,
  body.editor-screen-corporate[data-ui-theme="dark"] .budget-total-row input,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix-remove,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-remove,
  body.editor-screen-corporate[data-ui-theme="dark"] .section-clear,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix-add,
  body.editor-screen-corporate[data-ui-theme="dark"] .progress-add,
  body.editor-screen-corporate[data-ui-theme="dark"] .field-clear-btn,
  body.editor-screen-corporate[data-ui-theme="dark"] .preview-link-btn,
  body.editor-screen-corporate[data-ui-theme="dark"] .upload-button-row button {
    background: #101922 !important;
    color: var(--vgr-form-text) !important;
    border-color: var(--vgr-form-border) !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .budget-total-row input {
    background: #15212b !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .progress-input-head span,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix .head-row .matrix-head-cell {
    color: #a3bad0 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .meta-media-card,
  body.editor-screen-corporate[data-ui-theme="dark"] .editor-upload-card {
    background: linear-gradient(180deg, #16212c 0%, #131c26 100%) !important;
    border-color: var(--vgr-form-border) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .meta-media-badge,
  body.editor-screen-corporate[data-ui-theme="dark"] .editor-upload-card-badge {
    background: #1c2a37 !important;
    border-color: var(--vgr-form-border) !important;
    color: #a8c1d9 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .paste-zone {
    background: #18232d !important;
    border-color: #3b4f63 !important;
    box-shadow: none !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .paste-zone strong {
    color: #dce8f3 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .paste-zone span,
  body.editor-screen-corporate[data-ui-theme="dark"] .matrix-help summary,
  body.editor-screen-corporate[data-ui-theme="dark"] .field-help,
  body.editor-screen-corporate[data-ui-theme="dark"] .hint,
  body.editor-screen-corporate[data-ui-theme="dark"] .small,
  body.editor-screen-corporate[data-ui-theme="dark"] .editor-upload-card-copy,
  body.editor-screen-corporate[data-ui-theme="dark"] .meta-media-card-head p,
  body.editor-screen-corporate[data-ui-theme="dark"] .upload-meta-label,
  body.editor-screen-corporate[data-ui-theme="dark"] .upload-status,
  body.editor-screen-corporate[data-ui-theme="dark"] .section-subline {
    color: var(--vgr-form-muted) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .matrix-help summary::before {
    background: #223447 !important;
    box-shadow: inset 0 0 0 1px rgba(92, 121, 148, 0.72) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .matrix-help summary::after {
    color: #a8c7e7 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .section-header {
    border-bottom-color: rgba(71, 92, 114, 0.72) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .section-title {
    color: #eef5fc !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .section-options {
    border-color: rgba(72, 92, 113, 0.8) !important;
    background: rgba(22, 33, 46, 0.86) !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .smart-start-chip {
    border-color: rgba(96, 126, 159, 0.55) !important;
    background: rgba(25, 37, 50, 0.86) !important;
    color: #dbe7f3 !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .smart-start-chip:hover {
    border-color: rgba(124, 157, 193, 0.78) !important;
    background: rgba(33, 48, 64, 0.96) !important;
    color: #eff6fd !important;
  }

  body.editor-screen-corporate[data-ui-theme="dark"] .smart-start-chip.smart-action-chip {
    border-color: rgba(107, 148, 192, 0.52) !important;
    background: linear-gradient(180deg, rgba(28, 48, 69, 0.96) 0%, rgba(25, 42, 60, 0.96) 100%) !important;
    color: #dbeafd !important;
  }

  @media (max-width: 1180px) {
    body.editor-screen-corporate #sec-meta .meta-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 18px !important;
    }

    body.editor-screen-corporate #sec-meta .meta-grid > .meta-name,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-client,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-manager,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-org,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-subtitle,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-grid-full {
      grid-column: 1 / -1 !important;
    }

    body.editor-screen-corporate #sec-meta .meta-grid > .meta-date {
      grid-column: 1 !important;
    }

    body.editor-screen-corporate #sec-meta .meta-grid > .meta-type {
      grid-column: 2 !important;
    }

    body.editor-screen-corporate .section-header {
      position: static !important;
      display: grid !important;
      padding-right: 0 !important;
    }

    body.editor-screen-corporate .section-header-controls {
      position: static !important;
      justify-content: flex-start !important;
      justify-self: start !important;
      justify-items: start !important;
      min-width: 0 !important;
    }

    body.editor-screen-corporate .section-actions {
      justify-content: flex-start !important;
    }

    body.editor-screen-corporate .guided-active .section-header {
      display: block !important;
    }
  }

  @media (max-width: 980px) {
    body.editor-screen-corporate .input-block-grid > .form-section,
    body.editor-screen-corporate .form-section {
      padding: 24px 22px 24px !important;
      border-radius: 18px !important;
    }

    body.editor-screen-corporate .form-section legend {
      font-size: 25px !important;
    }

    body.editor-screen-corporate .section-title {
      font-size: 25px !important;
    }

    body.editor-screen-corporate .section-toolbar,
    body.editor-screen-corporate .planning-top-controls,
    body.editor-screen-corporate .matrix-toolbar,
    body.editor-screen-corporate .progress-toolbar {
      gap: 8px 10px !important;
    }

    body.editor-screen-corporate .matrix-toolbar .small,
    body.editor-screen-corporate .progress-toolbar .small {
      margin-left: 0 !important;
      width: 100% !important;
    }
  }

  @media (max-width: 860px) {
    body.editor-screen-corporate #sec-meta .meta-grid,
    body.editor-screen-corporate .meta-media-grid {
      grid-template-columns: minmax(0, 1fr) !important;
    }

    body.editor-screen-corporate #sec-meta .meta-grid > .meta-type,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-date,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-name,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-manager,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-client,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-org,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-subtitle,
    body.editor-screen-corporate #sec-meta .meta-grid > .meta-grid-full {
      grid-column: 1 / -1 !important;
    }

    body.editor-screen-corporate .matrix,
    body.editor-screen-corporate .progress-input-table,
    body.editor-screen-corporate .budget-total-input {
      overflow-x: auto !important;
      overflow-y: visible !important;
    }

    body.editor-screen-corporate .matrix .row,
    body.editor-screen-corporate .progress-input-head,
    body.editor-screen-corporate .progress-input-row,
    body.editor-screen-corporate .budget-total-row {
      min-width: 720px !important;
    }
  }

  @media (max-width: 640px) {
    body.editor-screen-corporate input:not([type="radio"]):not([type="checkbox"]),
    body.editor-screen-corporate textarea,
    body.editor-screen-corporate select {
      min-height: 48px !important;
      font-size: 14px !important;
    }

    body.editor-screen-corporate textarea {
      min-height: 148px !important;
    }

    body.editor-screen-corporate .paste-zone {
      min-height: 112px !important;
      padding: 16px !important;
    }

    body.editor-screen-corporate .guided-footer {
      width: 100% !important;
      flex-wrap: wrap !important;
    }

    body.editor-screen-corporate .guided-footer button {
      flex: 1 1 calc(50% - 6px) !important;
    }

    body.editor-screen-corporate #guidedNext {
      flex-basis: 100% !important;
    }
  }
}
