    .split {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 14px;
      align-items: start;
    }

    .drawer-backdrop {
      position: fixed;
      inset: 0;
      z-index: 35;
      background: rgba(15, 23, 42, 0.18);
      opacity: 0;
      pointer-events: none;
      transition: opacity 180ms ease;
    }

    .drawer-backdrop.open {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 60;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 32px;
      background: rgba(15, 23, 42, 0.44);
      opacity: 0;
      pointer-events: none;
      transition: opacity 180ms ease;
    }

    .modal-backdrop.open {
      opacity: 1;
      pointer-events: auto;
    }

    .modal {
      width: min(760px, 100%);
      max-height: min(760px, calc(100vh - 64px));
      display: flex;
      flex-direction: column;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--surface);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .modal.large {
      width: min(1180px, 100%);
    }

    .modal-head,
    .modal-actions {
      padding: 20px 24px;
      border-bottom: 1px solid var(--line);
    }

    .modal-head h2 {
      margin: 0 0 6px;
      font-size: 22px;
    }

    .modal-head p {
      margin: 0;
      color: var(--muted);
      line-height: 1.55;
    }

    .modal-body {
      min-height: 0;
      padding: 18px 24px;
      overflow: auto;
    }

    .password-form {
      display: grid;
      gap: 14px;
    }

    .password-field {
      display: grid;
      gap: 6px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
    }

    .password-input-wrap {
      display: grid;
      grid-template-columns: 1fr 40px;
      align-items: center;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: #fff;
      overflow: hidden;
    }

    .password-input-wrap input {
      width: 100%;
      min-height: 40px;
      border: 0;
      padding: 9px 11px;
      color: var(--text);
      background: transparent;
      outline: none;
    }

    .password-toggle {
      width: 40px;
      height: 40px;
      display: inline-grid;
      place-items: center;
      padding: 0;
      border: 0;
      border-left: 1px solid var(--line);
      border-radius: 0;
      color: var(--muted);
      background: var(--surface-soft);
    }

    .password-toggle:hover {
      color: var(--accent);
      background: var(--accent-soft);
    }

    .password-toggle svg {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }

    .modal-error {
      min-height: 20px;
      color: var(--red);
      font-size: 13px;
      font-weight: 650;
    }

    .error-dialog {
      width: min(680px, calc(100vw - 48px));
    }

    .error-dialog .modal-head {
      border-bottom-color: #ffd0cc;
      background: var(--red-soft);
    }

    .error-dialog .modal-head h2 {
      color: var(--red);
    }

    .error-dialog-content {
      width: 100%;
      min-height: 180px;
      resize: vertical;
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 12px;
      color: var(--text);
      background: var(--surface-soft);
      font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
      white-space: pre-wrap;
    }

    .modal-actions {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      border-top: 1px solid var(--line);
      border-bottom: 0;
    }

    .drawer {
      position: fixed;
      inset: 0 0 0 auto;
      z-index: 40;
      width: 460px;
      max-width: 100vw;
      background: var(--surface);
      border-left: 1px solid var(--line);
      box-shadow: -18px 0 36px rgba(15, 23, 42, 0.14);
      transform: translateX(102%);
      transition: transform 180ms ease;
      display: grid;
      grid-template-rows: auto 1fr;
    }

    .drawer.open {
      transform: translateX(0);
    }

    .drawer.packet-open {
      width: min(920px, 100vw);
    }

    .drawer-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding: 16px;
      border-bottom: 1px solid var(--line);
    }

    .drawer-title {
      margin: 0;
      font-size: 17px;
    }

    .drawer-body {
      padding: 16px;
      overflow: auto;
    }

    .detail-list {
      display: grid;
      gap: 10px;
      margin-bottom: 14px;
    }

    .detail-item {
      border-bottom: 1px solid var(--line);
      padding-bottom: 9px;
    }

    .detail-label {
      color: var(--muted);
      font-size: 12px;
      margin-bottom: 3px;
    }

    .screenshot {
      width: 100%;
      max-height: 520px;
      object-fit: contain;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #0f172a;
    }

    .api-packet-box {
      display: grid;
      gap: 10px;
      margin: 0 0 14px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #f8fafc;
    }

    .api-packet-box.primary {
      border-color: #99d7ce;
      background: #eefbf8;
    }

    .api-packet-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }

    .api-packet-title {
      margin: 0;
      font-size: 14px;
      font-weight: 800;
      color: var(--text);
    }

    .api-packet-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 8px;
    }

    .api-packet-path {
      color: var(--muted);
      font-size: 12px;
      overflow-wrap: anywhere;
    }

    .api-packet-pre {
      max-height: calc(100vh - 250px);
      margin: 0;
      padding: 12px;
      overflow: auto;
      border-radius: 8px;
      background: #0f172a;
      color: #dbeafe;
      font-size: 12px;
      line-height: 1.5;
      white-space: pre;
      word-break: normal;
    }

    .review-box {
      display: grid;
      gap: 12px;
    }

    .review-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .review-actions .approve {
      color: var(--green);
      border-color: #c9e7ce;
      background: var(--green-soft);
    }

    .review-actions .danger {
      color: var(--red);
      border-color: #ffd0cc;
      background: var(--red-soft);
    }

    .review-pre {
      width: 100%;
      min-height: 96px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface-soft);
      color: var(--text);
      padding: 10px;
      resize: vertical;
      font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    }

    .empty {
      color: var(--muted);
      padding: 18px;
      text-align: center;
      border: 1px dashed var(--line);
      border-radius: var(--radius);
      background: var(--surface-soft);
    }

    a {
      color: var(--accent);
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    .toast {
      position: fixed;
      left: 50%;
      top: 50%;
      z-index: 1000;
      width: fit-content;
      min-width: 260px;
      max-width: min(560px, calc(100vw - 48px));
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      box-shadow: var(--shadow);
      padding: 14px 18px;
      color: var(--text);
      text-align: center;
      transform: translate(-50%, calc(-50% + 16px));
      opacity: 0;
      pointer-events: none;
      transition: opacity 160ms ease, transform 160ms ease;
    }

    .toast.show {
      opacity: 1;
      transform: translate(-50%, -50%);
    }
