.lp-excel-unlock { --ink:#202b31; --muted:#46574d; --accent:#17644c; --error:#a3261b; --line:#c8d2cb; --soft:#f0f5f1; color:var(--ink); background:#fafbf9; font:16px/1.6 system-ui,sans-serif; padding:clamp(16px,4vw,32px); border:1px solid #d5ddd7; border-radius:16px; max-width:100%; box-sizing:border-box; display:grid; gap:14px; }
.lp-excel-unlock * { box-sizing:border-box; }
.lp-excel-unlock h2 { margin:0; font-size:1.6rem; line-height:1.25; }
.lp-excel-unlock > p { margin:0; color:var(--muted); }
.lp-excel-unlock .step { display:grid; gap:12px; min-width:0; padding:clamp(16px,3vw,24px); border:1px solid var(--line); border-radius:12px; background:#fff; }
.lp-excel-unlock .step-current { border-color:var(--accent); box-shadow:0 0 0 1px var(--accent); }
.lp-excel-unlock .step-done { border-color:#75917f; }
.lp-excel-unlock .step-muted { background:var(--soft); }
.lp-excel-unlock .step-title { margin:0; font-size:1.15rem; line-height:1.35; }
.lp-excel-unlock .step-hint,.lp-excel-unlock .step-waiting { margin:0; color:var(--muted); }
.lp-excel-unlock .step-muted .step-waiting { font-weight:600; }
.lp-excel-unlock label { display:block; margin:0; font-weight:600; }
.lp-excel-unlock input { display:block; width:100%; min-height:44px; margin-top:6px; padding:10px; color:var(--ink); background:white; border:1px solid #82958a; border-radius:6px; font:inherit; }
.lp-excel-unlock .file-picker { display:inline-flex; position:relative; width:max-content; max-width:100%; margin:0; }
.lp-excel-unlock .file-input { position:absolute; width:1px; height:1px; padding:0; margin:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.lp-excel-unlock .file-button { display:inline-flex; align-items:center; justify-content:center; min-width:120px; min-height:48px; padding:8px 18px; border:1px solid var(--accent); border-radius:6px; background:white; color:var(--accent); cursor:pointer; }
.lp-excel-unlock .file-input:focus-visible + .file-button { outline:3px solid #b06c13; outline-offset:3px; }
.lp-excel-unlock label.check { display:flex; align-items:center; gap:8px; min-height:44px; margin:0; font-weight:400; }
.lp-excel-unlock input[type=checkbox] { display:inline-block; width:20px; min-height:20px; margin:0; }
.lp-excel-unlock button { min-height:48px; width:100%; padding:10px 18px; margin:0; background:var(--accent); color:white; border:0; border-radius:6px; font:inherit; font-weight:650; cursor:pointer; }
.lp-excel-unlock button.secondary { width:auto; min-width:180px; background:#fff; color:var(--accent); border:1px solid var(--accent); }
.lp-excel-unlock button.primary { background:var(--accent); }
.lp-excel-unlock button:disabled { opacity:.5; cursor:default; }
.lp-excel-unlock button[hidden], .lp-excel-unlock progress[hidden], .lp-excel-unlock p[hidden] { display:none; }
.lp-excel-unlock :focus-visible { outline:3px solid #b06c13; outline-offset:3px; }
.lp-excel-unlock .drop { display:grid; gap:10px; min-width:0; padding:clamp(14px,3vw,24px); border:2px dashed #71877a; border-radius:8px; background:#fbfdfb; }
.lp-excel-unlock .drop.over { border-color:var(--accent); background:#e7f2eb; }
.lp-excel-unlock .drop-copy { margin:0; font-size:1.1rem; font-weight:700; }
.lp-excel-unlock .file-chip { overflow-wrap:anywhere; font-weight:650; margin:0; padding:10px 12px; border-radius:8px; background:var(--soft); }
.lp-excel-unlock .info { overflow-wrap:anywhere; font-weight:600; margin:0; }
.lp-excel-unlock .hint { margin:0; color:var(--muted); font-size:.92rem; }
.lp-excel-unlock .status { min-height:1.6em; overflow-wrap:anywhere; }
.lp-excel-unlock .status.error, .lp-excel-unlock .warn { color:var(--error); font-weight:600; }
.lp-excel-unlock progress { display:block; width:100%; height:12px; }
.lp-excel-unlock .preview { min-width:0; padding-top:12px; border-top:1px solid var(--line); }
.lp-excel-unlock .preview-hint { margin:0 0 8px; color:var(--muted); }
.lp-excel-unlock .preview-table { display:block; width:100%; overflow:auto; border-collapse:collapse; }
.lp-excel-unlock .preview-table caption { padding:8px 0; font-weight:700; text-align:left; }
.lp-excel-unlock .preview-table th,.lp-excel-unlock .preview-table td { padding:8px 10px; border:1px solid var(--line); text-align:left; white-space:nowrap; }
.lp-excel-unlock .preview-table th { background:var(--soft); }
.lp-excel-unlock details { border-top:1px solid var(--line); padding-top:12px; }
.lp-excel-unlock summary { cursor:pointer; font-weight:700; min-height:44px; }
.lp-excel-unlock .status { margin:0; }
@media (max-width:480px) {
  .lp-excel-unlock { padding:16px; gap:12px; }
  .lp-excel-unlock .step { padding:16px; }
  .lp-excel-unlock .secondary { width:100% !important; }
  .lp-excel-unlock .file-picker,.lp-excel-unlock .file-button { width:100%; }
}
