:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17202a;background:#f6f7f9;--surface: #ffffff;--surface-strong: #eef4f2;--border: #d8dee5;--muted: #657282;--ink: #17202a;--teal: #1f8a83;--teal-dark: #176d68;--coral: #c94c42;--amber: #b7791f;--focus: #2f6fed;--shadow: 0 16px 40px rgba(30, 43, 59, .08)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f6f7f9}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:72px;padding:14px clamp(18px,4vw,44px);background:#ffffffeb;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.brand{display:inline-flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:44px;height:44px;display:inline-grid;place-items:center;flex:0 0 auto;border-radius:8px;background:#fff;border:1px solid var(--border);overflow:hidden}.brand-logo{width:84%;height:84%;display:block;object-fit:contain}.brand strong,.brand small{display:block}.brand strong{font-size:.98rem}.brand small{color:var(--muted);margin-top:2px}.nav-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.nav-link,.back-link{display:inline-flex;align-items:center;gap:8px;border-radius:8px;padding:9px 11px;color:var(--muted);font-weight:700;transition:background .16s ease,color .16s ease}.nav-link.active,.nav-link:hover,.back-link:hover{background:var(--surface-strong);color:var(--ink)}main{flex:1}.page{width:min(1120px,calc(100% - 32px));margin:0 auto;padding:34px 0 48px}.intro-band,.tool-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:28px;padding:18px 0 8px}.intro-band h1,.tool-header h1{margin:0;max-width:780px;font-size:3.7rem;line-height:1.02;letter-spacing:0}.eyebrow{margin:0 0 8px;color:var(--teal-dark);font-size:.76rem;font-weight:800;letter-spacing:0;text-transform:uppercase}.content-grid,.tool-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.76fr);gap:24px;align-items:start}.tools-section,.recent-section,.upload-panel{min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.section-heading h2{margin:0;font-size:1.25rem;letter-spacing:0}.section-note{margin:-4px 0 14px;color:var(--muted);font-size:.94rem}.secondary-link{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 10px;border-radius:8px;color:var(--teal-dark);font-weight:800;white-space:nowrap}.secondary-link:hover{background:var(--surface-strong)}.tool-grid,.file-list{display:grid;gap:12px}.tool-card,.file-row,.upload-panel{background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow)}.tool-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;min-height:118px;padding:18px}.tool-card:hover{border-color:#1f8a8373}.tool-icon,.tool-header-icon{width:48px;height:48px;display:inline-grid;place-items:center;border-radius:8px;background:#e7f3f0;color:var(--teal-dark);flex:0 0 auto}.tone-blue{background:#ddecfb;color:#285f86}.tone-mint{background:#dff2ea;color:#166d57}.tone-amber{background:#ffe0c5;color:#875016}.tone-pink{background:#f6d0ec;color:#81416f}.tone-rose{background:#ffd3d5;color:#874044}.tone-cyan{background:#c7f1f6;color:#176b75}.tone-violet{background:#ddd3ff;color:#5d4d9a}.tool-copy{display:grid;gap:5px;min-width:0}.tool-copy strong{font-size:1.05rem}.tool-copy span,.file-details span,.file-details small,.empty-state{color:var(--muted)}.tool-arrow{color:var(--teal-dark)}.back-link{margin-bottom:12px}.directory-page{width:min(1240px,calc(100% - 32px))}.directory-header{display:flex;justify-content:space-between;gap:28px;align-items:flex-end;margin-bottom:24px;padding:16px 0 4px}.directory-header h1{margin:0;font-size:3rem;line-height:1.04;letter-spacing:0}.directory-intro{max-width:620px;margin:12px 0 0;color:var(--muted);font-size:1rem;line-height:1.5}.directory-summary{display:flex;align-items:center;gap:10px;min-width:max-content;padding:8px;background:#edf6f4;border:1px solid #d7eae6;border-radius:8px}.directory-summary span{display:inline-flex;align-items:baseline;gap:6px;min-height:38px;padding:0 10px;color:var(--muted);font-size:.86rem;font-weight:800}.directory-summary strong{color:var(--ink);font-size:1.4rem;line-height:1}.directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.directory-column{min-width:0;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 10px 28px #1e2b3b0e}.directory-column-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #edf1f4}.directory-column-heading h2{margin:0;font-size:1rem;line-height:1.25;letter-spacing:0}.directory-column-heading span{min-width:26px;min-height:24px;display:inline-grid;place-items:center;border-radius:999px;color:var(--muted);background:#eef2f5;font-size:.75rem;font-weight:900}.catalog-list{display:grid;gap:8px}.catalog-tool{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:52px;padding:7px 8px 7px 7px;border:1px solid transparent;border-radius:8px;color:var(--ink);transition:background .16s ease,border-color .16s ease,transform .16s ease}.catalog-tool.active{background:#f8fbfb;border-color:#e2ebec}.catalog-tool.active:hover{background:#edf6f4;border-color:#1f8a8359;transform:translateY(-1px)}.catalog-tool.planned{color:#536171}.catalog-tool.planned .catalog-tool-icon{opacity:.85}.catalog-tool-icon{width:40px;height:40px;display:inline-grid;place-items:center;border-radius:8px}.catalog-tool-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:normal;font-weight:800;line-height:1.2}.catalog-tool-state{display:inline-flex;align-items:center;gap:3px;justify-self:end;min-height:24px;padding:0 8px;border-radius:999px;color:#5f6b77;background:#e9edf2;font-size:.7rem;font-weight:900;text-transform:uppercase}.catalog-tool-state.active-state{color:#13675f;background:#dff2ee}.directory-note{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:36px;padding:18px 0 0;color:var(--muted);border-top:1px solid var(--border)}.directory-note a{color:var(--teal-dark);font-weight:800}.directory-note a:hover{text-decoration:underline}.tool-header{justify-content:flex-start;align-items:center}.upload-panel{padding:16px}.drop-zone{width:100%;min-height:230px;display:grid;place-items:center;gap:8px;align-content:center;padding:24px;color:var(--muted);background:#fafbfc;border:1px dashed #bac5cf;border-radius:8px;cursor:pointer}.drop-zone:hover,.drop-zone.dragging{border-color:var(--teal);background:#f0f8f6;color:var(--ink)}.drop-title{max-width:100%;overflow-wrap:anywhere;color:var(--ink);font-size:1.05rem;font-weight:800;text-align:center}.drop-meta{text-align:center}.upload-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;min-height:44px;margin-top:14px}.selected-file-list{display:grid;gap:8px;max-height:230px;overflow:auto;margin-top:14px}.selected-file-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:42px;padding:6px 6px 6px 12px;background:#f5f8fa;border:1px solid var(--border);border-radius:8px}.selected-file-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.selected-file-row small{color:var(--muted)}.primary-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:0;border-radius:8px;font-weight:800;cursor:pointer}.primary-button{min-width:158px;padding:0 16px;color:#fff;background:var(--teal)}.primary-button:hover:not(:disabled){background:var(--teal-dark)}.primary-button:disabled,.icon-button:disabled{cursor:not-allowed;opacity:.58}.icon-button{width:40px;padding:0;color:var(--ink);background:#e8edf2}.icon-button:hover:not(:disabled){background:#dce5ed}.icon-button.quiet{background:transparent;color:var(--muted)}.icon-button.danger{color:#8f2f29;background:#fae7e5}.icon-button.danger:hover:not(:disabled){background:#f4d1cd}.file-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:14px}.file-details{display:grid;gap:4px;min-width:0}.file-details strong,.file-details span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-actions{display:inline-flex;gap:8px}.status-badge{display:inline-flex;align-items:center;justify-content:center;min-width:82px;min-height:28px;padding:0 10px;border-radius:999px;color:#4d5c6b;background:#e9edf2;font-size:.78rem;font-weight:800;text-transform:capitalize}.status-badge.completed{color:#13675f;background:#dff2ee}.status-badge.failed{color:#8f2f29;background:#fae7e5}.status-badge.processing{color:#83540f;background:#fff0cf}.empty-state{min-height:110px;display:grid;place-items:center;padding:18px;background:var(--surface);border:1px dashed var(--border);border-radius:8px;text-align:center}.form-error,.success-message{margin:12px 0 0;padding:12px 14px;border-radius:8px;font-weight:700}.form-error{color:#842a24;background:#fae7e5}.success-message{color:#13675f;background:#dff2ee}.footer{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;padding:22px;color:var(--muted);text-align:center;border-top:1px solid var(--border)}.footer a{color:var(--teal-dark);font-weight:800}.footer a:hover{text-decoration:underline}.footer-divider{color:#aab4bf;margin:0 4px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1100px){.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){.topbar,.content-grid,.tool-workspace,.directory-header{grid-template-columns:1fr}.topbar{position:static;align-items:flex-start;flex-direction:column}.nav-links{width:100%;justify-content:flex-start}.content-grid,.tool-workspace{display:grid}.directory-header{display:grid;align-items:start}.directory-summary{justify-self:start}.directory-grid{grid-template-columns:1fr}.intro-band h1,.tool-header h1,.directory-header h1{font-size:2.65rem}.file-row{grid-template-columns:minmax(0,1fr) auto}.status-badge{justify-self:end}.file-actions{grid-column:1 / -1;justify-content:flex-end}}@media(max-width:520px){.page{width:min(100% - 22px,1120px);padding-top:22px}.intro-band h1,.tool-header h1,.directory-header h1{font-size:2.05rem}.nav-link span{display:none}.tool-card{grid-template-columns:auto minmax(0,1fr)}.tool-arrow{display:none}.directory-page{width:min(100% - 22px,1240px)}.directory-summary{width:100%;justify-content:space-between}.catalog-tool{grid-template-columns:40px minmax(0,1fr)}.catalog-tool-state{grid-column:2;justify-self:start;margin-top:-2px}}
