@font-face{font-family:system;src:local("Segoe UI")}*{box-sizing:border-box}body{margin:0;font:15px/1.5 system,"Segoe UI",Arial,sans-serif;color:#233c35;background:#f7f8f4}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}a{color:inherit;text-decoration:none}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button{border:0}h1{font-size:36px;font-weight:650;letter-spacing:-1.2px;line-height:1.2}h2{font-size:24px;font-weight:600;letter-spacing:-.6px}h3{font-size:18px;font-weight:600}.muted{color:#758078}.eyebrow{display:block;font-size:10px;font-weight:650;letter-spacing:1.7px;color:#798a78;margin-bottom:14px}.brand{display:flex;align-items:center;gap:12px;font-size:20px;letter-spacing:2px;font-weight:650}.brand-mark{display:grid;place-items:center;width:36px;height:36px;background:#d7eea1;color:#25483c;border-radius:8px;font-size:22px;letter-spacing:0}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 19px;border-radius:7px;font-size:14px;font-weight:600;white-space:nowrap}.primary{background:#215b4c;color:white;box-shadow:0 2px 3px #1a4a3f12}.primary:hover{background:#174536}.primary:disabled{opacity:.5;cursor:default}.secondary{border:1px solid #d8ded4;background:white;color:#42584c}.secondary:hover{background:#f0f4ec}label{display:block;font-size:12px;font-weight:600;margin:24px 0 9px}input,select{width:100%;padding:12px;border:1px solid #d8ded4;border-radius:6px;background:#fff;color:#283b33}input:focus,select:focus{border-color:#53846b;outline:2px solid #53846b28}.error{color:#b14735;font-size:13px;margin-top:12px;min-height:20px}.login-screen{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.login-story{display:flex;flex-direction:column;background:#1c443c;color:#f7f9ef;padding:48px 64px;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;right:-110px;bottom:70px;width:360px;height:360px;border:60px solid #2b524647;border-radius:50%;pointer-events:none}.story-copy{margin:auto 0;padding-top:50px}.story-copy .eyebrow{color:#bad7a2}.story-copy h1{font-size:clamp(40px,4vw,60px);line-height:1.15;letter-spacing:-2px}.story-copy p{color:#aec6bb;margin-top:26px;font-size:16px}.project-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:40px;margin-bottom:80px}.project-tags span{border:1px solid #607e6d63;color:#cbdace;font-size:11px;padding:7px 11px;border-radius:4px}.story-footer{display:flex;justify-content:space-between;font-size:10px;color:#9fb6a7;letter-spacing:.8px}.login-panel{display:grid;place-items:center;padding:50px}.login-card{width:100%;max-width:360px}.login-card h2{font-size:28px;margin-bottom:10px}.login-card .primary{width:100%;margin-top:14px;justify-content:space-between}.login-note{text-align:center;font-size:11px;color:#8e998e;margin-top:28px}.workspace{display:flex;min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:245px;background:#1e4038;color:#e6efe4;padding:28px 20px;display:flex;flex-direction:column}.sidebar .brand{margin:0 10px 50px;font-size:18px}.nav-label{font-size:9px;letter-spacing:1.4px;color:#91a99a;margin:0 12px 12px}.project-nav-label{margin-top:35px}.nav-item{display:flex;align-items:center;gap:12px;background:transparent;color:#c7d7cc;width:100%;border-radius:6px;text-align:left;padding:11px 12px;font-size:12px;margin-bottom:6px}.nav-item>span{font-size:18px}.nav-item:hover{background:#ffffff0a}.nav-item.active{background:#d7eea11a;color:#e0f1bb}.nav-project-icon{display:grid;place-items:center;width:26px;height:26px;font-size:9px!important;border:1px solid #97b29136;border-radius:4px}.sidebar-bottom{margin-top:auto;padding-top:32px}.user-info{display:flex;gap:10px;align-items:center;border-top:1px solid #ffffff14;padding:22px 8px 12px}.avatar{display:grid;place-items:center;width:32px;height:32px;background:#456855;border-radius:50%;font-size:12px;color:#d0e4bc}.user-info strong{display:block;font-size:12px;font-weight:500}.user-info small{display:block;font-size:10px;color:#9caf9f;margin-top:2px}.logout{background:none;color:#a4b9aa;font-size:11px;padding:8px;width:100%;text-align:left}.main{margin-left:245px;padding:0 42px 40px;width:calc(100% - 245px)}.topbar{display:flex;justify-content:space-between;align-items:center;height:80px;border-bottom:1px solid #e2e7dc;font-size:11px;color:#838d80}.topbar span{margin:0 12px}.private-label{display:flex;align-items:center;gap:6px;font-size:10px}.status-dot{width:5px;height:5px;border-radius:50%;background:#7f9a5d;margin:0!important}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:45px 0 36px}.page-heading .muted{margin-top:10px;font-size:13px}.heading-stat{display:flex;flex-direction:column;align-items:flex-end;padding-left:30px;border-left:1px solid #dfe5d7}.heading-stat strong{font-size:34px;font-weight:500;line-height:1.1}.heading-stat span{font-size:10px;color:#7e897b;margin-top:7px}.project-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-card{background:white;border:1px solid #e0e6d9;border-radius:10px;padding:25px;text-align:left;min-height:235px;display:flex;flex-direction:column;transition:transform .15s,border-color .15s}.project-card:hover{transform:translateY(-3px);border-color:#97ae89}.card-top{display:flex;justify-content:space-between;align-items:center}.project-badge{border:1px solid #dbe3cc;background:#f0f4e6;color:#6b8154;padding:5px 8px;font-size:10px;border-radius:4px;font-weight:600;letter-spacing:.5px}.project-card:nth-child(2) .project-badge{background:#eef3fa;border-color:#dfe7f1;color:#7685a0}.project-card:nth-child(3) .project-badge{background:#faf1e6;border-color:#eee2d3;color:#a08a6c}.card-arrow{color:#8e9e86;font-size:21px}.project-card h2{font-size:20px;margin-top:25px;letter-spacing:-.5px}.card-caption{font-size:11px;color:#8c9786;margin-top:8px}.card-footer{display:flex;justify-content:space-between;border-top:1px solid #edf0e8;margin-top:auto;padding-top:19px;font-size:11px;color:#7c8874}.home-guide{display:flex;align-items:center;gap:18px;padding:28px 0;margin-top:38px;border-top:1px solid #dfe5d8}.guide-icon{width:39px;height:39px;border-radius:50%;background:#e9eee1;color:#879675;display:grid;place-items:center;font-size:20px}.home-guide h3{font-size:13px;margin-bottom:7px}.home-guide p{font-size:11px;color:#8a9483;line-height:1.8}.guide-categories{font-size:10px;color:#89977e;margin-left:auto;max-width:165px;line-height:2}.tabs{display:flex;gap:4px;border-bottom:1px solid #dce3d5;overflow:auto;margin-bottom:29px}.tab{padding:12px 15px;background:none;border-bottom:2px solid transparent;font-size:12px;color:#7c8874;white-space:nowrap}.tab.active{color:#245b48;border-color:#245b48;font-weight:600}.tab-count{font-size:10px;background:#e9eee2;padding:2px 5px;border-radius:4px;margin-left:6px}.file-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.file-toolbar h2{font-size:17px}.search-box{display:flex;align-items:center;border:1px solid #dfe5d7;border-radius:6px;background:#fff;padding-left:10px;color:#85937e}.search-box input{border:0;background:none;padding:9px 10px;font-size:11px;width:215px}.search-box span{font-size:20px}.file-panel{background:white;border:1px solid #e0e5d9;border-radius:9px;overflow:hidden}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{padding:14px 15px;border-bottom:1px solid #e8eddf;font-size:10px;font-weight:500;color:#909b84;text-align:left;background:#fcfdf9}td{padding:16px 15px;border-bottom:1px solid #edf0e7;font-size:11px;color:#7d8a72}tr:last-child td{border-bottom:0}th:first-child,td:first-child{padding-left:23px}tbody tr:hover{background:#fcfdf9}.file-name-cell{display:flex;gap:12px;align-items:center;max-width:330px}.file-name{font-size:12px;color:#344c3d;max-width:270px;overflow:hidden;text-overflow:ellipsis;text-align:left}.file-symbol{flex-shrink:0;width:31px;height:35px;border-radius:4px;border:1px solid #dbe4d3;background:#f3f6ed;font-size:8px;color:#718563;display:grid;place-items:center;font-weight:650}.file-symbol.pdf{background:#faf0ea;color:#bb8165;border-color:#f0dfd1}.file-symbol.model{background:#edf1f7;color:#758baa;border-color:#dce4ef}.file-actions{display:flex;gap:7px;justify-content:flex-end}.file-action{padding:6px 9px;border:1px solid #e3e8dc;border-radius:4px;font-size:10px;color:#6b805d;background:white}.file-action:hover{background:#f0f5e8}.empty-state{padding:55px 20px;text-align:center}.empty-icon{display:grid;place-items:center;width:50px;height:55px;background:#f0f4e8;border-radius:8px;font-size:30px;color:#a5b493;margin:0 auto 17px}.empty-state h3{font-size:17px}.empty-state p{font-size:12px;color:#8b9682;margin:9px 0 20px}.storage-note{font-size:10px;color:#96a08d;margin-top:15px}.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}dialog{border:1px solid #dde3d4;border-radius:12px;padding:28px;width:min(530px,calc(100% - 24px));color:#324d3c;box-shadow:0 20px 80px #13271933}dialog::backdrop{background:#10291c77;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.dialog-head .eyebrow{margin-bottom:8px}.icon-button{background:transparent;color:#829177;font-size:28px;padding:0 5px;line-height:1}.dialog-head+p{margin-top:10px;font-size:12px}.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:27px 16px;border:1px dashed #b7c9a0;border-radius:8px;background:#f8faf4;cursor:pointer;margin-top:20px;text-align:center}.dropzone>span{font-size:30px;color:#6c8852;margin-bottom:8px}.dropzone strong{font-size:12px;font-weight:500}.dropzone small{font-size:10px;color:#8d9b7f;margin-top:7px}.dropzone.dragging{background:#e9f3dc;border-color:#618e37}.upload-selection{list-style:none;padding:0;margin:13px 0;max-height:150px;overflow:auto;font-size:11px}.upload-selection li{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #edf1e6}.upload-selection li span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}progress{width:100%;height:7px;accent-color:#3e724e}#progress-label{font-size:11px;margin-top:8px}.preview-dialog{width:min(1100px,calc(100% - 30px));max-height:94dvh;padding:22px}.preview-dialog h2{font-size:17px;overflow-wrap:anywhere}.preview-meta{font-size:10px;margin-top:5px}.preview-actions{display:flex;align-items:center;gap:15px}.preview-actions .secondary{font-size:11px;padding:7px 11px}.preview-body{height:65dvh;min-height:240px;margin-top:20px;background:#f0f3ec;border-radius:7px;overflow:auto;display:flex;align-items:center;justify-content:center}.preview-body iframe{width:100%;height:100%;border:0}.preview-body img{max-width:100%;max-height:100%;object-fit:contain}.preview-body pre{width:100%;height:100%;margin:0;padding:24px;font:12px/1.7 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;color:#435438}.preview-body canvas{width:100%;height:100%;touch-action:none;cursor:grab}.preview-message{padding:30px;text-align:center}.preview-message h3{font-size:17px;margin-bottom:10px}.preview-message p{font-size:12px;color:#7a886c;max-width:400px;margin:auto;line-height:1.8}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:12px 23px;background:#254c38;color:white;border-radius:7px;box-shadow:0 7px 25px #13271933;font-size:13px;z-index:100}.toast.error-toast{background:#874533}@media(min-width:1500px){.main{padding-left:65px;padding-right:65px}.project-card{min-height:260px;padding:30px}.project-card h2{font-size:23px}}@media(max-width:1100px){.main{padding:0 25px 30px}.sidebar{width:215px}.main{margin-left:215px;width:calc(100% - 215px)}.project-cards{gap:12px}.project-card{padding:18px}.project-card h2{font-size:17px}.guide-categories{display:none}.file-name-cell{max-width:240px}.file-name{max-width:180px}}@media(max-width:850px){.login-story{padding:40px 30px}.login-panel{padding:30px}.project-cards{grid-template-columns:1fr}.project-card{min-height:180px}.project-card h2{margin-top:15px}.card-footer{margin-top:18px}.page-heading h1{font-size:28px}.heading-stat{display:none}.page-heading{align-items:flex-start}.page-heading>.primary{font-size:11px;padding:10px}}@media(max-width:640px){.login-screen{grid-template-columns:1fr}.login-story{padding:24px}.story-copy{padding-top:34px}.story-copy h1{font-size:35px}.story-copy p{display:none}.project-tags{margin:24px 0 0}.story-footer{display:none}.login-panel{padding:32px 24px 50px}.sidebar{position:static;width:100%;padding:14px 18px;flex-direction:row;align-items:center;gap:12px;flex-wrap:wrap}.sidebar .brand{margin:0;font-size:16px;flex:1}.sidebar .brand-mark{width:29px;height:29px;font-size:18px}.nav-label,.sidebar nav,.sidebar-bottom .user-info{display:none}.sidebar-bottom{margin:0;padding:0}.sidebar-bottom .logout{font-size:10px}.sidebar>#home-nav{width:auto;margin:0;font-size:11px}.workspace{flex-direction:column}.main{margin:0;width:100%;padding:0 18px 30px}.topbar{height:58px;font-size:10px}.private-label{display:none}.page-heading{margin:28px 0 25px;flex-wrap:wrap}.page-heading h1{font-size:27px}.page-heading .eyebrow{font-size:9px}.page-heading>.primary{width:100%;justify-content:center}.project-card h2{font-size:20px}.home-guide{margin-top:22px;padding:22px 0}.file-toolbar{gap:12px}.file-toolbar h2{font-size:15px}.search-box input{width:140px}.tabs{margin-bottom:22px}.tab{padding:10px;font-size:11px}.preview-dialog{padding:15px}.preview-actions{gap:6px}.preview-actions .secondary{font-size:10px}.preview-body{height:65dvh}.dialog-head h2{font-size:21px}td,th{padding:12px}.file-name{max-width:170px}}
.file-name{background:none;padding:0}
.invoice-status{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:112px;padding:7px 10px;border:1px solid #e8dcc9;border-radius:6px;background:#fbf5e9;color:#74562a;text-align:left;font-size:11px;font-weight:600;line-height:1.3;white-space:nowrap}
.invoice-status:hover{background:#f5ead4}
.invoice-status.is-done{border-color:#c9dec7;background:#edf6ea;color:#32633f}
.invoice-status.is-done:hover{background:#e1f0dd}
.invoice-status small{font-size:10px;font-weight:400}
#invoice-status-dialog{width:min(440px,calc(100% - 24px))}
#invoice-status-file{overflow-wrap:anywhere}

/* Fit file details to the available screen instead of requiring horizontal scrolling. */
@media(max-width:900px){
  .file-panel,.table-scroll{overflow:visible}
  .file-panel table,.file-panel tbody,.file-panel tr,.file-panel td{display:block;width:100%}
  .file-panel thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .file-panel tbody{padding:8px}
  .file-panel tbody tr{margin:0 0 9px;padding:9px 13px;border:1px solid #e0e5d9;border-radius:8px;background:#fff;white-space:normal}
  .file-panel tbody tr:last-child{margin-bottom:0}
  .file-panel tbody td{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:7px 2px;border:0;font-size:12px;min-width:0;overflow-wrap:anywhere}
  .file-panel tbody td:first-child{padding:4px 2px 12px;border-bottom:1px solid #edf0e7;margin-bottom:5px}
  .file-panel tbody td:first-child::before{display:none}
  .file-panel tbody td::before{content:attr(data-label);flex:0 0 82px;color:#7d8a72;font-size:11px;font-weight:600}
  .file-name-cell{max-width:none;min-width:0;width:100%}
  .file-name{max-width:none;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
  .file-actions{justify-content:flex-end;flex-wrap:wrap}
  .file-action{min-height:38px;padding:8px 11px;font-size:12px}
  .file-actions a.file-action::after{content:" Скачать"}
  .invoice-status{min-height:38px;max-width:180px;white-space:normal}
}
@media(max-width:640px){
  .main,.page-heading,.file-toolbar{min-width:0}
  .topbar #breadcrumb{overflow-wrap:anywhere}
  .file-toolbar{flex-wrap:wrap}
  .file-toolbar .search-box{width:100%}
  .file-toolbar .search-box input{width:100%;min-width:0;font-size:14px}
  .preview-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:12px}
  .preview-dialog .dialog-head{flex-wrap:wrap}
  .preview-dialog .dialog-head>div:first-child{min-width:0;width:100%}
  .preview-actions{width:100%;justify-content:space-between}
  .preview-actions .secondary{min-height:40px;font-size:12px}
  .preview-body{height:min(66dvh,calc(100dvh - 175px));min-height:180px;margin-top:12px}
  .toast{width:calc(100% - 32px);text-align:center}
}
.invoice-status-hint{margin:-7px 0 14px;font-size:12px;color:#6b786a;line-height:1.5}
.invoice-status.is-readonly{cursor:default}
.invoice-status.is-readonly:hover{background:#fbf5e9}
.invoice-status.is-readonly.is-done:hover{background:#edf6ea}
.file-delete{color:#9b493b;border-color:#e9d3cd}
.file-delete:hover{background:#fdf0ed}
#move-file-name{overflow-wrap:anywhere}
.folder-bar{margin:-10px 0 24px}
.folder-bar-head{display:flex;align-items:center;gap:12px;min-height:42px;margin-bottom:12px}
.folder-bar-head strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}
.folder-bar-head .secondary{padding:7px 11px;font-size:11px}
#folder-create{margin-left:auto}
.folder-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.folder-card{display:flex;align-items:center;gap:10px;min-width:0;padding:13px;border:1px solid #dfe5d7;border-radius:7px;background:#fff;color:#34513f;text-align:left}
.folder-card:hover{background:#f0f5e9;border-color:#9db998}
.folder-icon{font-size:23px;color:#789468}
.folder-name{min-width:0;flex:1;font-size:12px;overflow-wrap:anywhere}
.folder-card small{font-size:10px;color:#84917c;white-space:nowrap}
@media(max-width:640px){.folder-list{grid-template-columns:1fr}.folder-bar-head{flex-wrap:wrap}.folder-card{min-height:50px}}
.file-select{flex:0 0 17px;width:17px;height:17px;margin:0;accent-color:#245b48;cursor:pointer}
.bulk-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:-4px 0 16px;padding:10px;border:1px solid #dce5d6;border-radius:7px;background:#f2f7ed}
.bulk-bar .secondary{padding:7px 10px;font-size:11px}
.bulk-bar .secondary:disabled{opacity:.48;cursor:default}
#bulk-count{font-size:11px;color:#476044;margin-right:auto}
#bulk-hint{width:100%;font-size:10px;color:#a35c43}
#bulk-hint:empty{display:none}
@media(max-width:640px){.bulk-bar .secondary{min-height:38px;font-size:11px}#bulk-count{margin-right:0}}
