*{box-sizing:border-box}body{margin:0;background:#f3f5f8;color:#17253d;font:16px/1.5 system-ui,sans-serif}header{min-height:76px;background:#142b48;color:#fff;display:flex;align-items:center;gap:24px;padding:16px 4%}header strong{font-size:22px;letter-spacing:-.5px}header select{max-width:260px}.identity{margin-left:auto}main{max-width:1500px;margin:auto;padding:32px 4%}button,input,select,textarea{font:inherit;border-radius:7px;border:1px solid #ccd4df;padding:10px 14px}button{cursor:pointer;background:#fff;color:#173253}button:hover{border-color:#287d9b}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #66adca;outline-offset:2px}button:disabled{opacity:.6;cursor:wait}form>button,fieldset>button,.quick>button{background:#287d9b;color:#fff;border:0}input,textarea,select{background:#fff;min-width:0}label{display:grid;gap:6px;font-size:14px;font-weight:600}form{display:grid;gap:18px}h1{font-size:32px;letter-spacing:-1px;margin:6px 0}h2{font-size:18px}p{color:#64738a}nav{display:flex;gap:8px;margin-bottom:32px}nav button{border:0;background:transparent}nav .active{background:#eaf4f8;color:#255d75;font-weight:700}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.eyebrow{font-size:12px;letter-spacing:1.4px;font-weight:700}.quick{display:flex;margin-bottom:28px;gap:12px}.quick input{flex:1}.board{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:24px;align-items:start}.column{background:#e8edf3;border-radius:12px;padding:16px;min-height:360px;border-top:3px solid #8293a9}.column.work{border-color:#c99530}.column.done{border-color:#219182}.column h2{display:flex;justify-content:space-between;margin:0 0 20px}.column h2 span{font-size:14px;background:#fff;border-radius:20px;padding:2px 9px}.task{display:grid;gap:12px;text-align:left;width:100%;margin-bottom:12px;border-color:#e1e5eb;box-shadow:0 2px 4px #1b304509;padding:18px}.task strong{font-weight:600;overflow-wrap:anywhere}.task small{font-size:12px;color:#527087}.task span{font-size:14px;color:#6b7a8d}.empty{text-align:center;margin-top:70px;font-size:14px}.panel,.auth{background:#fff;border:1px solid #e0e6ef;border-radius:12px;padding:28px}.auth{max-width:450px;margin:5vh auto}.auth h1{margin-bottom:28px}.forms{display:grid;grid-template-columns:1fr 1fr;gap:24px}.people{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin:24px 0}.people article{display:grid;gap:6px;padding:20px;background:#fff;border:1px solid #dbe1e9;border-radius:10px;overflow-wrap:anywhere}.people span,.people small{color:#65768b;font-size:14px}.error,.notice{padding:16px;margin:0 0 24px;border-radius:8px}.error{background:#ffe7e7;color:#852d2d}.notice{background:#d8f2e7;color:#155444}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#15243888;display:flex;justify-content:flex-end}.detail{background:#fff;width:min(100%,520px);padding:28px;overflow:auto}.close{float:right}fieldset{display:grid;gap:18px;border:0;padding:0}textarea{min-height:130px;resize:vertical}@media(max-width:760px){header{flex-wrap:wrap;gap:12px}header strong{width:100%}.identity{display:none}main{padding:20px}.board{grid-template-columns:1fr}.column{min-height:180px}.empty{margin:30px 0}.quick{flex-wrap:wrap}.quick input{flex-basis:100%}.forms{grid-template-columns:1fr}.toolbar{align-items:start;gap:12px;flex-direction:column}nav{overflow:auto}nav button{white-space:nowrap}.auth{margin:20px 0}}.workspace{display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;align-items:start}.project-sidebar{background:#fff;border:1px solid #dce3ec;border-radius:12px;padding:18px;position:sticky;top:20px;max-height:80vh;overflow:auto}.sidebar-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;font-weight:700}.sidebar-title a{color:#172b48;text-decoration:none;font-size:18px}.sidebar-title button{padding:2px 9px;font-size:22px}.project-tree{margin-bottom:14px}.project-link,.board-link{display:block;text-decoration:none;color:#465b76;padding:9px 10px;border-radius:6px;overflow-wrap:anywhere}.project-link{font-weight:650;font-size:15px}.project-link.current{color:#287d9b}.tree-boards{margin-left:12px;border-left:1px solid #dbe3eb;padding-left:8px}.board-link{font-size:14px}.board-link.active{background:#dcefe9;color:#095e53;font-weight:650}.project-link:hover,.board-link:hover{background:#ecf3f7}.hierarchy-help{border-top:1px solid #e3e8ed;padding-top:16px;margin-bottom:0;font-size:13px;line-height:1.7}.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 20px;font-size:14px}.breadcrumbs a{color:#287d9b;text-underline-offset:3px}.breadcrumbs span{color:#62748a;overflow-wrap:anywhere}.toolbar{gap:18px}.toolbar h1{overflow-wrap:anywhere}.toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}.toolbar-actions button{font-size:14px}.primary{background:#287d9b;color:#fff;border-color:#287d9b}.board-help{font-size:14px;margin-top:0}.structure-explainer{background:#e7f0f7;border-left:3px solid #3d7eac;border-radius:6px;padding:18px 22px;margin-bottom:24px}.structure-explainer p{margin-bottom:0;max-width:800px;font-size:15px;color:#45617c}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}.project-card{display:block;text-decoration:none;color:#172b48;background:#fff;border:1px solid #dce3ec;border-radius:12px;padding:24px;overflow-wrap:anywhere}.project-card:hover{border-color:#148774;box-shadow:0 4px 14px #1234490c}.project-card small{font-size:12px;color:#687f98;letter-spacing:1px}.project-card h2{font-size:22px}.project-card span{font-size:14px;color:#287d9b}.kanban{display:flex;gap:18px;overflow-x:auto;padding:4px 4px 18px;align-items:stretch;min-height:400px}.kanban>.column{flex:0 0 280px;min-height:380px}.column-heading{display:flex;gap:8px;align-items:start;margin-bottom:18px}.column-heading h2{flex:1;gap:8px;overflow-wrap:anywhere;margin:0}.column-heading>button{padding:0 8px;border:0;background:transparent;font-size:22px}.column-heading h2>span{align-self:start}.drop-target{outline:3px dashed #1d9682;outline-offset:-4px}.task[draggable=true]{cursor:grab}.task:active{cursor:grabbing}.add-column{align-self:flex-start;flex:0 0 200px;border:1px dashed #8fa7b8;background:#eaf0f5;color:#42627a;padding:18px}.workspace-modal{position:relative;background:#fff;width:min(100%,540px);padding:28px;overflow:auto;box-shadow:-10px 0 40px #142a4a25}.workspace-modal h2{font-size:24px;margin-top:8px;padding-right:85px}.workspace-modal>form{margin-bottom:18px}.wide-modal{width:min(100%,900px)}.workspace-modal .error{clear:both;margin-top:50px}.workspace-modal .secondary{background:#fff;border:1px solid #c5d4df;color:#24516a}.column-editor{display:grid;gap:12px}.column-editor-row{display:grid;grid-template-columns:minmax(150px,1fr) 150px auto;gap:12px;padding:14px;background:#f1f5f8;border-radius:8px;align-items:end}.column-editor-row label{font-size:13px}.column-editor-row input,.column-editor-row select{width:100%}.column-actions{display:flex;gap:4px;flex-wrap:wrap}.column-actions button{padding:9px;font-size:14px}.field-help{font-size:14px;margin:0}.workspace-modal .close{position:relative;z-index:1}@media(min-width:1600px){main{max-width:1900px}}@media(max-width:1100px){.workspace{grid-template-columns:200px minmax(0,1fr);gap:18px}.toolbar{flex-direction:column;align-items:start}.quick{flex-wrap:wrap}.quick input{flex-basis:100%}}@media(max-width:760px){.workspace{display:flex;flex-direction:column;gap:20px}.project-sidebar{position:static;width:100%;max-height:260px}.hierarchy-help{display:none}.workspace-content{width:100%}.kanban>.column{flex-basis:270px}.column-editor-row{grid-template-columns:1fr}.workspace-modal{padding:20px}.toolbar-actions{width:100%}.quick select{max-width:100%}.breadcrumbs{margin-bottom:12px}.workspace-modal h2{font-size:22px}}.app-shell{--sidebar:240px;min-height:100vh;background:#eef1f5}.app-shell>header{position:fixed;inset:0 auto auto 0;width:var(--sidebar);height:190px;padding:20px 16px;display:flex;flex-direction:column;align-items:stretch;gap:10px;background:#292f35;z-index:3;font-size:13px}.app-shell>header strong{font-size:19px}.app-shell>header select{width:100%;font-size:13px;background:#3b434c;color:#fff;border-color:#535c66;padding:7px}.app-shell>header .identity{margin:0;display:block}.app-shell>header button{position:absolute;right:16px;bottom:15px;padding:3px 9px;font-size:12px;background:transparent;color:#d5dce5;border-color:#616c78}.app-shell>main{max-width:none;margin-left:var(--sidebar);padding:0;min-height:100vh}.app-navigation{position:fixed;left:0;bottom:0;width:var(--sidebar);margin:0;padding:12px;display:grid;gap:4px;background:#292f35;z-index:4}.app-navigation button{color:#e2e7ed;text-align:left;padding:8px;font-size:13px}.app-navigation button.active{background:#525d68;color:#fff}.app-navigation button:first-child{display:none}.workspace{display:block}.project-sidebar{position:fixed;left:0;top:190px;bottom:115px;width:var(--sidebar);max-height:none;border:0;border-radius:0;background:#292f35;padding:8px 12px;z-index:3}.sidebar-title{margin:0 0 8px;gap:4px}.sidebar-title a{font-size:14px;color:#f5f7fa}.sidebar-title button{background:transparent;border:0;color:#d0d7df;padding:0 5px}.project-tree{margin:0 0 4px}.project-link{color:#e3e7ec;font-size:13px;font-weight:500;padding:9px 12px}.project-link.current,.project-link:hover{background:#59636e;color:#fff}.workspace-content{min-width:0}.project-header{height:60px;background:#fff;border-bottom:1px solid #dae0e6;display:flex;align-items:center;justify-content:space-between;padding:12px 24px;gap:16px}.project-header .breadcrumbs{margin:0;font-size:14px}.breadcrumbs a{color:#344254;text-decoration:none}.project-header>button{font-size:12px;white-space:nowrap;padding:6px 10px;border:0;background:#edf3fa;color:#466b9b}.board-tabs{margin:0;background:#fff;display:flex;gap:4px;padding:0 20px;overflow:auto;border-bottom:1px solid #d8e0e9;align-items:stretch}.board-tabs a{color:#56677c;text-decoration:none;padding:14px 16px;white-space:nowrap;border-bottom:3px solid transparent;font-size:14px}.board-tabs a.active{color:#246cbd;border-color:#438ae2;background:#f5f9ff;font-weight:600}.board-tabs button{color:#536c8a;padding:8px 14px;font-size:20px}.board-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 20px;background:#f9fbfd;border-bottom:1px solid #dce2ea}.board-toolbar input{width:180px}.board-toolbar select{max-width:180px}.board-toolbar input,.board-toolbar select,.board-toolbar button{font-size:12px;padding:7px 9px;border-color:#d5dee9;background:#fff}.view-label{background:#e5eefb;border-radius:5px;padding:6px 12px;color:#326baf;font-size:13px}.task-count{font-size:12px;color:#697d94;margin-left:auto}.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}.kanban{padding:20px;gap:16px;height:calc(100vh - 177px);min-height:400px;background:#e8edf3}.kanban>.column{flex:0 0 290px;border-radius:7px;padding:12px;background:#f3f5f8;min-height:360px;overflow-y:auto;border-top:4px solid #7895bd}.kanban>.column.work{border-color:#e6b24e}.kanban>.column.done{border-color:#62b89b}.kanban>.column.cancelled{border-color:#ba8695}.column-heading{margin-bottom:10px}.column-heading h2{font-size:15px;align-items:center}.column-heading h2 span{background:transparent;font-size:12px;color:#7a899c;padding:2px}.column-add{width:100%;text-align:left;border:0;border-radius:5px;background:#e6eaf0;color:#657a92;font-size:13px;padding:8px;margin-bottom:12px}.column-create{gap:8px;margin-bottom:12px}.column-create input{width:100%;padding:8px;font-size:14px}.column-create>div{display:flex;gap:6px}.column-create button{font-size:12px;padding:6px}.task{padding:13px;gap:10px;border-radius:5px;box-shadow:0 1px 3px #23364a15;margin-bottom:10px}.task strong{font-size:14px;font-weight:500}.task strong>span{font-size:18px;color:#8b9aae}.task-stickers{display:flex;flex-wrap:wrap;gap:5px}.task-stickers small{border-radius:4px;background:#e8edf5;color:#57708e;font-size:11px;padding:2px 6px}.task-stickers .priority-high{background:#fff0cc;color:#8a660c}.task-stickers .priority-critical{background:#ffe1e5;color:#a94356}.add-column{font-size:14px;background:#f5f7fa;border-style:solid;padding:12px;flex-basis:190px}.empty{margin-top:25px;color:#96a3b3}.company-title,.company-section,.structure-explainer{margin:24px}.company-title{padding:22px;background:#fff;border-radius:8px}.company-title h1{font-size:24px;letter-spacing:-.5px}.company-title p{font-size:14px;margin:6px 0}.company-section{padding:24px;background:#fff;border-radius:8px}.company-section>h2{margin-top:0}.company-section .text-action{border:0;color:#287d9b;background:transparent;padding:0 0 18px;font-size:14px}.project-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}.project-card{background:#f5f7fa;border:1px solid #e9edf3;border-radius:5px;padding:18px}.project-card h2{font-size:17px;margin:10px 0}.project-card p{font-size:13px}.project-card small{font-size:10px}.project-card span{font-size:12px;color:#287d9b}.structure-explainer{font-size:13px;padding:12px 18px;background:#e3ecf7;border-color:#7ca5d3}.structure-explainer p{font-size:13px;margin:4px 0}.workspace-content>.error,.workspace-content>.notice{margin:12px 20px;font-size:13px;padding:8px 12px}.overlay{z-index:10}.app-shell .workspace-content>.panel,.app-shell .workspace-content>.forms,.app-shell .workspace-content>.people,.app-shell .workspace-content>h1{margin:24px}.workspace-modal{border-left:1px solid #d5dfe9}@media(max-width:760px){.app-shell{--sidebar:180px}.app-shell>header{position:relative;width:100%;height:auto;padding:12px 16px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.app-shell>header strong{width:auto;font-size:17px}.app-shell>header .identity{font-size:12px}.app-shell>header button{position:static;justify-self:end}.app-shell>main{margin:0}.app-navigation{position:static;width:100%;display:flex;padding:6px 12px}.app-navigation button{font-size:12px}.project-sidebar{position:static;width:100%;padding:8px 12px;display:flex;align-items:center;gap:8px;overflow-x:auto}.sidebar-title{flex-shrink:0;margin:0}.sidebar-title a{font-size:12px}.project-tree{flex-shrink:0}.project-link{max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-header{height:auto;min-height:52px;padding:12px;gap:8px}.project-header>button{font-size:11px;padding:4px}.project-header .breadcrumbs{font-size:12px}.board-tabs{padding:0 8px}.board-tabs a{padding:12px;font-size:13px}.board-toolbar{padding:10px;gap:6px}.board-toolbar input{width:130px}.board-toolbar select{max-width:130px}.task-count{display:none}.kanban{padding:12px;height:calc(100vh - 310px);min-height:400px}.kanban>.column{flex-basis:270px}.company-title,.company-section,.structure-explainer{margin:12px;padding:16px}.company-title h1{font-size:21px}.project-grid{grid-template-columns:1fr}.workspace{gap:0}.workspace-content{width:100%}}.app-shell>header:before{content:"";position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#292f35;z-index:-1}@media(max-width:760px){.app-shell>header:before{display:none}}.project-sidebar{bottom:350px}.app-navigation{max-height:350px;overflow-y:auto}.task-panel h2{font-size:22px}.task-location{font-size:12px;clear:both;padding-top:14px}.detail-tabs{gap:3px;margin:14px 0 22px;overflow:auto;border-bottom:1px solid #d9e1ec}.detail-tabs button{padding:9px;font-size:13px;white-space:nowrap}.task-panel>button{margin:12px 6px 0 0;font-size:13px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.task-messages{min-height:180px;max-height:45vh;overflow:auto;background:#edf3fa;border-radius:8px;padding:14px;margin-bottom:18px}.task-messages article{padding:12px;background:#fff;margin-bottom:12px;border-radius:7px}.task-messages time{display:block;font-size:11px;color:#7b8c9e}.task-messages p{white-space:pre-wrap;overflow-wrap:anywhere;color:#283e57;margin:8px 0}.file-drop{border:2px dashed #a1b8d5;border-radius:8px;padding:16px;background:#f3f7fc}.file-drop p{font-size:14px}.file-drop small{display:block;color:#6b7d91;margin-top:12px}.file-drop input{padding:8px;max-width:100%;font-size:12px}.attachment-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-top:20px}.attachment-grid article{padding:10px;border:1px solid #dfe6ee;border-radius:7px;overflow-wrap:anywhere}.attachment-grid img{display:block;width:100%;height:150px;object-fit:contain;background:#edf0f5}.attachment-grid a{font-size:13px;color:#326bb3}.attachment-grid small{display:block;font-size:11px;color:#6a7c94}.checklist-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e6ebf0}.checklist-row label{display:flex;flex:1;gap:12px;align-items:center;font-weight:400}.checklist-row button{padding:0 8px}.inline-form{display:flex;gap:8px;margin:16px 0}.inline-form input{min-width:0;flex:1}.inline-form button{font-size:12px;padding:8px}.subtask-link{display:block;width:100%;text-align:left;margin:8px 0;overflow-wrap:anywhere}.event-list article{padding:14px;border-bottom:1px solid #e0e7ef;display:grid;gap:5px}.event-list small{color:#7a8c9f;font-size:12px}.overview{padding:28px}.overview h1{font-size:26px}.task-table{display:grid;gap:10px;margin:20px 0}.task-table>button{display:grid;grid-template-columns:2fr 1fr 1fr;gap:15px;align-items:center;text-align:left;padding:16px}.task-table span{font-size:12px;color:#657e99}.archive-row{display:flex;justify-content:space-between;align-items:center;padding:12px;gap:14px;background:#fff;margin:8px 0;border-radius:7px}.member-settings{display:grid;grid-template-columns:1fr 1fr 1fr auto auto;gap:12px;align-items:center;background:#fff;padding:18px;margin:10px 0;border-radius:8px}.member-settings select{width:100%}.member-settings button{font-size:12px}.checkbox-label{display:flex;align-items:center;gap:10px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.metrics article{display:grid;gap:8px;background:#fff;border-radius:8px;padding:24px}.metrics strong{font-size:36px;color:#397bbe}.notification{display:grid;gap:6px;padding:14px;border-left:3px solid #4389de;background:#fff;margin:10px 0}.notification.read{border-color:#d4dce6;background:#f3f5f8}.notification button{border:0;text-align:left;background:transparent}.notification time{font-size:12px;color:#7b8c9d}.date-view{padding:20px;overflow:auto}.month-controls{display:flex;align-items:end;gap:12px;margin-bottom:20px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(80px,1fr));min-width:650px;gap:1px;background:#dce3ec;border:1px solid #dce3ec}.calendar-grid>strong{background:#f3f6fa;text-align:center;padding:10px}.calendar-grid>div{background:#fff;min-height:110px;padding:7px}.calendar-day time{font-size:13px;color:#798a9e}.calendar-day button{display:block;padding:5px;border:0;background:#e7f0fe;font-size:11px;color:#376aa6;width:100%;margin:5px 0;text-align:left;overflow-wrap:anywhere}.gantt-scroll{overflow-x:auto}.gantt-scale,.gantt-row{display:grid;grid-template-columns:220px 1fr;min-height:45px;border-bottom:1px solid #dde4ec;background:#fff}.gantt-scale>div{display:grid}.gantt-scale small{text-align:center;font-size:10px;border-left:1px solid #e0e7f0;padding:10px 0}.gantt-scale>span{padding:10px}.gantt-row>button{border:0;background:#fff;text-align:left;font-size:12px;padding:8px;overflow-wrap:anywhere}.gantt-row>div{position:relative;background:repeating-linear-gradient(90deg,#f8fafc 0,#f8fafc calc(100% / 31 - 1px),#e6ebf2 calc(100% / 31 - 1px),#e6ebf2 calc(100% / 31))}.gantt-row>div>button{position:absolute;top:10px;height:26px;min-width:5px;overflow:hidden;white-space:nowrap;background:#70a5e5;color:#fff;border:0;font-size:10px;padding:3px}.unscheduled{display:flex;gap:8px;flex-wrap:wrap}.unscheduled button{font-size:12px}.column-mode{margin:0 0 10px;font-size:11px;color:#6b85a1}.column-editor-row{grid-template-columns:1fr 130px 130px}.column-actions{grid-column:1/-1}.workspace-modal.wide-modal{width:min(100%,1000px)}@media(max-width:1000px){.member-settings{grid-template-columns:1fr 1fr}.task-table>button{grid-template-columns:1fr}.metrics{gap:8px}.metrics article{padding:14px}}@media(max-width:760px){.project-sidebar{bottom:auto}.app-navigation{max-height:none;overflow-x:auto;display:flex}.app-navigation button{flex-shrink:0}.overview{padding:16px}.overview h1{font-size:22px}.detail-grid,.member-settings,.column-editor-row{grid-template-columns:1fr}.inline-form{flex-wrap:wrap}.inline-form input{flex-basis:100%}.date-view{padding:12px}.metrics strong{font-size:26px}.metrics span{font-size:12px}.task-table>button{gap:5px}}.reports-page{padding:20px 24px;min-width:0}.reports-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px}.reports-heading h1{font-size:22px;letter-spacing:-.3px}.reports-heading>button{padding:6px 10px;font-size:12px}.reports-panel{background:#fff;border:1px solid #e1e7ef;border-radius:5px;overflow:hidden}.report-title{padding:12px 18px;font-size:14px;border-bottom:1px solid #d8e1ee;color:#435671;background:#f8faff}.report-groups{display:flex;gap:3px;margin:16px 18px 12px;flex-wrap:wrap}.report-groups a{padding:7px 16px;text-decoration:none;color:#3088d3;font-size:13px;border-radius:20px;background:#f3f7fa}.report-groups a.active{background:#2c99e6;color:#fff}.report-totals{display:flex;gap:0;margin:0 18px 10px;border:1px solid #e4eaf2;border-radius:6px;overflow:auto}.report-totals a{display:flex;gap:12px;align-items:center;text-decoration:none;padding:10px 16px;border-right:1px solid #e4eaf2;color:#6e8099;white-space:nowrap;font-size:12px;flex:1}.report-totals a:last-child{border:0}.report-totals strong{font-size:19px;font-weight:600;color:#268ddd}.report-totals a.active,.report-totals a:hover{background:#ecf6ff}.report-tools{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:6px 18px 12px}.report-tools h2{font-size:14px;font-weight:500;margin:0;color:#526a85}.report-tools input{padding:6px 10px;width:220px;font-size:12px}.report-breadcrumb{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.report-breadcrumb>a{color:#268ddd;font-size:12px;text-decoration:none}.report-table-scroll{overflow-x:auto;margin:0 18px}.report-table{border-collapse:collapse;width:100%;min-width:620px;font-size:13px;text-align:left}.report-table th{font-size:12px;font-weight:400;color:#7a8ca6;padding:0;border-bottom:1px solid #e3eaf3;white-space:nowrap}.report-table th>button{font-size:12px;color:#7a8ca6;font-weight:400;border:0;background:transparent;padding:10px;width:100%;text-align:left}.report-table th:not(:has(button)){padding:10px}.report-table td{padding:9px 10px;border-bottom:1px solid #edf1f6;color:#53657e;vertical-align:top}.report-table th+th,.report-table td+td{border-left:1px solid #e4eaf3}.report-table th:first-child{width:35%}.report-table tr:hover td{background:#f6faff}.report-link{color:#248ee2!important;text-decoration:none;font-size:13px;border:0!important;padding:0!important;background:transparent!important;text-align:left;cursor:pointer}.report-link:hover{text-decoration:underline}.report-table small{display:block;color:#8a9ab0;font-size:11px}.report-table td.overdue{color:#d26565}.report-note{font-size:11px;color:#8999ae;margin:12px 18px 16px}.report-empty{font-size:13px;padding:12px 18px}.report-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:12px;font-size:12px}.report-pagination button{font-size:12px;padding:5px 12px}@media(max-width:760px){.reports-page{padding:12px}.reports-heading h1{font-size:20px}.report-groups{margin:12px;gap:4px}.report-groups a{padding:6px 10px;font-size:12px}.report-totals{margin:0 12px 10px;display:grid;grid-template-columns:repeat(2,1fr)}.report-totals a{padding:7px 10px;justify-content:space-between;border-bottom:1px solid #e4eaf2;font-size:11px}.report-totals strong{font-size:17px}.report-tools{padding:6px 12px 10px;flex-wrap:wrap;gap:8px}.report-tools input{width:100%}.report-table-scroll{margin:0 12px}.report-note{margin:12px}.report-table th:first-child{width:auto}}.report-sections{display:flex;gap:20px;margin:0;padding:0 18px;background:#f6f9fc;border-bottom:1px solid #cfdaea;overflow-x:auto}.report-sections a{padding:13px 0 9px;white-space:nowrap;font-size:13px;color:#268fe0;text-decoration:none;border-bottom:2px solid transparent}.report-sections a.active{color:#455875;border-color:#455875}.report-extras{padding:18px}.report-extras h2{font-size:16px;margin:0 0 18px}.report-extras>.report-table-scroll{margin:0}.report-extras .report-tools{padding:0 0 15px}.report-extras td:last-child button+button{margin-left:14px}.add-report{margin:20px 8px}.report-editor{margin:18px 0;max-width:850px;padding:20px}.report-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.report-filter-grid input,.report-filter-grid select{width:100%}.employee-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:0 0 16px}.employee-filters label{font-size:11px;font-weight:400;max-width:190px}.employee-filters input,.employee-filters select{width:100%;font-size:12px;padding:7px}.employee-columns{display:flex;gap:14px;overflow-x:auto;padding-bottom:14px;min-height:430px;align-items:stretch}.employee-column{flex:0 0 265px;border:1px solid #c9d4e5;background:#eff2f7;border-radius:5px;overflow:hidden}.employee-column h2{display:flex;gap:8px;align-items:center;font-size:14px;padding:12px;margin:0}.avatar{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#42a6d6;color:#fff;font-size:12px}.employee-counts{padding:0 12px 12px;border-bottom:1px solid #cbd6e5;display:grid;gap:7px}.employee-counts a{display:flex;justify-content:space-between;font-size:12px;text-decoration:none;color:#385b7b}.employee-cards{padding:10px;max-height:65vh;overflow-y:auto}.employee-cards p{font-size:12px;text-align:center;color:#8a98ac}.mobile-menu-toggle,.mobile-nav-shade{display:none}@media(max-width:760px){.app-shell>header{position:sticky;top:0;z-index:8;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;padding:8px 12px;gap:6px;box-shadow:0 1px 5px #12243820}.app-shell>header strong{font-size:16px;width:auto}.app-shell>header select{grid-row:2;grid-column:2/4;max-width:none;width:100%;padding:6px;font-size:14px}.app-shell>header .identity{display:none}.app-shell>header>button:not(.mobile-menu-toggle){grid-column:3;grid-row:1;font-size:12px;min-height:40px;position:static}.app-shell>header .mobile-menu-toggle{display:block;position:static;grid-row:1/3;grid-column:1;width:40px;height:44px;border:0;color:#fff;font-size:24px;padding:0;justify-self:start;background:transparent}.app-shell .app-navigation,.app-shell .project-sidebar{display:none}.mobile-menu-open .mobile-nav-shade{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#14233399;border:0;border-radius:0;z-index:7}.mobile-menu-open .project-sidebar{display:block;position:fixed;z-index:9;top:105px;left:12px;right:12px;width:auto;height:28dvh;max-height:28dvh;bottom:auto;overflow:auto;border-radius:8px;padding:12px}.mobile-menu-open .project-tree{margin:0}.mobile-menu-open .project-link{max-width:none;font-size:14px;padding:10px}.mobile-menu-open .sidebar-title{margin-bottom:8px}.mobile-menu-open .app-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));position:fixed;top:calc(117px + 28dvh);bottom:12px;left:12px;right:12px;width:auto;max-height:none;overflow-y:auto;z-index:9;border-radius:8px;padding:10px;align-content:start}.mobile-menu-open .app-navigation button{min-height:44px;font-size:14px;white-space:normal}.mobile-menu-open .app-navigation button:first-child{display:block}.project-header{padding:10px 12px}.board-tabs{position:sticky;top:87px;z-index:2}.board-tabs a{min-height:44px}.board-toolbar{gap:8px}.board-toolbar input{flex:1;min-width:120px;width:auto;font-size:16px}.board-toolbar select{font-size:14px;max-width:100%;min-height:40px}.board-toolbar button{min-width:42px;min-height:40px}.kanban{height:calc(100dvh - 245px);min-height:340px;scroll-snap-type:x proximity;overscroll-behavior-x:contain}.kanban>.column{flex-basis:calc(100vw - 48px);max-width:340px;scroll-snap-align:start}.column-add{min-height:44px;font-size:14px}.task{min-height:60px;padding:14px}.task strong{font-size:15px}.column-create input{font-size:16px}.column-create button{min-height:40px}.overlay{z-index:20;background:#fff}.workspace-modal,.workspace-modal.wide-modal{width:100%;height:100dvh;max-height:100dvh;padding:16px;padding-bottom:calc(24px + env(safe-area-inset-bottom));overscroll-behavior:contain}.workspace-modal .close{position:sticky;top:0;background:#fff;min-height:44px;z-index:3}.workspace-modal input,.workspace-modal textarea,.workspace-modal select{font-size:16px;max-width:100%}.detail-tabs{position:sticky;top:48px;background:#fff;z-index:2;margin-bottom:16px}.detail-tabs button{min-height:44px;font-size:14px}.task-panel h2{font-size:21px;overflow-wrap:anywhere}.task-location{padding-right:85px;font-size:11px}.task-panel .detail-grid{grid-template-columns:1fr}.task-panel>button,.task-panel form button{min-height:44px}.task-panel .attachment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.attachment-grid img{height:130px}.file-drop{padding:12px}.file-drop input{font-size:13px!important}.column-editor-row input,.column-editor-row select{font-size:16px}.column-actions button{min-height:44px}.report-sections{padding:0 12px;gap:18px}.report-sections a{min-height:44px;font-size:13px}.report-extras{padding:12px}.report-filter-grid{grid-template-columns:1fr}.report-editor{padding:14px}.report-editor input,.report-editor select{font-size:16px}.employee-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.employee-filters label{max-width:none}.employee-filters input,.employee-filters select{font-size:14px;min-height:42px}.employee-columns{scroll-snap-type:x proximity;min-height:360px}.employee-column{flex-basis:calc(100vw - 66px);max-width:320px;scroll-snap-align:start}.employee-counts a{min-height:32px;align-items:center}.employee-cards{max-height:60dvh}.report-table .report-link{display:inline-block;min-height:34px;line-height:1.5;padding:6px 0!important}.report-tools input{font-size:16px;min-height:42px}.report-groups a{min-height:36px;display:flex;align-items:center}.report-totals a{min-height:42px}.report-note{font-size:11px}.report-pagination button{min-height:42px}.overview input,.overview select,.auth input{font-size:16px}.overview button,.auth button{min-height:44px}.app-shell .workspace-content>.forms,.app-shell .workspace-content>.people,.app-shell .workspace-content>.panel{margin:12px}.forms>.panel{padding:16px}.calendar-grid{min-width:560px}.date-view{max-width:100%}.month-controls input{font-size:16px}}@media(max-width:380px){.task-panel .attachment-grid,.employee-filters{grid-template-columns:1fr}.report-totals a{padding:7px;font-size:10px}.app-shell>header strong{font-size:14px}}.profile-panel{max-width:880px;margin:0 auto;padding:26px}.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-heading h1{margin:0}.profile-photo{display:flex;align-items:center;gap:16px;margin:28px 0}.profile-photo img,.profile-initials{width:80px;height:80px;border-radius:50%;object-fit:cover;flex-shrink:0}.profile-initials{display:grid;place-items:center;background:#45a5cd;color:#fff;font-size:30px}.profile-photo>div{display:grid;gap:8px}.profile-photo button,.profile-actions button,.profile-section-link{border:0;background:transparent;color:#248ad2;text-align:left;padding:8px 0}.profile-upload{color:#248ad2}.profile-upload input{display:block;max-width:100%;margin-top:6px}.profile-photo small{color:#77869c}.profile-panel form{display:grid;gap:16px}.profile-panel form>label{max-width:420px;display:grid;gap:8px}.profile-panel form>button{justify-self:start}.profile-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin:24px 0}.profile-actions span{color:#77869c;overflow-wrap:anywhere}.profile-notifications{padding:18px;background:#f7f9fc;border-radius:8px}.profile-notifications input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:#319cf1}.profile-notifications table{min-width:530px}.profile-notifications th{white-space:normal}.profile-panel .report-note{line-height:1.6}@media(max-width:760px){.profile-panel{padding:16px;width:100%;min-width:0}.profile-photo{align-items:flex-start}.profile-photo>div{min-width:0}.profile-photo input{font-size:12px}.profile-heading{align-items:flex-start}.profile-heading button{font-size:12px}.profile-notifications{padding:10px;min-width:0}.profile-panel form{min-width:0}.profile-actions{gap:8px 18px}.profile-panel input{font-size:16px}.profile-panel .profile-notifications input[type=checkbox]{min-height:24px;width:24px;height:24px}}.header-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;vertical-align:middle;margin-right:8px}header .identity small{display:block;font-size:11px;max-width:190px;overflow:hidden;text-overflow:ellipsis}@media(min-width:761px){.app-shell>header button.identity{position:static;align-self:stretch;margin:0;text-align:left;border:0;padding:3px 0;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-shell>header .identity small{display:none}}@media(max-width:760px){.app-shell .workspace-content>.profile-panel{width:auto;max-width:100%;margin:12px}.profile-heading h1{font-size:26px}.profile-heading button{max-width:120px}.profile-notifications>button{max-width:100%;white-space:normal}}.notification-settings{border-top:1px solid #dde5f0;padding-top:18px;min-width:0}.notification-settings>section+section{margin-top:34px;padding-top:18px;border-top:1px solid #dde5f0}.notification-settings h2{font-size:21px}.notification-settings h3{font-size:17px}.notification-row{display:grid;grid-template-columns:minmax(180px,3fr) repeat(4,minmax(65px,1fr));gap:8px;align-items:center;padding:12px 0;font-size:13px}.notification-labels{font-size:10px;text-transform:uppercase;color:#8999b1}.notification-labels span:not(:first-child){text-align:center}.notification-row label{display:flex;justify-content:center}.notification-row input{width:18px;height:18px;padding:0;accent-color:#378bff;min-height:0}.notification-row input.event-switch{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;width:30px;height:18px;border-radius:15px;background:#d4dbe6;border:0;cursor:pointer}.notification-row input.event-switch:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;background:#fff;border-radius:50%}.notification-row input.event-switch:checked{background:#378bff}.notification-row input.event-switch:checked:after{left:15px}.notification-row input:disabled{opacity:.4;cursor:not-allowed}.mobile-channel{display:none}.messenger{padding:20px;min-width:0}.messenger-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.messenger-title h1{font-size:24px;margin-right:auto}.messenger-title button{font-size:13px}.messenger-layout{display:grid;grid-template-columns:260px minmax(0,1fr);border:1px solid #d9e1ed;background:#fff;border-radius:8px;overflow:hidden}.chat-list{padding:14px;background:#f7f9fc;border-right:1px solid #dde5ee;max-height:78vh;overflow-y:auto}.chat-list>select{width:100%;margin:10px 0;font-size:13px}.chat-list>button{display:block;width:100%;text-align:left;margin:6px 0;border:0;padding:12px;position:relative}.chat-list>button.active{background:#dfeffc}.chat-list strong{display:block;font-size:14px;overflow-wrap:anywhere;padding-right:16px}.chat-list small{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#8091a6}.chat-badge{position:absolute;right:5px;top:10px;background:#348ed9;color:#fff;border-radius:12px;padding:1px 6px;font-size:11px}.chat-conversation{min-width:0;display:flex;flex-direction:column;height:78vh;min-height:500px}.chat-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border-bottom:1px solid #e1e8f0}.chat-title h2{margin:0;overflow-wrap:anywhere}.chat-title button{font-size:12px}.chat-participants{padding:10px 16px;font-size:12px;max-height:140px;overflow:auto;border-bottom:1px solid #e5eaf1}.chat-participants p{margin:4px 0}.chat-participants button{border:0;padding:2px;color:#2281c9;font-size:12px;overflow-wrap:anywhere}.chat-feed{flex:1;overflow-y:auto;padding:18px;min-height:160px;background:#f4f8fc}.chat-bubble{max-width:86%;padding:12px 14px;border-radius:9px;background:#fff;margin:0 auto 14px 0;border:1px solid #e1e9f1;overflow-wrap:anywhere}.chat-bubble.own{margin-left:auto;margin-right:0;background:#e7f3ff}.chat-bubble>div:first-child{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.chat-bubble strong{font-size:12px}.chat-bubble time{font-size:10px;color:#8395ab}.chat-bubble p{white-space:pre-wrap;color:#243b56;font-size:14px;margin:8px 0}.chat-file{display:grid;gap:4px;font-size:12px}.chat-file img{max-width:100%;max-height:240px;object-fit:contain;border-radius:5px}.chat-message-actions{display:flex;gap:8px}.chat-message-actions button{padding:3px;font-size:11px;background:none;border:0;color:#6483a3}.chat-compose{padding:14px;gap:8px;border-top:1px solid #e0e6ef}.chat-compose textarea{min-height:64px;max-height:130px;width:100%;font-size:14px}.chat-compose>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.chat-compose input{max-width:220px;font-size:11px;padding:5px}.chat-compose small{font-size:10px;color:#7a8ca2}.chat-compose span{font-size:11px;overflow-wrap:anywhere}.chat-compose button{font-size:12px}.chat-editor{margin-bottom:18px}.chat-editor fieldset{max-height:220px;overflow:auto;gap:8px}.chat-editor fieldset label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.chat-editor fieldset input{min-height:0;width:18px;height:18px}.chat-editor small{font-weight:400;color:#738aa4}.chat-editor>div{display:flex;gap:12px}.chat-back{display:none}.chat-bubble form textarea{max-width:100%;min-height:60px}@media(max-width:760px){.notification-row{grid-template-columns:repeat(4,minmax(0,1fr));padding:14px 0;border-bottom:1px solid #e5eaf2;gap:12px 4px}.notification-labels{display:none}.notification-event{grid-column:1/-1;font-size:13px}.notification-row label{flex-direction:column;align-items:center;gap:10px;min-height:48px}.mobile-channel{display:block;font-size:10px;font-weight:400;color:#8594aa}.notification-row input{width:22px;height:22px}.notification-settings>button{max-width:100%;font-size:13px}.messenger{padding:12px}.messenger-title h1{width:100%;margin:0}.messenger-title button{font-size:12px;min-height:42px}.messenger-layout{grid-template-columns:minmax(0,1fr)}.chat-list{max-height:none;border:0}.chat-conversation{display:none;height:calc(100dvh - 235px);min-height:480px}.chat-selected .chat-list{display:none}.chat-selected .chat-conversation{display:flex}.chat-back{display:block;font-size:12px}.chat-title{flex-wrap:wrap;padding:10px}.chat-title h2{font-size:16px}.chat-feed{padding:10px}.chat-bubble{max-width:94%;padding:10px}.chat-message-actions button{min-height:32px}.chat-compose{padding:10px}.chat-compose textarea{font-size:16px}.chat-compose button{min-height:40px}.chat-compose input{max-width:180px}.chat-editor{padding:12px}.chat-editor input{font-size:16px}.chat-participants{max-height:100px}.chat-editor fieldset small{font-size:10px}.chat-editor button{font-size:13px}}.account-row{display:flex;align-items:center;gap:8px;min-width:0}.app-shell>header .account-row .identity{display:block;min-width:0;flex:1;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.app-shell>header .account-row .profile-access{position:static;flex-shrink:0;font-size:11px;padding:6px 8px;min-height:32px}.profile-access[aria-current=page]{background:#465767!important;border-color:#83a0bb!important}.account-row .header-avatar{width:22px;height:22px;margin-right:5px}@media(max-width:760px){.app-shell>header .account-row{grid-column:1/-1;grid-row:3;min-height:40px}.app-shell>header .account-row .profile-access{min-height:40px;font-size:12px}.board-tabs{top:133px}.mobile-menu-open .project-sidebar{top:151px}.mobile-menu-open .app-navigation{top:calc(163px + 28dvh)}}@media(min-width:761px){.app-navigation{max-height:none;height:auto;overflow:visible}.project-sidebar{bottom:var(--navigation-height,380px)}}@media(min-width:761px)and (max-height:700px){.app-navigation{gap:2px;padding:8px 12px}.app-navigation button{padding:6px 8px}}@media(min-width:761px)and (max-height:560px){.app-navigation{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:8px}.app-navigation button{min-height:42px;padding:5px;font-size:12px;white-space:normal;line-height:1.3}}.schedule-page{padding:24px;min-width:0}.schedule-heading,.schedule-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.schedule-heading h1{font-size:24px;margin-right:auto}.schedule-heading button,.schedule-toolbar button{font-size:13px}.schedule-page>p{font-size:13px}.schedule-toolbar{align-items:end;margin:20px 0}.schedule-toolbar label{font-size:12px}.schedule-toolbar input,.schedule-toolbar select{max-width:220px;font-size:13px}.schedule-scroll{overflow:auto;border-radius:8px;border:1px solid #d9e2ed;background:#fff}.schedule-grid{width:100%;min-width:980px;border-collapse:collapse;font-size:12px}.schedule-grid th,.schedule-grid td{border:1px solid #e0e7ef;padding:8px;vertical-align:top;min-width:112px}.schedule-grid th:first-child{min-width:150px;position:sticky;left:0;background:#f5f8fc;z-index:1;text-align:left}.schedule-grid th small{display:block;font-weight:400;color:#7e8c9f}.shift-chip{display:block;width:100%;background:#e0f1eb;color:#1b6555;border:0;padding:8px 5px;font-size:11px;margin-bottom:5px;text-align:left}.shift-chip:disabled{opacity:1;cursor:default}.shift-chip small{display:block;overflow-wrap:anywhere}.add-shift-cell{border:0;background:none;color:#3e88c5;padding:4px;font-size:16px}.shift-editor{margin:18px 0;display:grid;gap:16px}.schedule-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.schedule-fields input,.schedule-fields select{width:100%;font-size:14px}.shift-editor small{font-size:12px;color:#73849a}.shift-list{display:grid;gap:10px}.shift-list article{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#fff;border:1px solid #dce5ee;padding:16px;border-radius:8px}.shift-list small{color:#71869d}.shift-list button{margin-left:auto;font-size:12px}.schedule-settings{margin:24px 0}.schedule-settings summary{cursor:pointer;font-weight:600}.schedule-settings form{margin-top:20px;max-width:560px}.schedule-settings p{font-size:12px}.schedule-check{display:flex;align-items:center;gap:10px}.schedule-check input{width:20px;height:20px;min-height:0}.shift-status{padding:10px 12px;border-radius:6px;font-size:12px;border:1px solid #e7d4a7;background:#fff8e7;color:#856221}.shift-status.on{background:#e5f4ec;border-color:#b7ddc8;color:#1b6c49}.shift-status small{display:block;font-size:11px;margin-top:5px}.column-create label{font-size:11px}.column-create select{width:100%;font-size:12px;padding:7px}.column-create>.shift-status{display:block}.column-create .shift-status strong{font-size:11px}@media(max-width:760px){.schedule-page{padding:12px}.schedule-heading h1{font-size:21px;width:100%}.schedule-heading button{min-height:40px}.schedule-toolbar{gap:8px}.schedule-toolbar input,.schedule-toolbar select{font-size:16px;max-width:100%}.schedule-toolbar label{min-width:0;flex:1 1 130px}.schedule-fields{grid-template-columns:1fr}.shift-editor{padding:14px}.schedule-fields input,.schedule-fields select{font-size:16px}.shift-list article{display:grid;gap:8px}.shift-list button{margin:0;justify-self:start;min-height:40px}.schedule-settings{padding:16px}.schedule-settings input,.schedule-settings select{font-size:16px;max-width:100%}.schedule-settings button{min-height:44px}}.role-descriptions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;margin:16px 0}.role-descriptions article{border:1px solid #dbe3ed;border-radius:10px;padding:14px;overflow-wrap:anywhere}.role-descriptions h3{margin:0 0 8px}.workspace-name{display:block;max-width:100%;overflow-wrap:anywhere;padding:8px 0;font-weight:600}.department-tree{padding-left:0;list-style:none}.department-tree ul{list-style:none;padding-left:20px;border-left:1px solid #dbe3ed}.department-tree li{margin:10px 0;overflow-wrap:anywhere}.department-tree small{display:block;padding:4px 8px}.department-tree button{margin:3px;max-width:100%;white-space:normal;text-align:left}.operator-shell{max-width:1000px;margin:24px auto;padding:20px}.operator-shell form{max-width:600px}.structure-panel .member-settings{overflow-wrap:anywhere}@media(max-width:760px){.department-tree ul{padding-left:10px}.structure-panel{padding:12px}.operator-shell{padding:12px;margin:0}}:root{--ui-accent:#287d9b;--ui-accent-soft:#eaf4f8;--ui-text:#243746;--ui-muted:#667c8d;--ui-border:#dce5eb;--ui-surface:#fff;--ui-background:#f2f5f8}body{color:var(--ui-text);background:var(--ui-background)}.workspace-content{background:var(--ui-background);color:var(--ui-text)}.workspace-content h1{font-size:24px;line-height:1.3;margin:0 0 16px}.workspace-content h2{font-size:18px;line-height:1.4;margin:18px 0 12px}.workspace-content h3{font-size:15px}.workspace-content .panel{border-color:var(--ui-border);border-radius:10px;background:var(--ui-surface)}.workspace-content button{border-radius:6px}.workspace-content button:not(.active):not(.task-card):not(.shift-chip):not(.column-add):not(.add-shift-cell){border-color:var(--ui-border)}.workspace-content button[type=submit],.compact-editor .toolbar-actions>button:first-child,.section-heading>button,.schedule-heading>button:first-of-type{background:var(--ui-accent);color:#fff;border-color:var(--ui-accent)}.workspace-content a,.workspace-content .text-link{color:var(--ui-accent)}.compact-page{width:100%;max-width:1120px;box-sizing:border-box;margin:0 auto;padding:22px!important;min-width:0}.company-page{max-width:900px}.company-page>form{max-width:480px}.company-page>p{max-width:760px;font-size:13px;color:var(--ui-muted)}.section-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}.section-heading h1,.section-heading h2{margin:0 auto 0 0}.section-heading button{font-size:13px;padding:8px 12px;min-height:36px}.muted{font-size:13px;color:var(--ui-muted);line-height:1.55}.filter-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0}.filter-bar input{flex:1;max-width:380px;min-width:180px}.filter-bar select{max-width:270px}.filter-bar span{font-size:12px;color:var(--ui-muted)}.compact-page input,.compact-page select,.compact-page textarea{font-size:14px;padding:8px 10px;border:1px solid var(--ui-border);border-radius:6px;min-width:0;max-width:100%;box-sizing:border-box}.compact-page label{font-size:12px;gap:6px;margin:0}.compact-page button{font-size:13px}.table-scroll{overflow:auto;width:100%}.compact-table{width:100%;border-collapse:collapse;font-size:13px}.compact-table th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.03em;color:var(--ui-muted);font-weight:500;background:#f6f9fb}.compact-table th,.compact-table td{padding:11px 12px;border-bottom:1px solid var(--ui-border);vertical-align:middle}.compact-table td small{display:block;color:var(--ui-muted);font-size:11px;margin-top:4px}.compact-table td:first-child{min-width:170px}.compact-table button{padding:6px 10px;white-space:nowrap}.compact-table td{overflow-wrap:anywhere}.status-pill{display:inline-block;padding:4px 7px;border-radius:5px;font-size:11px;background:#edf5f3;color:#376d62}.status-pill.inactive{background:#f1f2f4;color:#77828c}.compact-editor{padding:18px;background:#f7fafc;border:1px solid var(--ui-border);border-radius:8px;margin:16px 0;max-width:760px;display:grid;gap:14px}.compact-editor h2,.compact-editor h3{margin:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid input,.form-grid select{width:100%}.check-row,.permission-list label{display:flex!important;align-items:center;gap:9px!important}.check-row input,.permission-list input{width:17px!important;height:17px;min-height:0;flex-shrink:0}.permission-list{border:0;padding:0;display:grid;gap:12px}.permission-list legend{margin-bottom:12px;font-size:12px}.company-catalogs{margin-top:24px;padding-top:18px;border-top:1px solid var(--ui-border)}.segmented{display:flex;gap:4px;margin-bottom:18px}.segmented button{padding:8px 18px;background:#f2f6f9;color:var(--ui-text)}.segmented button.active{background:var(--ui-accent);color:#fff}.template-list{display:grid;gap:9px;padding:14px;background:#f5f8fa;border-radius:8px;font-size:12px;margin:14px 0}.catalog-row{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--ui-border);font-size:13px}.catalog-row small{display:block;color:var(--ui-muted);font-size:11px;margin-top:5px;max-width:620px}.catalog-row button{flex-shrink:0}.structure-panel>p{max-width:780px;font-size:13px;color:var(--ui-muted)}.department-tree{font-size:13px;max-width:850px}.department-tree li{margin:8px 0;padding:4px 0}.department-tree>li{padding:10px;border:1px solid var(--ui-border);border-radius:8px}.department-tree button{padding:7px 10px}.department-tree small{font-size:11px;color:var(--ui-muted)}.structure-summary{border-top:1px solid var(--ui-border);padding-top:10px;font-size:13px}.button-link{display:inline-block;padding:8px 12px;border:1px solid var(--ui-border);border-radius:6px;text-decoration:none;background:var(--ui-accent-soft)}.schedule-page{max-width:1280px;margin:0 auto;padding:22px}.schedule-toolbar{gap:8px;margin:16px 0}.schedule-toolbar input,.schedule-toolbar select{padding:7px;font-size:12px}.schedule-grid{min-width:840px}.schedule-grid th,.schedule-grid td{padding:6px;min-width:90px}.schedule-grid th a{font-size:10px;display:block;margin-top:6px;font-weight:400}.shift-chip{background:var(--ui-accent-soft);color:#296279;font-size:10px;padding:6px}.shift-editor{max-width:780px;padding:18px}.schedule-settings{max-width:780px}.schedule-fields,.schedule-settings form{gap:12px}.shift-list article{padding:12px}.workspace-content .profile-panel,.workspace-content .notification-settings{max-width:1000px;padding:24px;margin-left:auto;margin-right:auto}.workspace-content .reports-page{padding:20px}.workspace-content .overview{max-width:1120px;margin:auto}.workspace-content .report-card{border-color:var(--ui-border)}.pending-invitations{font-size:13px;margin-top:20px}.pending-invitations summary{cursor:pointer}@media(max-width:760px){.compact-page{padding:14px!important}.workspace-content h1{font-size:21px}.section-heading{gap:8px}.section-heading h1{width:100%}.section-heading button,.compact-page button{min-height:40px}.form-grid{grid-template-columns:1fr}.compact-editor{padding:12px}.compact-page input,.compact-page select{font-size:16px;min-height:40px}.filter-bar>*{max-width:100%!important}.filter-bar input,.filter-bar select{width:100%}.compact-table{min-width:660px}.schedule-page{padding:12px}.schedule-fields{grid-template-columns:1fr}.template-list{line-height:1.6}.catalog-row{align-items:start}.department-tree button{min-height:40px}.workspace-content .profile-panel,.workspace-content .notification-settings{padding:14px}}.app-shell .workspace-content>.compact-page{width:calc(100% - 48px);margin:24px auto}@media(max-width:760px){.app-shell .workspace-content>.compact-page{width:calc(100% - 24px);margin:12px auto}}.workspace-content .reports-page{color:var(--ui-text)}.reports-page .reports-panel,.reports-page .report-editor,.reports-page .employee-column{border-color:var(--ui-border);background:var(--ui-surface)}.reports-page .report-sections,.reports-page .report-title{background:var(--ui-background);border-color:var(--ui-border);color:var(--ui-text)}.reports-page .report-sections a,.reports-page .report-groups a,.reports-page .report-totals strong,.reports-page .report-breadcrumb a,.reports-page .employee-counts a{color:var(--ui-accent)}.reports-page .report-sections a.active{color:var(--ui-accent);border-color:var(--ui-accent)}.reports-page .report-groups a{background:var(--ui-background);border-radius:6px}.reports-page .report-groups a.active{background:var(--ui-accent);color:#fff}.reports-page .report-link{color:var(--ui-accent)!important}.reports-page .report-totals a.active,.reports-page .report-totals a:hover,.reports-page .report-table tr:hover td{background:var(--ui-accent-soft)}.reports-page .report-table th,.reports-page .report-table th>button,.reports-page .report-note,.reports-page .report-table small,.reports-page .report-tools h2{color:var(--ui-muted)}.reports-page .report-table td,.reports-page .report-table th,.reports-page .report-totals,.reports-page .report-totals a{border-color:var(--ui-border)}.reports-page .report-table td{color:var(--ui-text)}.reports-page .report-table td.overdue{color:#b34e4e}.reports-page .employee-column>header{background:var(--ui-accent-soft);color:var(--ui-text);border-color:var(--ui-border)}.schedule-toolbar{display:grid;grid-template-columns:44px 160px 44px 110px repeat(3,minmax(140px,190px));align-items:end;gap:10px}.schedule-toolbar>button,.schedule-toolbar input,.schedule-toolbar select{height:44px;min-height:44px;width:100%;max-width:none;padding:8px 10px;font-size:13px;box-sizing:border-box}.schedule-toolbar>label{min-width:0}.schedule-period{align-self:end}.schedule-scroll .schedule-grid{min-width:1050px;font-size:13px}.schedule-scroll .schedule-grid th,.schedule-scroll .schedule-grid td{padding:10px;min-width:115px;height:64px}.schedule-scroll .schedule-grid th:first-child{min-width:180px}.schedule-scroll .shift-chip{font-size:12px;padding:10px 7px;min-height:40px;white-space:normal}.schedule-bottom-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.schedule-bottom-actions button{min-height:42px;font-size:13px}.schedule-bottom-actions button:first-child{background:var(--ui-accent);color:#fff}.event-filters{margin:0 0 18px;align-items:end}.event-filters select{min-width:240px;max-width:100%;height:42px}.event-list article{border-color:var(--ui-border)}@media(min-width:761px)and (max-width:1250px){.schedule-toolbar{display:flex;flex-wrap:wrap}.schedule-toolbar>label{flex:0 1 180px}.schedule-toolbar>button{width:44px;flex:0 0 44px}.schedule-toolbar>button:nth-of-type(3){width:110px;flex-basis:110px}}@media(max-width:760px){.schedule-toolbar{grid-template-columns:44px minmax(120px,1fr) 44px}.schedule-toolbar>label{min-width:0}.schedule-toolbar>button:nth-of-type(3){grid-column:1/-1}.schedule-toolbar>label:nth-last-child(-n+3){grid-column:1/-1}.schedule-toolbar input,.schedule-toolbar select{font-size:16px}.schedule-bottom-actions button{flex:1;min-width:140px}.event-filters label{max-width:100%;width:100%}.event-filters select{min-width:0;width:100%}}.reports-page .employee-column h2,.reports-page .employee-counts{background:var(--ui-accent-soft);border-color:var(--ui-border)}.reports-page .avatar{background:var(--ui-accent)}.reports-page .employee-cards p{color:var(--ui-muted)}.archive-settings{max-width:680px;margin:16px 0 24px;padding:16px;border:1px solid #d5dfe9;border-radius:10px;background:#f8fafc}.archive-settings h2{margin:0 0 12px;font-size:18px}.archive-settings p{font-size:13px;line-height:1.5}.archive-settings select{max-width:100%}.overview>label:has(input[type=search]){display:block;max-width:680px;margin:16px 0}.archive-search input{display:block;margin-top:10px}.archive-dialog{width:calc(100% - 32px);max-width:540px;max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;padding:24px;border:1px solid #d5dfe9;border-radius:12px;background:#fff;color:#17253d;box-shadow:0 16px 60px #17253d33}.archive-dialog::backdrop{background:#17253d80}.archive-dialog .toolbar{gap:16px;margin-bottom:20px}.archive-dialog h2{margin:0;font-size:20px}.archive-dialog label{display:grid;gap:10px}.archive-dialog p{font-size:13px;line-height:1.6}.email-task-badge{display:inline-flex;align-items:center;vertical-align:middle;color:#087c72;background:#e4f3ef;border-radius:4px;padding:2px;margin-right:6px;line-height:1;flex-shrink:0}.schedule-row-controls{display:flex;gap:2px;align-items:center;margin-bottom:4px}.schedule-row-controls button{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-width:24px;min-height:24px;padding:0;border-radius:5px;font-size:12px;line-height:1}.schedule-row-controls [draggable]{display:inline-flex;align-items:center;justify-content:center;width:20px;height:24px;cursor:grab;padding:0;color:#087c72;font-size:16px;line-height:1}.schedule-row-dragging{opacity:.5}.schedule-order-person{display:flex;align-items:center;gap:12px;padding:6px 0}@media(max-width:760px){.schedule-row-controls button{width:30px;height:30px;min-width:30px;min-height:30px}.schedule-row-controls [draggable]{height:30px;width:24px}}.employee-password-form{padding:12px 14px;gap:10px;margin:12px 0}.employee-password-form h2{font-size:18px}.employee-password-form p{margin:0;line-height:1.4;font-size:13px}.employee-password-form .form-grid{gap:10px}.employee-password-form label{margin:0;gap:5px}.employee-password-form .toolbar-actions{margin:0;gap:6px}.mail-accounts-dialog{max-width:780px}.mail-account-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid #d5dfe9;padding:12px 0}.mail-account-row>div{flex:1;min-width:0;overflow-wrap:anywhere}.mail-account-row small{display:block;margin-top:4px;font-size:12px}.mail-account-editor{display:grid;gap:12px;margin-top:16px;padding:14px;background:#f7fafc;border-radius:8px}.mail-account-editor h3,.mail-account-editor p{margin:0}@media(max-width:760px){.mail-account-row{flex-wrap:wrap}.mail-account-row>div{flex-basis:100%}.mail-accounts-dialog{padding:16px}}.action-toast{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:10000;display:flex;align-items:center;gap:8px;max-width:min(340px,calc(100vw - 28px));box-sizing:border-box;padding:10px 12px;border:1px solid #b8dfd3;border-radius:9px;background:#e1f4eb;color:#095e53;box-shadow:0 5px 20px #17253d20;font-size:13px;line-height:1.4;animation:toast-appear .16s ease-out;overflow-wrap:anywhere}.action-toast-check{font-weight:700}.action-toast>span:nth-child(2){min-width:0}.action-toast button{flex-shrink:0;display:grid;place-items:center;padding:0;width:22px;height:22px;min-width:22px;min-height:22px;border:0;background:transparent;color:inherit;font-size:18px;cursor:pointer}@keyframes toast-appear{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.action-toast{animation:none}}.app-navigation .sidebar-logout{margin-top:6px;border-top:1px solid #ffffff24;border-radius:0;padding-top:10px;color:#cbd7df}@media(min-width:761px)and (max-height:560px){.app-navigation .sidebar-logout{grid-column:1/-1}}.brand-name{display:flex;align-items:center;gap:9px}.brand-name img{display:block;flex-shrink:0;border-radius:7px}.action-toast[popover]{inset:auto max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) auto;margin:0}.action-toast-error{background:#fff0f0;border-color:#efbcbc;color:#923737}.action-toast-info{background:#edf5fa;border-color:#bad1df;color:#245e78}.action-toast>span:nth-child(2){white-space:pre-line}.registration-back{margin-top:16px;background:#fff;color:#087c72;border:1px solid #c5d9df}.registration p{line-height:1.5}.auth:not(.registration)>form>button,.auth:not(.registration)>.registration-back{width:100%;height:44px;box-sizing:border-box;padding:8px 14px}.registration-dialog{width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid #d5dfe9;border-radius:12px;color:#17253d;background:#fff;overflow:auto;box-shadow:0 16px 64px #17253d30}.registration-dialog::backdrop{background:#17253d80}.registration-dialog>.registration{margin:0;max-width:none;border:0;padding:24px}.registration-dialog .registration>p:first-of-type{padding-right:32px;margin-top:0}.registration-dialog-close{position:absolute;right:12px;top:10px;width:32px;height:32px;padding:0;font-size:24px;border:0;background:transparent;z-index:1}.registration-dialog .registration-back{width:100%}.control-app{min-height:100vh;background:#f3f5f8;font-size:14px}.control-header{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;background:#272f35;color:#fff}.control-header strong{display:flex;align-items:center;gap:10px;font-size:18px}.control-header small{font-size:12px;font-weight:400;opacity:.7}.control-main{max-width:1180px;margin:auto;padding:24px}.control-main h1{font-size:23px;margin:0 0 18px}.control-main .panel{padding:20px}.control-main form{gap:12px}.control-main button,.control-main input,.control-main select{font-size:13px;padding:8px 12px}.control-login{max-width:420px;margin:32px auto}.control-tabs{margin-bottom:20px}.control-stats{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px}.control-stats>div{flex:1;min-width:125px;padding:12px 16px;background:#fff;border:1px solid #dbe4e9;border-radius:8px}.control-stats span{display:block;color:#64738a;font-size:12px}.control-stats strong{font-size:24px;color:#087c72}.control-filters{display:flex;gap:14px;margin-bottom:18px}.control-filters>label:first-child{flex:1}.control-table{overflow:auto}.control-table table{width:100%;border-collapse:collapse;text-align:left}.control-table th{font-size:11px;color:#64738a;background:#f6f9fb}.control-table td,.control-table th{padding:11px;border-bottom:1px solid #e1e8ef}.control-table small{display:block;color:#64738a;font-size:11px;margin-top:3px}.control-actions{display:flex;gap:6px;flex-wrap:wrap}.control-editor{padding:18px;max-width:540px;background:#f5f9fb;border:1px solid #d6e2e9;border-radius:8px;margin-bottom:20px}.control-main .toolbar{margin-bottom:16px}.control-main .toolbar h1{margin:0}@media(max-width:600px){.control-main{padding:14px}.control-header{padding:12px}.control-header small{display:none}.control-filters,.control-tabs{flex-wrap:wrap}.control-main .panel{padding:14px}.control-stats{gap:8px}.control-login{margin:12px auto}}.event-log-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin:18px 0}.event-log-filters label{flex:1;min-width:145px;font-size:12px}.event-log-filters input,.event-log-filters select{width:100%;font-size:13px;padding:8px}.event-context{font-size:13px;margin:8px 0!important;overflow-wrap:anywhere}.event-changes{margin:8px 0;font-size:12px}.event-changes>div{display:flex;gap:12px;padding:3px 0}.event-changes dt{min-width:95px;color:#64738a}.event-changes dd{margin:0;overflow-wrap:anywhere}.event-mail p{font-size:12px;margin:6px 0;overflow-wrap:anywhere}.event-journal .event-list article{padding:12px 16px}.event-journal .event-list article>button{font-size:12px;padding:4px 8px;margin-top:8px}.event-journal .event-list small{display:block;font-size:11px}.deadline-overdue{color:#aa3030!important;background:#fff0f0;border-radius:5px;padding:3px 6px}.deadline-settings{max-width:520px}.deadline-settings p{font-size:13px;line-height:1.5}.archive-dialog.deadline-settings{width:calc(100% - 24px);max-width:460px;padding:18px}.deadline-settings .toolbar{margin-bottom:14px;gap:10px}.deadline-settings h2{font-size:18px}.deadline-settings form{gap:12px}.deadline-settings p{margin:0;font-size:12px;line-height:1.5}.deadline-settings label{gap:6px;font-size:12px}.deadline-settings label.deadline-toggle{display:flex;align-items:center;gap:8px}.deadline-settings .deadline-toggle input{flex:0 0 16px;width:16px;height:16px;min-height:16px;margin:0;padding:0;accent-color:#087c72}.deadline-settings select{width:100%;font-size:13px;padding:8px 10px}.deadline-actions{display:flex;gap:8px;position:sticky;bottom:0;background:#fff;padding:8px 0 0}.deadline-actions button{display:inline-block!important;width:auto!important;min-height:36px;padding:8px 16px;font-size:13px}.deadline-actions button[type=submit]{background:#287d9b;color:#fff;border-color:#287d9b}.deadline-permission{color:#64738a}.task-close-footer{display:flex;justify-content:flex-end;margin-top:16px;padding-top:12px;border-top:1px solid #dbe4ed}.compact-modal{width:min(760px,calc(100vw - 24px));max-height:88dvh;overflow:auto;border:1px solid #d8e4e8;border-radius:14px;padding:20px;color:#203448;background:#fff}.compact-modal::backdrop{background:#142c4055}.compact-modal .compact-editor{margin:0;padding:12px;max-width:none}.modal-dismiss{float:right;padding:4px 10px;min-height:32px}.compact-modal .form-grid{gap:10px 14px}.compact-modal label{margin-bottom:8px}.compact-modal h2{margin:0 30px 14px 0}.overview-archive,.overview-notifications{max-width:1050px;padding:20px!important}.overview-archive h2{font-size:16px;margin:16px 0 8px}.overview-archive .subtask-link{padding:9px 12px;margin:4px 0}.overview-archive .archive-row{padding:8px 12px;margin:4px 0}.overview-archive .archive-search{max-width:520px;margin:12px 0}.overview-notifications .notification{padding:9px 12px;margin:5px 0;display:flex;gap:12px;align-items:center}.overview-notifications .notification button{padding:4px 0;min-height:28px;flex:1;text-align:left}.overview-notifications .notification time{font-size:11px;white-space:nowrap}.reports-page .reports-panel{border:0;background:transparent}.reports-page .report-sections{background:#e6eeed;border:0;border-radius:12px;padding:6px;gap:6px;display:flex}.reports-page .report-sections a{border:0!important;border-radius:8px;padding:10px 16px;color:#45615e}.reports-page .report-sections a.active{background:#087c72;color:#fff;box-shadow:0 2px 6px #163c2420}.reports-page .report-groups{background:transparent;border-radius:0;gap:8px;margin:18px 0}.reports-page .report-totals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;border:0;background:transparent}.reports-page .report-totals a{border:1px solid #d9e5e2;border-left:4px solid #087c72;border-radius:10px;background:#fff;padding:14px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.reports-page .report-totals strong{font-size:26px;color:#14665e}.reports-page .report-table-scroll{border:1px solid #dce6e5;border-radius:12px;background:#fff}.reports-page .report-tools{margin:16px 0}.task-chat-feed{max-height:55dvh;overflow:auto}.task-chat-feed article{background:#f1f6f5;border-radius:10px;padding:12px;margin:8px 0}.task-chat-feed time{display:block;font-size:11px;color:#73858a}.task-chat-feed p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}@media(max-width:650px){.reports-page .report-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-page .report-sections{flex-wrap:wrap}.overview-notifications .notification{align-items:flex-start;flex-direction:column;gap:2px}.compact-modal{padding:12px}.compact-modal .form-grid{grid-template-columns:1fr}}.bot-connections article{padding:12px 0;border-bottom:1px solid #dde8e7}.bot-connections small,.archive-row small{display:block;font-size:12px;color:#667f88;margin:5px 0}.bot-journal{max-height:240px;overflow:auto;font-size:12px}.bot-open-link{display:inline-block;margin:12px 0;padding:10px;background:#e0f2ed;border-radius:8px}.bot-connections .toolbar-actions{margin:6px 0}.section-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin:12px 0}.section-filters label{font-size:12px;min-width:135px}.section-filters input,.section-filters select{padding:7px 9px;max-width:100%}.filter-hint{font-size:12px;margin:6px 0}.list-pagination{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;font-size:12px}.list-pagination button{border:1px solid var(--ui-border);padding:5px 10px}.list-pagination button:disabled{cursor:default}.structure-actions{justify-content:flex-start;margin:12px 0}.structure-actions .active,.department-tree button.active{background:var(--ui-accent-soft);border-color:var(--ui-accent);font-weight:700}.structure-members{list-style:none;padding:0;max-height:360px;overflow:auto}.structure-members li{display:flex;gap:12px;justify-content:space-between;padding:6px 0;border-bottom:1px solid var(--ui-border)}.structure-members span{color:var(--ui-muted)}.event-journal .event-list article{padding:8px 10px;gap:3px}.event-journal .event-list article>button{justify-self:start;width:auto;margin-top:3px}.event-journal .event-list p,.event-journal .event-context{margin:3px 0!important}.event-journal .event-changes{margin:3px 0}.event-journal .event-changes>div{padding:1px 0}.event-log-filters{margin:10px 0}.overview-events{padding:16px}.overview-events>.toolbar{margin-bottom:10px}@media(max-width:600px){.section-filters label{flex:1 1 140px}.section-filters input,.section-filters select{width:100%}.structure-members li{flex-direction:column;gap:2px}.event-changes>div{flex-wrap:wrap;gap:3px}.overview .toolbar-actions{gap:6px}}.work-hours{margin:12px 0;max-width:640px}.work-hours fieldset{padding:8px 12px;border:1px solid #d5e2ea;border-radius:8px}.work-days{display:flex;gap:12px;flex-wrap:wrap}.work-days .check-row{margin:4px 0}.work-hours .form-grid{margin-top:10px}.overview-archive .section-filters input,.overview-archive .section-filters select,.overview-archive .section-filters>button,.overview-archive>.toolbar .toolbar-actions>button,.overview-archive .list-pagination button{height:36px;min-height:36px;box-sizing:border-box;padding:7px 12px;font-size:13px;line-height:20px}.overview-archive .section-filters label{flex:0 1 166px;min-width:135px;margin:0}.overview-archive .section-filters input,.overview-archive .section-filters select{width:100%}.overview-archive .section-filters>button{width:166px}.overview-archive .list-pagination button{min-width:82px}.bot-routes{grid-column:1/-1;min-width:0;border:1px solid var(--ui-border);border-radius:8px;padding:12px}.bot-route-row{display:flex;gap:8px;align-items:end;margin-bottom:8px}.bot-route-row label{flex:1;min-width:0}.bot-routes small{display:block;margin-top:8px;color:var(--ui-muted)}.bot-route-row select{width:100%;min-width:0}.role-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:12px 0;padding:12px}.role-permissions label{display:flex;align-items:flex-start;gap:8px;margin:0}.role-permissions input[type=checkbox]{flex:0 0 auto;width:16px;height:16px;margin:2px 0 0}@media(max-width:540px){.role-permissions{grid-template-columns:1fr}}.schedule-settings-launch{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 16px}.schedule-settings-launch small{color:var(--muted,#687b96)}.messenger{max-width:1440px;margin:0 auto;padding:20px 24px}.messenger-title{justify-content:space-between;margin-bottom:16px}.messenger-title h1{margin:0;font-size:24px}.messenger-title p{margin:5px 0 0;font-size:12px;color:var(--ui-muted)}.messenger .chat-new{background:var(--ui-accent);color:var(--ui-surface);padding:10px 16px}.messenger-layout{grid-template-columns:minmax(270px,320px) minmax(0,1fr);height:calc(100dvh - 185px);min-height:480px;border-color:var(--ui-border);border-radius:12px;background:var(--ui-surface)}.messenger .chat-list{display:flex;flex-direction:column;padding:0;min-height:0;max-height:none;overflow:hidden;background:var(--ui-surface);border-color:var(--ui-border)}.chat-list-tools{padding:16px 14px 12px;border-bottom:1px solid var(--ui-border)}.chat-list-tools label{margin:0;font-size:12px}.chat-list-tools input{margin-top:7px;min-height:36px;padding:8px 10px;font-size:13px;width:100%;box-sizing:border-box}.chat-filters{display:flex;gap:4px;margin-top:10px}.chat-filters button{flex:1;min-width:0;font-size:12px;padding:7px 8px;border:0;background:transparent;color:var(--ui-muted);white-space:nowrap}.chat-filters button[aria-pressed=true]{background:var(--ui-accent-soft);color:var(--ui-accent);font-weight:600}.chat-list-items{overflow-y:auto;min-height:0;flex:1;padding:6px}.chat-list-items>button{display:flex;gap:10px;align-items:center;position:relative;width:100%;text-align:left;padding:12px 10px;margin:2px 0;border:0;background:transparent;box-sizing:border-box;border-radius:8px}.chat-list-items>button:hover,.chat-list-items>button.active{background:var(--ui-accent-soft)}.chat-avatar{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;font-size:13px;font-weight:600;background:var(--ui-background);color:var(--ui-accent);border:1px solid var(--ui-border);box-sizing:border-box}.chat-avatar.avatar-task{border-radius:10px}.chat-avatar.avatar-group{border-radius:12px;font-size:21px}.chat-row-content{min-width:0;flex:1}.chat-row-top{display:flex;align-items:center;gap:8px}.chat-row-top strong{flex:1;min-width:0;padding:0;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ui-text)}.chat-row-top time{font-size:10px;white-space:nowrap;color:var(--ui-muted)}.chat-list-items small{font-size:11px;line-height:1.5;color:var(--ui-muted)}.chat-list-items .chat-preview{font-size:12px;margin-top:3px;padding-right:20px}.chat-list-items .chat-badge{top:auto;bottom:13px;right:10px;background:var(--ui-accent);color:var(--ui-surface)}.chat-list-items>p{padding:14px;font-size:13px;color:var(--ui-muted)}.messenger .chat-conversation{height:100%;min-height:0;overflow:hidden}.messenger .chat-title{flex-shrink:0;justify-content:flex-start;padding:14px 18px;gap:10px;min-height:44px;border-color:var(--ui-border)}.chat-heading-text{min-width:0;flex:1}.chat-heading-text h2{font-size:16px;line-height:1.35;margin:0}.chat-heading-text small{display:block;margin-top:3px;font-size:11px;color:var(--ui-muted)}.chat-title>a{font-size:12px;white-space:nowrap}.messenger .chat-participants{flex-shrink:0;border-color:var(--ui-border);padding:8px 18px}.messenger .chat-feed{min-height:0;padding:16px 24px;background:var(--ui-background);overscroll-behavior:contain}.messenger .chat-bubble{max-width:80%;width:fit-content;padding:10px 14px;margin-bottom:10px;background:var(--ui-surface);border-color:var(--ui-border);border-radius:4px 12px 12px}.messenger .chat-bubble.own{background:var(--ui-accent-soft);border-radius:12px 4px 12px 12px}.messenger .chat-bubble p{color:var(--ui-text);line-height:1.5;margin:6px 0 2px}.chat-day{display:flex;justify-content:center;margin:10px 0 18px;font-size:11px;color:var(--ui-muted)}.chat-day span{padding:4px 10px;border-radius:12px;background:var(--ui-surface);border:1px solid var(--ui-border)}.messenger .chat-compose{flex-shrink:0;padding:12px 18px;margin:0;border-color:var(--ui-border);background:var(--ui-surface)}.chat-compose>label{font-size:11px;margin:0;color:var(--ui-muted)}.messenger .chat-compose textarea{box-sizing:border-box;resize:vertical;min-height:64px;max-height:110px;margin-top:6px;padding:10px 12px;border-radius:8px;border-color:var(--ui-border);color:var(--ui-text);background:var(--ui-surface)}.messenger .chat-compose>div{margin-top:6px}.messenger .chat-compose button[type=submit],.messenger .chat-compose>button,.messenger .chat-compose>div>button:last-child{background:var(--ui-accent);color:var(--ui-surface);margin-left:auto;padding:9px 18px}.chat-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:var(--ui-muted)}.chat-empty .chat-avatar{width:64px;height:64px;flex-basis:64px;font-size:30px}.chat-empty h2{font-size:19px;color:var(--ui-text);margin:18px 0 6px}.chat-empty p{font-size:13px;line-height:1.7}.compact-modal .chat-editor{padding:0;margin:0;border:0;background:transparent}.compact-modal .chat-editor>div{margin-top:12px}@media(max-width:760px){.messenger{padding:12px}.messenger-title h1{width:auto;font-size:21px}.messenger-title{flex-wrap:nowrap}.messenger-title p{font-size:11px}.messenger-layout{grid-template-columns:minmax(0,1fr);height:calc(100dvh - 202px);min-height:340px}.messenger .chat-list{height:100%}.messenger .chat-conversation{display:none;min-height:0}.messenger.chat-selected .chat-list{display:none}.messenger.chat-selected .chat-conversation{display:flex}.messenger .chat-title{padding:10px;flex-wrap:wrap}.messenger .chat-title .chat-back{width:100%;text-align:left;border:0;padding:2px 0;min-height:28px}.chat-heading-text h2{font-size:14px}.chat-title .chat-avatar{width:30px;height:30px;flex-basis:30px}.messenger .chat-feed{padding:10px}.messenger .chat-bubble{max-width:92%}.messenger .chat-compose{padding:10px}.messenger .chat-compose textarea{font-size:16px;min-height:56px}.messenger .chat-compose small{display:none}.messenger .chat-compose input{max-width:165px}.messenger .chat-compose>div{gap:6px}.chat-list-tools{padding:12px}.chat-filters button{min-height:36px}.chat-list-items>button{min-height:78px}}@media(max-width:760px){.app-shell>header .workspace-name{min-width:0;font-size:12px;line-height:1.3;overflow-wrap:anywhere}.board-tabs{position:static}.board-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}.board-toolbar>input,.board-toolbar>select,.board-toolbar>button{width:100%;max-width:100%;min-width:0;min-height:44px}.board-toolbar>input{grid-column:1/-1}.board-toolbar>button[aria-label=Обновить]{width:44px}.kanban{height:auto;min-height:340px;align-items:flex-start}.kanban>.column{min-height:340px;max-height:70dvh;overflow-y:auto}.kanban>.add-column{min-height:44px}.profile-upload{position:relative;display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;border:1px solid var(--ui-border);border-radius:6px;font-size:13px;overflow:hidden}.profile-upload input[type=file]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.profile-upload:focus-within{outline:2px solid var(--ui-accent);outline-offset:2px}.profile-photo>div{min-width:0}.profile-photo button{min-height:40px}.profile-heading{gap:10px}.profile-heading>button{padding:7px 10px;font-size:12px;min-height:40px}.profile-panel input:not([type=file]):not([type=checkbox]),.profile-panel select{font-size:16px}.overview-archive .section-filters,.overview-notifications .section-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.overview-archive .section-filters label,.overview-notifications .section-filters label{width:auto;min-width:0;max-width:none}.overview-archive .section-filters label:first-child,.overview-notifications .section-filters label:first-child{grid-column:1/-1}.overview-archive .section-filters>button,.overview-notifications .section-filters>button{grid-column:1/-1;width:100%}.overview .section-filters input,.overview .section-filters select{width:100%;font-size:16px;min-height:44px}.overview .list-pagination{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px}.overview .list-pagination button{min-width:0;min-height:40px;padding:7px 9px}.overview .list-pagination span{font-size:11px;text-align:center;overflow-wrap:anywhere}.overview .toolbar-actions{width:100%;gap:8px}.overview .toolbar-actions>button{min-height:40px;flex:1;font-size:12px}.schedule-settings-launch>button{font-size:13px;min-height:44px;padding:8px 10px}.schedule-toolbar{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.schedule-toolbar>.schedule-period{grid-column:2/6}.schedule-toolbar>button:first-child{grid-column:1}.schedule-toolbar>button:nth-of-type(2){grid-column:6}.schedule-toolbar>label:nth-last-child(-n+3){grid-column:span 3}.schedule-toolbar>label:last-child{grid-column:1/-1}.schedule-bottom-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-bottom-actions button{min-width:0;width:100%;padding:8px;font-size:12px}.compact-modal input:not([type=checkbox]):not([type=radio]),.compact-modal select,.compact-modal textarea,.task-panel input:not([type=checkbox]),.task-panel select,.task-panel textarea{max-width:100%;font-size:16px}.compact-modal .toolbar-actions>button,.task-panel .toolbar-actions>button{min-height:44px}.compact-modal h2{padding-right:24px;overflow-wrap:anywhere}.app-navigation button{overflow-wrap:anywhere}}@media(max-width:1000px){.employees-page .table-scroll{overflow:visible}.employees-page .compact-table{display:block;min-width:0;width:100%}.employees-page .compact-table thead{display:none}.employees-page .compact-table tbody{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}.employees-page .compact-table tr{display:block;min-width:0;border:1px solid var(--ui-border);border-radius:8px;padding:12px;background:var(--ui-surface)}.employees-page .compact-table td{display:block;width:auto;border:0;padding:5px 0;overflow-wrap:anywhere;white-space:normal}.employees-page .compact-table td[data-label]:not(:first-child):before{content:attr(data-label);display:block;font-size:10px;color:var(--ui-muted);margin-bottom:2px}.employees-page .compact-table td:last-child{padding-top:10px}.employees-page .compact-table td:last-child button{width:100%;min-height:44px}.employees-page .compact-table small{white-space:normal;overflow-wrap:anywhere}}@media(max-width:760px){.board-toolbar>input{grid-column:auto}.overview .toolbar-actions>button{height:auto;min-height:44px;line-height:1.35}.overview-archive>.toolbar .toolbar-actions>button{height:auto;min-height:44px}.overview-archive .section-filters>button{height:auto;min-height:44px}}@media(max-width:760px){.app-shell>header{grid-template-columns:38px minmax(0,1fr) minmax(0,88px)}.app-shell>header .brand-name{grid-column:2;grid-row:1;font-size:14px;white-space:nowrap;gap:6px;min-width:0}.app-shell>header .workspace-name{grid-column:3;grid-row:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%;text-align:right}.app-shell>header .mobile-menu-toggle{grid-row:1}.task-panel h2{padding-right:0;font-size:20px;line-height:1.35}.task-panel .task-location{padding-right:0}.task-panel .detail-tabs{top:0}}.theme-help{font-size:11px;font-weight:400;color:var(--ui-muted)}:root[data-theme=dark]{color-scheme:dark;--ui-accent:#69bbd5;--ui-accent-soft:#203c49;--ui-text:#e1e8ef;--ui-muted:#a2b2c1;--ui-border:#3b4a58;--ui-surface:#202b35;--ui-background:#161e26}:root[data-theme=dark] body{background:var(--ui-background);color:var(--ui-text)}:root[data-theme=dark] :is(.workspace-content,.kanban,.chat-feed,.task-messages,.notification.read,.date-view,.calendar-day,.report-sections,.template-list,.role-descriptions article,.shift-list article){background:var(--ui-background)!important;color:var(--ui-text)!important}:root[data-theme=dark] :is(.panel,.auth,.compact-page,.compact-editor,.workspace-modal,.detail,.compact-modal,.archive-dialog,.mail-account-editor,.task,.column,.project-card,.company-section,.company-title,.structure-explainer,.board-tabs,.board-toolbar,.project-header,.chat-list,.chat-conversation,.chat-bubble,.chat-title,.chat-compose,.messenger-layout,.report-table-scroll,.report-table,.report-totals a,.employee-column,.employee-cards,.employee-card,.notification,.event-card,.schedule-grid,.schedule-grid th,.schedule-grid td,.calendar-grid>div,.calendar-grid>strong,.gantt-row,.gantt-scale,.task-messages article,.detail-tabs,.attachment-grid a,.file-drop){background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important}:root[data-theme=dark] :is(input,select,textarea,button){background-color:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}:root[data-theme=dark] :is(h1,h2,h3,h4,label,legend,strong,.breadcrumbs span,.task span,.task small,.chat-bubble p,.project-link,.board-link,.department-tree,.report-table td,.compact-table td){color:var(--ui-text)!important}:root[data-theme=dark] :is(p,small,time,.muted,.chat-list small,.report-note,.task-location,.task-count,.profile-actions span){color:var(--ui-muted)!important}:root[data-theme=dark] :is(a,.text-link,.profile-section-link,.profile-actions button,.profile-upload){color:var(--ui-accent)!important}:root[data-theme=dark] :is(th,.compact-table th,.report-table th,.column-editor-row,.report-filter-grid,.chat-participants,.structure-summary,.role-permissions,.permission-list){background-color:var(--ui-surface);color:var(--ui-muted);border-color:var(--ui-border)}:root[data-theme=dark] :is(.column-add,.shift-chip,.chat-bubble.own,.chat-list-items>button.active,.chat-list-items>button:hover,.chat-filters button[aria-pressed=true],.segmented button.active,.detail-tabs button.active,.report-groups a.active,.board-link.active){background:var(--ui-accent-soft)!important;color:var(--ui-text)!important}:root[data-theme=dark] :is(button[type=submit],.primary,.chat-new,.chat-compose>button,.chat-compose>div>button:last-child,.auth form>button,.profile-panel form>button:not([type=button]),.schedule-bottom-actions button:first-child){background:#287d9b!important;color:#fff!important;border-color:#287d9b!important}:root[data-theme=dark] :is(.error,.toast-error){background:#512c34!important;color:#ffd8de!important}:root[data-theme=dark] :is(.notice,.toast-success,.shift-status.on){background:#1f433b!important;color:#c9f2e2!important}:root[data-theme=dark] .shift-status:not(.on){background:#493e24;color:#ffe4aa}:root[data-theme=dark] .status-pill{background:#25483e;color:#d0f0e2}:root[data-theme=dark] .status-pill.inactive{background:#39414c;color:#d5dde7}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#99a9b8}:root[data-theme=dark] .overlay{background:#080d14b3}:root[data-theme=dark] ::backdrop{background:#080d14b3}:root[data-theme=dark],:root[data-theme=dark] :is(body,.app-shell,.app-shell>main,.workspace){background:var(--ui-background)!important}:root[data-theme=dark] :is(.board-tabs a.active,.report-sections a.active,.app-navigation button.active){background:var(--ui-accent-soft)!important;color:var(--ui-text)!important}:root[data-theme=dark] .app-navigation button:not(.active){background:transparent}:root[data-theme=rose]{color-scheme:light;--ui-accent:#a34670;--ui-accent-soft:#fae8ef;--ui-text:#49343e;--ui-muted:#806672;--ui-border:#e8ced9;--ui-surface:#fffafd;--ui-background:#fcf2f6}:root[data-theme=rose] :is(body,.app-shell,.app-shell>main,.workspace,.workspace-content,.kanban,.chat-feed){background:var(--ui-background)!important;color:var(--ui-text)}:root[data-theme=rose] :is(.column,.panel,.compact-editor,.workspace-modal,.compact-modal,.archive-dialog,.task,.board-toolbar,.board-tabs,.project-header,.chat-list,.chat-conversation,.chat-title,.chat-compose,.report-table-scroll,.compact-table th,.schedule-grid th,.schedule-grid td){background:var(--ui-surface)!important;border-color:var(--ui-border)!important}:root[data-theme=rose] :is(.column-add,.shift-chip,.chat-bubble.own,.board-tabs a.active,.report-sections a.active,.report-groups a.active,.segmented button.active,.detail-tabs button.active){background:var(--ui-accent-soft)!important;color:var(--ui-accent)!important}:root[data-theme=rose] :is(button[type=submit],.primary,.chat-new,.chat-compose>button,.auth form>button,.profile-panel form>button:not([type=button]),.schedule-bottom-actions button:first-child){background:var(--ui-accent)!important;color:#fff!important;border-color:var(--ui-accent)!important}:root[data-theme=rose] :is(input,select,textarea){border-color:var(--ui-border);color:var(--ui-text)}.kpi-settings{display:grid;gap:12px;max-width:620px}.kpi-settings label{margin:0}.kpi-check{display:flex!important;align-items:center;gap:9px}.kpi-check input{width:16px!important;height:16px!important;margin:0!important}.kpi-settings fieldset{padding:12px;border:1px solid var(--ui-border);display:grid;gap:8px}.kpi-weight-grid{display:grid;grid-template-columns:minmax(100px,1fr) 72px 72px;gap:8px;align-items:center}.kpi-weight-row{display:contents}.kpi-weight-grid input{width:100%;min-width:0;padding:8px}.kpi-report{padding:16px 0;max-width:1000px}.kpi-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.kpi-filters label{margin:0;max-width:100%}.kpi-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.kpi-cards button{display:grid;text-align:left;gap:8px;background:var(--ui-surface);color:var(--ui-text);border:1px solid var(--ui-border);padding:16px}.kpi-cards button.active{border-color:var(--ui-accent);background:var(--ui-accent-soft)}.kpi-cards b{font-size:24px}.kpi-task{padding:12px;border:1px solid var(--ui-border);border-radius:8px;margin:12px 0}.kpi-task label{margin-top:12px}.kpi-task textarea{min-height:54px}.kpi-task-list{display:grid;gap:6px}.kpi-task-list button{display:flex;justify-content:space-between;text-align:left;gap:12px;background:var(--ui-surface);color:var(--ui-text);border:1px solid var(--ui-border)}@media(max-width:600px){.kpi-cards{grid-template-columns:1fr}.kpi-task-list button{flex-direction:column}.kpi-filters{display:grid;grid-template-columns:minmax(0,1fr)}.kpi-filters select{width:100%}}.task-panel .kpi-task{padding:10px 12px;margin:10px 0}.kpi-task summary{cursor:pointer;font-weight:600;line-height:1.4}.kpi-task-body{display:grid;gap:8px;padding-top:10px}.task-panel .kpi-task p,.task-panel .kpi-task small{margin:0}.task-panel .kpi-task label{display:grid;gap:6px;margin:0}.task-panel .kpi-task textarea{min-height:48px;height:48px;margin:0;padding:8px}.task-panel .kpi-task .toolbar-actions{margin:0;padding:0;gap:6px}.task-panel .kpi-task button{margin:0;padding:7px 10px;min-height:34px}.handover-item{display:grid;gap:6px;border-top:1px solid var(--ui-border);padding-top:10px}.handover-item p{white-space:pre-wrap;overflow-wrap:anywhere}.handover select{max-width:100%}:root{--space-label: 6px;--space-item: 8px;--space-group: 12px;--space-panel: 16px}:is(.panel,.compact-modal,.workspace-modal,.auth,.control-main) form:not(.chat-compose),:is(.panel,.compact-modal,.workspace-modal,.auth,.control-main) fieldset{row-gap:var(--space-item)}:is(.panel,.compact-modal,.workspace-modal,.auth,.control-main) label{margin-top:0;margin-bottom:0;row-gap:var(--space-label)}:is(.panel,.compact-modal,.workspace-modal,.auth,.control-main) fieldset{margin-top:0;margin-bottom:0}:is(.panel,.compact-modal,.workspace-modal,.auth,.control-main)>:is(h1,h2,h3,p),:is(.panel,.compact-modal,.workspace-modal,.auth,.control-main) form>:is(h2,h3,p){margin-top:0;margin-bottom:var(--space-item)}:is(.panel,.compact-modal,.workspace-modal,.auth,.control-main) .form-grid{row-gap:var(--space-item)}:is(.panel,.compact-modal,.workspace-modal,.auth,.control-main) .toolbar-actions{gap:var(--space-item);margin-top:var(--space-item);margin-bottom:0}.panel,.auth,.profile-panel,.workspace-content .profile-panel,.workspace-content .notification-settings,.forms>.panel{padding:var(--space-panel)}.compact-page{padding:var(--space-panel)!important}.workspace-modal>form,.inline-form{margin-block:var(--space-item)}:is(.panel,.compact-modal,.workspace-modal)>:last-child{margin-bottom:0}:is(.panel,.compact-modal,.workspace-modal) .toolbar{margin-bottom:var(--space-group)}:is(.report-sections,.report-groups,.detail-tabs){margin-bottom:var(--space-item)}.task-panel h2,.task-panel .task-location{margin-top:0;margin-bottom:var(--space-item)}.task-panel form,.task-panel fieldset,.task-panel .detail-grid{row-gap:var(--space-item)}.task-panel label{margin-block:0;gap:var(--space-label)}.task-panel form{margin-block:0 var(--space-item)}.task-panel form textarea{min-height:80px}.task-panel>button{margin-top:var(--space-item);margin-bottom:0}.task-panel .kpi-task{margin-block:var(--space-item)}.task-panel .kpi-task-body{gap:var(--space-item);padding-top:var(--space-item)}.task-panel .kpi-task .toolbar-actions,.task-panel .kpi-task label{margin:0}@media(max-width:760px){:root{--space-panel: 12px}.task-panel>button,.task-panel .kpi-task button{min-height:44px}}:is(.profile-photo,.profile-actions,.schedule-toolbar,.shift-editor,.schedule-settings,.role-descriptions,.filter-bar,.compact-editor,.archive-settings,.event-log-filters,.report-editor,.task-table,.schedule-bottom-actions){margin-block:var(--space-group)}:is(.structure-explainer,.column-heading,.task-messages,.month-controls,.messenger-title,.chat-editor,.segmented,.event-filters,.control-tabs,.control-stats,.control-filters,.control-editor,.schedule-settings-launch){margin-bottom:var(--space-group)}:is(.company-catalogs,.pending-invitations,.mail-account-editor,.attachment-grid,.task-close-footer){margin-top:var(--space-group)}.notification-settings>section+section{margin-top:var(--space-group)}.schedule-settings form{margin-top:var(--space-item)}.reports-page :is(.report-groups,.report-tools){margin-block:var(--space-group)}.report-extras h2,.control-main h1{margin-bottom:var(--space-item)}.workspace-content :is(h1,h2,h3){margin-top:var(--space-item);margin-bottom:var(--space-item)}:is(.panel,.compact-modal,.workspace-modal,.auth,.control-main) form>:is(h2,h3,p){margin-block:0}.rounds-page{max-width:1000px}.rounds-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:8px}.rounds-toolbar label{max-width:100%}.rounds-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px}.round-card{display:grid;gap:4px;padding:12px;border:1px solid var(--ui-border);border-radius:8px;color:var(--ui-text);text-decoration:none;background:var(--ui-surface)}.round-group,.round-fields-editor details{border:1px solid var(--ui-border);border-radius:8px;padding:10px;margin:8px 0}.round-group>summary,.round-fields-editor summary{cursor:pointer;font-weight:600}.round-field{display:grid;gap:6px;padding:12px 0;border-bottom:1px solid var(--ui-border);max-width:600px}.round-field input,.round-field select{width:100%;min-height:44px}.round-field label{gap:6px}.round-field small{display:block}.round-field.outlier{border-left:3px solid #b77727;padding-left:10px}.round-field p{margin:0}.round-save-status{position:sticky;top:0;z-index:2;background:var(--ui-surface);padding:8px;border-bottom:1px solid var(--ui-border)}.round-photo{width:90px;height:90px;object-fit:cover;margin:4px}.round-fields-editor label{margin-top:8px!important}.inspection-journal-scroll{overflow:auto;max-width:100%}.inspection-journal-scroll th{min-width:100px}.inspection-journal-scroll th:first-child{min-width:200px}.rounds-page .toolbar-actions{flex-wrap:wrap}@media(max-width:760px){.rounds-toolbar{display:grid;grid-template-columns:minmax(0,1fr)}.rounds-toolbar select{width:100%}.rounds-page button{min-height:44px}.round-field{max-width:100%}.rounds-list{grid-template-columns:1fr}}.round-card-shell{position:relative;min-width:0}.round-card-shell .round-card{height:100%;box-sizing:border-box;padding-right:58px}.rounds-page .round-delete{width:36px;height:36px;min-width:36px;min-height:36px;padding:7px;display:inline-flex;align-items:center;justify-content:center;color:var(--ui-accent);flex:none}.round-card-shell>.round-delete{position:absolute;right:10px;top:10px}.round-delete:hover{color:#bf3b3b}@media(max-width:760px){.rounds-page .round-delete{width:44px;height:44px}.round-card-shell .round-card{padding-right:62px}}.event-spoiler{width:100%;min-width:0}.event-spoiler>summary{cursor:pointer;overflow-wrap:anywhere;line-height:1.4;padding:4px 0}.event-spoiler>summary>span{display:block;margin:2px 0 0 16px;color:var(--ui-muted);font-size:13px}.event-spoiler-body{padding-top:8px}.event-spoiler-body>button{margin-top:6px;font-size:12px;padding:5px 9px}.compact-modal:has(.task-event-history){width:min(760px,calc(100vw - 24px));max-width:760px}.task-event-history{min-width:0}.task-history-title{overflow-wrap:anywhere;font-weight:600}.task-event-history>.event-list{margin:8px 0}.event-journal .event-list article:has(.event-spoiler){display:block}
