.app{width: min(1280px, calc(100% - 32px));margin: 22px auto 20px;background:#fffdf8;border:1px solid #e2d8c8;border-radius:14px;box-shadow:0 8px 30px rgba(20,30,50,.08);display:flex;flex-direction:column;overflow:}
.intro{padding: 16px 18px 12px;}
h1{font-size: 20px; margin: 0 0 5px;}
.intro p {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}
    .tool-card { width: min(1240px, calc(100% - 40px));margin: 20px auto;background:#fffdf8;border:1px solid #e2d8c8; border-radius: 10px; padding: 20px; box-shadow: 0 3px 12px rgba(0,0,0,.045); }
    .tabs { display: flex; gap: 8px; border-bottom: 1px solid #ddd; margin-bottom: 20px; }
    .tab { background: transparent; color: #444; border: 0; border-bottom: 3px solid transparent; border-radius: 0; margin-bottom: -1px; padding: 10px 14px; font-weight: 700; }
    .tab:hover { background: #f6f6f6; }
    .tab.active { color: #111; border-bottom-color: #111; }
	.tab.active:hover,.tab:hover{background:#333;color:#fff;}
    .field-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
    label { font-weight: 700; font-size: 15px; }
    .hint { color: #666; font-size: 12px; }
    textarea { display: block; width: 100%; min-height: 190px; resize: vertical; padding: 13px 14px; border: 1px solid #cfcfcf; border-radius: 6px; color: #222; background: #fff; font: 14px/1.6 Consolas, Monaco, "Courier New", monospace; outline: none; }
    textarea:focus { border-color: #555; box-shadow: 0 0 0 2px rgba(0,0,0,.06); }
    .output { background: #fafafa; }
    .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
    button { appearance: none; border: 1px solid #111; border-radius: 5px; background: #111; color: #fff; padding: 9px 16px; min-height: 38px; font: 14px/1.25 Arial, Helvetica, sans-serif; cursor: pointer; }
    button:hover { background: #333; }
    button.secondary { background: #fff; color: #222; border-color: #ccc; }
    button.secondary:hover { background: #f2f2f2; }
    .options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: #444; font-size: 14px; margin-top: 14px; }
    .options label { display: inline-flex; align-items: center; gap: 7px; font-weight: 400; font-size: 14px; }
    .options input { accent-color: #111; width: 16px; height: 16px; }
    .status { min-height: 22px; color: #286b38; font-size: 13px; margin-top: 8px; }
    .desc { width: min(1240px, calc(100% - 40px));margin: 20px auto;background:#fffdf8;border:1px solid #e2d8c8; padding: 16px 18px; border-radius: 8px; }
    .desc h2 { font-size: 18px; margin: 0 0 8px; }
    .desc p { margin: 6px 0; color: #555; font-size: 14px; }
    code { background: #f0f0f0; padding: 1px 4px; border-radius: 3px; font-family: Consolas, Monaco, monospace; }
    footer { color: #777; text-align: center; padding: 0 16px 28px; font-size: 12px; }
    @media (max-width: 600px) {
      header { padding: 0 16px; }
      main { margin-top: 22px; }
      .tool-card { padding: 15px; }
      textarea { min-height: 155px; }
      .field-head { align-items: flex-start; flex-direction: column; gap: 2px; }
      .actions { gap: 8px; }
      button { flex: 1 1 auto; padding: 9px 11px; }
      .tab { flex: 1; padding: 10px 8px; }
    }
