:root{--bg: #ffffff;--bg-subtle: #fbfcfd;--surface: #ffffff;--surface-muted: #f4f6f9;--surface-hover: #f1f4f8;--border: #e6eaf0;--border-strong: #d6dce5;--border-dashed: #d9e0e9;--text: #0f172a;--text-secondary: #475569;--text-muted: #7b8794;--accent: #16202f;--accent-hover: #0c1522;--accent-contrast: #ffffff;--focus: #94a3b8;--nav-active-bg: #eaeff5;--nav-active-text: #0f172a;--success: #15803d;--success-bg: #ecfdf3;--danger: #b91c1c;--danger-bg: #fef2f2;--danger-border: #fecaca;--warn: #b45309;--warn-bg: #fffbeb;--info: #1d4ed8;--info-bg: #eff6ff;--radius-sm: 6px;--radius: 10px;--radius-lg: 14px;--topbar-h: 56px;--sidebar-w: 240px;--sidebar-w-collapsed: 68px;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);--shadow-md: 0 8px 24px rgba(15, 23, 42, .08);--shadow-lg: 0 20px 48px rgba(15, 23, 42, .14);--ease: cubic-bezier(.4, 0, .2, 1);color-scheme:light}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,p,figure{margin:0}button{font:inherit;color:inherit;border:0;padding:0;background:none;cursor:pointer}a{color:inherit;text-decoration:none}ul{margin:0;padding:0;list-style:none}input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:var(--radius-sm)}::selection{background:#dbe6f5}*{scrollbar-width:thin;scrollbar-color:#d5dbe3 transparent}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-thumb{background:#d5dbe3;border:3px solid transparent;background-clip:content-box;border-radius:999px}*::-webkit-scrollbar-thumb:hover{background:#bcc5d1;background-clip:content-box}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}.app{display:flex;flex-direction:column;height:100dvh;min-height:100dvh;background:var(--bg)}.topbar{flex:none;height:var(--topbar-h);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 20px 0 16px;background:var(--surface);border-bottom:1px solid var(--border);position:relative;z-index:40}.topbar__left,.topbar__right{display:flex;align-items:center;gap:8px;min-width:0}.topbar__brand{display:flex;align-items:center;gap:10px;padding:4px 6px;border-radius:var(--radius-sm);min-width:0}.topbar__logo{flex:none;color:var(--text);display:grid;place-items:center}.topbar__wordmark{font-size:17px;font-weight:650;letter-spacing:-.015em;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar__menu{display:none;width:34px;height:34px;border-radius:var(--radius-sm);align-items:center;justify-content:center;color:var(--text-secondary);transition:background .15s var(--ease),color .15s var(--ease)}.topbar__menu:hover{background:var(--surface-hover);color:var(--text)}.avatar{flex:none;width:32px;height:32px;border-radius:999px;overflow:hidden;display:grid;place-items:center;background:var(--surface-muted);border:1px solid var(--border);color:var(--text-secondary);font-size:11.5px;font-weight:650;letter-spacing:.02em;transition:box-shadow .15s var(--ease),border-color .15s var(--ease)}.avatar:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.avatar__image{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.user-menu{position:relative}.user-menu__panel{position:absolute;top:calc(100% + 8px);right:0;z-index:40;min-width:216px;padding:6px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-md)}.user-menu__identity{padding:8px 10px 10px;border-bottom:1px solid var(--border)}.user-menu__name{font-size:13px;font-weight:600;color:var(--text)}.user-menu__email{margin-top:2px;font-size:12px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu__action{width:100%;margin-top:6px;padding:8px 10px;display:flex;align-items:center;gap:9px;font-size:13px;color:var(--text-secondary);border-radius:var(--radius-sm);transition:background .14s var(--ease),color .14s var(--ease)}.user-menu__action:hover:not(:disabled){background:var(--surface-hover);color:var(--text)}.user-menu__action:disabled{opacity:.6;cursor:not-allowed}.shell{flex:1;display:flex;min-height:0}.sidebar{flex:none;width:var(--sidebar-w);display:flex;flex-direction:column;background:var(--surface);border-right:1px solid var(--border);transition:width .2s var(--ease);overflow:hidden}.sidebar--collapsed{width:var(--sidebar-w-collapsed)}.sidebar__nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:14px 12px;display:flex;flex-direction:column;gap:2px}.sidebar__section-label{padding:14px 10px 6px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);white-space:nowrap}.sidebar--collapsed .sidebar__section-label{opacity:0;height:12px;padding:6px 0 0}.nav-item{position:relative;display:flex;align-items:center;gap:12px;height:38px;padding:0 10px;border-radius:var(--radius);color:var(--text-secondary);font-size:13.5px;font-weight:500;white-space:nowrap;transition:background .14s var(--ease),color .14s var(--ease)}.nav-item:hover{background:var(--surface-hover);color:var(--text)}.nav-item--active,.nav-item--active:hover{background:var(--nav-active-bg);color:var(--nav-active-text);font-weight:600}.nav-item__icon{flex:none;display:grid;place-items:center;width:18px;height:18px;color:currentColor}.nav-item__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.nav-item__badge{flex:none;min-width:20px;height:18px;padding:0 6px;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:11px;font-weight:600;display:grid;place-items:center}.nav-item--active .nav-item__badge{background:#0f172a14;color:var(--text-secondary)}.sidebar--collapsed .nav-item{justify-content:center;padding:0;gap:0}.sidebar--collapsed .nav-item__label,.sidebar--collapsed .nav-item__badge{display:none}.nav-item__tip{position:absolute;left:calc(100% + 10px);top:50%;transform:translateY(-50%) translate(-4px);padding:5px 9px;background:var(--accent);color:var(--accent-contrast);font-size:12px;font-weight:500;border-radius:var(--radius-sm);white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;box-shadow:var(--shadow-md);transition:opacity .14s var(--ease),transform .14s var(--ease),visibility .14s;z-index:60}.sidebar--collapsed .nav-item:hover .nav-item__tip,.sidebar--collapsed .nav-item:focus-visible .nav-item__tip{opacity:1;visibility:visible;transform:translateY(-50%) translate(0)}.sidebar__footer{flex:none;padding:12px;border-top:1px solid transparent}.sidebar__collapse{display:flex;align-items:center;gap:12px;width:100%;height:38px;padding:0 10px;border-radius:var(--radius);color:var(--text-secondary);font-size:13.5px;font-weight:500;white-space:nowrap;transition:background .14s var(--ease),color .14s var(--ease)}.sidebar__collapse:hover{background:var(--surface-hover);color:var(--text)}.sidebar--collapsed .sidebar__collapse{justify-content:center;padding:0;gap:0}.sidebar--collapsed .sidebar__collapse-label{display:none}.main{flex:1;min-width:0;overflow-y:auto;background:var(--bg)}.main__inner{max-width:1180px;margin:0 auto;padding:28px 32px 64px}.main--centered .main__inner{min-height:100%;display:flex;flex-direction:column;justify-content:center;padding-top:24px;padding-bottom:40px}.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:45;opacity:0;animation:fade-in .18s var(--ease) forwards}@keyframes fade-in{to{opacity:1}}@media (max-width: 900px){.topbar__menu{display:flex}.sidebar{position:fixed;top:var(--topbar-h);bottom:0;left:0;width:var(--sidebar-w);z-index:50;transform:translate(-100%);visibility:hidden;transition:transform .22s var(--ease),visibility .22s var(--ease);box-shadow:none}.sidebar--open{transform:translate(0);visibility:visible;box-shadow:var(--shadow-lg)}.sidebar__footer{display:none}.main__inner{padding:22px 18px 56px}}@media (max-width: 560px){.topbar{padding:0 12px}.main__inner{padding:18px 14px 48px}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;padding:0 18px;border-radius:var(--radius);font-size:13.5px;font-weight:600;white-space:nowrap;transition:background .15s var(--ease),border-color .15s var(--ease),color .15s var(--ease),box-shadow .15s var(--ease)}.btn--primary{background:var(--accent);color:var(--accent-contrast);box-shadow:var(--shadow-sm)}.btn--primary:hover{background:var(--accent-hover)}.btn--ghost{background:var(--surface);color:var(--text-secondary);border:1px solid var(--border)}.btn--ghost:hover{background:var(--surface-hover);color:var(--text);border-color:var(--border-strong)}.btn--sm{height:32px;padding:0 12px;font-size:12.5px}.btn--icon{width:32px;height:32px;padding:0;border-radius:var(--radius-sm);color:var(--text-muted)}.btn--icon:hover{background:var(--surface-hover);color:var(--text)}.btn:disabled{opacity:.5;cursor:not-allowed}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}.page-head__title{font-size:21px;font-weight:650;letter-spacing:-.02em;color:var(--text)}.page-head__sub{margin-top:4px;font-size:13.5px;color:var(--text-muted);max-width:62ch}.page-head__actions{display:flex;align-items:center;gap:8px}.dropzone{position:relative;width:100%;max-width:720px;margin:0 auto;padding:56px 32px;border:1px dashed var(--border-dashed);border-radius:var(--radius-lg);background:var(--surface);text-align:center;transition:border-color .16s var(--ease),background .16s var(--ease),box-shadow .16s var(--ease)}.dropzone--active{border-color:var(--accent);background:var(--surface-muted);box-shadow:var(--shadow-md)}.dropzone__icon{width:62px;height:62px;margin:0 auto 22px;border-radius:999px;background:var(--surface-muted);color:var(--text-secondary);display:grid;place-items:center;transition:transform .16s var(--ease),background .16s var(--ease)}.dropzone--active .dropzone__icon{transform:translateY(-2px) scale(1.04);background:#e6ebf2}.dropzone__title{font-size:21px;font-weight:650;letter-spacing:-.02em;color:var(--text)}.dropzone__hint{margin:10px auto 22px;max-width:46ch;font-size:13.5px;line-height:1.6;color:var(--text-muted)}.dropzone__input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.file-list{max-width:720px;margin:24px auto 0;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);overflow:hidden}.file-list__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--border);background:var(--bg-subtle)}.file-list__title{font-size:13px;font-weight:650;color:var(--text)}.file-list__summary{font-size:12px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toolbar{display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid var(--border)}.search{position:relative;flex:1;min-width:0;display:flex;align-items:center}.search__icon{position:absolute;left:10px;color:var(--text-muted);pointer-events:none}.search__input{width:100%;height:34px;padding:0 32px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);font-size:13px;transition:border-color .15s var(--ease),box-shadow .15s var(--ease)}.search__input::placeholder{color:var(--text-muted)}.search__input:focus{outline:none;border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.search__input::-webkit-search-cancel-button{display:none}.search__clear{position:absolute;right:8px;width:20px;height:20px;display:grid;place-items:center;border-radius:var(--radius-sm);color:var(--text-muted);transition:background .14s var(--ease),color .14s var(--ease)}.search__clear:hover{background:var(--surface-hover);color:var(--text)}.chips{flex:none;display:flex;align-items:center;gap:6px}.chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border:1px solid var(--border);border-radius:999px;font-size:12.5px;font-weight:550;color:var(--text-secondary);white-space:nowrap;transition:background .14s var(--ease),border-color .14s var(--ease),color .14s var(--ease)}.chip:hover{background:var(--surface-hover);color:var(--text)}.chip--active,.chip--active:hover{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}.chip__count{font-size:11px;font-weight:650;color:var(--text-muted)}.chip--active .chip__count{color:#ffffffb8}.mark{padding:0 1px;border-radius:3px;background:#fef3c7;color:inherit}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.file-list__empty{padding:34px 20px 30px;text-align:center}.file-list__empty-title{font-size:13.5px;font-weight:600;color:var(--text)}.file-list__empty-text{margin:4px 0 14px;font-size:12.5px;color:var(--text-muted)}.file-list__foot{padding:10px 16px;font-size:12px;color:var(--text-muted);background:var(--bg-subtle);border-top:1px solid var(--border)}@media (max-width: 640px){.toolbar{flex-direction:column;align-items:stretch}.chips{overflow-x:auto;padding-bottom:2px}}.file-row{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--border)}.file-row:last-child{border-bottom:0}.file-row__icon{flex:none;width:34px;height:34px;border-radius:var(--radius-sm);background:var(--surface-muted);color:var(--text-secondary);display:grid;place-items:center}.file-row__body{flex:1;min-width:0}.file-row__name{font-size:13.5px;font-weight:550;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-row__meta{margin-top:2px;font-size:12px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-row>.badge{flex:none}.progress{margin-top:7px;height:4px;border-radius:999px;background:var(--surface-muted);overflow:hidden}.progress__bar{height:100%;border-radius:999px;background:var(--accent);transition:width .25s var(--ease)}.progress--indeterminate .progress__bar{width:35%;animation:progress-sweep 1.2s var(--ease) infinite}@keyframes progress-sweep{0%{transform:translate(-100%)}to{transform:translate(300%)}}.file-row__error{margin-top:4px;font-size:12px;color:var(--danger)}.file-list__rows--busy{opacity:.65;transition:opacity .15s var(--ease)}.file-row--uploading{background:var(--bg-subtle)}.file-row--uploading .file-row__icon{background:var(--info-bg);color:var(--info)}.notice{position:relative;max-width:720px;margin:16px auto 0;padding:10px 34px 10px 12px;font-size:12.5px;line-height:1.55;border-radius:var(--radius);background:var(--surface-muted);border:1px solid var(--border);color:var(--text-secondary)}.notice--error{background:var(--danger-bg);border-color:var(--danger-border);color:var(--danger)}.notice__close{position:absolute;top:8px;right:8px;width:20px;height:20px;display:grid;place-items:center;border-radius:var(--radius-sm);color:inherit;opacity:.75}.notice__close:hover{opacity:1;background:#0f172a0f}.page-drop{position:relative;min-height:100%}.page-drop__overlay{position:fixed;inset:var(--topbar-h) 0 0 0;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:600;color:var(--text);background:#ffffffd1;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border:2px dashed var(--border-strong);border-radius:var(--radius-lg);pointer-events:none}.badge{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px;border-radius:999px;font-size:11.5px;font-weight:600;letter-spacing:.01em;white-space:nowrap;background:var(--surface-muted);color:var(--text-secondary)}.badge--success{background:var(--success-bg);color:var(--success)}.badge--warn{background:var(--warn-bg);color:var(--warn)}.badge--info{background:var(--info-bg);color:var(--info)}.badge--danger{background:var(--danger-bg);color:var(--danger)}.badge__dot{width:6px;height:6px;border-radius:999px;background:currentColor}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.card{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);text-align:left;transition:border-color .15s var(--ease),box-shadow .15s var(--ease),transform .15s var(--ease)}.card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm);transform:translateY(-1px)}.card__top{display:flex;align-items:center;gap:10px}.card__icon{flex:none;width:34px;height:34px;border-radius:var(--radius-sm);background:var(--surface-muted);color:var(--text-secondary);display:grid;place-items:center}.card__title{font-size:14px;font-weight:650;letter-spacing:-.01em;color:var(--text)}.card__desc{font-size:12.5px;line-height:1.55;color:var(--text-muted)}.card__foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:6px;font-size:12px;color:var(--text-muted)}.panel{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);overflow:hidden}.row{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--border);transition:background .14s var(--ease)}.row:last-child{border-bottom:0}.row:hover{background:var(--bg-subtle)}.row__main{display:flex;align-items:center;gap:12px;min-width:0}.row__title{font-size:13.5px;font-weight:600;color:var(--text)}.row__sub{margin-top:2px;font-size:12.5px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row__side{display:flex;align-items:center;gap:12px;color:var(--text-muted);font-size:12.5px}.steps{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}.step{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border:1px solid var(--border);border-radius:999px;font-size:11.5px;font-weight:550;color:var(--text-secondary);background:var(--bg-subtle)}.step__arrow{color:var(--text-muted)}.coming-soon{position:relative;min-height:440px}.coming-soon__preview{filter:blur(4px) saturate(.8);opacity:.7;pointer-events:none;-webkit-user-select:none;user-select:none}.coming-soon__overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;pointer-events:none;background:linear-gradient(to bottom,#ffffff80,#ffffffd1)}.coming-soon__card{max-width:400px;padding:26px 28px 24px;text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}.coming-soon__icon{width:44px;height:44px;margin:0 auto 14px;border-radius:999px;background:var(--surface-muted);color:var(--text-secondary);display:grid;place-items:center}.coming-soon__title{font-size:17px;font-weight:650;letter-spacing:-.015em;color:var(--text)}.coming-soon__text{margin-top:7px;font-size:13.5px;line-height:1.6;color:var(--text-muted)}.coming-soon__hint{margin-top:14px;padding-top:12px;border-top:1px solid var(--border);font-size:12.5px;color:var(--text-muted)}.empty{padding:44px 24px;text-align:center;border:1px dashed var(--border-dashed);border-radius:var(--radius-lg);background:var(--surface)}.empty__title{font-size:15px;font-weight:650;color:var(--text)}.empty__text{margin:6px auto 0;max-width:44ch;font-size:13px;color:var(--text-muted)}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-bottom:22px}.stat{padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.stat__label{font-size:12px;font-weight:550;color:var(--text-muted)}.stat__value{margin-top:4px;font-size:22px;font-weight:650;letter-spacing:-.02em;color:var(--text)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.auth{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:32px 20px 48px;background:var(--bg-subtle)}.auth__card{width:100%;max-width:400px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:36px 32px 28px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}.auth__mark{display:grid;place-items:center;width:44px;height:44px;margin-bottom:18px;color:var(--accent-contrast);background:var(--accent);border-radius:var(--radius)}.auth__title{font-size:19px;font-weight:600;letter-spacing:-.01em}.auth__subtitle{margin-top:6px;font-size:13.5px;color:var(--text-secondary)}.auth__body{width:100%;min-height:52px;margin:24px 0 20px;display:flex;flex-direction:column;align-items:center;gap:12px}.auth__legal{font-size:11.5px;line-height:1.6;color:var(--text-muted);max-width:280px}.auth__switch{font-size:13px;color:var(--text-secondary)}.auth__switch a{color:var(--text);font-weight:550;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--border-strong)}.auth__switch a:hover{text-decoration-color:currentColor}.auth__notice{width:100%;padding:10px 12px;font-size:12.5px;line-height:1.55;color:var(--text-secondary);background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius)}.auth__notice--error{color:#9f1239;background:#fff1f2;border-color:#fecdd3}.auth__notice code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px}.google-button{position:relative;display:grid;place-items:center;max-width:100%}.google-button__skeleton{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(90deg,transparent,rgba(15,23,42,.045),transparent) var(--surface-muted);background-size:180% 100%;animation:shimmer 1.4s var(--ease) infinite}@keyframes shimmer{0%{background-position:180% 0}to{background-position:-80% 0}}.full-loader{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:var(--bg)}.full-loader__mark{display:grid;place-items:center;width:46px;height:46px;color:var(--accent-contrast);background:var(--accent);border-radius:var(--radius)}.full-loader__bar{position:relative;width:140px;height:3px;overflow:hidden;background:var(--surface-muted);border-radius:999px}.full-loader__bar:after{content:"";position:absolute;inset:0 auto 0 0;width:45%;background:var(--border-strong);border-radius:inherit;animation:loader-sweep 1.1s var(--ease) infinite}@keyframes loader-sweep{0%{transform:translate(-100%)}to{transform:translate(320%)}}.detail{display:flex;flex-direction:column;height:calc(100vh - var(--topbar-h) - 44px);min-height:0}.detail__status{padding:48px 0;text-align:center;color:var(--text-secondary);font-size:14px}.detail__status--error{display:flex;flex-direction:column;align-items:center;gap:14px;color:var(--danger)}.detail__head{display:flex;align-items:center;gap:14px;padding-bottom:16px;border-bottom:1px solid var(--border)}.detail__title{flex:1;min-width:0}.detail__title h1{font-size:17px;font-weight:650;letter-spacing:-.01em;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.detail__title p{margin-top:2px;font-size:12.5px;color:var(--text-secondary)}.accuracy{display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;cursor:help}.accuracy__dot{width:7px;height:7px;border-radius:50%;background:currentColor}.accuracy--high{background:var(--success-bg);color:var(--success)}.accuracy--medium{background:var(--warn-bg);color:var(--warn)}.accuracy--low{background:var(--danger-bg);color:var(--danger)}.detail__body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:20px;padding-top:18px}.viewer{min-width:0;overflow-y:auto;border-radius:var(--radius-lg);background:var(--bg-subtle);border:1px solid var(--border);padding:18px}.viewer__loading,.viewer__error{padding:40px 0;text-align:center;font-size:13.5px;color:var(--text-secondary)}.viewer__error{color:var(--danger)}.viewer__pages{display:flex;flex-direction:column;gap:22px}.viewer__page{display:flex;flex-direction:column;align-items:center;gap:8px;scroll-margin:18px}.viewer__canvas-holder{position:relative;width:100%;line-height:0;border-radius:var(--radius-sm);overflow:hidden;box-shadow:var(--shadow-md);background:#fff}.viewer__canvas{display:block;width:100%;height:auto}.viewer__overlay{position:absolute;top:0;right:0;bottom:0;left:0}.viewer__page-number{font-size:11.5px;color:var(--text-muted);font-variant-numeric:tabular-nums}.highlight{position:absolute;margin:0;padding:0;border:0;border-radius:2px;background:transparent;cursor:pointer;transition:background-color .12s ease}.highlight:hover{background:color-mix(in srgb,var(--info) 18%,transparent)}.highlight--active{background:color-mix(in srgb,var(--info) 26%,transparent);outline:1.5px solid var(--info);outline-offset:1.5px}.connector{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;pointer-events:none;z-index:30}.connector path{fill:none;stroke:var(--info);stroke-width:1.5;stroke-dasharray:5 4;opacity:.75}.connector circle{fill:var(--info)}.panel{min-width:0;overflow-y:auto;display:flex;flex-direction:column;gap:14px;padding-right:4px}.panel__search{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:9px;padding:9px 13px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text-muted)}.panel__search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:13px;color:var(--text)}.panel__search input::placeholder{color:var(--text-muted)}.panel__hint{font-size:12px;line-height:1.5;color:var(--text-secondary)}.panel__count,.panel__empty{font-size:12.5px;color:var(--text-secondary)}.panel__empty{padding:24px 0;text-align:center}.panel__list{display:flex;flex-direction:column}.panel__page-break{margin:14px 0 8px;padding-top:12px;border-top:1px dashed var(--border-strong);font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted)}.entry-heading{margin:10px 0 6px;padding:0;border:0;background:transparent;text-align:left;font-size:13px;font-weight:700;letter-spacing:.01em;color:var(--text);cursor:pointer;border-radius:4px}.entry-heading--active{color:var(--info)}.field{display:flex;align-items:stretch;gap:2px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);margin-bottom:7px;transition:border-color .12s ease,box-shadow .12s ease}.field--active{border-color:var(--info);box-shadow:0 0 0 3px color-mix(in srgb,var(--info) 16%,transparent)}.field__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;padding:9px 12px;border:0;background:transparent;text-align:left;cursor:pointer}.field--flat .field__main{cursor:default}.field__label{font-size:11px;font-weight:600;letter-spacing:.02em;color:var(--text-muted)}.field__value{font-size:13.5px;line-height:1.45;color:var(--text);word-break:break-word}.field__value--plain{color:var(--text-secondary);font-size:13px}.field__copy{flex:none;width:34px;display:grid;place-items:center;border:0;border-left:1px solid var(--border);background:transparent;color:var(--text-muted);cursor:pointer;border-radius:0 var(--radius) var(--radius) 0;transition:color .12s ease,background-color .12s ease}.field__copy:hover{background:var(--bg-subtle);color:var(--text)}.table-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);overflow:hidden;margin-bottom:7px;transition:border-color .12s ease,box-shadow .12s ease}.table-card--active{border-color:var(--info);box-shadow:0 0 0 3px color-mix(in srgb,var(--info) 16%,transparent)}.table-card__head{width:100%;display:flex;align-items:center;gap:8px;padding:9px 12px;border:0;border-bottom:1px solid var(--border);background:var(--bg-subtle);font-size:12px;font-weight:600;color:var(--text-secondary);cursor:pointer}.table-card__head span{margin-left:auto;font-weight:500;color:var(--text-muted)}.table-card__scroll{overflow-x:auto}.table-card table{width:100%;border-collapse:collapse;font-size:12.5px}.table-card th,.table-card td{padding:7px 12px;text-align:left;white-space:nowrap;border-bottom:1px solid var(--border)}.table-card th{font-weight:600;color:var(--text-secondary);background:var(--surface)}.table-card td{color:var(--text)}.table-card tr:last-child td{border-bottom:0}@media (max-width: 1100px){.detail__body{grid-template-columns:minmax(0,1fr);overflow-y:auto}.viewer,.panel{overflow:visible}}
