:root{color-scheme:dark;--bg:#080808;--panel:#111;--surface:#151515;--surface-hover:#1d1d1d;--line:#292929;--line-bright:#424242;--text:#e9e9e9;--muted:#898989;--accent:#c9c9c9;--warn:#da7070;--green:#8cddb7;}*{box-sizing:border-box;}html{font-family:'VCR OSD Mono','Courier New',monospace;background:#080808;color:var(--text);scrollbar-color:#292929 #090909;}body{margin:0;min-height:100vh;font-size:11px;}body::before{position:fixed;inset:0;z-index:-1;content:'';pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0px,transparent 3px,rgba(255,255,255,.008) 4px);}button,input,select{font:inherit;}button{cursor:pointer;}button:disabled{cursor:not-allowed;opacity:.5;}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #cfcfcf;outline-offset:2px;}[hidden]{display:none!important;}a{color:inherit;text-decoration:none;}.topbar{min-height:65px;padding:13px clamp(16px,3vw,46px);border-bottom:1px solid #282828;display:flex;align-items:center;gap:20px;justify-content:space-between;background:#0d0d0d;}.brand{font-size:13px;font-weight:bold;letter-spacing:.04em;display:flex;align-items:center;gap:11px;}.brand-mark{display:grid;place-items:center;border:1px solid #646464;color:#ededed;background:#1b1b1b;width:34px;height:34px;border-radius:9px;font-size:19px;}.brand small{color:#858585;font-size:10px;font-weight:normal;}.topbar-right{display:flex;align-items:center;gap:19px;color:#a8a8a8;font-size:10px;}.chat-return{border:1px solid #3a3a3a;padding:10px 13px;border-radius:8px;}.chat-return:hover{background:#202020;}.signal{display:inline-block;width:7px;height:7px;background:#8cddb7;border-radius:50%;margin-right:5px;box-shadow:0 0 0 3px #203528;}.current-handle{color:#dedede;max-width:150px;overflow:hidden;text-overflow:ellipsis;}main{max-width:1830px;padding:32px clamp(16px,2.1vw,36px) 60px;margin:auto;}.access-screen{max-width:550px;margin:13vh auto;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;}.access-screen h1{font-size:24px;}.access-screen p{line-height:1.75;color:#999;max-width:450px;}.access-screen>a{padding:11px 16px;background:#dedede;color:#080808;border-radius:7px;margin-top:10px;}.access-screen>button{border:1px solid #505050;background:#181818;padding:12px 16px;color:#eee;border-radius:7px;}.spinner{height:22px;width:22px;border-radius:50%;border:2px solid #313131;border-top-color:#e2e2e2;animation:spin 1s linear infinite;}@keyframes spin{to{transform:rotate(360deg);}}.denied-mark{font-size:36px;color:#aaa;}.workspace-intro{display:flex;gap:20px;align-items:flex-end;justify-content:space-between;margin-bottom:28px;}.eyebrow{font-size:10px;color:#8a8a8a;letter-spacing:.14em;}.workspace-intro h1{font-size:clamp(25px,3vw,39px);margin:9px 0 7px;letter-spacing:.015em;font-weight:normal;}.underscore{color:#aaa;}.workspace-intro p{margin:0;color:#7e7e7e;font-size:10px;line-height:1.7;}.workspace-commands{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end;}.workspace-commands button,.primary-button,.muted-button,.danger-button{border:1px solid #3e3e3e;color:#dedede;background:#181818;border-radius:8px;padding:11px 14px;white-space:nowrap;line-height:1.15;}.workspace-commands button:hover,.muted-button:hover{background:#242424;border-color:#656565;}.primary-button{background:#e4e4e4!important;color:#151515!important;border-color:#e4e4e4!important;font-weight:bold;}.primary-button:hover{background:#c6c6c6!important;}.danger-button{color:#df7777!important;border-color:#653737!important;background:#221414!important;}.danger-button:hover{background:#351b1b!important;}.folder-strip{border:1px solid #222;border-radius:23px;min-height:62px;padding:10px;display:flex;align-items:center;gap:9px;background:#0c0c0c;overflow-x:auto;scrollbar-width:thin;margin-bottom:18px;}.folder-buttons{display:flex;align-items:center;gap:9px;}.folder-pill{flex:none;border:1px solid #292929;border-radius:17px;padding:10px 17px;min-height:41px;color:#dedede;background:#121212;display:flex;align-items:center;gap:9px;white-space:nowrap;max-width:260px;overflow:hidden;}.folder-pill:hover{background:#1e1e1e;}.folder-pill.active{background:#222;border-color:#333;}.folder-pill .folder-icon{font-size:16px;color:#ddd;}.folder-pill small{color:#888;font-size:9px;}.folder-pill .folder-name{overflow:hidden;text-overflow:ellipsis;}.folder-pill .folder-tools{display:flex;gap:5px;margin-left:3px;}.folder-pill .folder-tools button{background:transparent;border:0;color:#999;padding:1px 4px;border-radius:4px;}.folder-pill .folder-tools button:hover{color:#fff;background:#383838;}.folder-pill .folder-tools .remove-folder{color:#bd6666;}.add-folder{height:29px;width:29px;min-width:29px;display:grid;place-items:center;border-radius:50%;background:#484848;color:#eee;border:0;font-size:20px;}.add-folder:hover{background:#777;}.toolbar{display:flex;align-items:stretch;gap:9px;margin-bottom:21px;}.search-wrap{display:flex;align-items:center;gap:10px;background:#121212;border:1px solid #202020;border-radius:15px;color:#9a9a9a;padding:0 15px;flex:1;min-width:90px;}.search-wrap:focus-within{border-color:#575757;}.search-wrap input{min-height:43px;background:transparent;color:#ededed;border:0;outline:none;width:100%;font-size:11px;}.toolbar-actions{display:flex;gap:9px;}.move-wrap,.sort-wrap{position:relative;display:flex;align-items:center;gap:8px;border:1px solid #242424;border-radius:15px;background:#141414;color:#c5c5c5;padding-left:13px;}.move-wrap select,.sort-wrap select{appearance:auto;border:0;color:#ddd;background:transparent;padding:12px 11px 12px 0;cursor:pointer;max-width:195px;outline:none;}.move-wrap select option,.sort-wrap select option{background:#181818;}.result-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:14px;}.result-heading>div:first-child{display:flex;align-items:center;gap:12px;}.result-heading strong{font-size:11px;font-weight:normal;letter-spacing:.06em;}.result-heading small{font-size:9px;color:#787878;}.multi-actions{display:flex;align-items:center;gap:10px;}.multi-actions>span{font-size:9px;color:#aaa;}.multi-actions button{background:transparent;color:#aaa;border:0;font-size:9px;text-decoration:underline;}.file-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px;}.file-card{min-width:0;background:#111;border:1px solid #222;border-radius:13px;overflow:hidden;transition:background .15s,border-color .15s;position:relative;}.file-card:hover{border-color:#505050;background:#171717;}.file-card.selected{border-color:#d0d0d0;}.file-thumb{border:0;display:flex;align-items:center;justify-content:center;background:#17171a;width:100%;aspect-ratio:1.95/1;overflow:hidden;position:relative;padding:0;}.file-thumb img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .15s;}.file-card:hover .file-thumb img{transform:scale(1.025);}.file-thumb::after{content:'';position:absolute;inset:0;border-bottom:1px solid #222;pointer-events:none;}.thumb-fallback{color:#61616c;font-size:43px;}.file-body{padding:10px 12px 13px;min-height:70px;}.file-name-row{display:flex;align-items:center;gap:6px;}.file-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:bold;flex:1;}.file-date{margin-top:6px;color:#9294a1;font-size:9px;}.file-tools{position:absolute;top:7px;right:7px;display:flex;align-items:center;gap:5px;}.file-tools button{border:1px solid #272727;background:rgba(15,15,15,.88);color:#dedede;width:27px;height:27px;border-radius:8px;font-size:14px;display:grid;place-items:center;backdrop-filter:blur(8px);}.file-tools button:hover{background:#303030;}.file-tools .delete-file{color:#ee8383;}.file-size{font-size:8px;color:#eee;background:#111c;padding:6px 7px;border-radius:6px;white-space:nowrap;}.select-file{position:absolute;top:9px;left:9px;z-index:2;width:18px;height:18px;accent-color:#d4d4d4;cursor:pointer;}.file-thumb.with-select{outline-offset:-2px;}.empty-files{min-height:260px;border:1px dashed #373737;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;gap:11px;color:#aaa;}.empty-files>span{font-size:44px;color:#616161;}.empty-files strong{font-size:14px;color:#dedede;font-weight:normal;}.empty-files p{font-size:10px;line-height:1.7;color:#848484;}.pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin:34px 0 15px;}.pagination button{background:#151515;color:#d9d9d9;border:1px solid #242424;border-radius:8px;min-height:33px;min-width:33px;padding:7px 11px;}.pagination button.active{border-color:#686868;background:#252525;}.footnote{display:flex;justify-content:space-between;color:#676767;font-size:9px;gap:15px;border-top:1px solid #262626;margin-top:44px;padding-top:18px;}.toast{position:fixed;right:20px;bottom:20px;background:#e6e6e6;color:#111;padding:13px 18px;border-radius:9px;box-shadow:0 10px 50px #0009;z-index:200;font-size:11px;max-width:380px;}.toast.error{background:#541e1e;color:#ffd6d6;border:1px solid #854040;}.modal-shade{position:fixed;inset:0;z-index:100;background:#000c;display:flex;align-items:center;justify-content:center;padding:15px;overflow:auto;}.modal{width:min(100%,720px);max-height:92dvh;overflow:auto;background:#0d0d0d;border:1px solid #454545;border-radius:12px;box-shadow:0 25px 90px #000;}.modal-head{padding:17px 21px;border-bottom:1px solid #333;display:flex;align-items:center;justify-content:space-between;}.modal-head small{font-size:9px;color:#999;letter-spacing:.08em;}.modal-head h2{font-size:18px;margin:8px 0 0;font-weight:normal;}.close-modal{background:#191919;border:1px solid #484848;color:#eee;border-radius:7px;width:32px;height:32px;font-size:22px;}.modal-body{padding:21px;}.modal-help,.fineprint{font-size:10px;line-height:1.8;color:#969696;}.modal-body h3{font-size:12px;font-weight:normal;margin:24px 0 13px;border-bottom:1px solid #2a2a2a;padding-bottom:13px;}.key-create{margin:17px 0;display:flex;flex-direction:column;gap:10px;}.key-create>label{font-size:10px;color:#a5a5a5;}.key-create>div{display:flex;gap:8px;align-items:stretch;}.key-create input{flex:1;min-width:0;min-height:42px;padding:11px 12px;border:1px solid #454545;background:#141414;color:#eee;border-radius:7px;}.key-create>div button{max-width:50%;}.at-prefix{padding:14px 0 0;color:#aaa;}.new-key-block{margin:14px 0;border:1px solid #595959;background:#1e1e1e;padding:15px;border-radius:8px;}.new-key-block strong{font-size:11px;}.new-key-block p{font-size:9px;line-height:1.7;color:#aaa;}.settings-list{display:flex;flex-direction:column;gap:9px;}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid #303030;background:#131313;border-radius:7px;}.settings-row strong{display:block;font-size:11px;font-weight:normal;}.settings-row small{display:block;margin-top:6px;color:#8e8e8e;font-size:9px;}.settings-row button{border:1px solid #683636;background:#251515;color:#e5abab;border-radius:6px;padding:9px 12px;font-size:10px;}.settings-row button:hover{background:#381e1e;}.settings-empty{padding:18px;color:#7c7c7c;text-align:center;font-size:10px;border:1px dashed #333;border-radius:8px;}.modal-feedback{margin:0;padding:0 20px 17px;min-height:15px;font-size:10px;color:#94c9a9;line-height:1.5;}.modal-feedback.error{color:#ec9b9b;}.preview-image-wrap{max-height:60dvh;display:flex;justify-content:center;background:#070707;border:1px solid #333;overflow:auto;border-radius:8px;}.preview-image-wrap img{display:block;max-height:55dvh;max-width:100%;object-fit:contain;}.preview-meta{display:flex;flex-direction:column;gap:7px;padding:14px 0;}.preview-meta strong{overflow-wrap:anywhere;}.preview-meta small{color:#929292;}.preview-actions{display:flex;gap:9px;flex-wrap:wrap;}.drop-shade{position:fixed;inset:0;background:#050505e8;z-index:90;display:grid;place-items:center;pointer-events:none;}.drop-target{width:min(740px,90%);padding:90px 20px;border:2px dashed #888;border-radius:20px;text-align:center;background:#181818;color:#eee;font-size:22px;line-height:1.8;}.drop-target small{font-size:11px;color:#aaa;}@media (max-width:1420px){.file-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}@media (max-width:1080px){.file-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.topbar-status{display:none;}}@media (max-width:720px){.topbar{padding:10px 13px;}.brand{font-size:11px;}.brand small{font-size:8px;}.topbar-right{gap:8px;}.current-handle{display:none;}.chat-return{padding:9px;font-size:9px;}.workspace-intro{align-items:flex-start;flex-direction:column;margin-bottom:18px;}.workspace-commands{justify-content:flex-start;}.file-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.toolbar{flex-direction:column;}.toolbar-actions{justify-content:space-between;}.move-wrap,.sort-wrap{flex:1;}.move-wrap select,.sort-wrap select{width:100%;max-width:none;}.folder-strip{margin-bottom:14px;border-radius:15px;}.file-thumb{aspect-ratio:1.35/1;}.file-body{padding:8px;min-height:63px;}.file-name{font-size:10px;}.file-date{font-size:8px;}.file-tools button{width:24px;height:24px;}.result-heading small{font-size:8px;}.footnote{flex-direction:column;}.modal-body{padding:15px;}}@media (max-width:390px){.file-grid{gap:8px;}.file-tools{gap:3px;}.file-tools button{width:23px;height:23px;}.file-size{font-size:7px;padding:4px;}.result-heading strong{font-size:10px;}.workspace-commands{gap:6px;}.workspace-commands button{font-size:9px;padding:9px;}.key-create>div{flex-wrap:wrap;}.key-create>div button{max-width:100%;}.file-date{font-size:7px;}}.folder-open{display:flex;align-items:center;gap:9px;color:inherit;background:transparent;border:0;padding:0;min-width:0;max-width:175px;text-align:left;cursor:pointer;}.folder-open:hover{color:#fff;}.folder-open:focus-visible{outline:2px solid #aaa;outline-offset:3px;}
