.tool-box{
  --bg: #eef1fb; --panel: #ffffff; --panel-2: #dfe3f7; --line: #c2c9f0;
  --accent: #4338ca; --accent-soft: #d6d9f6; --accent-dim: #eef0fc;
  --text: #1e1a4a; --muted: #5f5c8f; --muted-2: #9a97c9; --warn: #b7791f; --warn-soft: #f6ecd6;
}

.tool-box .mh-disclaimer{ margin-bottom: 16px; padding: 12px 14px; background: var(--warn-soft); border: 1px solid var(--warn); border-radius: 8px; font-size: 12.5px; line-height: 1.6; color: #5c4416; }

.tool-box .field.full{ margin-bottom: 14px; }
.tool-box .field label{ display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.tool-box .field input{ width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13.5px; background: var(--panel); color: var(--text); box-sizing: border-box; }

.tool-box .btns{ display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.tool-box .app{ padding: 11px 22px; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 13.5px; font-family: 'Inter', sans-serif; color: #fff; background: var(--accent); }
.tool-box .app:hover{ filter: brightness(1.08); }
.tool-box .app.gray{ background: var(--line); color: var(--text); }
.tool-box .app:disabled{ opacity: .5; cursor: not-allowed; }

.tool-box .progress-wrap{ margin-bottom: 14px; }
.tool-box .progress-bar{ height: 8px; background: var(--panel-2); border-radius: 6px; overflow: hidden; }
.tool-box .progress-fill{ height: 100%; width: 0%; background: var(--accent); transition: width .2s ease; }
.tool-box .progress-label{ margin: 6px 0 0; font-size: 12px; color: var(--muted); }

.tool-box .preview-box{ text-align: center; margin-bottom: 10px; }
.tool-box .preview-box img{ max-width: 100%; max-height: 200px; border: 1px solid var(--line); border-radius: 8px; }

.tool-box .status-box{ font-size: 12.5px; color: var(--muted); min-height: 18px; }
