:root{font-family:'Segoe UI',Arial,sans-serif;color:#182641;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:16px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #8badff;outline-offset:3px}.sidebar{width:242px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid #e4e9f2;padding:33px 21px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:24px;letter-spacing:-1px}.brand-icon{background:#2355dd;color:white;width:37px;height:37px;display:grid;place-items:center;border-radius:11px;font-size:27px}.workspace,.project-heading{font-size:12px;font-weight:700;letter-spacing:1.4px;color:#798599}.workspace{margin:47px 12px 15px}.nav{border:0;background:transparent;width:100%;text-align:left;display:flex;gap:12px;align-items:center;padding:13px 12px;color:#57657b;border-radius:8px;font-size:14px;margin-bottom:5px}.nav.active{background:#eaf0ff;color:#2355dd;font-weight:650}.nav span:nth-child(2){overflow-wrap:anywhere}.count{margin-left:auto;font-size:12px;background:#dbe6ff;padding:2px 7px;border-radius:5px}.project-heading{margin:32px 12px 13px;display:flex;align-items:center;justify-content:space-between}.icon-button{border:0;background:transparent;font-size:24px;color:#708099;padding:0 5px;border-radius:5px}.sidebar-bottom{border-top:1px solid #e9edf3;margin-top:auto;padding-top:22px;display:flex;gap:11px;align-items:center;font-size:14px}.avatar{background:#edf1fa;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:600}.sidebar-bottom small{display:block;color:#8290a3;font-size:12px;margin-top:3px}.main{margin-left:242px}header{height:78px;border-bottom:1px solid #e4e9f2;background:#fff;padding:0 40px;display:flex;align-items:center;justify-content:space-between;font-size:14px;color:#7a879c}.breadcrumb{display:flex;gap:13px}.breadcrumb span:last-child{color:#27344d}.local-label{background:#f0f4fa;padding:7px 11px;border-radius:6px;font-size:12px;color:#536480}main{max-width:1500px;margin:auto;padding:40px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:700;color:#73819b}h1{font-size:34px;letter-spacing:-1.1px;line-height:1.2;margin:10px 0}p{color:#728096;line-height:1.6}.heading p{margin:0;font-size:14px}.actions{display:flex;gap:10px;flex-shrink:0}.button{padding:11px 17px;border-radius:7px;border:1px solid transparent;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:6px}.primary{background:#2355dd;color:#fff;box-shadow:0 3px 7px #2355dd18}.primary:hover{background:#1946c1}.secondary{background:white;border-color:#dbe1ec;color:#35455f}.danger{background:#bc3045;color:white}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:32px 0}.stats>div{display:flex;align-items:center;gap:15px;padding:20px;background:white;border:1px solid #e4e9f2;border-radius:10px}.stat-icon{height:46px;width:46px;display:grid;place-items:center;border-radius:11px;font-size:25px}.blue{background:#ebf1ff;color:#426ee4}.orange{background:#fff1e5;color:#d48a40}.purple{background:#f1edff;color:#8766d2}.teal{background:#e7f5f4;color:#418f8b}.stats strong{display:block;font-size:24px;letter-spacing:-.6px}.stats div div>span{font-size:12px;color:#7e8a9d}.content{background:white;border:1px solid #e4e9f2;border-radius:12px;padding:24px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #edf0f5;padding-bottom:21px}.tabs{display:flex;gap:4px}.tabs button{border:0;background:transparent;padding:8px 12px;border-radius:6px;font-size:14px;color:#738095}.tabs button.selected{background:#edf2ff;color:#2355dd;font-weight:600}input,textarea,select{border:1px solid #dce3ed;border-radius:7px;padding:10px;background:white;color:#233653;font-size:14px}input:focus,textarea:focus,select:focus{outline:2px solid #9cb8ff;outline-offset:1px}#search{width:260px;background:#f9fafc}.list-heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 18px;gap:12px}h2{font-size:16px;margin:0;font-weight:650}#results{font-weight:400;color:#8a96a8;margin-left:5px}.sort-label{font-size:12px;color:#8792a4;display:flex;align-items:center;gap:8px}.sort-label select{border:0;padding:4px;font-size:12px;color:#61718a}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.card{border:1px solid #e0e6ef;border-radius:9px;overflow:hidden;transition:box-shadow .15s,transform .15s}.card:hover{box-shadow:0 5px 18px #213b6710;transform:translateY(-2px)}.card-open{border:0;padding:0;background:white;width:100%;text-align:left;color:inherit;display:block}.card-visual{height:142px;background:#f1f4fa;display:flex;align-items:center;justify-content:center;overflow:hidden}.card-visual img{width:100%;height:100%;object-fit:cover}.document-symbol{font-size:21px;font-weight:700;letter-spacing:1px;border:1px solid #d7e0ee;border-radius:7px;background:white;padding:19px 14px;color:#526d9b}.note-visual{background:#f6f3ff;color:#7f719c;display:block;padding:20px;font-size:12px;line-height:1.7;white-space:pre-wrap}.card-info{padding:16px 15px 10px}.card-name{font-weight:650;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-meta{margin-top:7px;font-size:12px;color:#8290a6}.card-bottom{padding:0 15px 12px;display:flex;align-items:center;justify-content:space-between;color:#8390a4;font-size:12px;gap:10px}.project-tag{background:#f1f4f9;border-radius:4px;padding:4px 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.delete{border:0;background:none;color:#8592a6;font-size:12px;padding:5px}.delete:hover{color:#b82e48}.empty{grid-column:1/-1;text-align:center;padding:30px;color:#7b899f;font-size:14px}.dropzone{display:flex;align-items:center;flex-direction:column;width:100%;border:1px dashed #cbd7eb;background:#fbfcff;border-radius:9px;padding:24px;margin-top:24px;color:#7e8ca3;gap:7px}.dropzone strong{color:#4a5e7e;font-size:14px}.dropzone span:not(.drop-icon){font-size:12px}.dropzone small{font-size:12px;color:#9aa5b5}.dropzone.drag{background:#eaf0ff;border-color:#2355dd}.drop-icon{background:#eaf0ff;border-radius:50%;width:32px;height:32px;color:#517ae2;display:grid;place-items:center;font-size:22px}footer{display:flex;justify-content:space-between;margin-top:23px;font-size:12px;color:#8996a9;gap:15px}dialog{border:0;border-radius:14px;box-shadow:0 24px 90px #14244640;padding:28px;max-width:min(660px,94vw);width:620px;color:#233653}dialog::backdrop{background:#12234170;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.dialog-heading h2{font-size:21px;overflow-wrap:anywhere}dialog label{display:flex;flex-direction:column;gap:8px;margin-top:16px;font-size:14px;font-weight:600}textarea{resize:vertical;line-height:1.7}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}#preview{width:850px;max-width:94vw}#preview-content img{display:block;max-width:100%;max-height:60vh;margin:auto}#preview-content iframe{width:100%;height:60vh;border:1px solid #e4e9f2}.error{color:#b32b41;font-size:14px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#203456;color:white;padding:13px 22px;border-radius:8px;box-shadow:0 4px 24px #16233c30;font-size:14px;max-width:90vw;z-index:10}[hidden]{display:none!important}@media(min-width:1500px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1150px){.heading{align-items:flex-start;flex-direction:column}.stats{gap:10px}.stats>div{padding:14px;gap:10px}.stat-icon{width:35px;height:35px}.toolbar{flex-wrap:wrap}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}main{padding:28px}.sidebar{width:218px}.main{margin-left:218px}}@media(max-width:700px){.sidebar{position:static;width:auto;padding:18px}.brand{font-size:21px}.workspace,.sidebar-bottom,.project-heading{display:none}.sidebar>.nav{margin-top:15px}.sidebar nav{display:flex;overflow:auto}.sidebar nav .nav{width:auto;flex-shrink:0}.main{margin:0}header{height:54px;padding:0 20px;font-size:12px}main{padding:24px 16px}.eyebrow{font-size:10px}h1{font-size:29px}.stats{grid-template-columns:1fr 1fr;margin:23px 0}.content{padding:15px}.toolbar{gap:14px}#search{width:100%}.tabs{width:100%;justify-content:space-between}.tabs button{padding:8px;font-size:13px}.grid{gap:12px}.card-visual{height:115px}.card-info{padding:12px}.card-bottom{padding:0 12px 10px}.card-name{font-size:13px}.sort-label{font-size:0}footer{flex-direction:column;font-size:11px}.local-label{font-size:11px}.actions{width:100%}.actions .button{flex:1;padding:11px 10px}}@media(max-width:380px){.grid{grid-template-columns:1fr}.stats strong{font-size:20px}}
.heading p{font-size:16px}.stats div div>span,.dropzone span:not(.drop-icon),.dropzone small,.note-visual{font-size:14px}.note-visual{line-height:1.6}.sidebar nav{overflow-y:auto;min-height:0}.sidebar-bottom{flex-shrink:0}@media(max-width:700px){.project-heading{display:flex;margin:10px 12px 4px}.sidebar nav{overflow-x:auto;overflow-y:visible}.card-name{font-size:14px}}
.pdf-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin-bottom:15px;font-size:14px}.pdf-paper{max-height:60vh;overflow:auto;background:#e7ecf3;padding:10px}.pdf-paper canvas{display:block;width:100%;height:auto;background:white;box-shadow:0 2px 10px #1a2a4520}
