:root{--teal:#214958;--teal-dark:#173b48;--ink:#182f37;--muted:#68777a;--sage:#dfeee6;--sage-dark:#557c6c;--paper:#f6f7f3;--line:#dce3df;--white:#fff;--amber:#b47a26;--red:#b23d38;--shadow:0 18px 60px #173b4812;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:16px;line-height:1.5;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit}a{color:var(--teal)}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6b9f89;outline-offset:3px}button:focus:not(:focus-visible){outline:0}input,select,textarea{color:var(--ink)}h1,h2,h3,p{margin:0}.min-width-zero{min-width:0}.small-note{font-size:12px;margin-top:15px}svg.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}svg.icon.lg{width:38px;height:38px;stroke-width:1.5}.btn{min-height:44px;padding:10px 17px;border:1px solid var(--line);border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--white);font-weight:600;white-space:nowrap;text-decoration:none;transition:background .15s,transform .15s}.btn:hover{background:#eef3ef}.btn.primary{background:var(--teal);color:white;border-color:var(--teal)}.btn.primary:hover{background:var(--teal-dark)}.btn.quiet{border-color:transparent;background:transparent}.btn.danger{color:var(--red);border-color:#e5c4c1}.btn.small{font-size:13px;padding:7px 11px;min-height:36px}.icon-btn{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;flex-shrink:0}.icon-btn:hover{background:#e8eee9}.icon-btn.active{background:var(--sage);color:var(--teal)}.muted{color:var(--muted)}.eyebrow{font-size:12px;font-weight:600;letter-spacing:.13em;text-transform:uppercase}.brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:23px;letter-spacing:-.8px;color:var(--teal);white-space:nowrap}.brand img{width:72px;height:34px;object-fit:contain;mix-blend-mode:multiply}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.field label{font-size:15px;font-weight:600}.input{width:100%;background:white;border:1px solid #bfcfca;border-radius:10px;padding:14px 16px;min-height:53px;transition:border-color .15s}.input:focus{border-color:var(--teal)}.input-wrap{position:relative}.input-wrap .input{padding-right:50px}.input-wrap>.icon-btn{position:absolute;right:7px;top:7px}.text-link{padding:0;color:var(--teal);text-decoration:underline;text-underline-offset:4px;font-size:14px}.error{color:var(--red);font-size:14px;margin:12px 0;min-height:0}.notice{background:#eef4ef;border:1px solid #d6e4dc;padding:14px 16px;border-radius:10px;color:#436255;font-size:14px}.initial-loading{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:20px;color:var(--muted)}.loading-mark{width:36px;height:36px;border:3px solid var(--line);border-top-color:var(--teal);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
/* A calm front door to the library. */
.auth-shell{min-height:100dvh;padding:20px;display:grid;grid-template-columns:minmax(360px,.94fr) 1.16fr;gap:30px}.auth-brand-panel{background:var(--teal);color:white;border-radius:22px;padding:48px;display:flex;flex-direction:column;min-height:calc(100dvh - 40px);overflow:hidden}.auth-brand-panel .brand{color:white;font-size:28px}.auth-brand-panel .brand img{filter:grayscale(1) invert(1) brightness(2);mix-blend-mode:screen;width:94px;height:44px}.auth-headline{margin-top:clamp(50px,10vh,115px)}.auth-headline h1{font-size:clamp(35px,3.6vw,59px);line-height:1.16;letter-spacing:-1.8px;font-weight:650}.auth-headline p{font-size:18px;color:#c3d8d0;margin-top:22px;max-width:430px;line-height:1.6}.paper-art{width:310px;height:245px;position:relative;margin:55px auto 22px}.art-page{position:absolute;width:155px;height:200px;border-radius:13px;background:#d8e9df;border:1px solid #afcfc0;padding:28px 22px;clip-path:polygon(0 0,83% 0,100% 15%,100% 100%,0 100%)}.art-page:before,.art-page:after{content:"";display:block;height:6px;border-radius:4px;background:#a0beb1;box-shadow:0 18px #a0beb1,0 36px #a0beb1,0 54px #a0beb1}.art-page:after{margin-top:73px;width:68%}.art-page.one{left:0;top:0}.art-page.two{right:0;top:25px;background:#c8ded1}.art-page.front{left:79px;top:56px;background:var(--paper);height:200px;padding-top:25px}.art-page.front:before{background:var(--teal);box-shadow:none;width:38px;height:30px;border-radius:4px;opacity:.9}.art-page.front:after{margin-top:35px;width:100%;box-shadow:0 18px #a0beb1,0 36px #a0beb1}.auth-panel-footer{margin-top:auto;padding-top:40px;color:#cbded6;font-size:13px}.auth-main{display:flex;align-items:center;justify-content:center;padding:40px 50px;position:relative}.auth-form{width:100%;max-width:440px}.auth-form .eyebrow{color:var(--teal);margin-bottom:20px}.auth-form h2{font-size:40px;line-height:1.15;font-weight:650;letter-spacing:-1.2px;margin-bottom:12px}.auth-intro{font-size:17px;color:var(--muted);margin-bottom:34px}.auth-options{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;margin:0 0 28px}.check-label{display:flex;align-items:center;gap:9px;cursor:pointer}.check-label input{accent-color:var(--teal);width:18px;height:18px;flex-shrink:0}.auth-form .submit{width:100%;min-height:55px;font-size:17px}.auth-access{border-top:1px solid var(--line);margin-top:35px;padding-top:23px;text-align:center;font-size:13px;color:var(--muted)}.auth-access p+p{margin-top:15px;display:flex;align-items:center;justify-content:center;gap:7px}.auth-access svg.icon{width:16px;height:16px}.auth-bottom{position:absolute;bottom:14px;right:22px;font-size:13px;font-weight:600;color:var(--teal)}.recovery-code{display:block;word-break:break-all;font-size:17px;line-height:1.8;padding:20px;background:#edf4ef;border-radius:12px;margin:20px 0;color:var(--teal)}
/* Library shell and navigation. */
.app-shell{min-height:100dvh;display:grid;grid-template-columns:244px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100dvh;background:white;border-right:1px solid var(--line);padding:30px 18px 17px;display:flex;flex-direction:column;overflow-y:auto;z-index:25}.sidebar .brand{padding:0 3px;margin-bottom:40px;font-size:22px;gap:0}.sidebar .brand img{width:65px}.sidebar .eyebrow{font-size:10px;color:var(--muted);padding:0 14px;margin-bottom:13px}.nav{display:flex;flex-direction:column;gap:5px}.nav-button{display:flex;align-items:center;gap:13px;min-height:46px;text-align:left;padding:10px 13px;border-radius:10px;width:100%;font-size:14px;transition:background .15s}.nav-button:hover{background:var(--paper)}.nav-button.active{background:var(--sage);color:var(--teal);font-weight:600}.nav-button .icon{width:21px;height:21px}.nav-button .count{margin-left:auto;font-size:11px;background:#edf1ec;padding:2px 7px;border-radius:5px;color:var(--muted)}.sidebar-rule{border:0;border-top:1px solid var(--line);margin:25px 12px}.collection-nav .nav-button{font-size:13px;align-items:flex-start;gap:11px;line-height:1.45}.collection-nav .icon{width:18px;height:18px;margin-top:1px}.profile{margin-top:auto;padding-top:32px}.profile-inner{border-top:1px solid var(--line);padding:20px 4px 0;display:flex;align-items:center;gap:10px}.avatar{width:38px;height:38px;border-radius:50%;background:#c9e1d4;color:var(--teal);display:grid;place-items:center;font-size:13px;font-weight:650;flex-shrink:0}.profile-name{font-size:13px;font-weight:650;max-width:116px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-role{font-size:11px;color:var(--muted)}.profile-inner .icon-btn{margin-left:auto;width:32px}.workspace{min-width:0}.topbar{height:86px;display:flex;align-items:center;gap:13px;padding:18px 35px;border-bottom:1px solid var(--line);background:#fafbf8;position:sticky;top:0;z-index:20}.search-wrap{position:relative;max-width:800px;flex:1;margin-right:auto;min-width:130px}.search-wrap>.icon{position:absolute;left:15px;top:14px;width:21px;height:21px;color:var(--muted)}.search-input{width:100%;border:1px solid #cfdad3;border-radius:11px;background:white;padding:12px 45px;min-height:48px;font-size:14px}.search-shortcut{position:absolute;right:12px;top:13px;font-size:11px;color:#82908a;border:1px solid var(--line);border-radius:4px;padding:1px 5px}.mobile-menu{display:none}.main-content{padding:27px 38px 85px;max-width:1800px;margin:auto}.breadcrumbs{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);flex-wrap:wrap;margin-bottom:23px}.breadcrumbs button{padding:3px 0;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumbs button:hover{color:var(--teal);text-decoration:underline}.breadcrumbs .icon{width:12px;height:12px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{font-size:37px;line-height:1.15;font-weight:650;letter-spacing:-1.25px;overflow-wrap:anywhere}.page-description{color:var(--muted);font-size:14px;margin-top:12px}.view-controls{display:flex;align-items:center;gap:11px;flex-shrink:0}.view-switch{display:flex;background:white;border:1px solid var(--line);border-radius:9px;padding:3px}.view-switch .icon-btn{width:33px;height:31px;border-radius:6px}.view-switch .icon{width:17px;height:17px}.sort-select{border:1px solid var(--line);border-radius:9px;padding:10px 30px 10px 12px;background:white;font-size:12px;max-width:155px;min-height:40px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 16px}.section-heading h2{font-size:21px;font-weight:650;letter-spacing:-.4px}.section-heading .muted{font-size:12px}.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.collection-card{min-height:192px;background:white;border:1px solid var(--line);border-radius:15px;position:relative;padding:24px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;transition:transform .18s,box-shadow .18s,border-color .18s}.collection-card:hover{transform:translateY(-3px);box-shadow:0 9px 23px #2149580a;border-color:#a7c4b6}.collection-card .lg{margin-bottom:18px;color:var(--sage-dark)}.collection-card .eyebrow{font-size:10px;letter-spacing:.06em;color:var(--muted);margin-bottom:6px}.collection-card h2{font-size:22px;line-height:1.2;font-weight:650;letter-spacing:-.5px}.collection-card .card-count{margin-top:8px;font-size:14px;font-weight:500}.collection-card .card-description{margin-top:8px;color:var(--muted);font-size:13px;max-width:250px}.collection-card .card-arrow{position:absolute;top:25px;right:23px;color:var(--muted);width:18px}.collection-card.teal{background:var(--teal);color:white;border-color:var(--teal)}.collection-card.teal .icon,.collection-card.teal .eyebrow,.collection-card.teal .card-description{color:#d2e3db}.collection-card.teal .card-arrow{color:#a9c7bb}.collection-card.amber .lg{color:var(--amber)}.collection-card.guide{background:#e9f2ec;border-color:#d5e3db}.badge{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:5px;background:#e3efe8;color:#4b6e5c;font-size:10px;font-weight:600}.collection-card .badge{position:absolute;right:20px;top:32px}.folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:15px}.folder-tile{position:relative;background:white;border:1px solid var(--line);border-radius:12px;padding:21px;min-height:145px;display:flex;flex-direction:column;align-items:flex-start;text-align:left}.folder-tile:hover,.file-card:hover{border-color:#a3c2b1;box-shadow:0 5px 20px #21495808}.folder-tile .icon{color:var(--sage-dark);margin-bottom:15px}.folder-tile strong{font-size:16px;font-weight:600;overflow-wrap:anywhere;padding-right:15px}.folder-tile small{font-size:12px;color:var(--muted);margin-top:5px}.tile-menu{position:absolute;right:9px;top:9px}.folder-tile .tile-menu .icon{margin:0;color:var(--muted);width:19px;height:19px}.table-shell{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:white}.file-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.file-table th{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:500;text-align:left;background:#f8faf7;padding:15px 12px;border-bottom:1px solid var(--line)}.file-table th:first-child{width:44px}.file-table th:nth-child(2){width:auto}.file-table th:nth-child(3){width:22%}.file-table th:nth-child(4){width:90px}.file-table th:nth-child(5){width:110px}.file-table th:last-child{width:86px}.file-table td{padding:13px 12px;border-bottom:1px solid #edf1ed;vertical-align:middle}.file-table tr:last-child td{border-bottom:0}.file-row{cursor:pointer}.file-row:hover{background:#f5f8f4}.file-row.selected{background:#e8f2ec}.file-row input{width:17px;height:17px;accent-color:var(--teal);cursor:pointer}.file-name-cell{display:flex;align-items:center;gap:13px;min-width:0}.file-symbol{width:34px;height:41px;border:1px solid #d3ded6;border-radius:5px;display:flex;align-items:center;justify-content:center;color:#759381;background:#f7faf6;flex-shrink:0}.file-symbol .icon{width:20px;height:20px}.file-name{font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-parent{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}.cell-collection{font-size:11px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}.file-type{font-size:10px;font-weight:600;letter-spacing:.02em;background:#edf3ed;color:#54735f;padding:4px 6px;border-radius:4px;display:inline-block;max-width:66px;text-overflow:ellipsis;overflow:hidden}.cell-size{font-size:11px;color:var(--muted);white-space:nowrap}.row-actions{display:flex;gap:0;align-items:center;justify-content:flex-end}.row-actions .icon-btn{width:31px;height:31px}.row-actions .icon{width:16px;height:16px}.starred{color:#a87931}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}.file-card{position:relative;background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;cursor:pointer;transition:box-shadow .15s}.file-card.selected{outline:2px solid #7ca48b}.file-thumbnail{height:175px;background:#edf1eb;display:flex;align-items:center;justify-content:center;color:#82a18d;overflow:hidden}.file-thumbnail>.icon{width:55px;height:55px;stroke-width:1}.file-thumbnail img{width:100%;height:100%;object-fit:contain;padding:13px}.file-card .card-meta{padding:16px}.file-card .card-meta strong{font-size:13px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.file-card .card-meta p{font-size:11px;color:var(--muted);margin-top:5px}.file-card .card-check{position:absolute;top:10px;left:10px;width:19px;height:19px;accent-color:var(--teal)}.file-card .tile-menu{top:6px;right:6px;background:#ffffffcf}.load-more{display:flex;justify-content:center;margin:22px 0}.empty-state{text-align:center;border:1px dashed #cbd9ce;border-radius:14px;padding:55px 25px;color:var(--muted);background:#f9fbf7}.empty-state .icon{width:45px;height:45px;color:#8cae98;margin-bottom:15px}.empty-state h2{font-size:19px;font-weight:600;color:var(--ink);margin-bottom:8px}.empty-state p{font-size:14px}.selection-bar{position:fixed;bottom:22px;left:calc(244px + (100vw - 244px)/2);transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:8px 12px;background:white;border:1px solid #b9cec0;border-radius:12px;box-shadow:var(--shadow);z-index:30;max-width:calc(100vw - 290px)}.selection-bar strong{font-size:12px;padding:0 13px;white-space:nowrap}.selection-bar .btn{font-size:12px;padding:9px 11px;min-height:38px}.selection-bar .icon{width:17px;height:17px}.selection-bar .danger{border-color:transparent}.selection-bar .divider{height:23px;border-left:1px solid var(--line);margin-right:5px}.drop-overlay{position:fixed;inset:12px;background:#e9f2ecf5;border:3px dashed #739b84;border-radius:20px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;z-index:100;pointer-events:none;color:var(--teal)}.drop-overlay .icon{width:58px;height:58px}.drop-overlay h2{font-size:28px}.drop-overlay p{color:var(--muted)}
/* Focused preview: opens only when a file is selected. */
.preview-backdrop{position:fixed;inset:0;background:#162f3742;z-index:40}.preview-panel{position:fixed;right:0;top:0;bottom:0;width:min(610px,94vw);background:#fdfefb;border-left:1px solid #d0dcd2;box-shadow:-15px 0 70px #122d371c;z-index:41;padding:25px;display:flex;flex-direction:column;gap:18px;overflow-y:auto}.preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.preview-header h2{font-size:20px;letter-spacing:-.5px}.preview-name{font-size:17px;font-weight:600;overflow-wrap:anywhere;margin:0 0 5px}.preview-subtitle{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.preview-stage{min-height:300px;flex:1;background:#edf1e9;border:1px solid #d9e2d8;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.preview-stage img{width:100%;height:100%;max-height:55vh;object-fit:contain;padding:15px}.preview-stage iframe{width:100%;height:58vh;border:0;min-height:370px;background:white}.preview-stage pre{width:100%;height:50vh;min-height:280px;overflow:auto;margin:0;padding:22px;font:12px/1.7 Consolas,monospace;background:#fbfcf8;white-space:pre-wrap;overflow-wrap:anywhere;align-self:flex-start}.preview-fallback{text-align:center;padding:35px;max-width:360px;color:var(--muted);font-size:13px}.preview-fallback .icon{width:55px;height:55px;margin-bottom:18px;color:#82a18d}.preview-fallback h3{font-size:18px;color:var(--ink);margin-bottom:9px}.preview-fallback .btn{margin-top:20px}.preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.preview-tools{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.preview-tools .btn{font-size:12px;min-height:36px;padding:7px 10px}.details{border-top:1px solid var(--line);padding-top:8px}.detail-row{display:flex;justify-content:space-between;gap:18px;font-size:12px;padding:9px 0}.detail-row>span:first-child{color:var(--muted);flex-shrink:0}.detail-row>span:last-child{text-align:right;overflow-wrap:anywhere;min-width:0}.preview-footer{display:flex;justify-content:space-between;gap:12px}.preview-footer .btn{font-size:12px;min-height:38px;padding:9px 11px}.locked-note{display:flex;align-items:center;gap:10px;padding:13px 17px;border:1px solid #d0ded2;background:#edf4ec;border-radius:10px;font-size:13px;margin-bottom:24px}.locked-note .btn{margin-left:auto}.trash-label{background:#fbefec;color:var(--red)}.trash-row{display:flex;align-items:center;gap:16px;background:white;border:1px solid var(--line);border-radius:12px;padding:18px 20px;margin-bottom:12px}.trash-row>.icon{color:#89a090;flex-shrink:0}.trash-info{flex:1;min-width:0}.trash-info strong{font-size:14px;overflow-wrap:anywhere}.trash-info p{font-size:11px;color:var(--muted);overflow-wrap:anywhere;margin-top:5px}.trash-info time{font-size:11px;color:var(--muted)}
/* Dialogs, edits and quiet feedback. */
dialog{border:1px solid var(--line);border-radius:17px;background:#fcfdfa;padding:0;max-width:calc(100vw - 32px);width:490px;box-shadow:0 25px 100px #102e373b;color:var(--ink)}dialog::backdrop{background:#16343d66;backdrop-filter:blur(3px)}dialog.wide{width:900px}.dialog-head{padding:22px 25px 12px;display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-head h2{font-size:22px;font-weight:650;letter-spacing:-.5px}.dialog-body{padding:5px 25px 25px;max-height:75dvh;overflow:auto}.dialog-description{color:var(--muted);font-size:14px;margin:2px 0 22px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;flex-wrap:wrap}.dialog-body .field:last-of-type{margin-bottom:0}.dialog-body code{font-family:Consolas,monospace;font-size:12px;overflow-wrap:anywhere}.folder-choices{display:flex;flex-direction:column;gap:6px;max-height:270px;overflow-y:auto;border:1px solid var(--line);border-radius:9px;padding:7px}.folder-choice{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:6px;text-align:left;min-height:40px;font-size:12px}.folder-choice:hover,.folder-choice.active{background:var(--sage)}.folder-choice .icon{width:18px;height:18px;color:var(--sage-dark)}.folder-choice span{overflow-wrap:anywhere}.editor-text{width:100%;min-height:45vh;resize:vertical;font:13px/1.7 Consolas,monospace;padding:17px;border:1px solid #cdd9ce;border-radius:10px;tab-size:2;background:#fff;color:var(--ink)}.scan-canvas-wrap{background:#e9eee7;max-height:48vh;min-height:240px;overflow:auto;display:flex;justify-content:center;padding:15px;border-radius:10px}.scan-canvas-wrap canvas{max-width:100%;height:auto;object-fit:contain}.scan-tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:15px 0}.scan-sliders{display:flex;gap:25px;flex-wrap:wrap;font-size:12px}.scan-sliders label{display:flex;align-items:center;gap:8px}.scan-sliders input{accent-color:var(--teal);width:125px}.version-row{padding:14px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px}.version-row div{flex:1}.version-row strong{font-size:13px}.version-row p{font-size:11px;color:var(--muted);margin-top:3px}.activity-row{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.activity-row>.icon{color:#739783;width:17px;height:17px;margin-top:2px}.activity-row p{overflow-wrap:anywhere}.activity-row small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.toasts{position:fixed;right:24px;bottom:24px;z-index:200;display:flex;flex-direction:column;gap:10px;max-width:calc(100vw - 48px)}.toast{display:flex;align-items:center;gap:10px;padding:14px 18px;border:1px solid #bcd2c3;border-radius:12px;background:#fff;box-shadow:var(--shadow);font-size:13px;max-width:450px;animation:toast-in .2s ease-out}.toast>.icon{color:#587c68;width:19px}.toast.error-toast{border-color:#e2b9b4}.toast.error-toast>.icon{color:var(--red)}.toast button{font-size:12px;text-decoration:underline;font-weight:600;white-space:nowrap;color:var(--teal);margin-left:8px}.toast progress{width:80px;height:7px;accent-color:var(--teal)}@keyframes toast-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.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}
@media(min-width:1600px){.main-content{padding:35px 65px 90px}.collection-card{min-height:215px;padding:29px}.collection-card h2{font-size:25px}.collection-card .card-description{font-size:14px}.topbar{padding-left:55px;padding-right:55px}.page-heading h1{font-size:42px}.file-table td{padding:16px 14px}.file-table{font-size:14px}}
@media(max-width:1180px){.app-shell{grid-template-columns:216px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.sidebar .brand{font-size:20px}.sidebar .brand img{width:57px}.main-content{padding:25px 26px 90px}.topbar{padding:18px 25px;gap:9px}.topbar .btn{font-size:12px;padding:10px 12px}.collection-card{padding:20px;min-height:193px}.collection-card h2{font-size:19px}.collection-card .card-description{font-size:12px}.collection-card .badge{top:24px;right:14px;font-size:9px}.collection-card .card-arrow{right:17px;top:23px}.page-heading h1{font-size:31px}.selection-bar{left:calc(216px + (100vw - 216px)/2);max-width:calc(100vw - 245px)}.file-table th:nth-child(3),.file-table td:nth-child(3){display:none}.file-table th:nth-child(4){width:70px}.file-table th:nth-child(5){width:80px}.auth-brand-panel{padding:35px}.auth-main{padding:35px}.auth-headline h1{font-size:43px}.auth-brand-panel .brand{font-size:25px}.auth-headline p{font-size:16px}.paper-art{transform:scale(.85);transform-origin:center}.auth-form h2{font-size:36px}}
@media(max-width:900px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading{align-items:flex-start}.view-controls{gap:7px}.view-controls .sort-select{max-width:110px}.page-description{font-size:12px}.topbar .new-folder-label{display:none}.topbar .new-folder{width:44px;padding:10px}.auth-shell{grid-template-columns:.85fr 1.15fr;padding:14px;gap:8px}.auth-brand-panel{padding:28px 25px}.auth-headline h1{font-size:36px;letter-spacing:-1px}.auth-brand-panel .brand{font-size:21px}.auth-brand-panel .brand img{width:65px}.auth-main{padding:35px 25px}.paper-art{transform:scale(.72);margin-left:-15px;transform-origin:left center}.auth-form h2{font-size:33px}}
@media(max-width:720px){.app-shell{display:block}.sidebar{position:fixed;top:0;bottom:0;left:0;width:260px;transform:translateX(-100%);transition:transform .2s;box-shadow:10px 0 50px #173b481f}.app-shell.nav-open .sidebar{transform:translateX(0)}.nav-shade{position:fixed;inset:0;background:#1b353d60;z-index:24}.mobile-menu{display:inline-flex;flex-shrink:0}.topbar{padding:12px 16px;height:76px;gap:8px}.search-input{font-size:13px;padding-left:38px;padding-right:12px;min-height:44px}.search-wrap>.icon{left:12px;top:12px;width:18px}.search-shortcut{display:none}.topbar .new-folder{display:none}.topbar .btn.primary{min-width:43px;width:43px;padding:10px}.topbar .upload-label{display:none}.topbar .refresh-top{display:none}.main-content{padding:22px 19px 100px}.breadcrumbs{font-size:11px;gap:5px;margin-bottom:18px}.breadcrumbs button{max-width:170px}.page-heading{flex-direction:column;gap:18px;margin-bottom:22px}.page-heading h1{font-size:30px}.page-description{font-size:13px;line-height:1.6}.view-controls{align-self:flex-start;width:100%;justify-content:space-between}.sort-select{font-size:12px!important;max-width:160px!important}.collection-grid{gap:12px}.collection-card{padding:18px 15px;min-height:199px;border-radius:12px}.collection-card .lg{width:32px;height:32px;margin-bottom:17px}.collection-card h2{font-size:18px}.collection-card .card-count{font-size:13px}.collection-card .card-description{font-size:11px;line-height:1.5}.collection-card .eyebrow{font-size:9px}.collection-card .card-arrow{width:15px;right:13px;top:20px}.collection-card .badge{font-size:8px;padding:3px 5px;top:23px;right:10px}.folder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.folder-tile{min-height:150px;padding:17px 14px}.folder-tile strong{font-size:13px;padding-right:4px}.folder-tile small{font-size:10px}.file-table th:nth-child(4),.file-table td:nth-child(4),.file-table th:nth-child(5),.file-table td:nth-child(5){display:none}.file-table th:first-child{width:35px}.file-table th:last-child{width:43px}.file-table th,.file-table td{padding:13px 7px}.file-name-cell{gap:9px}.file-symbol{width:26px;height:34px}.file-symbol .icon{width:16px}.file-name{font-size:12px}.file-parent{font-size:10px;max-width:210px}.file-table .row-actions>.star-action{display:none}.file-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.file-thumbnail{height:145px}.file-card .card-meta{padding:12px}.file-card .card-meta strong{font-size:12px}.file-card .card-meta p{font-size:10px}.section-heading h2{font-size:19px}.section-heading .muted{font-size:11px}.selection-bar{left:50%;bottom:12px;max-width:calc(100vw - 24px);width:max-content;padding:8px 7px;gap:0;flex-wrap:wrap;justify-content:center}.selection-bar strong{padding:0 6px;font-size:11px}.selection-bar .btn{font-size:10px;padding:8px 7px;gap:5px}.selection-bar .icon{width:15px}.selection-bar .divider{margin-right:2px}.preview-panel{width:100%;padding:20px;gap:16px;border-left:0}.preview-stage iframe{height:51vh;min-height:280px}.preview-stage img{max-height:49vh}.preview-stage{min-height:250px}.preview-tools .btn{font-size:11px}.preview-actions .btn{font-size:13px}.trash-row{padding:15px 12px;gap:11px}.trash-info strong{font-size:12px}.trash-row .btn{font-size:11px;padding:8px 10px;min-height:36px}.trash-info p{font-size:10px}.auth-shell{display:block;padding:0}.auth-brand-panel{min-height:auto;border-radius:0;padding:25px 25px 28px}.auth-brand-panel .brand{font-size:23px}.auth-brand-panel .brand img{width:75px;height:33px}.auth-headline{margin-top:30px}.auth-headline h1{font-size:31px;line-height:1.2;letter-spacing:-.8px}.auth-headline h1 br{display:none}.auth-headline p{font-size:13px;margin-top:12px}.paper-art,.auth-panel-footer{display:none}.auth-main{padding:37px 25px 65px;min-height:calc(100dvh - 235px);align-items:flex-start}.auth-form{max-width:460px}.auth-form .eyebrow{font-size:10px;margin-bottom:15px}.auth-form h2{font-size:32px}.auth-intro{font-size:14px;margin-bottom:27px}.auth-options{font-size:12px}.auth-options .text-link{font-size:12px}.auth-access{font-size:11px;margin-top:28px}.auth-access p+p{font-size:10px}.auth-bottom{font-size:11px;bottom:15px}.field label{font-size:14px}.input{min-height:52px;font-size:15px}.dialog-head{padding:19px 20px 10px}.dialog-head h2{font-size:20px}.dialog-body{padding:5px 20px 23px}.toasts{right:14px;bottom:85px;max-width:calc(100vw - 28px)}.toast{font-size:12px;padding:13px 15px}.scan-sliders{gap:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

body.has-preview{overflow:hidden}.mobile-folder{display:none}@media(max-width:720px){.view-controls .mobile-folder{display:inline-flex;font-size:12px;min-height:38px;padding:8px 10px;gap:5px}.view-controls .mobile-folder .icon{width:15px;height:15px}.view-controls .sort-select{max-width:140px!important}}

/* The supplied Rewire India artwork is the complete brand lockup. */
.brand{display:block;width:190px;height:64px;overflow:hidden;position:relative}.brand img{position:absolute;width:224px!important;max-width:none;height:auto!important;left:-16px;top:-17px;object-fit:contain}.sidebar .brand{width:190px;height:64px;margin-bottom:25px}.auth-brand-panel .brand{width:244px;height:76px}.auth-brand-panel .brand img{width:284px!important;left:-20px;top:-23px}@media(max-width:1180px){.sidebar .brand{width:178px}.sidebar .brand img{width:208px!important;left:-15px;top:-15px}}@media(max-width:720px){.auth-brand-panel .brand{width:210px;height:63px}.auth-brand-panel .brand img{width:248px!important;left:-18px;top:-21px}}
