:root{font-family:'Vazirmatn Variable',Tahoma,sans-serif;font-size:14px;line-height:1.8;color:#252a30;background:#f5f6f8;--ink:#252a30;--muted:#717986;--line:#e6e9ed;--soft:#f5f6f8;--white:#fff;--accent:#475569;--tint:#eef1f5;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;background:transparent;border-radius:8px;padding:9px 14px;font-size:12px;font-weight:500;transition:background .15s,border-color .15s,box-shadow .15s}button:hover{background:#edf0f4}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #709cc777;outline-offset:2px}h1,h2,h3,p{margin:0}h1{font-size:26px;font-weight:750;letter-spacing:-.7px;line-height:1.6}h2{font-size:15px;font-weight:650}h3{font-size:14px;font-weight:600}small,.muted{color:var(--muted);font-size:12px}.pre{white-space:pre-wrap;overflow-wrap:anywhere}.icon{width:19px;height:19px;flex-shrink:0}.primary{background:#273439;border-color:#273439;color:#fff;box-shadow:0 2px 3px #16242a12}.primary:hover{background:#3d5158;border-color:#3d5158}.secondary{background:#fff;border-color:#dfe3e8;color:#3f4852}.secondary:hover{background:#f6f7f9;border-color:#bcc5ce}.text-button{padding:3px 5px;font-size:12px;color:#5a6470}.text-button:hover{color:#253c46}.icon-button{padding:6px;border-radius:6px;color:#85909b;line-height:1}.icon-button:hover{background:#e9edf1;color:#354450}.danger-text{color:#ad5151}.full{width:100%}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.department-academy{--accent:#8863c9;--tint:#f3eefb;--deep:#6e46af}.department-projects{--accent:#4a81be;--tint:#edf4fc;--deep:#35679e}.department-events{--accent:#d19b43;--tint:#fcf5e9;--deep:#946915}.department-marketing{--accent:#c57689;--tint:#fbf0f3;--deep:#a35069}.department-science{--accent:#4c9a88;--tint:#edf7f3;--deep:#317969}.department-meetings{--accent:#6e82aa;--tint:#eef2fa;--deep:#4e6692}.department-uncategorized{--accent:#8a8d95;--tint:#f0f1f3;--deep:#636972}
.shell{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-left:1px solid var(--line);padding:27px 16px 16px;display:flex;flex-direction:column;overflow:auto}.brand{display:flex;align-items:center;gap:11px;padding:0 5px}.brand-mark{width:54px;aspect-ratio:1020/1065;position:relative;overflow:hidden;flex-shrink:0}.brand-mark img{position:absolute;width:200.784314%;height:auto;max-width:none;left:-51.078431%;top:-44.319249%;display:block}.brand strong{font-size:16px;font-weight:750}.brand small{display:block;font-size:9px;color:#88909a;margin-top:1px}.workspace-label{border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;gap:7px;padding:9px;margin:29px 2px 19px;font-size:10px;color:#65717c}.online-dot{width:6px;height:6px;border-radius:50%;background:#629985}.workspace-code{margin-right:auto;font-size:9px;letter-spacing:1px;color:#8a939c}.nav{display:flex;flex-direction:column;gap:4px}.nav-item{color:#68727c;text-align:right;justify-content:flex-start;padding:10px 12px;gap:11px;font-size:12px;border-radius:7px;min-height:42px}.nav-item .icon{width:18px;height:18px}.nav-item.active{color:#303c43;background:#edf1f3;font-weight:650}.nav-item.active .icon{stroke-width:2}.nav-item b{margin-right:auto;font-size:10px;background:#fff;border-radius:5px;min-width:22px;font-weight:500}.nav-caption{font-size:10px;color:#9ba2aa;padding:24px 13px 9px}.section-nav{display:flex;flex-direction:column;gap:2px}.section-nav button{justify-content:flex-start;text-align:right;padding:8px 13px;gap:10px;font-size:11px;color:#747d86}.section-nav button.active{background:var(--tint);color:var(--deep)}.section-dot{width:8px;height:8px;border-radius:3px;background:var(--accent);flex-shrink:0}.section-nav small{font-size:10px;margin-right:auto;color:#9ca3aa}.side-profile{display:flex;align-items:center;gap:9px;padding:19px 3px 1px;border-top:1px solid var(--line);margin-top:auto}.side-profile strong{display:block;font-size:11px;max-width:122px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-profile small{display:block;font-size:9px}.side-profile .icon-button{margin-right:auto}.avatar{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;background:#e9edf0;border:1px solid #dfe5e9;color:#596875;border-radius:50%;font-size:12px;flex-shrink:0;font-weight:600}.avatar.small{width:25px;height:25px;font-size:9px}.main-wrap{min-width:0}.topbar{height:74px;background:#ffffffcc;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 34px;gap:16px}.breadcrumb{display:flex;align-items:center;gap:16px;font-size:11px;color:#939ba4}.breadcrumb strong{color:#505c67;font-weight:500}.breadcrumb .divider{color:#c9cfd5}.topbar-meta{display:flex;align-items:center;gap:20px;font-size:11px;color:#818a94}.topbar-meta .icon-button{border:1px solid var(--line);background:#fff}.main{max-width:1760px;margin:auto;padding:29px 34px 48px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}.page-heading p{font-size:12px;color:#8a929c;margin-top:3px}.heading-actions{display:flex;gap:8px}.heading-actions .primary{padding:10px 17px}.back-link{margin-bottom:12px}.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:11px;background:#fff;padding:16px 0;margin-bottom:25px}.summary-item{border:0;border-left:1px solid var(--line);border-radius:0;justify-content:flex-start;text-align:right;padding:2px 21px;gap:14px;position:relative}.summary-item:last-child{border:0}.summary-item:hover{background:#fafbfd}.summary-item.selected:after{content:'';position:absolute;bottom:-16px;right:20px;left:20px;height:2px;background:#657784}.summary-item>div{display:flex;flex-direction:column}.summary-item>div>span{font-size:10px;color:#8d959f;font-weight:400}.summary-item strong{font-size:25px;font-weight:650;line-height:1.5;color:#45535f}.stat-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;background:#f1f3f6;color:#81909e}.doing .stat-icon{background:#edf3fb;color:#6b8eba}.late .stat-icon{background:#fcf0eb;color:#c48b72}.done .stat-icon{background:#edf5f0;color:#6e9d87}.board-toolbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e0e5ea;margin-bottom:17px}.view-tabs{display:flex;gap:18px}.view-tabs button{padding:0 3px 13px;border-radius:0;color:#929ba5;position:relative;font-size:12px}.view-tabs button .icon{width:16px;height:16px}.view-tabs button.selected{color:#384952}.view-tabs button.selected:after{content:'';position:absolute;bottom:-1px;height:2px;background:#384952;right:0;left:0}.view-tabs button:hover{background:transparent;color:#384952}.sync-label{font-size:10px;color:#9ba2ab;padding-bottom:12px}.filters{display:flex;gap:9px;align-items:center}.filters select{font-size:11px;width:auto;min-width:135px;padding:8px 10px;background-color:#fff}.filters .icon-button{height:37px;border:1px solid var(--line);background:white}.search-field{position:relative;flex:1;min-width:180px}.search-field .icon{position:absolute;right:11px;top:10px;width:17px;height:17px;color:#a2acb7}.search-field input{padding:8px 36px 8px 12px;font-size:11px;background:#fff}.results-count{color:#9ba2ac;font-size:10px;margin:12px 1px}.department-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.department-column{background:#eef0f3;border:1px solid #e2e6eb;border-radius:11px;overflow:hidden}.column-header{display:flex;align-items:center;gap:9px;padding:14px 14px 7px;border-top:3px solid var(--accent);background:var(--tint)}.column-header h2{font-size:14px;font-weight:650;color:var(--deep);line-height:1.7}.department-icon{display:flex;align-items:center;justify-content:center;color:var(--accent);width:27px;height:27px}.department-icon .icon{width:20px;height:20px}.column-count{background:#fff9;color:var(--deep);padding:0 6px;border-radius:5px;min-width:23px;text-align:center;font-size:10px;margin-right:auto}.column-header>.icon-button{color:var(--accent);padding:3px}.column-summary{background:var(--tint);display:flex;justify-content:space-between;align-items:center;padding:0 17px 12px;font-size:11px;color:#8b929a;height:37px}.avatar-stack{display:flex;flex-direction:row;align-items:center;padding-left:3px}.avatar-stack>span{margin-left:-5px;line-height:1}.avatar-stack .avatar{width:23px;height:23px;font-size:8px;background:#fff;color:#85909b;border:2px solid var(--tint)}.extra-people{padding:0 7px;font-size:9px}.section-progress{height:2px;width:100%;display:block;border:0;appearance:none;background:transparent;color:var(--accent)}.section-progress::-webkit-progress-bar{background:transparent}.section-progress::-webkit-progress-value{background:var(--accent)}.section-progress::-moz-progress-bar{background:var(--accent)}.column-tasks{padding:12px;display:flex;flex-direction:column;gap:10px;max-height:600px;overflow:auto;scrollbar-width:thin;scrollbar-color:#ccd3da transparent;min-height:198px}.task-card{background:#fff;border:1px solid #e3e7eb;border-radius:9px;box-shadow:0 2px 2px #25324703;padding:11px 13px 0;transition:border .15s,box-shadow .15s;min-width:0}.task-card:hover{border-color:#c7d0d8;box-shadow:0 3px 10px #29394a08}.card-top{display:flex;align-items:center;gap:6px}.status-badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px;font-weight:500;background:#f2f4f6;color:#84909d;padding:2px 7px;border-radius:5px;line-height:1.8}.status-badge i{width:5px;height:5px;border:1px solid currentColor;border-radius:50%;display:block}.status-doing{background:#edf3fc;color:#6486b7}.status-doing i{background:currentColor}.status-done{background:#edf6f0;color:#5b9276}.status-done i{background:currentColor}.status-blocked{background:#fcf0ed;color:#b87a69}.status-blocked i{border-radius:1px;background:currentColor}.priority{font-size:10px;color:#ae8261;background:#fcf5eb;border-radius:4px;padding:2px 6px;white-space:nowrap}.card-menu{margin-right:auto;padding:1px}.card-menu .icon{width:19px}.task-open{padding:11px 0 14px;border:0;border-radius:0;display:block;width:100%;text-align:right;min-height:65px}.task-open:hover{background:transparent}.task-open h3{font-size:14px;color:#45505c;font-weight:600;line-height:1.9;overflow-wrap:anywhere}.task-open p{font-size:12px;color:#9aa1aa;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}.completed .task-open h3{color:#89939b}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:10px;flex-wrap:wrap}.task-owner{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#7e8893;min-width:0}.task-owner>span:last-child{overflow:hidden;text-overflow:ellipsis;max-width:120px;white-space:nowrap}.due{display:flex;align-items:center;gap:4px;font-size:11px;color:#9ba4ae;white-space:nowrap}.due .icon{width:13px;height:13px}.due.late{color:#bd826a}.card-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f2f5;min-height:35px;gap:7px}.check-control{display:inline-flex;gap:5px;align-items:center;margin:0;color:#8a959f;font-size:11px;cursor:pointer}.check-control input{width:13px;height:13px;margin:0;border-radius:3px}.note-hint{display:flex;align-items:center;gap:4px;font-size:10px;color:#8b98a3}.note-hint .icon{width:12px;height:12px}.read-only{font-size:9px;color:#adb4bc}.column-add{display:flex;width:calc(100% - 24px);margin:0 12px 12px;justify-content:center;font-size:10px;color:#9ba5af;padding:6px;border:1px dashed #d7dde4;background:#ffffff25}.column-add .icon{width:14px;height:14px}.column-add:hover{background:#fff;color:var(--deep);border-color:var(--accent)}.column-empty{min-height:174px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#a7b0ba;font-size:10px}.column-empty .icon{width:26px;height:26px;opacity:.55}.single-section{grid-template-columns:1fr}.single-section .column-tasks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;align-items:start}.single-section .column-empty{grid-column:1/-1}.single-section .column-count{margin-right:6px}.single-section .column-header .icon-button{margin-right:auto}.single-section .column-summary{justify-content:flex-start;gap:20px}
input,textarea,select{width:100%;padding:10px 12px;background:#fff;border:1px solid #dfe4ea;border-radius:7px;outline:none;font-size:12px;line-height:1.8;min-width:0}input::placeholder,textarea::placeholder{color:#aeb5be;font-size:11px}input:focus,textarea:focus,select:focus{border-color:#91a4b2}input[type=checkbox]{width:16px;height:16px;accent-color:#557d70;vertical-align:middle;cursor:pointer;flex-shrink:0}textarea{min-height:106px;resize:vertical}label{display:block;font-size:12px;color:#5c6772;margin-bottom:17px}label input,label select,label textarea{display:block;margin-top:7px}label input[type=checkbox]{display:inline-block;margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field-hint{font-size:11px;color:#949da7;line-height:2;margin:-3px 0 18px}.persian-date{border:0;margin:0 0 14px;padding:0}.persian-date legend{font-size:12px;color:#5c6772;margin-bottom:7px}.persian-date-fields{display:grid;grid-template-columns:1fr 1.6fr 1fr;gap:9px}.persian-date #clear-due{font-size:10px;margin-top:4px;color:#99a2ab}.toggle-label{display:flex;align-items:center;gap:8px}.panel{background:#fff;border:1px solid var(--line);border-radius:11px;padding:24px}.empty{background:#fff;border:1px dashed #d5dde5;border-radius:10px;padding:50px 25px;text-align:center;color:#9ba5af}.empty>.icon{display:block;margin:0 auto 16px;width:30px;height:30px}.empty strong{display:block;color:#677783;font-size:14px}.empty p{margin-top:8px;font-size:12px}.notice{display:flex;align-items:center;gap:9px;background:#edf2f5;color:#677d8e;font-size:11px;border:1px solid #dee7ed;border-radius:8px;padding:12px 15px;margin-bottom:22px}.notice .icon{width:15px;height:15px}.section-badge{display:inline-flex;align-items:center;gap:6px;color:var(--deep);background:var(--tint);padding:3px 8px;border-radius:5px;white-space:nowrap;font-size:10px}.section-badge i,.person-section i{width:6px;height:6px;border-radius:2px;background:var(--accent);flex-shrink:0}.people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.person-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:21px}.person-heading{display:flex;gap:11px;align-items:center;margin-bottom:18px}.person-heading h2{font-size:14px}.person-name{min-width:0}.person-name h2{overflow-wrap:anywhere}.person-name>span{color:#9ba3ac;font-size:10px}.person-count{margin-right:auto;background:#f5f7f8;padding:2px 7px;border-radius:5px;font-size:10px;color:#8d99a3;white-space:nowrap}.person-stats{display:flex;justify-content:space-between;gap:7px;padding-bottom:17px;margin-bottom:17px;border-bottom:1px solid #edf0f3;font-size:10px;color:#919ba5}.person-stats b{font-size:13px;color:#60707c;margin-left:2px;font-weight:600}.person-sections{display:flex;flex-direction:column;gap:4px;min-height:98px;margin-bottom:19px}.person-section{display:flex;justify-content:flex-start;font-size:11px;padding:6px 9px;color:var(--deep);background:var(--tint);border-radius:5px;gap:7px}.person-section b{margin-right:auto;font-size:10px;font-weight:500}.person-section:hover{border-color:var(--accent);background:var(--tint)}.person-open{width:100%;justify-content:space-between;font-size:11px}.person-open .icon{width:15px}.person-empty{padding:10px 0;font-size:11px}.member-controls{display:flex;align-items:center;flex-wrap:wrap;gap:5px;border-top:1px solid #edf0f3;padding-top:12px;margin-top:15px}.member-controls>span{font-size:10px;color:#9ea7af;margin-left:auto}.member-controls button{font-size:11px}.review-sections{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:17px}.review-form textarea{min-height:160px}.review-form button{width:100%}.review-form .person-heading{margin-bottom:14px}.task-table-wrap,.table-scroll{overflow-x:auto}.task-table-wrap{background:#fff;border:1px solid var(--line);border-radius:10px}.task-table{min-width:780px}.task-table th{background:#f9fafb;font-weight:500;font-size:10px;color:#8a97a3}.task-table td{font-size:11px}.task-table tbody tr:hover{background:#fbfcfd}.task-table td:first-child{min-width:220px;max-width:350px;white-space:normal}.table-title{font-size:12px;text-align:right;justify-content:flex-start;font-weight:500;padding:0;border-radius:0;margin-left:5px}.table-title:hover{color:#4e7f9e;background:transparent}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}td,th{text-align:right;padding:15px;border-bottom:1px solid var(--line)}tbody tr:last-child td{border-bottom:0}.late-text{color:#b87963!important}.task-table input{margin:0}.task-table .icon{width:16px;height:16px;color:#68a186}.settings{max-width:650px}.connection-state{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:16px;margin-bottom:17px}.connection-state strong{font-size:12px}.connection-state p{font-size:11px;color:#8b97a1;margin-top:2px}.connection-state>span{width:9px;height:9px;border-radius:50%;margin:0 5px}.connected{background:#71a18e}.disconnected{background:#c5a478}.report-panel>.muted{margin-top:8px}.report-person{border-top:1px solid var(--line);padding:24px 0;margin-top:20px}.report-person>h3{margin-bottom:18px;font-size:16px}.report-section ul{margin:10px 0 20px;padding-right:22px}.report-section li{font-size:12px;margin-bottom:12px}.report-section li strong{font-weight:500}.report-section li small{display:block;font-size:10px;margin-top:2px}.report-section li p{color:#85929d;font-size:11px}.report-review{background:#f5f7f8;padding:15px;border-radius:8px;font-size:12px}.report-review>strong{font-weight:500;color:#596c7b}.report-review p{margin-top:5px;font-size:12px;color:#7b8993}.history{margin-top:22px}.history>h2{margin-bottom:16px}.history .secondary{padding:5px 10px;font-size:10px}.history table{font-size:11px}.history small{white-space:normal;display:block;max-width:300px}
dialog{border:1px solid #dbe2e8;border-radius:13px;max-width:570px;width:calc(100% - 28px);padding:0;max-height:90dvh;box-shadow:0 24px 100px #1b293c26;color:var(--ink);background:#fff}dialog::backdrop{background:#25314070;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:19px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.dialog-header h2{font-size:15px}.dialog-content{padding:24px 24px 9px}.dialog-actions{display:flex;gap:9px;padding:17px 24px;background:#f9fafb;border-top:1px solid var(--line);position:sticky;bottom:0}.dialog-actions button{padding:8px 16px}.detail-tags{display:flex;gap:8px;align-items:center;margin-bottom:14px}.detail-title{font-size:19px;font-weight:650;margin-bottom:10px;overflow-wrap:anywhere}.detail-description{font-size:12px;color:#7b8792;line-height:2.1;margin-bottom:21px}.detail-info{padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;gap:10px;margin:19px 0}.detail-info>div{display:flex;align-items:center;gap:20px}.detail-info dt{color:#9ba4ad;font-size:11px;width:76px}.detail-info dd{margin:0;display:flex;align-items:center;gap:8px;font-size:12px;color:#63717c}.edit-task{font-size:11px;margin-bottom:22px}.task-note{font-size:12px;color:#84919b;margin-bottom:15px}.task-note h3{font-size:12px;color:#6a7985;margin-bottom:8px}.login{min-height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:36px 20px;background:#f4f6f8}.login-box{background:#fff;border:1px solid #e0e5e9;border-radius:16px;width:100%;max-width:425px;padding:35px;box-shadow:0 10px 40px #24324405}.login-box .brand{padding:0 0 27px;border-bottom:1px solid var(--line);margin-bottom:29px}.login-title h1{font-size:22px;letter-spacing:-.4px}.login-title p{font-size:11px;color:#949fa9;margin-top:6px;margin-bottom:26px}.login-box input{padding:11px 13px}.login-box .primary{padding:11px;margin-top:3px}.login-help{font-size:10px;color:#97a2ad;margin-top:19px;display:flex;align-items:center;gap:7px}.login-help .icon{width:14px;height:14px}.login-footer{font-size:9px;letter-spacing:1px;color:#adb6bf;margin-top:25px}.segmented{display:flex;padding:3px;background:#f2f4f7;border-radius:8px;margin-bottom:22px;gap:4px}.segmented button{flex:1;font-size:11px;color:#8e9aa4}.segmented button.selected{background:#fff;box-shadow:0 1px 3px #00000009;color:#455f70}#login-message{font-size:11px;margin-top:8px}.loading{text-align:center;margin:80px 20px;color:#8d9aa5;font-size:13px}#toast{position:fixed;bottom:25px;left:25px;max-width:min(450px,calc(100vw - 40px));padding:12px 20px;background:#2c3d44;color:#fff;border-radius:9px;font-size:12px;box-shadow:0 5px 20px #24313926;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}body:has(dialog[open]){overflow:hidden}
@media(min-width:1600px){.main{padding:35px 45px}.column-tasks{padding:15px;gap:12px}.task-open h3{font-size:14px}.task-open p{font-size:12px}.column-header h2{font-size:14px}.task-owner{font-size:11px}.due{font-size:10px}}
@media(max-width:1200px){.shell{grid-template-columns:210px minmax(0,1fr)}.main{padding:25px}.topbar{padding:0 25px}.department-board,.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.single-section{grid-template-columns:1fr}.single-section .column-tasks{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-item{padding:2px 14px;gap:10px}.stat-icon{width:29px;height:29px}.stat-icon .icon{width:17px;height:17px}.filters select{min-width:110px}.filters{flex-wrap:wrap}.search-field{flex-basis:210px}.summary-item>div>span{font-size:9px}}
@media(max-width:800px){.shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:23px 10px 12px}.brand-mark{width:48px}.brand{gap:8px}.brand strong{font-size:14px}.brand small{font-size:8px}.workspace-label{font-size:9px}.workspace-code{display:none}.nav-item{font-size:11px;padding:9px;gap:9px}.section-nav button{font-size:10px;padding:8px 10px}.side-profile strong{max-width:88px;font-size:10px}.main{padding:24px 18px}.topbar{padding:0 18px}.department-board,.people-grid{grid-template-columns:1fr}.single-section .column-tasks{grid-template-columns:1fr}.summary-item .stat-icon{display:none}.summary-item{padding:2px 10px}.summary-item strong{font-size:22px}.summary-item>div>span{font-size:8px}.page-heading h1{font-size:23px}.page-heading p{font-size:10px}.heading-actions .primary{font-size:11px;padding:8px 12px}.topbar-meta{gap:10px;font-size:10px}.breadcrumb{font-size:10px;gap:10px}}
@media(max-width:600px){.shell{display:block}.sidebar{height:auto;position:relative;padding:16px 16px 0;border-left:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:14px}.brand{padding:0}.brand-mark{width:42px}.brand small{font-size:8px}.sidebar>.nav:first-of-type{grid-column:1/-1;flex-direction:row;overflow:auto;gap:3px;padding-bottom:10px}.nav-item{flex-shrink:0;font-size:11px;padding:8px 10px;min-height:36px}.nav-item .icon{width:16px;height:16px}.nav-item b{font-size:9px;margin-right:2px;min-width:16px}.workspace-label,.nav-caption,.section-nav{display:none}.sidebar>.nav:nth-of-type(3){grid-column:1/-1;flex-direction:row;gap:2px;overflow:auto;order:3;padding-bottom:10px;margin-top:-10px}.sidebar>.nav:nth-of-type(3) .nav-item{font-size:10px;color:#96a1ab}.sidebar>.nav:nth-of-type(3) .nav-item.active{color:#455761}.side-profile{grid-column:2;grid-row:1;border:0;margin:0;padding:0;gap:7px}.side-profile>.avatar{display:none}.side-profile>div{max-width:80px}.side-profile strong{font-size:9px}.side-profile small{font-size:8px}.side-profile .icon-button{padding:5px}.side-profile .icon-button .icon{width:16px;height:16px}.topbar{height:49px;background:#fafbfc;padding:0 16px}.topbar-meta{font-size:9px;gap:10px}.topbar-meta .icon-button{padding:4px}.topbar-meta .icon-button .icon{width:14px;height:14px}.main{padding:22px 16px 35px}.page-heading{gap:10px;margin-bottom:21px}.page-heading h1{font-size:23px}.page-heading p{font-size:10px}.heading-actions .primary{font-size:10px;padding:8px 11px}.heading-actions .icon{width:15px;height:15px}.summary{padding:13px 0;margin-bottom:20px;border-radius:9px}.summary-item{padding:0 10px}.summary-item strong{font-size:22px}.summary-item>div>span{font-size:8px}.summary-item.selected:after{bottom:-13px;right:10px;left:10px}.sync-label{font-size:8px}.view-tabs button{font-size:11px}.search-field{flex-basis:100%}.filters{gap:7px}.filters select{min-width:0;flex:1;font-size:10px;padding:8px 4px}.filters .icon-button{padding:5px;width:30px}.department-board{gap:18px}.column-header h2{font-size:14px}.column-tasks{max-height:560px}.task-open h3{font-size:14px}.task-open p{font-size:12px}.task-owner{font-size:11px}.due{font-size:10px}.card-bottom{min-height:37px}.check-control{font-size:10px}.column-add{font-size:11px;padding:8px}.column-header{padding:14px 14px 8px}.column-count{font-size:11px}.status-badge{font-size:11px}.people-grid{gap:15px}.form-grid{gap:12px}.dialog-header{padding:16px 19px}.dialog-content{padding:19px 19px 7px}.dialog-actions{padding:15px 19px}.login-box{padding:29px 25px}.panel{padding:20px}.notice{font-size:10px;align-items:flex-start}.detail-title{font-size:18px}.report-panel>.row{align-items:flex-start}.report-panel>.row h2{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{body{background:#fff}.sidebar,.topbar,.page-heading button,.filters,#toast,.history{display:none!important}.shell{display:block}.main{padding:0;max-width:none}.panel{border:0;padding:0;box-shadow:none}.page-heading{margin-bottom:20px}.report-person{break-inside:avoid}.report-review{background:#f5f5f5}.section-badge{-webkit-print-color-adjust:exact;print-color-adjust:exact}h1{font-size:22px}}

.form-error{color:#b96756;font-size:11px;line-height:1.9;margin:8px 0}.form-error:empty{display:none}

.login-box .brand-mark{width:70px}

.avatar{position:relative;overflow:hidden}.avatar img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.profile-photo-button{padding:0;border:0;display:inline-flex;position:relative;flex-shrink:0;border-radius:50%}.profile-photo-button:hover{box-shadow:0 0 0 3px #e2e9ed;background:transparent}.editable-photo{overflow:visible}.photo-edit-icon{position:absolute;left:-3px;bottom:-3px;background:#fff;color:#8295a0;border:1px solid #e2e7ec;border-radius:50%;width:18px;height:18px;display:grid;place-items:center}.photo-edit-icon .icon{width:11px;height:11px}
.photo-editor{display:flex;flex-direction:column;align-items:center;text-align:center;gap:13px;padding:5px 0 15px}.photo-editor .avatar{width:112px;height:112px;font-size:30px}.photo-editor>strong{font-size:14px;font-weight:500}.photo-file-label{margin:2px 0 0;font-size:12px;color:#657681;max-width:100%;width:310px}.photo-file-label input{font-size:10px;padding:7px;width:100%}.photo-editor .field-hint{margin:0;font-size:11px}.photo-editor .text-button{margin-top:0}
.danger-button{background:#b4584e;color:#fff;border:1px solid #b4584e}.danger-button:hover{background:#98483f;border-color:#98483f}.delete-warning{display:flex;align-items:flex-start;gap:12px;background:#fcf0ed;border:1px solid #f2d9d1;border-radius:8px;padding:14px;margin-bottom:20px;color:#aa6656}.delete-warning .icon{margin-top:4px;width:20px;height:20px}.delete-warning strong{font-size:13px;font-weight:600}.delete-warning p{font-size:11px;line-height:2;margin-top:5px}.member-controls [data-delete-member]{margin-right:auto}[hidden]{display:none!important}

@media(max-width:600px){.side-profile>div{display:none}.side-profile .profile-photo-button .avatar{width:32px;height:32px}}
