@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');
:root{font-family:'Vazirmatn',Tahoma,'Segoe UI',sans-serif;color:#20273b;background:#f7f8fc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--primary:#625ce6;--primary-dark:#4e47cb;--text:#20273b;--muted:#8d93a5;--border:#eceefa;--shadow:0 8px 30px rgba(38,51,91,.035)}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-size:14px}
body{direction:rtl}
a{text-decoration:none;color:inherit}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.58}
a,button,input,textarea,select{outline-offset:3px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #8985f4}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{letter-spacing:-.035em}
#app{min-height:100vh}
.app-shell{min-height:100vh;display:flex;direction:rtl}
.sidebar{background:#fff;border-left:1px solid #edf0f8;width:250px;flex:none;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:30px 19px 18px;z-index:15}
.brand{display:flex;align-items:center;gap:12px;padding:0 8px;margin-bottom:53px}
.brand-mark{width:43px;height:43px;border-radius:14px;background:linear-gradient(140deg,#7972f2,#5c56dc);box-shadow:0 8px 20px #6962ef3b;color:white;font-size:26px;font-weight:800;display:grid;place-items:center;line-height:1}
.brand strong{font-size:21px;display:block;line-height:1.45}
.brand small,.auth-logo small{font:700 9px 'Segoe UI',sans-serif;letter-spacing:2px;color:#a5a9b8;display:block}
.workspace-label{font-size:11px;font-weight:700;color:#afb3c1;margin:0 15px 16px}
.side-nav{display:grid;gap:9px}
.nav-item{height:45px;border-radius:12px;color:#777e93;display:flex;align-items:center;gap:13px;font-weight:600;padding:0 15px;transition:.2s}
.nav-item:hover{color:#5e58d6;background:#f6f5ff}
.nav-item.active{color:#5b55d8;background:#efedff}
.nav-symbol{font-size:22px;line-height:1;width:25px;text-align:center}
.nav-end{margin-right:auto;font-size:17px}
.sidebar-bottom{margin-top:auto}
.sidebar-tip{border-radius:18px;padding:20px 16px;background:linear-gradient(135deg,#f3f1ff,#f7f8ff);display:grid;gap:7px;position:relative;margin-bottom:26px}
.sidebar-tip .tip-icon{font-size:29px;color:var(--primary)}
.sidebar-tip strong{font-size:12px;color:#5c55b5}
.sidebar-tip small{font-size:11px;color:#8d8bb1;line-height:2}
.profile-box{display:flex;align-items:center;border-top:1px solid var(--border);padding-top:19px;gap:11px}
.avatar{height:38px;width:38px;border-radius:12px;background:#eeeaff;display:grid;place-items:center;color:#625ce6;font-weight:800}
.profile-copy{display:grid;gap:1px;min-width:0}
.profile-copy strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:113px}
.profile-copy small{font-size:10px;color:var(--muted)}
.profile-box .logout{margin-right:auto;font-size:21px;color:#a1a4b4}
.app-main{flex:1;min-width:0}
.topbar{height:76px;background:#fff;border-bottom:1px solid #eceef6;padding:0 43px;display:flex;align-items:center;justify-content:space-between}
.topbar-start,.topbar-end{display:flex;align-items:center;gap:13px}
.crumb{color:#9298a8;font-size:12px}
.crumb-current{font-size:12px;font-weight:700}
.crumb-divider{color:#c1c6d2}
.topbar-status{font-size:11px;font-weight:600;color:#7e8796}
.topbar-status i{display:inline-block;background:#41c6a1;width:7px;height:7px;border-radius:100%;margin-left:5px}
.topbar-avatar{border-radius:50%;background:#f0efff;color:#665fe8;width:35px;height:35px;display:grid;place-items:center}
.content{padding:38px 42px 65px;max-width:1640px;margin:auto}
.page-head{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:34px}
.eyebrow{font-size:11px;letter-spacing:.04em;font-weight:750;color:#7773dd;margin-bottom:11px}
.page-head h1{font-size:29px;font-weight:800;margin:0 0 9px;line-height:1.6}
.title-spark{font-size:18px;color:#c0a2f3;vertical-align:middle}
.page-subtitle{font-size:12px;color:#989eaf;line-height:2;margin-bottom:0}
.btn{border:0;border-radius:11px;padding:10px 18px;min-height:42px;font-weight:700;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:.17s;white-space:nowrap}
.btn-primary{color:#fff;background:var(--primary);box-shadow:0 7px 15px #625ce62a}
.btn-primary:not(:disabled):hover{background:var(--primary-dark);transform:translateY(-1px)}
.btn-plus{font-size:20px;font-weight:400;line-height:1}
.btn-ghost{background:#f4f5fa;color:#657087}
.btn-ghost:hover{background:#e9eaf2}
.btn-danger{background:#e85f72;color:white}
.btn-danger-outline{color:#d85364;background:#fff1f2}
.btn-wide{width:100%}
.icon-btn{width:32px;height:32px;border:0;background:transparent;border-radius:9px;display:grid;place-items:center;color:#949cad;font-size:17px}
.icon-btn:hover{background:#f4f3fe;color:#5f58da}
.danger-hover:hover{background:#fff0f1;color:#e85564}
.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:38px}
.metric-card{position:relative;display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #eef0f8;border-radius:17px;padding:21px 20px;min-height:110px;box-shadow:var(--shadow)}
.metric-icon{height:48px;width:48px;border-radius:14px;display:grid;place-items:center;font-size:23px;font-weight:700;flex:none}
.icon-purple{background:#efedff;color:#7870e8}
.icon-amber{background:#fff4e7;color:#e7a85d}
.icon-blue{background:#eaf2ff;color:#6a97ec}
.icon-teal{background:#e7f8f4;color:#41c0a1}
.metric-label{font-size:11px;color:#9298a8;font-weight:650;margin-bottom:7px}
.metric-number{font-size:25px;font-weight:800;line-height:1.25;direction:ltr;text-align:right}
.metric-accent{color:#74c9a9;margin-right:auto;margin-top:-36px;font-size:17px}
.section-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}
.section-header h2{font-size:18px;font-weight:800;margin:0 0 6px}
.section-header p{font-size:11px;color:#9a9fb0;margin:0}
.count-pill{display:inline-block;border-radius:7px;padding:2px 8px;background:#edebff;color:#6660d7;font-size:11px;vertical-align:middle;margin-right:6px}
.search-field{display:flex;align-items:center;gap:9px;background:white;border:1px solid #edeef6;border-radius:11px;padding:0 12px;height:41px;color:#b4bac8;min-width:235px}
.search-field span{font-size:25px;line-height:1}
.search-field input{border:0;outline:0!important;width:100%;background:transparent;color:var(--text);font-size:11px;min-width:0}
.search-field input::placeholder{color:#adb3c0}
.projects-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.project-card{background:#fff;border:1px solid #eef0f7;box-shadow:var(--shadow);border-radius:17px;padding:22px 19px 16px;min-width:0;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.project-card:hover{transform:translateY(-3px);box-shadow:0 13px 40px #323d7113}
.project-card-top{display:flex;justify-content:space-between;align-items:start;margin-bottom:22px}
.project-emblem{width:46px;height:46px;border-radius:13px;background:linear-gradient(140deg,#eeeaff,#f9f6ff);color:#7066e2;display:grid;place-items:center;font-size:21px;font-weight:800}
.project-card:nth-child(4n+2) .project-emblem{background:#e8f5f9;color:#55a0be}
.project-card:nth-child(4n+3) .project-emblem{background:#fff1e9;color:#dfa273}
.project-card:nth-child(4n+4) .project-emblem{background:#eaf8f0;color:#56ad84}
.project-badge{background:#effaf4;color:#50b48d;font-size:10px;font-weight:700;padding:5px 9px;border-radius:7px}
.badge-dot{display:inline-block;width:6px;height:6px;background:#61c59d;border-radius:50%;vertical-align:middle;margin-left:4px}
.project-card h3{font-size:14px;font-weight:800;margin:0 0 6px;min-height:25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.project-description{color:#9fa4b3;line-height:1.85;font-size:11px;min-height:40px;max-height:40px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 20px}
.project-progress-caption{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;font-size:10px;color:#9298a9}
.project-progress-caption strong{font-size:11px;color:#746bdd}
.progress-bar{height:7px;border-radius:20px;background:#eeeff7;overflow:hidden;margin-bottom:19px;direction:rtl}
.progress-bar>span{height:100%;display:block;border-radius:20px;background:linear-gradient(90deg,#8980f3,#655fe1);transition:width .25s}
.project-stats{display:flex;justify-content:space-between;background:#fafbfe;border-radius:11px;padding:12px 9px;margin-bottom:16px;gap:4px}
.project-stats>div{display:grid;justify-items:center;flex:1;gap:3px}
.project-stats b{font-size:17px;line-height:1.4}
.project-stats small{font-family:'Segoe UI',sans-serif;font-size:9px;color:#a2a7b5;direction:ltr;white-space:nowrap}
.stat-amber{color:#e4a65f}
.stat-blue{color:#6b98e9}
.stat-green{color:#53b99f}
.project-card-bottom{border-top:1px solid #f2f3f8;padding-top:12px;margin-top:auto;display:flex;align-items:center;justify-content:space-between}
.board-link{font-size:11px;font-weight:750;color:#6863dd}
.board-link span{margin-right:4px;font-size:17px;vertical-align:middle}
.board-link:hover{text-decoration:underline}
.card-actions{display:flex;gap:3px}
.empty-state{padding:70px 20px;background:white;border:1px dashed #dcdff0;border-radius:17px;text-align:center;color:#9aa0b1}
.empty-state h3{color:#4b5269}
.empty-icon{font-size:45px;color:#aea7f8}
.empty-state p{font-size:12px;margin-bottom:15px}
.page-loading{display:flex;justify-content:center;align-items:center;gap:13px;min-height:240px;color:#868da1}
.spinner{height:22px;width:22px;border:3px solid #e5e3fd;border-top-color:#6961e4;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}
}
.alert{padding:12px 16px;border-radius:11px;font-size:12px;line-height:1.85;margin:0 0 20px}
.alert-error{background:#fff0f1;color:#be465a;border:1px solid #f9d8df}
.alert-success{background:#e9f9f3;color:#168765;border:1px solid #c7f0e1}
.alert-info{background:#f1f0ff;color:#625bc0;border:1px solid #e1dfff}
.alert-dismiss{float:left;border:0;background:transparent;color:inherit;font-size:19px;cursor:pointer}
.modal-backdrop{position:fixed;inset:0;z-index:50;background:#1e244670;backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:center;padding:20px}
.modal{width:min(100%,510px);max-height:calc(100vh - 40px);overflow:auto;border-radius:21px;background:white;box-shadow:0 20px 80px #16203d30;padding:27px 29px}
.modal-small{max-width:420px}
.modal h2{font-size:19px;margin:0 0 10px}
.modal-small p{font-size:12px;line-height:2;color:#7d8498}
.modal-head{display:flex;align-items:start;justify-content:space-between;margin-bottom:22px}
.modal-head .eyebrow{margin-bottom:3px}
.modal-head h2{margin:0;font-size:20px}
.modal-head .icon-btn{font-size:26px}
.field-label{display:block;color:#444e63;font-size:11px;font-weight:800;margin:15px 0 8px}
.required{color:#e65d73}
.form-control{width:100%;background:#fbfcff;border:1px solid #e8ebf4;border-radius:11px;color:#354056;min-height:43px;padding:11px 13px;outline:0;transition:border-color .2s;min-width:0}
.form-control:focus{border-color:#8b84e9;background:#fff}
.form-control:disabled{color:#9ea5b7;background:#f6f7fa}
textarea.form-control{resize:vertical;line-height:1.9}
.form-control::placeholder{color:#b4b9c6}
.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding-top:24px;flex-wrap:wrap}
.form-help{color:#a1a5b1;font-size:10px;line-height:1.85;margin:8px 0}
.board-breadcrumb{font-size:11px;color:#aaaebe;display:flex;gap:10px;align-items:center;margin-bottom:18px}
.board-breadcrumb a:hover{color:#655ee0}
.board-breadcrumb span:last-child{color:#6f7590}
.board-page-head{margin-bottom:27px}
.board-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}
.board-summary{display:flex;align-items:center;gap:7px;color:#9298ab;font-size:11px}
.board-summary strong{font-size:12px;color:#3a4159}
.board-summary-icon{color:#7d77dd;font-size:20px}
.toolbar-divider{padding:0 9px;color:#d7dae4}
.kanban-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;align-items:start;direction:ltr}
.kanban-column{direction:rtl;border-radius:17px;padding:19px 15px;min-width:0;min-height:520px;background:#f0f2f8;border:1px solid #eaeef6}
.kanban-column.status-todo{background:#f6f3f5}
.kanban-column.status-progress{background:#eff3fc}
.kanban-column.status-done{background:#eef7f5}
.column-top{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 5px}
.column-name{display:flex;align-items:center;gap:8px;direction:ltr}
.column-name h2{font:700 14px 'Segoe UI',sans-serif;white-space:nowrap;margin:0;color:#4b5262}
.column-dot{width:9px;height:9px;border-radius:50%;background:#dfaa82}
.status-progress .column-dot{background:#7195e7}
.status-done .column-dot{background:#58c1a2}
.column-count{min-width:23px;height:23px;display:grid;place-items:center;background:white;border-radius:8px;font-size:11px;color:#798090}
.column-decoration{color:#abb0be;letter-spacing:2px;font-size:15px}
.column-subtitle{font-size:10px;color:#a1a4b3;margin:8px 6px 18px}
.column-tasks{display:flex;flex-direction:column;gap:13px}
.task-card{background:#fff;border:1px solid #ecedf4;border-radius:14px;padding:17px 16px 13px;box-shadow:0 5px 18px #28355b07;transition:border-color .15s,opacity .15s}
.task-card[draggable=true]{cursor:grab}
.task-card.drag-active{opacity:.55;border-style:dashed;border-color:#7672e8}
.task-card:hover{border-color:#d9d8f9}
.task-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}
.task-category{background:#f3f1fe;border-radius:6px;color:#8175d1;padding:4px 8px;font-size:10px;font-weight:650}
.task-more{font-size:17px;letter-spacing:2px;border:0;background:transparent;color:#b2b7c5;line-height:1;padding:3px 5px}
.task-title{font-weight:800;font-size:13px;color:#353d53;text-align:right;line-height:1.9;display:block;width:100%;padding:0;border:0;background:transparent}
.task-title:hover{color:#625ce6}
.task-description{font-size:11px;color:#9ea4b3;line-height:1.9;min-height:39px;margin:6px 0 12px;max-height:42px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.task-date{display:flex;align-items:center;gap:6px;color:#afb5c1;font-size:10px;padding-bottom:14px}
.task-date span{font-size:15px}
.task-bottom{border-top:1px solid #f0f1f7;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:6px}
.assignee{display:flex;align-items:center;gap:7px;min-width:0;font-size:10px;font-weight:650;color:#777e91}
.assignee>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.assignee-avatar{height:27px;width:27px;flex:none;border-radius:9px;background:#ece9ff;color:#716ae1;display:inline-grid;place-items:center;font-size:11px;font-weight:800}
.task-card:nth-child(2n) .assignee-avatar{background:#e4f4f3;color:#58aea6}
.task-permission{font-size:9px;color:#aab0bb;white-space:nowrap}
.task-move{display:flex;justify-content:space-between;align-items:center;padding-top:11px;gap:7px;margin-top:11px;border-top:1px dashed #eef0f4}
.task-move label{font-size:9px;color:#abb0bd}
.mini-select{font-family:'Segoe UI',sans-serif;border:1px solid #e7e7f4;background:#f8f8fe;color:#6660c9;border-radius:7px;padding:5px 8px;font-size:10px;max-width:130px;direction:ltr}
.column-empty{min-height:160px;border:1px dashed #d9dcea;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#b9bdc9}
.column-empty span{font-size:30px}
.column-empty small{font-size:10px}
.board-footnote{color:#9aa0b2;font-size:10px;line-height:2;margin-top:20px}
.detail-status{display:flex;justify-content:space-between;margin-top:18px;align-items:center;padding:14px 0;border-top:1px dashed #edf0f6;font-size:11px;color:#888fa2}
.status-tag{border-radius:7px;padding:5px 10px;font:700 11px 'Segoe UI',sans-serif}
.status-tag.status-todo{background:#fff2e5;color:#c18d58}
.status-tag.status-progress{background:#eaf1ff;color:#5f87d9}
.status-tag.status-done{background:#e9f8f2;color:#48aa87}
.readonly-person{border:1px solid #eceef6;border-radius:10px;background:#f8f9fc;padding:9px 12px;display:flex;align-items:center;gap:9px;font-size:12px;color:#667085}
.users-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:23px}
.users-stat{background:#fff;border:1px solid #eef0f6;border-radius:15px;padding:21px;display:grid;gap:6px}
.users-stat span{font-size:11px;color:#a0a5b3}
.users-stat strong{font-size:27px}
.panel{background:#fff;border:1px solid #eef0f6;border-radius:17px;padding:22px}
.user-panel .section-header{margin-bottom:22px}
.table-scroll{overflow-x:auto}
.users-table{border-collapse:collapse;width:100%;min-width:600px;text-align:right}
.users-table th{text-align:right;color:#9ca2b0;font-size:11px;font-weight:700;border-bottom:1px solid #eef0f5;padding:15px 13px}
.users-table td{padding:14px 13px;border-bottom:1px solid #f1f2f7;font-size:11px;color:#6e7588}
.users-table tbody tr:last-child td{border-bottom:0}
.table-person{display:flex;align-items:center;gap:9px;color:#414a61}
.table-person strong{font-size:11px}
.role-badge{display:inline-block;font:700 11px 'Segoe UI',sans-serif;border-radius:8px;padding:6px 11px}
.role-admin{background:#f1ecff;color:#6b60cd}
.role-user{background:#e9f7f4;color:#4a9f88}
.role-select{width:112px;min-height:34px;padding:4px 8px;direction:ltr}
.you-badge{padding:4px 6px;background:#f2f3f7;color:#98a0b0;border-radius:6px}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:48% 52%;direction:rtl;background:#fff}
.auth-showcase{background:linear-gradient(138deg,#625be6,#8373e9 62%,#9b7ced);color:#fff;min-height:100vh;padding:39px 64px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.auth-showcase:before{content:'';position:absolute;width:540px;height:540px;border:1px solid #ffffff19;border-radius:50%;left:-180px;bottom:-190px}
.auth-showcase:after{content:'';position:absolute;width:300px;height:300px;border:1px solid #ffffff20;border-radius:50%;left:-100px;top:140px}
.auth-logo{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:800;position:relative;z-index:1}
.auth-logo .brand-mark{background:#ffffff25;border:1px solid #ffffff33;box-shadow:none}
.auth-logo small{color:#dad5ff;margin-right:4px}
.showcase-content{position:relative;z-index:1;margin:auto 0;max-width:500px}
.eyebrow.light{display:block;color:#e2dbff;font-size:12px;margin-bottom:18px}
.showcase-content h2{font-size:clamp(31px,4vw,57px);font-weight:800;line-height:1.5;margin-bottom:14px}
.showcase-content h2 em{font-style:normal;color:#f6cfb5}
.showcase-content>p{font-size:13px;line-height:2.3;color:#ece8ff;max-width:360px;margin-bottom:33px}
.mock-preview{border-radius:18px;padding:21px;max-width:385px;transform:rotate(-3deg);background:#ffffff23;backdrop-filter:blur(6px);border:1px solid #ffffff33;box-shadow:0 24px 75px #3e36a83f}
.mock-heading{display:flex;justify-content:space-between;font-size:11px;color:#fff;margin-bottom:21px}
.mock-heading span:last-child{opacity:.65;font-size:9px}
.mock-bars{display:grid;gap:12px;padding-bottom:18px}
.mock-bars span{height:8px;background:#ffffffa5;border-radius:10px}
.mock-bars span:nth-child(2){background:#e3d4ff}
.mock-bars span:nth-child(3){background:#aeeae1}
.mock-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.mock-tiles div{border-radius:12px;background:#ffffff25;padding:10px;font-size:10px;color:#eae4ff}
.mock-tiles b{display:block;color:#fff;font-size:21px}
.showcase-foot{position:relative;z-index:1;color:#e8ddff;font-size:10px}
.auth-main{display:flex;justify-content:center;align-items:center;padding:55px 40px}
.auth-form-wrap{max-width:405px;width:100%}
.auth-welcome{margin-bottom:33px}
.auth-welcome .eyebrow{font-size:12px;margin-bottom:9px}
.auth-welcome h1{font-size:29px;font-weight:800;margin-bottom:8px}
.auth-welcome p{color:#9da3b2;font-size:12px;line-height:2}
.auth-form-wrap .field-label{font-size:12px;margin-top:19px}
.auth-form-wrap .form-control{padding:13px;min-height:49px}
.auth-submit{min-height:49px;margin-top:29px;display:flex;justify-content:space-between;padding-inline:19px}
.auth-submit span{font-size:20px;font-weight:400}
.auth-switch{text-align:center;font-size:12px;margin-top:24px;color:#8d94a4}
.auth-switch a{font-weight:800;color:#625ce6}
.auth-hint{text-align:center;color:#b1b6c2;font-size:10px;margin-top:38px;line-height:2}
.access-denied{max-width:450px;margin:80px auto;text-align:center}
.access-denied p{color:var(--muted)}
.boot-loader{height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#807bd3}
.menu-toggle{display:none}
.mobile-scrim{display:none}
#blazor-error-ui{position:fixed;bottom:0;background:#fff1f3;color:#a8394b;padding:15px 24px;box-shadow:0 0 12px #0002;width:100%;z-index:99}
#blazor-error-ui[hidden]{display:none}

@media(max-width:1400px){.projects-grid,.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.sidebar{width:225px}
.content{padding:35px 31px}
.topbar{padding:0 31px}
}

@media(min-width:1401px) and (max-width:1650px){.project-card{padding-inline:15px}
.project-stats small{font-size:8px}
}

@media(max-width:1050px){.kanban-grid{grid-template-columns:repeat(3,minmax(270px,1fr));overflow-x:auto;padding-bottom:10px}
.auth-showcase{padding:35px}
.auth-shell{grid-template-columns:45% 55%}
.showcase-content h2{font-size:36px}
}

@media(max-width:750px){.sidebar{position:fixed;right:0;top:0;height:100vh;transform:translateX(105%);transition:transform .2s;box-shadow:-7px 0 28px #1d24431a}
.sidebar.sidebar-open{transform:translateX(0)}
.mobile-scrim{display:block;position:fixed;inset:0;background:#181e3066;z-index:14;border:0}
.menu-toggle{display:grid;font-size:18px}
.topbar{height:64px;padding:0 20px}
.content{padding:24px 17px 45px}
.page-head{align-items:flex-start}
.page-head h1{font-size:23px}
.page-subtitle{font-size:11px}
.summary-grid{gap:10px;margin-bottom:26px}
.metric-card{padding:15px;gap:10px;min-height:90px}
.metric-icon{width:39px;height:39px;font-size:20px}
.metric-number{font-size:21px}
.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.section-header{flex-wrap:wrap}
.search-field{min-width:180px}
.auth-shell{display:block}
.auth-showcase{display:none}
.auth-main{min-height:100vh;padding:40px 25px}
.auth-welcome h1{font-size:25px}
}

@media(max-width:540px){.projects-grid{grid-template-columns:1fr}
.page-head{flex-direction:column;gap:14px}
.page-head .btn{align-self:flex-start}
.metric-card{display:block}
.metric-icon{height:35px;width:35px;margin-bottom:9px}
.metric-label{font-size:10px}
.metric-number{font-size:19px}
.topbar-status{display:none}
.search-field{width:100%}
.board-toolbar{flex-wrap:wrap}
.kanban-grid{grid-template-columns:repeat(3,minmax(265px,1fr))}
.modal{padding:23px 18px}
.users-summary{gap:7px}
.users-stat{padding:12px}
.users-stat strong{font-size:21px}
.content{padding:18px 13px 40px}
}

