@charset "UTF-8";
:root{--bg:#f6f4f8;--surface:#fff;--ink:#2f2537;--muted:#7f728b;--line:#e4dfe8;--green:#3a244e;--lime:#dccaec;--sage:#eae4f0;--blue:#e8eff8;--peach:#faede3;--violet:#eeebf8;--danger:#a53e36;--radius:18px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8a65ab;outline-offset:3px}button{color:inherit}svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.hidden,[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;padding:12px;background:white}.skip-link:focus{top:10px}.loading{display:grid;place-content:center;justify-items:center;height:100vh;color:var(--muted)}
.layout{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:35px 24px 22px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:30px}.brand{display:flex;align-items:center;gap:10px;letter-spacing:-.6px;font-size:21px;font-weight:720}.brand span:last-child{font-weight:400}.brand-mark{background:var(--green);color:var(--lime);height:36px;width:36px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;font-size:29px;font-weight:400;letter-spacing:0}.brand-mark svg{width:24px;height:24px}.sidebar .section-label{margin:0 0 10px 12px}.section-label,.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase;color:var(--muted)}.nav{display:grid;gap:6px}.nav a{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:9px;color:#7a6d86;font-size:13px}.nav a:hover{background:var(--bg)}.nav a.active{color:var(--green);background:#ede7f2;font-weight:650}.nav .count{margin-left:auto;font-size:11px;color:#726182}.side-spaces{display:grid;gap:4px}.side-spaces a{display:flex;gap:11px;align-items:center;padding:9px 13px;border-radius:9px;font-size:12px}.side-spaces a:hover{background:var(--bg)}.dot{height:8px;width:8px;border-radius:3px;background:#9584a5;flex-shrink:0}.dot.blue{background:#8faaca}.dot.peach{background:#d2a383}.dot.violet{background:#b0a3c9}.sidebar-bottom{margin-top:auto}.private-note{background:#f5f2f8;padding:16px;border:1px solid var(--line);border-radius:12px;font-size:11px;color:var(--muted)}.private-note strong{color:var(--ink);display:block;margin:6px 0 4px}.private-note svg{width:18px}.account{display:flex;align-items:center;gap:10px;padding-top:20px}.avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#eee9df;color:#71634f;font-size:12px;font-weight:650}.account .name{font-size:12px;font-weight:600}.account small{display:block;font-size:10px;color:var(--muted)}.account .icon-btn{margin-left:auto}
.workspace{min-width:0}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 46px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.55);gap:20px}.topbar small{color:var(--muted);font-size:12px}.topbar strong{font-size:13px;font-weight:550}.topbar .secure{display:flex;gap:7px;align-items:center;font-size:11px;color:#80728c}.secure svg{width:15px;height:15px}.top-actions{display:flex;gap:18px;align-items:center}.main{max-width:1500px;margin:0 auto;padding:40px 46px 54px}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.page-heading h1{font-size:32px;line-height:1.2;font-weight:620;letter-spacing:-1.2px;margin:5px 0 10px}.page-heading p{color:var(--muted);font-size:13px;margin:0}.btn{border:1px solid var(--line);background:white;border-radius:9px;display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:12px;font-weight:600;min-height:41px;white-space:nowrap}.btn:hover{background:#eee9f3}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.primary:hover{background:#493060}.btn.soft{background:var(--sage);border-color:transparent}.btn.danger{color:var(--danger);background:#fff4f2;border-color:#efd4cf}.btn.small{padding:6px 10px;min-height:32px;font-size:11px}.btn svg{width:16px;height:16px}.icon-btn{border:0;background:transparent;padding:7px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px}.icon-btn:hover{background:#e8e3ed}.icon-btn svg{width:18px;height:18px}.button-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.intro-banner{position:relative;display:grid;grid-template-columns:1fr 260px;overflow:hidden;background:#e8dff0;border:1px solid #ded4e7;border-radius:var(--radius);padding:31px 34px;margin-bottom:27px;min-height:200px}.intro-banner h2{font-size:26px;line-height:1.25;letter-spacing:-.8px;font-weight:580;max-width:400px;margin:10px 0}.intro-banner p{font-size:12px;color:#6f637a;max-width:450px;margin:0 0 17px}.banner-label{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:600;letter-spacing:.7px;color:#675478}.banner-label svg{height:13px;width:13px}.banner-art{position:relative;display:grid;place-items:center;min-height:170px}.orbit{position:absolute;height:230px;width:230px;border:1px solid #d7cae2;border-radius:50%}.orbit:after{content:"";position:absolute;inset:28px;border-radius:50%;border:1px solid #d7cae2}.folder-art{position:relative;background:#9170ae;width:125px;height:91px;border-radius:8px 12px 12px 12px;transform:rotate(-9deg);box-shadow:9px 16px 22px #5f3e7c20;z-index:2}.folder-art:before{content:"";position:absolute;left:0;top:-13px;width:52px;height:20px;background:#9170ae;border-radius:7px 12px 0 0}.folder-art:after{content:"";position:absolute;inset:13px -6px -6px 6px;background:#b799d1;border-radius:8px;transform:skewX(-6deg)}.art-doc{position:absolute;width:52px;height:67px;background:#fffdf5;border-radius:6px;box-shadow:0 7px 15px #61477820;z-index:3;display:grid;place-items:center;color:#82669a;right:40px;top:14px;transform:rotate(12deg)}.art-doc svg{height:26px;width:26px}.art-shield{position:absolute;z-index:4;right:48px;bottom:10px;background:var(--green);color:#e6d9f2;border:5px solid #e8dff0;border-radius:50%;width:47px;height:47px;display:grid;place-items:center}.art-dot{position:absolute;background:#cab8da;width:7px;height:7px;border-radius:50%;left:32px;top:44px}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:32px}.stat{border:1px solid var(--line);border-radius:13px;background:#fff;padding:19px 22px;display:flex;align-items:center;gap:17px}.stat-icon{border:1px solid var(--line);background:#f5f2f8;border-radius:11px;padding:11px;display:flex}.stat strong{font-size:23px;font-weight:580;line-height:1.1;letter-spacing:-.7px}.stat p{color:var(--muted);font-size:11px;margin:5px 0 0}.stat .detail{font-size:12px;font-weight:400;color:var(--muted);letter-spacing:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0 16px}.section-head h2{font-size:17px;font-weight:620;margin:0;letter-spacing:-.3px}.section-head p{font-size:11px;color:var(--muted);margin:4px 0 0}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:white;border-radius:8px;padding:8px 12px}.search svg{width:15px;height:15px;color:#9c91a5}.search input{border:0!important;background:transparent!important;padding:0!important;width:160px;font-size:11px!important;outline:0}.space-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.space-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;transition:transform .15s,box-shadow .15s;display:block;min-width:0}.space-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #33273e10}.space-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.space-symbol{width:45px;height:45px;display:grid;place-items:center;background:var(--sage);border-radius:12px;color:#705a83}.space-symbol.blue{background:var(--blue);color:#708dad}.space-symbol.peach{background:var(--peach);color:#b08a70}.space-symbol.violet{background:var(--violet);color:#9888b1}.space-symbol svg{width:23px;height:23px}.space-card h3{font-size:16px;font-weight:620;letter-spacing:-.3px;margin:0 0 5px}.space-card p{font-size:11px;color:var(--muted);margin:0 0 24px;min-height:33px;overflow-wrap:anywhere}.space-card footer{border-top:1px solid var(--line);padding-top:14px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#7a6d86}.space-card .meta{font-size:10px;color:#8f8399}.empty-card{border:1px dashed #d7cddf;background:#efe9f4;border-radius:14px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:10px;min-height:238px;padding:24px;color:#786a84}.empty-card strong{color:var(--ink);font-weight:550}.empty-card p{font-size:11px;margin:0;max-width:230px}.empty-card .round-plus{border:1px solid #d4c7df;display:grid;place-items:center;border-radius:50%;width:38px;height:38px;background:#f9f6fc}
.lower-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:20px;margin-top:26px}.panel{border:1px solid var(--line);background:white;border-radius:14px;padding:22px}.panel h2{font-size:15px;margin:0 0 8px;font-weight:600}.panel p{color:var(--muted);font-size:12px}.hint-list{display:grid;gap:15px;margin-top:20px}.hint{display:flex;gap:12px;align-items:flex-start}.hint .number{background:#efe9f4;color:#7e6892;font-size:11px;width:24px;height:24px;border-radius:7px;display:grid;place-items:center;flex-shrink:0}.hint strong{font-size:12px;font-weight:550;display:block}.hint p{font-size:11px;margin:3px 0 0}.storage-number{font-size:25px;letter-spacing:-.8px;margin-top:20px}.storage-number small{font-size:11px;color:var(--muted);letter-spacing:0}.storage-caption{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:10px}progress,meter{width:100%;height:6px;appearance:none;border:0;border-radius:6px;overflow:hidden;background:#ece7f0}progress::-webkit-progress-bar{background:#ece7f0;border-radius:6px}progress::-webkit-progress-value{background:#8b6ea4;border-radius:6px}progress::-moz-progress-bar{background:#8b6ea4;border-radius:6px}meter::-webkit-meter-bar{border:0;background:#ece7f0;height:6px}meter::-webkit-meter-optimum-value{background:#8b6ea4}.fine-footer{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#9a8fa3;margin-top:36px}.fine-footer span{display:flex;align-items:center;gap:6px}.fine-footer svg{width:12px;height:12px}
.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--muted);font-size:11px;margin-bottom:15px}.breadcrumb button{background:transparent;border:0;padding:0;color:var(--muted);font:inherit}.breadcrumb button:hover{color:var(--green)}.breadcrumb svg{width:12px;height:12px}.dropzone{border:1.5px dashed #c8bad4;background:#eee8f4;border-radius:14px;padding:24px;display:flex;align-items:center;gap:18px;margin-bottom:22px}.dropzone.dragover{background:#decfec;border-color:var(--green)}.drop-icon{height:46px;width:46px;background:#decfec;display:grid;place-items:center;border-radius:12px;color:#7b5f94}.dropzone strong{font-size:13px;font-weight:600}.dropzone p{font-size:11px;color:var(--muted);margin:3px 0}.dropzone .btn{margin-left:auto;background:white}.folder-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.folder{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid var(--line);border-radius:10px;background:white;text-align:left}.folder svg{color:#8a71a0;width:24px;height:24px}.folder strong{display:block;font-size:12px;font-weight:550;overflow-wrap:anywhere}.folder small{color:var(--muted);font-size:10px}.file-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.file-card{position:relative;background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.file-card.selected{border-color:#735191;box-shadow:0 0 0 1px #735191}.file-visual{height:180px;background:#ece7f0;display:grid;place-items:center;width:100%;border:0;color:#9382a2;cursor:pointer;padding:8px}.file-visual img{height:100%;width:100%;object-fit:contain}.file-visual svg{width:37px;height:37px}.file-visual.document{background:#eef0f4;color:#96a1b3}.file-select{position:absolute;left:10px;top:10px;z-index:2;width:18px;height:18px;accent-color:var(--green)}.file-info{padding:13px;background:#fff}.file-name{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 5px;font-weight:600}.file-info footer{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted)}.file-info .icon-btn{min-height:25px;min-width:25px;padding:4px}.file-info .icon-btn svg{width:14px;height:14px}.file-grid.list-view{grid-template-columns:1fr}.list-view .file-card{display:flex;align-items:center;padding-left:40px}.list-view .file-visual{height:50px;width:65px;flex-shrink:0;padding:3px}.list-view .file-visual svg{height:25px}.list-view .file-select{top:25px}.list-view .file-info{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px}.list-view .file-name{margin:0}.list-view .file-info footer{gap:18px}.empty-state{padding:55px 24px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:14px;color:var(--muted)}.empty-state svg{width:32px;height:32px;color:#9c88ae;margin-bottom:8px}.empty-state h3{font-size:16px;color:var(--ink);margin:5px 0 8px}.empty-state p{font-size:12px;max-width:400px;margin:0 auto}.selection-bar{background:#e5dbee;padding:10px 14px;border-radius:9px;display:flex;align-items:center;gap:12px;font-size:12px;margin-bottom:14px}.selection-bar .btn{margin-left:auto}.view-switch{display:flex;border:1px solid var(--line);border-radius:8px;background:white}.view-switch .active{background:var(--sage)}.queue{margin-bottom:22px;display:grid;gap:8px}.upload-job{background:white;border:1px solid var(--line);padding:13px 16px;border-radius:10px;display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:center}.upload-job>svg{color:#826b96}.job-name{font-size:11px;font-weight:600;overflow-wrap:anywhere}.job-status{font-size:10px;color:var(--muted);margin-top:2px}.upload-job progress{margin-top:6px;height:4px}.upload-job.error{border-color:#ddb7af}.upload-job.error .job-status{color:var(--danger)}.pagination{display:flex;justify-content:center;gap:16px;align-items:center;margin-top:24px;font-size:12px}.notice{padding:13px 17px;background:#fff5df;border:1px solid #ecddbd;border-radius:10px;font-size:12px;color:#836d35;margin-bottom:20px}.notice.success{background:var(--sage);border-color:#d4c7df;color:#634e75}
.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:13px}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;font-size:10px;color:var(--muted);font-weight:600;background:#f9f7fb;padding:13px 18px;border-bottom:1px solid var(--line)}td{padding:16px 18px;border-bottom:1px solid #ece8f0}tr:last-child td{border-bottom:0}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#746383;background:#ece6f2;border:1px solid #dcd2e5;padding:4px 8px;border-radius:20px}.badge.inactive{color:#948879;background:#f4f0e9;border-color:#e7dfd3}.badge svg{width:12px;height:12px}.muted{color:var(--muted)}.subline{font-size:10px;color:var(--muted);margin-top:4px}.people-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.person-head{display:flex;gap:12px;align-items:center;margin-bottom:20px}.person-head h3{margin:0;font-size:15px}.member-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:12px}.member-row select{width:150px;font-size:11px;padding:7px}.system-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.system-row{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.system-row strong{font-weight:550;text-align:right}.system-row:last-child{border-bottom:0}
dialog{border:1px solid var(--line);border-radius:18px;padding:28px;width:min(520px,calc(100vw - 28px));max-height:90vh;color:var(--ink);box-shadow:0 24px 80px #2c1e3933;background:white}dialog::backdrop{background:#22182b59;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.dialog-head h2{font-size:21px;letter-spacing:-.6px;margin:0}.dialog-description{color:var(--muted);font-size:12px;margin:0 0 23px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:grid;gap:7px;margin-bottom:15px}.field label{font-size:11px;font-weight:600;color:#6a5e74}input[type=text],input[type=password],input[type=number],input[type=email],textarea,select{border:1px solid #ded7e5;border-radius:8px;background:#fcfafd;color:var(--ink);padding:10px 12px;width:100%;min-width:0;font-size:12px}textarea{resize:vertical;min-height:76px}.field small{font-size:10px;color:var(--muted)}input::placeholder,textarea::placeholder{color:#a69dae}.form-footer{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);padding-top:19px;margin-top:14px}.form-error{font-size:12px;color:var(--danger);background:#fff2ed;padding:10px 12px;border-radius:8px;margin:12px 0}.link-result{overflow-wrap:anywhere;background:var(--sage);padding:17px;border:1px solid var(--line);border-radius:10px;font-size:12px;margin:18px 0}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--green);color:white;padding:13px 22px;border-radius:10px;box-shadow:0 5px 20px #2c1e3933;z-index:20;max-width:calc(100vw - 28px);font-size:12px}.toast.error{background:#92463c}.lightbox{width:min(1100px,95vw);background:#1f1826;border-color:#493f51;color:white;padding:15px}.lightbox .dialog-head{margin-bottom:12px}.lightbox .dialog-head h2{font-size:14px;overflow-wrap:anywhere}.lightbox img,.lightbox video{display:block;max-height:75vh;max-width:100%;margin:auto;object-fit:contain}.lightbox .unsupported{padding:65px 20px;text-align:center}.lightbox .unsupported p{color:#c0b9c7}
.auth-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.auth-story{background:#e8dff0;display:flex;flex-direction:column;padding:50px 65px;overflow:hidden}.auth-story h1{font-size:52px;line-height:1.13;letter-spacing:-2.4px;font-weight:520;max-width:470px;margin:70px 0 23px}.auth-story>p{font-size:14px;line-height:1.8;color:#7d7089;max-width:370px}.auth-story .banner-art{min-height:260px;max-width:320px;align-self:center;width:100%;margin-top:20px}.auth-story .folder-art{transform:scale(1.4) rotate(-9deg)}.auth-story .art-doc{right:20px;top:35px}.auth-story .art-shield{right:50px;bottom:30px}.auth-story .orbit{height:280px;width:280px}.auth-story footer{font-size:11px;color:#897c95;margin-top:auto;padding-top:40px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:40px}.auth-form{max-width:360px;width:100%}.auth-form h2{font-size:27px;letter-spacing:-.8px;font-weight:600;margin:8px 0}.auth-form>p{color:var(--muted);font-size:12px;margin:0 0 28px}.auth-form .btn{width:100%;margin-top:9px}.auth-footnote{font-size:10px;color:#988da2;margin-top:22px;display:flex;gap:7px;align-items:center}.auth-footnote svg{width:14px;height:14px}.guest-shell{min-height:100vh}.guest-top{display:flex;align-items:center;justify-content:space-between;max-width:1000px;margin:auto;padding:28px 32px}.guest-main{max-width:960px;padding:30px 32px 70px;margin:auto}.guest-heading{text-align:center;margin-bottom:30px}.guest-heading .space-symbol{margin:0 auto 15px;width:53px;height:53px}.guest-heading h1{font-size:30px;font-weight:580;letter-spacing:-1px;margin:8px 0}.guest-heading p{font-size:12px;color:var(--muted)}.guest-shell .dropzone{padding:35px;background:white}.guest-shell .fine-footer{justify-content:center}.mobile-menu{display:none}.screen-reader{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{padding-top:48px}.intro-banner{min-height:220px}.file-visual{height:190px}}
@media(max-width:1180px){.layout{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:30px 18px}.topbar{padding:0 30px}.main{padding:30px}.space-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.file-grid,.folder-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.intro-banner{grid-template-columns:1fr 200px}.stat{padding:17px;gap:12px}.stat-icon{padding:8px}.stat strong{font-size:20px}.auth-story{padding:40px}.auth-story h1{font-size:44px}}
@media(max-width:900px){.stats{gap:10px}.stat{padding:15px;gap:9px}.stat-icon{display:none}.lower-grid{grid-template-columns:1fr}.intro-banner{grid-template-columns:1fr;padding:26px}.intro-banner .banner-art{display:none}.people-grid,.system-grid{grid-template-columns:1fr}.auth-story{padding:32px}.auth-story h1{font-size:38px}.auth-panel{padding:30px}.file-grid,.folder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.layout{grid-template-columns:1fr}.sidebar{position:fixed;z-index:10;left:-260px;width:240px;transition:left .2s;box-shadow:10px 0 40px #30233b20}.sidebar.open{left:0}.topbar{height:66px;padding:0 20px;gap:10px}.mobile-menu{display:inline-flex}.topbar .secure{display:none}.top-actions{gap:8px}.main{padding:26px 20px 36px}.page-heading{align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:23px}.page-heading h1{font-size:28px}.page-heading p{font-size:12px}.intro-banner{padding:24px;min-height:initial}.intro-banner h2{font-size:25px}.stats{gap:8px;margin-bottom:26px}.stat{padding:13px 10px}.stat strong{font-size:20px}.stat p{font-size:9px}.stat .detail{display:block;font-size:9px;margin-top:3px}.space-grid{gap:12px}.space-card{padding:17px}.space-card p{margin-bottom:16px}.space-card-top{margin-bottom:20px}.space-card h3{font-size:14px}.space-card footer{font-size:10px}.section-head{flex-wrap:wrap;gap:12px}.search input{width:120px}.fine-footer{flex-wrap:wrap;gap:10px}.dropzone{flex-wrap:wrap;padding:20px;gap:12px}.dropzone .btn{margin-left:0;width:100%}.dropzone>div:nth-child(2){flex:1;min-width:150px}.file-grid{gap:11px}.file-visual{height:125px}.file-info{padding:10px}.folder-grid{gap:10px}.folder{padding:13px}.selection-bar{flex-wrap:wrap;font-size:11px}.selection-bar .btn{margin-left:0}.auth-page{display:block}.auth-story{padding:25px 25px 30px}.auth-story h1{font-size:32px;letter-spacing:-1.3px;margin:30px 0 13px;max-width:330px}.auth-story>p{font-size:12px;margin:0}.auth-story .banner-art,.auth-story footer{display:none}.auth-panel{padding:32px 25px 50px}.auth-form{max-width:420px}.auth-form h2{font-size:25px}.guest-top{padding:24px 20px}.guest-top .badge{font-size:9px}.guest-main{padding:18px 20px 45px}.guest-heading h1{font-size:27px}.guest-shell .dropzone{padding:24px}.form-grid{grid-template-columns:1fr 1fr}dialog{padding:22px}.table-wrap th,.table-wrap td{padding:12px;white-space:nowrap}.list-view .file-info{display:block}.list-view .file-info footer{justify-content:space-between;margin-top:4px}.system-row{font-size:11px}}
.selection-bar{overflow-x:auto}.selection-bar [disabled]{opacity:.45}.folder.move-target{outline:3px solid #735191;background:#eee8f4}.toast{display:flex;align-items:center;gap:14px}.toast button{border:1px solid #fff8;background:transparent;color:inherit;border-radius:5px;font-size:18px;cursor:pointer}.lightbox .original-link{background:#fff;color:#24172f;border-color:#fff;font-weight:700}.lightbox .original-link:hover{background:#eadff3;color:#1f1826}.gallery-stage{position:relative;min-height:220px;display:grid;place-items:center}.gallery-stage img{transition:opacity .18s ease;opacity:.88}.gallery-stage img.full-resolution{opacity:1}.gallery-loading{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);background:#1f1826cc;color:#fff;padding:5px 9px;border-radius:999px;font-size:10px}.gallery-nav{position:absolute;top:50%;transform:translateY(-50%);background:#fff;color:#24172f;border:2px solid #24172f;font-size:32px;min-width:48px;min-height:56px;z-index:2}.gallery-nav.prev{left:8px}.gallery-nav.next{right:8px}.gallery-count{font-weight:400;color:#d6cfdb;margin-left:8px}.lightbox:focus-visible,.gallery-nav:focus-visible,.original-link:focus-visible{outline:3px solid #ffd55f;outline-offset:3px}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* 0.4.33: account actions stay reachable without leaving the current page. */
.account-menu{position:relative}.account-menu-panel{position:absolute;z-index:20;right:0;top:calc(100% + 8px);display:grid;min-width:168px;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 24px #30233b20}.account-menu-panel button{border:0;border-radius:6px;background:transparent;padding:9px 10px;text-align:left;color:var(--ink);font-size:12px}.account-menu-panel button:hover{background:var(--bg)}.account-menu-panel button:focus-visible{outline-offset:-2px}

/* Purple welcome, inspired by the school's familiar color palette. */
:root{--bg:#f8f7fb;--ink:#25223c;--muted:#777286;--line:#e7e2ee;--green:#69349a;--lime:#ece1f7;--sage:#f0eaf7}
.auth-page{grid-template-columns:44% 56%;background:#fff}.auth-story{background:#100b46;color:white;padding:42px 54px;min-height:100vh;position:relative}.auth-story .brand{color:white}.auth-story .brand span{color:#cdb4ed}.auth-story .brand-mark{background:#7644a5;color:white}.welcome-story{margin:auto 0}.welcome-kicker{color:#bda2df;font-size:11px;font-weight:650;letter-spacing:2px;margin-top:55px}.auth-story h1{font-size:clamp(36px,4.2vw,62px);letter-spacing:-2.2px;line-height:1.13;margin:22px 0}.welcome-story>p{color:#c0b9d6;font-size:15px;line-height:1.85}.auth-story footer{color:#aaa0ca;display:flex;align-items:center;gap:9px;padding-top:24px;font-size:11px}.auth-story footer svg{width:16px}.auth-panel{padding:55px}.auth-form{max-width:400px}.auth-form h2{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:16px 0}.auth-form>p{font-size:14px;line-height:1.7;margin-bottom:32px}.auth-form .eyebrow{color:#8650ae;letter-spacing:1.7px;font-size:10px}.auth-form .field label{font-size:12px;color:#51445f}.auth-form input{background:#f6f2fa;border:1px solid #e7deef;border-radius:10px;padding:15px 16px;font-size:15px}.auth-form #f-code{letter-spacing:1.5px;font-family:Consolas,monospace}.auth-form .btn{min-height:50px;font-size:14px;border-radius:10px}.auth-form .primary{background:#69349a}.auth-form .primary:hover{background:#562780}.auth-divider{display:flex;align-items:center;gap:16px;color:#9a91a5;font-size:12px;margin:24px 0 15px}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#eae4f0;flex:1}.login-choice{background:white;border:1px solid #d6c5e4;color:#65348e;justify-content:center}.auth-form .login-note{font-size:11px;line-height:1.7;text-align:center;margin:12px 0 0;color:#8a8195}.auth-back{display:block;color:#75459d;font-size:12px;margin-top:24px}.auth-footnote{border-top:1px solid #eee9f3;margin-top:34px;padding-top:21px;color:#9890a2;font-size:10px}.welcome-art{position:relative;height:270px;width:320px;max-width:100%;margin:24px auto 0}.welcome-orbit{position:absolute;width:245px;height:245px;border:1px solid #ffffff15;border-radius:50%;left:35px;top:0;box-shadow:0 0 0 28px #ffffff03}.welcome-file{position:absolute;width:155px;height:182px;border-radius:16px;padding:22px;box-shadow:0 20px 45px #06032355;display:flex;flex-direction:column;gap:14px}.welcome-file svg{width:43px;height:43px;stroke-width:1.3}.welcome-file span{font-size:10px}.welcome-file.back{background:#aa82ce;color:#372059;left:22px;top:28px;transform:rotate(-13deg)}.welcome-file.front{background:#f8f3ff;color:#74459f;left:132px;top:60px;transform:rotate(9deg)}.welcome-file i{display:block;height:5px;border-radius:4px;background:#e0d1ee;width:100%}.welcome-file i:last-child{width:65%}.welcome-seal{position:absolute;right:12px;bottom:9px;background:#7945a6;border:5px solid #100b46;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;color:white}.access-code{font-family:Consolas,monospace;font-size:22px;letter-spacing:1px;background:#f2eafa;padding:16px;border-radius:10px;margin:12px 0 22px;text-align:center;overflow-wrap:anywhere}
@media(min-width:1600px){.auth-story{padding-left:90px;padding-right:90px}}
@media(max-width:800px){.auth-page{grid-template-columns:1fr}.auth-story{min-height:auto;padding:24px 28px}.welcome-story{display:none}.auth-story footer{display:none}.auth-panel{padding:42px 24px 50px;align-items:flex-start}.auth-form h2{font-size:28px}.auth-form{max-width:430px}.auth-page{min-height:100dvh}.auth-story .brand{font-size:21px}}

.product-credit{margin-top:22px;color:#777084;font-size:11px;line-height:1.8;text-align:center}.product-credit a{color:#69349a;text-decoration:underline;text-underline-offset:3px}.product-credit a:hover{color:#49236d}.auth-form .product-credit{margin-top:20px}

/* Space ownership and access groups. */
.sidebar-spaces-area{min-height:0;overflow-y:auto;flex:1;margin-right:-8px;padding-right:8px;scrollbar-width:thin}.sidebar-space-group+.sidebar-space-group{margin-top:10px}.space-group-toggle{width:100%;border:0;background:transparent;color:var(--muted);font:inherit;cursor:pointer;display:flex;align-items:center;gap:7px;text-align:left}.sidebar .space-group-toggle{padding:7px 8px;font-size:10px;font-weight:700;letter-spacing:1.25px;text-transform:uppercase}.space-group-toggle>span:first-child{min-width:0}.space-group-count{margin-left:auto;min-width:21px;height:21px;border-radius:999px;background:#eee8f3;color:#765f87;display:inline-grid;place-items:center;font-size:10px;letter-spacing:0}.space-group-toggle>svg{width:14px;height:14px;transition:transform .15s;transform:rotate(90deg)}.space-group-toggle[aria-expanded="false"]>svg{transform:rotate(0)}.space-group-toggle:hover{color:var(--green)}.space-group-toggle:focus-visible,.sidebar-new-space:focus-visible{outline:3px solid #cbb3df;outline-offset:2px;border-radius:7px}.side-spaces a{min-width:0}.side-spaces a>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-spaces a small{margin-left:auto;color:#846e95;font-size:9px;background:#f0eaf5;padding:2px 5px;border-radius:7px}.side-spaces a.active{color:var(--green);background:#ede7f2;font-weight:650}.sidebar-empty{margin:4px 12px 7px;color:var(--muted);font-size:10px;line-height:1.5}.sidebar-new-space{width:100%;display:flex;align-items:center;gap:11px;border:0;background:transparent;color:var(--ink);padding:10px 13px;margin-top:10px;border-radius:9px;font:inherit;font-size:12px;cursor:pointer}.sidebar-new-space:hover{background:var(--bg)}.sidebar-new-space svg{width:18px;height:18px}.overview-space-groups{display:grid;gap:24px}.overview-space-group>.space-group-toggle{padding:0 2px 11px;border-bottom:1px solid var(--line);font-size:16px;font-weight:620;color:var(--ink)}.overview-space-group>.space-group-toggle .space-group-count{margin-left:2px}.overview-space-group>.space-group-toggle>svg{margin-left:auto;color:#8b7b98}.overview-space-group .space-grid{margin-top:16px}.space-grid>.empty-state{grid-column:1/-1;padding:34px 24px}.space-access-note{display:inline-flex;color:#765d8a;background:#f0e8f6;border-radius:12px;padding:3px 7px;font-size:9px;margin:0 0 7px}.space-card .space-access-note+p{margin-top:0}

/* 0.4.0-3: Keep thumbnails and metadata in separate, non-overlapping boxes. */
.file-grid:not(.list-view) .file-card{display:flex;flex-direction:column}
.file-grid:not(.list-view) .file-visual{position:relative;height:auto;aspect-ratio:4/3;overflow:hidden;flex:0 0 auto}
.file-grid:not(.list-view) .file-visual img{position:absolute;inset:8px;display:block;width:calc(100% - 16px);height:calc(100% - 16px);object-fit:contain;object-position:center}
.file-grid:not(.list-view) .file-info{position:relative;z-index:2;flex:1;background:#fff}
.file-select{z-index:3}
.list-view .file-card{flex-direction:row}
.list-view .file-visual{position:relative;width:72px;height:56px;aspect-ratio:auto;overflow:hidden;flex:0 0 72px}
.list-view .file-visual img{position:absolute;inset:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);object-fit:contain;object-position:center}
.copy-confirmation{margin:14px 0 0;color:#4f2872;background:#f0e7f7;border:1px solid #d9c6e8;border-radius:8px;padding:9px 12px;font-size:12px;font-weight:650}

/* 0.4.17: Space administration, search and upload feedback. */
dialog.dialog-wide{width:min(1200px,calc(100vw - 28px));max-width:1200px;overflow:auto}
.dialog-wide .table-wrap{max-height:calc(90vh - 190px);overflow:auto}
.dialog-owner{margin:0 0 18px;color:var(--muted);font-size:12px}.dialog-owner strong{color:var(--ink);font-weight:650}
.inline-status{display:flex;align-items:flex-start;gap:8px;margin:12px 0 0;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#f7f4fa;color:#665873;font-size:12px;line-height:1.45}.inline-status.pending{background:#fff5df;border-color:#ecddbd;color:#836d35}.inline-status.success{background:var(--sage);border-color:#d4c7df;color:#5d4672}.inline-status.error{background:#fff2ed;border-color:#efd4cf;color:var(--danger)}
.search-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.search-controls .search{flex:1;min-width:min(100%,230px)}.search-help{width:100%;margin:0;color:var(--muted);font-size:10px;line-height:1.45}.recursive-toggle{display:inline-flex;align-items:center;gap:7px;color:#6f637a;font-size:11px;white-space:nowrap}.recursive-toggle input{accent-color:var(--green)}.sort-controls{display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap}.sort-controls select{width:auto;min-width:135px;padding:8px 10px;font-size:11px}.sort-controls .field{margin:0}.file-filter-controls{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:start;gap:10px;margin:0 0 16px}.file-filter-controls .search,.file-filter-controls select{min-height:37px;box-sizing:border-box}.file-search-stack{min-width:0}.file-filter-options{display:grid;gap:7px;padding-top:2px}.search-reason{display:inline-flex;align-items:center;margin-top:4px;color:#765d8a;background:#f0e8f6;border-radius:9px;padding:3px 7px;font-size:9px;line-height:1.35}
.space-disabled,[data-disabled-space]{position:relative}.space-card.space-disabled,[data-disabled-space].space-card{background:#faf8f7;border-color:#e7dfd3;color:#776d68}.space-card.space-disabled:hover,[data-disabled-space].space-card:hover{transform:none;box-shadow:none}.space-disabled .space-symbol,[data-disabled-space] .space-symbol{filter:grayscale(.55);opacity:.72}.disabled-space-label{display:inline-flex;align-items:center;gap:5px;color:#7d7166;background:#f4f0e9;border:1px solid #e4d9cb;border-radius:20px;padding:3px 7px;font-size:9px;font-weight:650}.disabled-space-label svg{width:11px;height:11px}
.quota-request-status{margin:0 0 17px;padding:13px 15px;border:1px solid #ddd0e7;border-radius:10px;background:#f7f2fb;color:#5e4772;font-size:12px}.quota-request-status p{margin:5px 0 0;color:inherit}.quota-request-status.error{background:#fff2ed;border-color:#efd4cf;color:var(--danger)}.quota-request-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:11px}.quota-request-grid span{display:grid;gap:2px;padding:8px 9px;border-radius:8px;background:#fff;border:1px solid #e8dfea;font-size:11px}.quota-request-grid small{color:var(--muted);font-size:9px}.quota-request-grid b{font-size:12px}
.request-queue{display:grid;gap:12px}.request-card{border:1px solid var(--line);border-radius:12px;background:#fff;padding:16px}.request-card h3{margin:0;color:var(--ink);font-size:13px;font-weight:650}.request-card>p{margin:6px 0 0;color:var(--muted);font-size:11px}.request-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:13px}.request-meta span{display:grid;gap:2px;padding:8px 9px;background:#faf8fc;border-radius:8px;color:var(--ink);font-size:11px}.request-meta small{color:var(--muted);font-size:9px}.request-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px;margin-top:14px}
.share-status{display:inline-flex;align-items:center;border-radius:20px;padding:4px 8px;font-size:10px;line-height:1;border:1px solid transparent}.share-status.planned{color:#78643b;background:#fff5df;border-color:#ecddbd}.share-status.active{color:#5d4672;background:#f0e8f6;border-color:#dacbe6}.share-status.expired{color:#806b61;background:#f5eeea;border-color:#e6d9d2}.share-status.disabled{color:#8a8180;background:#f2f0f0;border-color:#e0dddd}.validity{display:block;margin-top:4px;color:var(--muted);font-size:10px;line-height:1.4}
.file-description{margin:0 0 7px;color:#70667a;font-size:10px;line-height:1.45;overflow-wrap:anywhere}.file-counters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#83768d;font-size:9px}.file-counters span{display:inline-flex;align-items:center;gap:3px}.file-counters svg{width:12px;height:12px}.file-actions{display:flex;align-items:center;gap:3px;margin-left:auto}.file-info footer .file-actions{flex-shrink:0}
.folder-stats{display:grid;grid-template-columns:repeat(2,max-content);gap:2px 8px;margin-top:3px;color:var(--muted);font-size:9px;line-height:1.35}.folder-stats span{white-space:nowrap}
.drop-overlay{position:fixed;z-index:30;inset:0;display:grid;place-items:center;padding:24px;background:#21153780;backdrop-filter:blur(3px);pointer-events:none}.drop-target{display:flex;align-items:center;justify-content:center;gap:10px;max-width:500px;padding:20px 26px;border:2px dashed #d9c4ed;border-radius:14px;background:#2c1648;color:#fff;box-shadow:0 18px 50px #13091f55;font-size:13px;font-weight:650;text-align:center}.drop-target svg{width:25px;height:25px;color:#e8d9f7}.drop-target-active,.folder.drop-target-active,.breadcrumb.drop-target-active{outline:3px solid #8a65ab;outline-offset:2px;background:#eee3f7!important;border-radius:10px}.drop-rejected{margin:10px 0 0;padding:10px 12px;border:1px solid #efd4cf;border-radius:8px;background:#fff2ed;color:var(--danger);font-size:11px}
.people-table td{vertical-align:middle}.action-stack{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.action-stack .btn{flex:0 0 auto}.settings-checks{display:grid;gap:10px;margin:17px 0}.settings-checks label{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fcfafd;color:#5e5269;font-size:12px}.settings-checks input{accent-color:var(--green)}
@media(max-width:700px){dialog.dialog-wide{padding:20px;width:calc(100vw - 20px)}.dialog-wide .table-wrap{max-height:calc(90vh - 155px);margin-right:-2px}.dialog-wide table{min-width:640px}.search-controls{align-items:stretch}.search-controls .search{flex-basis:100%}.sort-controls{width:100%}.sort-controls select{flex:1;min-width:0}.file-filter-controls{grid-template-columns:1fr;gap:11px}.file-filter-options{padding-top:0}.file-filter-controls .sort-controls{width:100%}.file-filter-controls .sort-controls .field{flex:1}.quota-request-grid{grid-template-columns:1fr}.request-meta{grid-template-columns:1fr 1fr}.request-actions{justify-content:stretch}.request-actions .btn{flex:1}.folder-stats{grid-template-columns:1fr}.file-description{white-space:normal}.file-counters{gap:5px}.drop-overlay{padding:18px}.drop-target{padding:17px;font-size:12px}.people-table{min-width:670px}.people-table td,.people-table th{white-space:normal}.action-stack{justify-content:flex-start;min-width:145px}.settings-checks label{align-items:flex-start}}

/* 0.4.19: shared content scale and stable list thumbnail geometry. */
.guest-main,.guest-top{width:100%;max-width:1500px;padding-left:46px;padding-right:46px}
.guest-main{padding-top:40px}
.file-grid.list-view .file-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:10px 12px 10px 40px}
.file-grid.list-view .file-visual{position:relative;display:flex;align-items:center;justify-content:center;width:96px;height:72px;min-width:0;padding:4px;overflow:hidden}
.file-grid.list-view .file-visual img{position:static;display:block;width:100%;height:100%;max-width:100%;object-fit:contain}
.file-grid.list-view .file-info{display:block;width:auto;min-width:0;padding:4px 0}
.file-grid.list-view .file-name{white-space:normal;overflow-wrap:anywhere}
.file-grid.list-view .file-info footer{flex-wrap:wrap;gap:6px 12px;margin-top:6px}
.file-grid.list-view .file-select{top:50%;transform:translateY(-50%)}
.lightbox{width:96vw;max-width:96vw;max-height:96dvh}
.lightbox .dialog-head{flex-wrap:wrap;gap:8px}
.lightbox .dialog-head h2{min-width:0}
.lightbox .gallery-stage img,.lightbox .gallery-stage video{max-height:calc(96dvh - 130px);max-width:100%}
@media(max-width:1180px){.guest-main,.guest-top{padding-left:30px;padding-right:30px}}
@media(max-width:700px){.guest-main,.guest-top{padding-left:20px;padding-right:20px}.guest-main{padding-top:26px}.file-grid.list-view .file-card{grid-template-columns:80px minmax(0,1fr);gap:8px;padding-right:8px}.file-grid.list-view .file-visual{width:80px;height:60px}.lightbox{padding:12px}.lightbox .gallery-stage img,.lightbox .gallery-stage video{max-height:calc(96dvh - 160px)}}

/* 0.4.20: the saved space color themes the entire public share surface. */
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color]{--bg:#f7f3fa;--green:#71399b;--ink:#302039;--muted:#716078;--line:#e1d2eb;--sage:#eee2f6;--lime:#fff;--share-selection:#e5d3f0;--share-hover:#f2e9f8;background:var(--bg);color:var(--ink)}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="blue"]{--bg:#f1f7fc;--green:#245e91;--ink:#203447;--muted:#566e82;--line:#ccdeed;--sage:#dfedf8;--share-selection:#cde3f3;--share-hover:#e8f2fa}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="peach"]{--bg:#fff7f0;--green:#924a25;--ink:#422d23;--muted:#80634f;--line:#eed6c4;--sage:#fae7d7;--share-selection:#f5d8c0;--share-hover:#fceee2}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="violet"]{--bg:#f5f4fc;--green:#625096;--ink:#302944;--muted:#6d6485;--line:#ddd7ef;--sage:#eae5f8;--share-selection:#ddd4f0;--share-hover:#efebfa}
:is(.guest-shell,.space-theme)[data-space-color] .brand-mark{background:var(--green);color:#fff}
:is(.guest-shell,.space-theme)[data-space-color] :is(.space-symbol,.badge){background:var(--sage);color:var(--green);border-color:var(--line)}
:is(.guest-shell,.space-theme)[data-space-color] .selection-bar{background:var(--share-selection)}
:is(.guest-shell,.space-theme)[data-space-color] .file-visual{background:var(--sage);color:var(--green)}
:is(.guest-shell,.space-theme)[data-space-color] :is(.folder svg,.search svg,.breadcrumb button,.product-credit a){color:var(--green)}
:is(.guest-shell,.space-theme)[data-space-color] .file-card.selected{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}
:is(.guest-shell,.space-theme)[data-space-color] :is(.btn,.icon-btn):hover{background:var(--share-hover)}
:is(.guest-shell,.space-theme)[data-space-color] .btn.primary:hover{background:var(--green);filter:brightness(.9)}
:root .overview-search-stack{width:33.333%;min-width:240px}:root .overview-search-stack .search{width:100%;box-sizing:border-box}:root .overview-search-stack .search input{width:100%}:root .overview-search-stack .search-help{display:block;margin-top:5px}@media(max-width:700px){:root .overview-search-stack{width:100%;min-width:0}}
:root .overview-search-stack{flex:1;width:auto;max-width:none}
:root .overview-search-stack{width:100%;flex:none;margin:-6px 0 16px}
:is(.guest-shell,.space-theme)[data-space-color] select{border-color:var(--line);background:var(--surface)}
:is(.guest-shell,.space-theme)[data-space-color] :is(.recursive-toggle,.file-description,.product-credit,.fine-footer){color:var(--muted)}
:is(.guest-shell,.space-theme)[data-space-color] .search-reason{background:var(--sage);color:var(--green)}
:is(.guest-shell,.space-theme)[data-space-color] .dropzone{border-color:var(--green);background:var(--share-hover)}
:is(.guest-shell,.space-theme)[data-space-color] .dropzone.dragover{background:var(--share-selection)}
:is(.guest-shell,.space-theme)[data-space-color] .drop-icon{background:var(--sage);color:var(--green)}
:is(.guest-shell,.space-theme)[data-space-color] .upload-job>svg{color:var(--green)}
:is(.guest-shell,.space-theme)[data-space-color] progress,:is(.guest-shell,.space-theme)[data-space-color] progress::-webkit-progress-bar{background:var(--sage)}
:is(.guest-shell,.space-theme)[data-space-color] progress::-webkit-progress-value{background:var(--green)}
:is(.guest-shell,.space-theme)[data-space-color] progress::-moz-progress-bar{background:var(--green)}
:is(.guest-shell,.space-theme)[data-space-color] :is(button,a,input,select,textarea):focus-visible{outline-color:var(--green)}

/* 0.4.21: seasonal palettes and accessible native radio tiles. */
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="spring"]{--bg:#f4faef;--green:#3f692b;--ink:#293b21;--muted:#5c7052;--line:#d5e5ca;--sage:#e5f2dc;--share-selection:#d3eac4;--share-hover:#e5f2dc}
.space-symbol.spring{background:#e5f2dc;color:#3f692b}.dot.spring{background:#3f692b}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="yellow"]{--bg:#fffbed;--green:#806000;--ink:#42391d;--muted:#786b40;--line:#ebdfb4;--sage:#fff1bd;--share-selection:#f6e59c;--share-hover:#fff1bd}
.space-symbol.yellow{background:#fff1bd;color:#806000}.dot.yellow{background:#806000}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="turquoise"]{--bg:#effafa;--green:#176b70;--ink:#203b3d;--muted:#527476;--line:#c8e5e5;--sage:#ddf2f1;--share-selection:#bfe8e5;--share-hover:#ddf2f1}
.space-symbol.turquoise{background:#ddf2f1;color:#176b70}.dot.turquoise{background:#176b70}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="orange"]{--bg:#fff5ed;--green:#a34b17;--ink:#442d1e;--muted:#85644e;--line:#efd3bd;--sage:#fde2c9;--share-selection:#f8ceaa;--share-hover:#fde2c9}
.space-symbol.orange{background:#fde2c9;color:#a34b17}.dot.orange{background:#a34b17}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="red"]{--bg:#fff3f3;--green:#a12e3c;--ink:#44242a;--muted:#845d64;--line:#edcdd2;--sage:#f9dfe3;--share-selection:#f2c5cd;--share-hover:#f9dfe3}
.space-symbol.red{background:#f9dfe3;color:#a12e3c}.dot.red{background:#a12e3c}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="forest"]{--bg:#f0f7f2;--green:#285b3b;--ink:#22392a;--muted:#567261;--line:#ccdfd1;--sage:#deeee3;--share-selection:#c2dfcc;--share-hover:#deeee3}
.space-symbol.forest{background:#deeee3;color:#285b3b}.dot.forest{background:#285b3b}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="pink"]{--bg:#fff4fa;--green:#983765;--ink:#442536;--muted:#805b6f;--line:#efd0e0;--sage:#f9e0ed;--share-selection:#f1c8df;--share-hover:#f9e0ed}
.space-symbol.pink{background:#f9e0ed;color:#983765}.dot.pink{background:#983765}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="slate"]{--bg:#f4f6f8;--green:#495b6d;--ink:#293440;--muted:#64717f;--line:#d6dde4;--sage:#e5ebf0;--share-selection:#d2dde6;--share-hover:#e5ebf0}
.space-symbol.slate{background:#e5ebf0;color:#495b6d}.dot.slate{background:#495b6d}

.color-picker{grid-column:1/-1;border:0;padding:0;margin:4px 0 16px;min-width:0}
.color-picker legend{font-size:12px;font-weight:600;margin-bottom:10px}
.color-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.color-choice{display:flex;align-items:center;gap:7px;border:2px solid var(--line);border-radius:10px;padding:10px 8px;cursor:pointer;min-width:0;font-size:11px}
.color-choice input{width:14px;height:14px;margin:0;flex-shrink:0;accent-color:var(--green)}
.color-choice:has(input:checked){border-color:var(--green);box-shadow:0 0 0 1px var(--green);font-weight:700}
.color-choice:focus-within{outline:3px solid var(--green);outline-offset:2px}
.color-swatch{height:22px;width:22px;flex-shrink:0;border-radius:50%;background:var(--green)}
.color-preview{padding:16px;border:1px solid var(--line);border-radius:12px;margin-top:12px}
.color-preview-title{color:var(--ink);font-size:12px;font-weight:600;margin:0 0 10px}
.color-preview-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px;color:var(--ink);font-size:12px}
.color-preview-card span{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.color-preview-button{display:inline-block;background:var(--green);color:#fff;border-radius:7px;padding:7px 12px;margin-top:10px;font-size:11px}
@media(max-width:700px){.color-options{grid-template-columns:repeat(2,minmax(0,1fr))}.color-choice{font-size:10px;gap:5px;padding:10px 6px}}

/* 0.4.22: input and native clear button fill the visible search field. */
.search input{flex:1 1 0%;width:100%;min-width:0}
.search-controls>div:first-child{min-width:0;max-width:100%}

/* 0.4.23: approved seasons, times of day and four additional themes. */
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="spring"],:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="forest"]{--bg:#f0f8e7;--green:#427a21;--ink:#282828;--muted:#555d68;--line:#dcedca;--sage:#dcedca;--share-selection:#dcedca;--share-hover:#dcedca;--surface:#ffffff;--on-accent:#ffffff;--theme-icon:#427a21}
.space-symbol.spring,.space-symbol.forest{background:#dcedca;color:#427a21}
.dot.spring,.dot.forest{background:#427a21}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="summer"],:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="yellow"]{--bg:#fff8d6;--green:#8a6500;--ink:#282828;--muted:#555d68;--line:#fae99c;--sage:#fae99c;--share-selection:#fae99c;--share-hover:#fae99c;--surface:#ffffff;--on-accent:#ffffff;--theme-icon:#8a6500}
.space-symbol.summer,.space-symbol.yellow{background:#fae99c;color:#8a6500}
.dot.summer,.dot.yellow{background:#8a6500}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="autumn"],:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="peach"],:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="orange"]{--bg:#fff0e2;--green:#ad4315;--ink:#282828;--muted:#555d68;--line:#f6d4b9;--sage:#f6d4b9;--share-selection:#f6d4b9;--share-hover:#f6d4b9;--surface:#ffffff;--on-accent:#ffffff;--theme-icon:#ad4315}
.space-symbol.autumn,.space-symbol.peach,.space-symbol.orange{background:#f6d4b9;color:#ad4315}
.dot.autumn,.dot.peach,.dot.orange{background:#ad4315}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="winter"],:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="blue"]{--bg:#edf7ff;--green:#23649b;--ink:#282828;--muted:#555d68;--line:#cfe7fb;--sage:#cfe7fb;--share-selection:#cfe7fb;--share-hover:#cfe7fb;--surface:#ffffff;--on-accent:#ffffff;--theme-icon:#23649b}
.space-symbol.winter,.space-symbol.blue{background:#cfe7fb;color:#23649b}
.dot.winter,.dot.blue{background:#23649b}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="morning"],:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="pink"]{--bg:#fff0f6;--green:#a32961;--ink:#282828;--muted:#555d68;--line:#f7cfe1;--sage:#f7cfe1;--share-selection:#f7cfe1;--share-hover:#f7cfe1;--surface:#ffffff;--on-accent:#ffffff;--theme-icon:#a32961}
.space-symbol.morning,.space-symbol.pink{background:#f7cfe1;color:#a32961}
.dot.morning,.dot.pink{background:#a32961}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="noon"],:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="turquoise"]{--bg:#e8faf7;--green:#087875;--ink:#282828;--muted:#555d68;--line:#bfece5;--sage:#bfece5;--share-selection:#bfece5;--share-hover:#bfece5;--surface:#ffffff;--on-accent:#ffffff;--theme-icon:#087875}
.space-symbol.noon,.space-symbol.turquoise{background:#bfece5;color:#087875}
.dot.noon,.dot.turquoise{background:#087875}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="evening"],:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="sage"],:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="violet"]{--bg:#f4ebfc;--green:#7134a1;--ink:#282828;--muted:#555d68;--line:#e4cff5;--sage:#e4cff5;--share-selection:#e4cff5;--share-hover:#e4cff5;--surface:#ffffff;--on-accent:#ffffff;--theme-icon:#7134a1}
.space-symbol.evening,.space-symbol.sage,.space-symbol.violet{background:#e4cff5;color:#7134a1}
.dot.evening,.dot.sage,.dot.violet{background:#7134a1}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="night"]{--bg:#151d32;--green:#b9d4ff;--ink:#eff4ff;--muted:#c2cde0;--line:#4c5a73;--sage:#2d3b59;--share-selection:#2d3b59;--share-hover:#2d3b59;--surface:#222e46;--on-accent:#151d32;--theme-icon:#b9d4ff}
.space-symbol.night{background:#2d3b59;color:#b9d4ff}
.dot.night{background:#b9d4ff}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="slate"]{--bg:#e9e9e9;--green:#555555;--ink:#282828;--muted:#555d68;--line:#d3d3d3;--sage:#d3d3d3;--share-selection:#d3d3d3;--share-hover:#d3d3d3;--surface:#ffffff;--on-accent:#ffffff;--theme-icon:#555555}
.space-symbol.slate{background:#d3d3d3;color:#555555}
.dot.slate{background:#555555}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="mono"]{--bg:#ffffff;--green:#151515;--ink:#282828;--muted:#555d68;--line:#f1f1f1;--sage:#f1f1f1;--share-selection:#f1f1f1;--share-hover:#f1f1f1;--surface:#ffffff;--on-accent:#ffffff;--theme-icon:#151515}
.space-symbol.mono{background:#f1f1f1;color:#151515}
.dot.mono{background:#151515}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="red"]{--bg:#fff7f5;--green:#b51f32;--ink:#282828;--muted:#555d68;--line:#f8d1d3;--sage:#f8d1d3;--share-selection:#f8d1d3;--share-hover:#f8d1d3;--surface:#ffffff;--on-accent:#ffffff;--theme-icon:#b51f32}
.space-symbol.red{background:#f8d1d3;color:#b51f32}
.dot.red{background:#b51f32}
:is(.guest-shell,.space-theme,.color-preview,.color-choice)[data-space-color="confetti"]{--bg:#fff9e8;--green:#c74228;--ink:#282828;--muted:#555d68;--line:#ffe28a;--sage:#ffe28a;--share-selection:#ffe28a;--share-hover:#ffe28a;--surface:#ffffff;--on-accent:#ffffff;--theme-icon:#007c82}
.space-symbol.confetti{background:#ffe28a;color:#007c82}
.dot.confetti{background:#c74228}

:is(.guest-shell,.space-theme)[data-space-color] :is(.folder,.file-card,.file-info,.view-switch,.search,.empty-state,.upload-job,.btn){background:var(--surface);color:var(--ink)}
:is(.guest-shell,.space-theme)[data-space-color] :is(.brand-mark,.btn.primary){background:var(--green);color:var(--on-accent)}
:is(.guest-shell,.space-theme)[data-space-color] .view-switch .active,:is(.guest-shell,.space-theme)[data-space-color] .btn.soft{background:var(--sage)}
:is(.guest-shell,.space-theme)[data-space-color] :is(.btn,.icon-btn):hover{background:var(--share-hover)}
:is(.guest-shell,.space-theme)[data-space-color] .btn.primary:hover{background:var(--green)}
:is(.guest-shell,.space-theme)[data-space-color] :is(input,select,textarea){color:var(--ink)}
:is(.guest-shell,.space-theme)[data-space-color] .search input::placeholder{color:var(--muted);opacity:1}
:is(.guest-shell,.space-theme)[data-space-color] :is(.folder svg,.space-symbol,.file-visual,.drop-icon,.upload-job>svg){color:var(--theme-icon)}
:is(.guest-shell,.space-theme)[data-space-color] :is(.field>label,.sort-controls label,.job-status){color:var(--muted)}
.color-preview-card{background:var(--surface);color:var(--ink)}
.color-preview-button{background:var(--green);color:var(--on-accent,#fff)}
.color-choice[data-space-color="confetti"] .color-swatch,.dot.confetti{background:conic-gradient(#c74228 0deg 120deg,#ffd34f 120deg 240deg,#007c82 240deg)}
:is(.guest-shell,.space-theme)[data-space-color="confetti"] .brand-mark{background:var(--theme-icon);color:#fff}
:is(.guest-shell,.space-theme)[data-space-color="night"] .file-select,.color-choice[data-space-color="night"] input{color-scheme:dark}

/* 0.4.29: visible space lifetime, expiry and restore states. */
.lifecycle-banner{display:flex;align-items:center;gap:14px;margin:0 0 22px;padding:17px 19px;border:1px solid #e5bd69;border-radius:12px;background:#fff5d9;color:#5e4617;box-shadow:0 5px 18px #5e461712}.lifecycle-banner .lifecycle-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#f5d27d}.lifecycle-banner svg{width:20px;height:20px}.lifecycle-banner strong{font-size:15px}.lifecycle-banner p{margin:3px 0 0;color:#765b27;font-size:11px}.lifecycle-banner .btn{margin-left:auto;white-space:nowrap}.space-card-lifetime{display:flex;align-items:center;gap:6px;margin:-7px 0 15px;color:#7a5f28;font-size:10px;font-weight:650}.space-card-lifetime svg{flex:0 0 14px;width:14px;height:14px}.space-card.space-expired{border-color:#e3d5c5;background:#fbf8f4}.space-card.space-expired:hover{border-color:#cdb89f}.lifecycle-status{display:inline-flex;align-items:center;margin:0 5px 7px 0;padding:3px 7px;border:1px solid #e5cfad;border-radius:20px;background:#fff2d9;color:#7b5c24;font-size:9px;font-weight:700}.lifecycle-status.purging{border-color:#e7c7c2;background:#fff0ed;color:#8e3e35}.lifecycle-expired-panel{display:flex;align-items:flex-start;gap:16px;margin:0 0 18px;padding:22px;border:1px solid #e2caa4;border-radius:13px;background:#fff7e8;color:#5e4617}.lifecycle-expired-panel>svg{flex:0 0 30px;width:30px;height:30px}.lifecycle-expired-panel h2{margin:0 0 6px;font-size:17px}.lifecycle-expired-panel p{margin:0;color:#765f38;font-size:12px;line-height:1.6}.lifecycle-metadata{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0}.lifecycle-metadata>div{padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface,#fff)}.lifecycle-metadata dt{margin:0 0 5px;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.7px}.lifecycle-metadata dd{margin:0;color:var(--ink);font-size:12px;font-weight:650}.settings-section{margin:20px 0 0;padding-top:18px;border-top:1px solid var(--line)}.settings-section h3{margin:0 0 5px;font-size:13px}.settings-section>p{margin:0 0 14px;color:var(--muted);font-size:10px;line-height:1.5}.system-row>span{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.system-space-lifetime{flex-basis:100%;color:var(--muted);font-size:9px;font-weight:400}
@media(max-width:700px){.lifecycle-banner{align-items:flex-start;flex-wrap:wrap}.lifecycle-banner .btn{width:100%;margin-left:0}.lifecycle-metadata{grid-template-columns:1fr}.lifecycle-expired-panel{padding:17px}.settings-section .form-grid{grid-template-columns:1fr}}

/* 0.4.26: apply the selected palette to the signed-in space workspace only. */
.space-theme[data-space-color]{min-height:100vh}
.space-theme[data-space-color] .topbar{background:var(--surface);color:var(--ink)}
.space-theme[data-space-color] .topbar :is(small,.secure){color:var(--muted)}
.space-theme[data-space-color] .topbar .avatar{background:var(--sage);color:var(--ink)}

/* 0.4.24/0.4.28: keep the gallery viewport stable while media quality changes. */
.lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr);height:96dvh}
.lightbox .gallery-stage{height:auto;min-width:0;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);overflow:hidden}
.lightbox .gallery-stage>img,.lightbox .gallery-stage>video{display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:contain}
.folder-item{min-width:0;display:flex;flex-direction:column;gap:6px}.folder-item>.folder{flex:1;min-width:0}.folder-item .folder-action{align-self:flex-end;min-height:36px}.folder-item .folder strong{overflow-wrap:anywhere}.folder-item .folder-stats{display:block}
.team-candidate-actions{display:inline-flex;align-items:center;gap:.5rem}
.sort-control{display:grid;gap:4px}.sort-control small{font-size:10px;color:var(--muted);text-align:center}
