:root{color-scheme:light;--fh-bg:#f5f8fc;--fh-surface:#fff;--fh-line:#dce5f1;--fh-text:#142840;--fh-muted:#596c84;--fh-primary:#175dad;--fh-focus:#4b95e0}
*{box-sizing:border-box}body{margin:0;font:16px/1.55 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--fh-text);background:var(--fh-bg)}
a{color:var(--fh-primary)}.fh-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;max-width:1040px;margin:auto;padding:1rem 1.25rem}.fh-header nav{display:flex;flex-wrap:wrap;gap:1rem;font-size:.9rem}.fh-brand{font-size:1.15rem;font-weight:800;text-decoration:none}.fh-main{max-width:1040px;margin:auto;padding:0 1.25rem 3rem}.fh-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0}.fh-heading h1{font-size:clamp(1.75rem,3vw,2.75rem);margin:.1rem 0}.fh-heading p{color:var(--fh-muted)}.fh-kicker{letter-spacing:.14em;font-size:.75rem;font-weight:800}.fh-chip{border-radius:99px;background:#eaf4ef;color:#225b3f;padding:.4rem .75rem;font-size:.8rem;white-space:nowrap}.fh-panel{padding:1.25rem;margin:.9rem 0;background:var(--fh-surface);border:1px solid var(--fh-line);border-radius:16px;box-shadow:0 4px 20px #1648790a}.fh-panel h2{font-size:1.2rem;margin:0 0 1rem}.fh-panel h3{font-size:1rem}.fh-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:148px;border:2px dashed #a8c4e2;border-radius:14px;cursor:pointer;gap:.2rem;background:#f8fbff}.fh-drop.fh-over{background:#e3f1ff;border-color:var(--fh-primary)}.fh-drop-icon{font-size:2rem;color:var(--fh-primary)}button{border:0;background:var(--fh-primary);color:white;font:inherit;font-weight:650;padding:.65rem 1rem;border-radius:9px;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.fh-secondary{background:#e9f0fa;color:#1a5188}.fh-danger{background:#fff0f0;color:#9c2630}.fh-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin:.9rem 0}.fh-note{color:var(--fh-muted);font-size:.86rem}.fh-list{display:grid;gap:.5rem}.fh-file{width:100%;display:flex;justify-content:space-between;gap:1rem;text-align:left;background:#f8fafd;color:var(--fh-text);border:1px solid var(--fh-line);border-radius:10px;font-weight:500;overflow-wrap:anywhere}.fh-file[aria-pressed="true"]{border-color:var(--fh-primary);background:#eaf3ff}.fh-file small{color:var(--fh-muted);white-space:nowrap}.fh-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.5rem;margin:.65rem 0}.fh-meta div{padding:.5rem .65rem;background:#f7fafd;border-radius:8px;min-width:0;overflow-wrap:anywhere}.fh-meta small{display:block;color:var(--fh-muted)}.fh-preview{max-width:100%;overflow:hidden}.fh-preview img,.fh-preview video{display:block;max-width:100%;max-height:460px;margin:auto;border-radius:10px}.fh-preview audio{width:100%;margin:1rem 0}.fh-preview object{width:100%;height:470px;border:1px solid var(--fh-line)}textarea{width:100%;font:14px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;border:1px solid var(--fh-line);border-radius:10px;padding:.75rem;resize:vertical;min-height:180px}label{display:block;font-weight:650}.fh-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:.9rem;margin:.85rem 0}input,select{display:block;width:100%;padding:.6rem;border:1px solid var(--fh-line);border-radius:9px;background:white;font:inherit}.fh-status{font-size:.9rem;min-height:1.4em}.fh-status[data-error="true"]{color:#b42318}.fh-footer{text-align:center;color:var(--fh-muted);padding:1.5rem}a:focus-visible,button:focus-visible,.fh-drop:focus-visible{outline:3px solid var(--fh-focus);outline-offset:3px}
@media(max-width:640px){.fh-heading{display:block}.fh-chip{display:inline-block}.fh-header{align-items:flex-start}.fh-file{flex-direction:column;gap:0}}
@media(prefers-color-scheme:dark){:root{color-scheme:dark;--fh-bg:#111a28;--fh-surface:#192638;--fh-line:#31465d;--fh-text:#eaf1f9;--fh-muted:#a9bbcc;--fh-primary:#8fc3ff}.fh-drop,.fh-file,.fh-meta div{background:#203249}.fh-file[aria-pressed="true"]{background:#203f62}.fh-secondary{background:#284462;color:#d7eafe}.fh-danger{background:#472a30;color:#ffced2}.fh-chip{background:#244332;color:#c4ead5}input,select{background:#24384f;color:var(--fh-text)}}
