:root{--font-sans:"Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;--font-serif:Iowan Old Style, Baskerville, "Times New Roman", Georgia, serif;--ink:#17251f;--muted:#6f7c75;--line:#dfe5e1;--paper:#f7f8f6;--surface:#fff;--forest:#174f3b;--forest-dark:#103d2d;--lime:#cfe85f;--danger:#b43b39}*{box-sizing:border-box}html{background:var(--paper)}body{color:var(--ink);background:var(--paper);font-family:var(--font-sans), Arial, sans-serif;-webkit-font-smoothing:antialiased;margin:0;font-size:16px}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.eyebrow{color:var(--forest);letter-spacing:.15em;text-transform:uppercase;margin-bottom:12px;font-size:.72rem;font-weight:800;display:block}.brand{letter-spacing:-.03em;align-items:center;gap:10px;font-size:1.2rem;font-weight:800;display:inline-flex}.brand svg{width:31px;height:31px;color:var(--forest)}.brand-light{color:#fff}.brand-light svg{color:var(--lime)}.primary-button,.secondary-button{border:0;border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:48px;padding:0 20px;font-weight:750;transition:transform .18s,background .18s,box-shadow .18s;display:inline-flex}.primary-button{color:#fff;background:var(--forest);box-shadow:0 6px 18px #174f3b26}.primary-button:hover:not(:disabled){background:var(--forest-dark);transform:translateY(-1px);box-shadow:0 8px 22px #174f3b38}.primary-button:disabled{opacity:.62;cursor:wait}.secondary-button{color:var(--forest);background:#edf3ef}.secondary-button:hover{background:#e2ebe5}.spinner{border:2px solid #ffffff59;border-top-color:currentColor;border-radius:999px;width:18px;height:18px;animation:.8s linear infinite spin;display:inline-block}.spinner-dark{color:var(--forest);border-color:currentColor #174f3b2e #174f3b2e}@keyframes spin{to{transform:rotate(360deg)}}.login-shell{background:var(--surface);grid-template-columns:minmax(420px,46%) 1fr;min-height:100vh;display:grid}.login-story{color:#fff;background:var(--forest-dark);flex-direction:column;justify-content:space-between;min-height:100vh;padding:48px clamp(42px,6vw,88px);display:flex;position:relative;overflow:hidden}.login-story:before{content:"";border:1px solid #cfe85f38;border-radius:50%;width:490px;height:490px;position:absolute;top:20%;right:-240px;box-shadow:0 0 0 75px #cfe85f09,0 0 0 150px #cfe85f06}.login-story:after{content:"";background-image:radial-gradient(#cfe85f57 1.2px,#0000 1.2px);background-size:14px 14px;width:110px;height:110px;position:absolute;bottom:15%;right:15%}.login-story>*{z-index:1;position:relative}.eyebrow-light{color:var(--lime)}.story-copy{max-width:590px;margin:80px 0}.story-copy h1{font-family:var(--font-serif), Georgia, serif;letter-spacing:-.055em;margin:0;font-size:clamp(3.1rem,5.2vw,5.9rem);font-weight:450;line-height:.98}.story-copy h1 em{color:var(--lime);font-weight:400}.story-copy p{color:#ffffffab;max-width:520px;margin:28px 0 0;font-size:1.08rem;line-height:1.75}.security-note{color:#ffffff9e;align-items:center;gap:14px;font-size:.78rem;line-height:1.4;display:flex}.security-note>svg{width:30px;height:30px;color:var(--lime)}.security-note span{display:grid}.security-note strong{color:#fff;font-size:.83rem}.login-panel{background:#fbfcfa;place-items:center;padding:48px;display:grid}.login-card{width:min(100%,440px)}.mobile-brand{display:none}.login-card h2{font-family:var(--font-serif), Georgia, serif;letter-spacing:-.045em;margin:0;font-size:3.2rem;font-weight:470}.login-intro{color:var(--muted);margin:8px 0 36px;line-height:1.6}.login-card label{margin-bottom:9px;font-size:.86rem;font-weight:750;display:block}.token-field{background:#fff;border:1px solid #ccd4cf;border-radius:10px;align-items:center;height:54px;transition:border .15s,box-shadow .15s;display:flex}.token-field:focus-within{border-color:var(--forest);box-shadow:0 0 0 3px #174f3b1a}.token-field.field-error{border-color:var(--danger)}.token-field input{width:100%;min-width:0;height:100%;color:var(--ink);background:0 0;border:0;outline:0;padding:0 0 0 16px}.token-field input::placeholder{color:#a2aaa5}.icon-button{width:48px;height:100%;color:var(--muted);background:0 0;border:0;flex:none;place-items:center;display:grid}.form-message{min-height:36px;color:var(--muted);padding-top:8px;font-size:.76rem}.field-error+.form-message{color:var(--danger)}.login-button{width:100%;margin-top:8px}.privacy-copy{color:#89948e;justify-content:center;align-items:center;gap:7px;margin:24px 0 0;font-size:.75rem;display:flex}.privacy-copy svg{width:15px;height:15px}.app-shell{flex-direction:column;min-height:100vh;display:flex}.app-header{border-bottom:1px solid var(--line);background:#fffffff0;height:78px}.header-inner{justify-content:space-between;align-items:center;width:min(1160px,100% - 48px);height:100%;margin:0 auto;display:flex}.header-actions{align-items:center;gap:24px;display:flex}.secure-badge{color:var(--forest);background:#edf4ef;border-radius:999px;align-items:center;gap:7px;padding:7px 11px;font-size:.76rem;font-weight:720;display:inline-flex}.secure-badge svg{width:16px;height:16px}.text-button{color:var(--muted);background:0 0;border:0;align-items:center;gap:7px;padding:8px;font-size:.84rem;font-weight:700;display:inline-flex}.text-button:hover{color:var(--ink)}.text-button svg{width:18px;height:18px}.workspace{flex:1;width:min(1160px,100% - 48px);margin:0 auto;padding:72px 0 80px}.welcome-row{justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:38px;display:flex}.welcome-row h1{font-family:var(--font-serif), Georgia, serif;letter-spacing:-.05em;margin:0;font-size:clamp(2.8rem,5vw,4.7rem);font-weight:470;line-height:1}.welcome-row h1 em{color:var(--forest);font-weight:420}.welcome-row p{color:var(--muted);margin:14px 0 0}.desktop-upload{margin-bottom:3px}.drop-zone{cursor:pointer;background:#fff;border:1px dashed #aebcb4;border-radius:15px;grid-template-columns:auto auto 1fr;align-items:center;gap:20px;min-height:200px;padding:30px;transition:border .18s,background .18s,transform .18s;display:grid}.drop-zone:hover,.drop-zone.is-dragging{border-color:var(--forest);background:#f4f8f5;transform:translateY(-1px)}.upload-symbol{width:58px;height:58px;color:var(--forest);background:#e7f0ea;border-radius:13px;place-items:center;display:grid}.upload-symbol svg{width:26px;height:26px}.drop-zone>div:nth-child(3){gap:5px;display:grid}.drop-zone strong{font-size:.98rem}.drop-zone span{color:var(--muted);font-size:.86rem}.drop-zone u{color:var(--forest);text-underline-offset:3px;font-weight:700}.drop-zone small{color:#8b9690;justify-self:end;font-size:.72rem}.library-section{margin-top:60px}.library-toolbar{justify-content:space-between;align-items:end;gap:24px;margin-bottom:18px;display:flex}.library-title{align-items:baseline;gap:12px;display:flex}.library-title h2{font-family:var(--font-serif), Georgia, serif;letter-spacing:-.035em;margin:0;font-size:2rem;font-weight:540}.library-title>span{color:var(--muted);font-size:.76rem}.search-box{border:1px solid var(--line);background:#fff;border-radius:9px;align-items:center;gap:8px;width:min(280px,40vw);height:42px;padding:0 12px;display:flex}.search-box:focus-within{border-color:#9caaa2;box-shadow:0 0 0 3px #174f3b12}.search-box svg{color:#7f8a84;width:17px}.search-box input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;font-size:.82rem}.file-list{border:1px solid var(--line);background:#fff;border-radius:13px;min-height:110px;overflow:hidden}.file-row{border-bottom:1px solid #edf0ee;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;min-height:88px;padding:15px 18px;transition:background .15s;display:grid}.file-row:last-child{border-bottom:0}.file-row:hover{background:#fafbf9}.file-icon{border-radius:8px;place-items:center;width:46px;height:52px;display:grid;position:relative}.file-icon svg{width:25px;height:25px}.file-icon span{letter-spacing:.04em;font-size:.48rem;font-weight:900;position:absolute;bottom:4px}.file-icon.red{color:#9e403e;background:#fae9e8}.file-icon.violet{color:#684b91;background:#f0eafa}.file-icon.green{color:#27704f;background:#e4f2ea}.file-icon.blue{color:#376a91;background:#e7f0f7}.file-icon.amber{color:#8a6224;background:#f7efdd}.file-icon.slate{color:#596963;background:#e9edeb}.file-details{gap:8px;min-width:0;display:grid}.file-details strong{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;overflow:hidden}.file-details>span{color:var(--muted);align-items:center;gap:8px;font-size:.7rem;display:flex}.file-details i{background:#abb4af;border-radius:50%;width:3px;height:3px}.download-button{min-height:38px;color:var(--forest);background:#fff;border:1px solid #d4ddd7;border-radius:8px;align-items:center;gap:7px;padding:0 12px;font-size:.76rem;font-weight:750;transition:border .15s,background .15s;display:inline-flex}.download-button:hover{background:#f0f5f1;border-color:#9eb1a5}.download-button svg{width:17px;height:17px}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:290px;padding:48px 24px;display:flex}.empty-icon{color:#7c8c84;background:#edf1ef;border-radius:15px;place-items:center;width:58px;height:58px;display:grid}.empty-icon svg{width:27px;height:27px}.empty-state h3{font-family:var(--font-serif), Georgia, serif;margin:16px 0 5px;font-size:1.5rem;font-weight:550}.empty-state p{color:var(--muted);margin:0 0 20px;font-size:.84rem}.toast{z-index:10;color:#fff;border-radius:11px;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;width:min(380px,100vw - 32px);min-height:60px;padding:12px 14px;animation:.25s ease-out toast-in;display:grid;position:fixed;bottom:28px;right:28px;box-shadow:0 16px 44px #0003}.toast.success{background:#174f3b}.toast.error{background:#8f3433}.toast>span{background:#ffffff21;border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.toast>span svg{width:17px}.toast p{margin:0;font-size:.82rem;font-weight:650}.toast>button{color:#ffffffb3;background:0 0;border:0;place-items:center;display:grid}.toast>button svg{width:17px}@keyframes toast-in{0%{opacity:0;transform:translateY(12px)}}footer{border-top:1px solid var(--line);width:min(1160px,100% - 48px);min-height:80px;color:var(--muted);justify-content:space-between;align-items:center;margin:0 auto;font-size:.7rem;display:flex}footer>span{color:var(--ink);align-items:center;gap:7px;font-size:.8rem;font-weight:800;display:flex}footer svg{width:20px;color:var(--forest)}footer p{margin:0}@media (max-width:820px){.login-shell{background:#fbfcfa;display:block}.login-story{display:none}.login-panel{min-height:100vh;padding:28px 24px}.mobile-brand{align-items:center;gap:9px;margin-bottom:70px;font-weight:800;display:flex}.mobile-brand svg{width:30px;color:var(--forest)}.header-inner,.workspace,footer{width:min(100% - 32px,1160px)}.workspace{padding-top:48px}.welcome-row{align-items:start}.desktop-upload{display:none}.drop-zone{grid-template-columns:auto 1fr;min-height:170px}.drop-zone small{display:none}}@media (max-width:560px){.app-header{height:68px}.secure-badge{display:none}.welcome-row h1{font-size:2.85rem}.welcome-row p{font-size:.88rem;line-height:1.6}.drop-zone{text-align:center;grid-template-columns:1fr;justify-items:center;padding:26px 18px}.library-section{margin-top:44px}.library-toolbar{flex-direction:column;align-items:stretch}.library-title{justify-content:space-between}.search-box{width:100%}.file-row{gap:12px;padding:13px}.download-button{justify-content:center;width:38px;padding:0}.download-button span{display:none}.file-icon{width:40px;height:46px}.file-details>span{gap:5px;font-size:.62rem}footer{justify-content:center}footer p{display:none}.toast{bottom:16px;right:16px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
