.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:1.5rem}.card__title{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);margin:0 0 1rem;font-size:.875rem;font-weight:600}.card__body{flex-direction:column;gap:.75rem;display:flex}.data-structure{flex-direction:column;gap:1.25rem;display:flex}.data-structure__list{flex-direction:column;gap:.875rem;margin:0;padding:0;list-style:none;display:flex}.data-structure__item{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-md);grid-template-columns:1.2fr 1fr 1fr;align-items:end;gap:.75rem;padding:.875rem;display:grid}@media (width<=768px){.data-structure__item{grid-template-columns:1fr;gap:.5rem}}.data-structure__source,.data-structure__target{flex-direction:column;gap:.375rem;min-width:0;display:flex}.data-structure__label{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);font-size:.75rem;font-weight:600}.data-structure__column-name{color:var(--text-h);word-break:break-word;font-size:.9375rem;font-weight:500}.data-structure__select{width:100%;color:var(--text-h);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:.625rem .75rem;font-family:inherit;font-size:.9375rem}.data-structure__select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.processing-output{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);flex-direction:column;gap:.75rem;padding:1rem;display:flex}.processing-output__title{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);margin:0;font-size:.875rem;font-weight:600}.processing-output__cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:.625rem;display:grid}@media (width<=768px){.processing-output__cards{grid-template-columns:1fr}}.processing-output__card{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-md);flex-direction:column;gap:.5rem;padding:.75rem;display:flex}.processing-output__card-icon{font-size:1.125rem;line-height:1}.processing-output__card-body{flex-direction:column;gap:.125rem;min-width:0;display:flex}.processing-output__card-name{color:var(--text-h);word-break:break-all;font-size:.8125rem;font-weight:600}.processing-output__card-rows{color:var(--text-muted);margin:0;font-size:.75rem}.processing-output__download{color:var(--text-h);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);cursor:pointer;align-self:flex-start;padding:.375rem .75rem;font-family:inherit;font-size:.8125rem;font-weight:600;transition:border-color .15s,background-color .15s,opacity .15s}.processing-output__download:hover:not(:disabled){border-color:var(--accent);background:var(--accent-bg)}.processing-output__download:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.processing-output__download:disabled{opacity:.5;cursor:not-allowed}.processing-output__error{color:var(--error-text);margin:0;font-size:.8125rem;line-height:1.5}.result-tabs{flex-direction:column;gap:.875rem;display:flex}.result-tabs__header{flex-wrap:wrap;gap:.5rem;display:flex}.result-tabs__tab{color:var(--text-muted);background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-md);cursor:pointer;align-items:center;gap:.5rem;padding:.5rem .875rem;font-size:.875rem;font-weight:600;transition:color .15s,background-color .15s,border-color .15s;display:inline-flex}.result-tabs__tab:hover{color:var(--text-h);border-color:var(--accent-border)}.result-tabs__tab--active{color:var(--text-h);background:var(--accent-bg);border-color:var(--accent)}.result-tabs__tab:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.result-tabs__badge{color:#fff;background:var(--error-text);border-radius:999px;justify-content:center;align-items:center;min-width:1.25rem;height:1.25rem;padding:0 .375rem;font-size:.6875rem;font-weight:700;display:inline-flex}.result-tabs__panel{flex-direction:column;gap:.75rem;display:flex}.result-tabs__review-count{color:var(--error-text);margin:0;font-size:.8125rem;font-weight:600}.result-tabs__preview-note{color:var(--text-muted);margin:0;font-size:.8125rem}.excel-result{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);flex-direction:column;gap:.75rem;padding:.875rem 1rem;display:flex}.excel-result__summary{flex-direction:column;gap:.5rem;display:flex}.excel-result__title{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);margin:0;font-size:.8125rem;font-weight:600}.excel-result__meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:0;display:grid}.excel-result__meta-item{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-md);flex-direction:column;gap:.125rem;padding:.5rem .625rem;display:flex}.excel-result__meta-item dt{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);font-size:.6875rem;font-weight:600}.excel-result__meta-item dd{color:var(--text-h);word-break:break-all;margin:0;font-size:.875rem;font-weight:600}.excel-result__section{flex-direction:column;gap:.5rem;display:flex}.excel-result__section-title{color:var(--text-muted);margin:0;font-size:.75rem;font-weight:600}.excel-result__processed{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:0;display:grid}@media (width<=640px){.excel-result__processed{grid-template-columns:1fr}}.excel-result__processed-item{background:var(--accent-bg);border:1px solid var(--accent-border);border-radius:var(--radius-md);flex-direction:column;gap:.125rem;padding:.5rem .625rem;display:flex}.excel-result__processed-item dt{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);font-size:.6875rem;font-weight:600}.excel-result__processed-item dd{color:var(--text-h);margin:0;font-size:1rem;font-weight:600}.excel-result__processed-detail{color:var(--text-muted);margin:.125rem 0 0;font-size:.6875rem;line-height:1.35}.excel-result__warnings{text-align:left;color:var(--error-text);max-height:18.2813rem;margin:0;padding-left:1.25rem;font-size:.8125rem;line-height:1.5;overflow-y:auto}.excel-result__warnings-note{color:var(--text-muted);margin:0 0 .375rem;font-size:.8125rem}.excel-result__columns{flex-wrap:wrap;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.excel-result__column{color:var(--text-h);background:var(--accent-bg);border:1px solid var(--accent-border);border-radius:var(--radius-md);padding:.375rem .625rem;font-family:ui-monospace,Consolas,monospace;font-size:.8125rem}.excel-result__table-wrap{border:1px solid var(--border);border-radius:var(--radius-md);max-height:39.5rem;overflow:auto}.excel-result__table{border-collapse:collapse;width:100%;font-size:.8125rem}.excel-result__table th,.excel-result__table td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:.625rem .75rem}.excel-result__table th{color:var(--text-h);background:var(--bg);white-space:nowrap;font-weight:600}.excel-result__table td{color:var(--text);word-break:break-word;max-width:24rem}.excel-result__table tbody tr:last-child td{border-bottom:none}.excel-result__empty{text-align:center;color:var(--text-muted)}.file-picker{text-align:center;flex-direction:column;align-items:center;gap:.75rem;display:flex}.file-picker__input{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.file-picker__button{width:100%;color:var(--accent);background:var(--accent-bg);border:2px dashed var(--accent-border);border-radius:var(--radius-md);cursor:pointer;padding:1rem 1.5rem;font-size:1rem;font-weight:600;transition:background-color .15s,border-color .15s}.file-picker__button:hover{background:var(--accent-bg-hover);border-color:var(--accent)}.file-picker__button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.file-picker__name{color:var(--text-h);word-break:break-all;margin:0;font-size:.9375rem;font-weight:500}.file-picker__info{flex-direction:column;gap:.25rem;display:flex}.file-picker__size{color:var(--text-muted);margin:0;font-size:.875rem}.file-picker__error{color:var(--error-text);margin:0;font-size:.875rem}.file-picker__hint{color:var(--text-muted);margin:0;font-size:.875rem}.file-picker__formats{color:var(--text-muted);margin:.25rem 0 0;font-size:.8125rem}.file-picker__formats span{color:var(--text-h);font-family:ui-monospace,Consolas,monospace;font-size:.75rem}.how-it-works{flex-direction:column;gap:.625rem;display:flex}.how-it-works__heading{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);text-align:center;margin:0;font-size:.75rem;font-weight:600}.how-it-works__steps{flex-wrap:wrap;justify-content:center;align-items:stretch;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.how-it-works__step-item{flex:10rem;align-items:center;gap:.375rem;min-width:0;display:flex}.how-it-works__card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);flex-direction:column;flex:1;gap:.125rem;padding:.625rem .75rem;transition:border-color .15s,background-color .15s;display:flex}.how-it-works__card--active{background:var(--accent-bg);border-color:var(--accent)}.how-it-works__step-label{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);font-size:.6875rem;font-weight:600}.how-it-works__card--active .how-it-works__step-label{color:var(--accent)}.how-it-works__step-title{color:var(--text-h);font-size:.8125rem;font-weight:600}.how-it-works__step-description{color:var(--text-muted);margin:0;font-size:.75rem;line-height:1.35}.how-it-works__arrow{color:var(--text-muted);flex-shrink:0;font-size:.875rem}@media (width>=640px){.how-it-works__arrow{transform:rotate(-90deg)}}@media (width<=639px){.how-it-works__step-item{flex-direction:column;flex-basis:100%}.how-it-works__arrow{align-self:center}}.loading-indicator{z-index:10;border-radius:var(--radius-lg);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#f1f5f9d9;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}@media (prefers-color-scheme:dark){.loading-indicator{background:#0f172ad9}}.loading-indicator__content{flex-direction:column;align-items:center;gap:1rem;display:flex}.loading-indicator__spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:2.5rem;height:2.5rem;animation:.8s linear infinite loading-spin}.loading-indicator__text{color:var(--text-h);margin:0;font-size:.9375rem;font-weight:500}@keyframes loading-spin{to{transform:rotate(360deg)}}.page-footer{text-align:center;margin-top:auto;padding-top:2rem}.page-footer__text{color:var(--text-muted);margin:0;font-size:.75rem}.page-header{text-align:center}.page-header__title{letter-spacing:-.03em;color:var(--text-h);margin:0 0 .5rem;font-size:clamp(1.75rem,4vw,2.25rem);font-weight:700}.page-header__subtitle{color:var(--text-muted);margin:0;font-size:1rem}.process-button{color:#fff;background:var(--accent);border-radius:var(--radius-md);cursor:pointer;border:none;width:100%;padding:.9375rem 1.5rem;font-size:1rem;font-weight:600;transition:background-color .15s,opacity .15s}.process-button:hover:not(:disabled){background:var(--accent-hover)}.process-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.process-button:disabled{opacity:.5;cursor:not-allowed}.process-error{text-align:center;background:var(--error-bg);border:1px solid var(--error-border);border-radius:var(--radius-md);padding:1rem 1.25rem}.process-error__text{color:var(--error-text);white-space:pre-line;margin:0;font-size:.9375rem;line-height:1.5}.app{flex-direction:column;min-height:100svh;padding:2rem 1rem;display:flex}.app__main{flex-direction:column;flex:1;gap:2rem;width:100%;max-width:56rem;margin:0 auto;display:flex}.app__form{flex-direction:column;gap:1.25rem;display:flex;position:relative}.admin-stats{min-height:100svh;padding:2rem 1rem}.admin-stats__main{flex-direction:column;gap:1.5rem;width:100%;max-width:56rem;margin:0 auto;display:flex}.admin-stats__header{flex-direction:column;gap:.375rem;display:flex}.admin-stats__eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin:0;font-size:.75rem;font-weight:600}.admin-stats__title{color:var(--text-h);margin:0;font-size:1.75rem;line-height:1.2}.admin-stats__subtitle{color:var(--text-muted);margin:0}.admin-stats__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);min-height:8.5rem;box-shadow:var(--shadow-sm);flex-direction:column;gap:.75rem;padding:1.25rem 1.5rem;display:flex}.stat-card__label{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);margin:0;font-size:.875rem;font-weight:600}.stat-card__value{color:var(--text-h);margin:0;font-size:clamp(1.75rem,4vw,2.5rem);font-weight:700;line-height:1.1}.admin-stats__message{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);color:var(--text-muted);margin:0;padding:1rem 1.25rem}.admin-stats__message--error{color:var(--error-text);background:var(--error-bg);border-color:var(--error-border)}.admin-stats__meta{color:var(--text-muted);margin:0;font-size:.8125rem}@media (width<=640px){.admin-stats__grid{grid-template-columns:1fr}}:root{--text-h:#0f172a;--text:#334155;--text-muted:#64748b;--bg:#f1f5f9;--surface:#fff;--border:#e2e8f0;--accent:#2563eb;--accent-hover:#1d4ed8;--accent-bg:#eff6ff;--accent-bg-hover:#dbeafe;--accent-border:#93c5fd;--success-text:#166534;--success-bg:#f0fdf4;--success-border:#bbf7d0;--error-text:#dc2626;--error-bg:#fef2f2;--error-border:#fecaca;--shadow-sm:0 1px 3px #0f172a0f;--radius-md:.625rem;--radius-lg:.875rem;color:var(--text);background-color:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-weight:400;line-height:1.5}@media (prefers-color-scheme:dark){:root{--text-h:#f8fafc;--text:#cbd5e1;--text-muted:#94a3b8;--bg:#0f172a;--surface:#1e293b;--border:#334155;--accent:#3b82f6;--accent-hover:#2563eb;--accent-bg:#3b82f61f;--accent-bg-hover:#3b82f633;--accent-border:#3b82f6;--success-text:#86efac;--success-bg:#22c55e1f;--success-border:#22c55e59;--error-text:#f87171;--error-bg:#ef44441f;--error-border:#ef444459;--shadow-sm:0 1px 3px #0000004d}}*,:before,:after{box-sizing:border-box}body{min-height:100svh;margin:0}#root{min-height:100svh}button{font-family:inherit}
