    :root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; }
    * { box-sizing: border-box; }
    body { margin: 0; background: #f4f7fb; color: #172033; }
    main { max-width: 920px; margin: 0 auto; padding: 32px 24px 64px; }
    .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
    h1 { margin: 0; font-size: 26px; letter-spacing: 0; }
    h2 { margin: 0 0 14px; font-size: 18px; }
    .layout { display: grid; gap: 16px; }
    .panel { background: #fff; border: 1px solid #dce6f0; border-radius: 8px; padding: 20px; box-shadow: 0 8px 22px rgba(22, 36, 58, .05); }
    .panel + .panel { margin-top: 16px; }
    textarea, input, select { width: 100%; border: 1px solid #cfdce8; border-radius: 6px; padding: 9px 10px; font-size: 14px; background: #fff; color: #172033; }
    textarea { min-height: 176px; resize: vertical; line-height: 1.55; }
    label { display: grid; gap: 6px; font-size: 13px; color: #405166; }
    .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .full { grid-column: 1 / -1; }
    button, a.button { border: 0; border-radius: 6px; background: #1f4e78; color: #fff; padding: 10px 14px; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
    button.secondary, a.secondary { background: #eef4fa; color: #1f4e78; border: 1px solid #bfd2e3; }
    button.danger { background: #9f1d18; }
    button:disabled { opacity: .55; cursor: not-allowed; }
    .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
    .note { color: #5f6f84; line-height: 1.65; margin: 8px 0 0; font-size: 13px; }
    .status { margin-top: 14px; white-space: pre-wrap; border-radius: 8px; padding: 12px; display: none; font-size: 14px; }
    .ok { display: block; background: #e8f5e9; color: #1b5e20; border: 1px solid #b7dfbb; }
    .err { display: block; background: #fff1f0; color: #9f1d18; border: 1px solid #f0b8b3; }
    .hint { padding: 10px 12px; border: 1px solid #dce6f0; border-radius: 6px; background: #fbfdff; color: #52657a; font-size: 13px; line-height: 1.6; }
    .preview { min-height: 120px; border: 1px dashed #b7cadc; border-radius: 6px; background: #f8fbff; display: grid; place-items: center; overflow: hidden; color: #718399; font-size: 13px; }
    .preview img { max-width: 100%; max-height: 160px; display: block; }
    .shareholder-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
    .shareholder-list { display: grid; gap: 10px; }
    .shareholder-card { border: 1px solid #dce6f0; border-radius: 8px; padding: 12px; background: #fbfdff; }
    .shareholder-card.active { border-color: #1f4e78; box-shadow: 0 0 0 2px rgba(31, 78, 120, .12); }
    .shareholder-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-weight: 600; color: #21364d; }
    .shareholder-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .role-badge { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; padding: 4px 9px; background: #e8f1f8; color: #1f4e78; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
    .id-upload-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 10px; }
    .divider { height: 1px; background: #e5edf4; margin: 16px 0; }
    .inline-row { display: flex; align-items: end; gap: 10px; }
    .inline-row label { flex: 1; }
    .modal { position: fixed; inset: 0; background: rgba(18, 31, 49, .42); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 10; }
    .modal.open { display: flex; }
    .dialog { width: min(720px, 100%); max-height: 88vh; overflow: auto; background: #fff; border-radius: 8px; border: 1px solid #dce6f0; padding: 20px; box-shadow: 0 22px 80px rgba(10, 23, 40, .22); }
    @media (max-width: 640px) { main { padding: 24px 16px 48px; } .form-grid, .shareholder-fields, .id-upload-row { grid-template-columns: 1fr; } .bar { flex-direction: column; align-items: flex-start; } }
