:root{--ink:#211d1b;--muted:#746d68;--canvas:#f2efe9;--surface:#fffcf7;--surface-strong:#fff;--line:#ddd6ca;--wine:#69102a;--wine-dark:#49091d;--wine-soft:#f2e3e8;--gold:#a98348;--gold-soft:#f3e9d9;--green:#39745b;--green-soft:#e4f0e9;--blue:#3f6c8f;--blue-soft:#e5eef4;--orange:#a25d2d;--orange-soft:#f7e9dc;--red:#b23c3c;--red-soft:#f8e3e1;--purple:#68558a;--purple-soft:#ede8f4;--shadow:0 18px 54px #251b1617;--radius:18px;--font-display:"Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;--font-ui:Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif}*{box-sizing:border-box}.pdf-download{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.pdf-download a{text-decoration:none}.pdf-download small{color:var(--muted);max-width:300px;font-size:14px;line-height:1.4}.pdf-download p,.document-warning{color:var(--red);font-size:14px;line-height:1.5}.document-task-groups{gap:24px;display:grid}.document-task-groups h3{font-size:16px}.document-task{border-bottom:1px solid var(--line);overflow-wrap:anywhere;padding:16px 0;font-size:16px;line-height:1.5}.document-task>div{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.document-task p{white-space:pre-wrap;margin:8px 0}.document-task-meta,.document-empty{color:var(--muted);font-size:14px}.document-plan-changes,.document-history{border-top:1px solid var(--line);overflow-wrap:anywhere;margin-top:22px;padding-top:18px;font-size:14px;line-height:1.6}.document-history summary{cursor:pointer;min-height:44px}.document-history>div{border-top:1px solid var(--line);padding:12px 0}html{background:var(--canvas);min-height:100%}body{min-height:100%;color:var(--ink);background:var(--canvas);font-family:var(--font-ui);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer}button:disabled,input:disabled,textarea:disabled,select:disabled{cursor:not-allowed;opacity:.62}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #b58a4570}h1,h2,h3,p{margin-top:0}h1,h2{font-family:var(--font-display);letter-spacing:-.032em;font-weight:650}h1{margin-bottom:9px;font-size:clamp(35px,4vw,50px);line-height:1.01}h2{margin-bottom:0;font-size:26px;line-height:1.08}h3{margin-bottom:10px;font-size:15px}.primary-action,.secondary-action{border-radius:11px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 17px;font-size:13px;font-weight:760;transition:transform .16s,box-shadow .16s,background .16s,border-color .16s;display:inline-flex}.primary-action{border:1px solid var(--wine);background:var(--wine);color:#fff;box-shadow:0 8px 18px #7918292e}.primary-action:hover{background:var(--wine-dark)}.secondary-action{border:1px solid var(--line);background:var(--surface-strong);color:var(--ink);box-shadow:0 2px 7px #281c1509}.secondary-action:hover{background:#fffaf2;border-color:#c9bcaa}.primary-action:active,.secondary-action:active{transform:scale(.985)}.full{width:100%}.text-button{min-height:40px;color:var(--wine);background:0 0;border:0;align-items:center;gap:5px;padding:6px;font-size:12px;font-weight:760;display:inline-flex}.text-button:hover{color:var(--wine-dark)}.icon-button{border:1px solid var(--line);background:#ffffffd6;border-radius:12px;place-items:center;width:42px;height:42px;display:grid;position:relative}.icon-button:hover{background:#fff}.inline-actions{justify-content:flex-end;align-items:center;gap:9px;display:flex}.loading-screen,.login-screen{min-height:100dvh;padding:max(24px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));background:radial-gradient(circle at 10% 8%, #b58a4524, transparent 32%), var(--canvas);place-content:center;justify-items:center;display:grid}.loading-screen{color:var(--muted);gap:16px}.loading-screen>strong{color:var(--ink);font-family:var(--font-display);font-size:22px}.loading-line{background:#ded6ca;border-radius:4px;width:190px;height:4px;overflow:hidden}.loading-line:after{content:"";border-radius:inherit;background:var(--wine);width:45%;height:100%;animation:1.1s ease-in-out infinite loading;display:block}.error-screen{text-align:center;color:var(--red)}.error-screen p{max-width:440px;color:var(--muted)}.login-card{border:1px solid var(--line);background:#fffcf7fa;border-radius:22px;width:min(520px,100%);padding:34px;box-shadow:0 28px 80px #291d1721}.login-brand{align-items:center;gap:12px;margin-bottom:44px;display:flex}.login-brand>span:last-child{flex-direction:column;display:flex}.login-brand strong{font-family:var(--font-display);letter-spacing:-.015em;font-size:19px}.login-brand small{color:var(--muted);margin-top:2px;font-size:11px}.login-intro{color:var(--muted);margin-bottom:24px;font-size:15px;line-height:1.55}.login-select{color:var(--muted);flex-direction:column;gap:7px;font-size:12px;font-weight:760;display:flex}.login-select select{border:1px solid var(--line);width:100%;min-height:54px;color:var(--ink);background:#fff;border-radius:14px;padding:0 14px;font-size:15px;font-weight:650}.invitation-card h1{overflow-wrap:anywhere}.invitation-card .login-select,.invitation-card .login-note,.invitation-card .access-pending{font-size:14px}.invitation-card .login-intro{font-size:16px}.invitation-card .login-select>input{border:1px solid var(--line);width:100%;min-height:54px;color:var(--ink);background:#fff;border-radius:14px;padding:0 14px;font-size:16px}.invitation-card .login-select>input:focus-visible,.invitation-copy-field textarea:focus-visible{outline:2px solid var(--wine);outline-offset:3px}.login-form{flex-direction:column;gap:14px;display:flex}.password-input{border:1px solid var(--line);min-height:54px;color:var(--wine);background:#fff;border-radius:14px;align-items:center;gap:10px;padding:0 14px;transition:border-color .16s,box-shadow .16s;display:flex}.password-input:focus-within{border-color:#bb9360;box-shadow:0 0 0 3px #a9834821}.password-input input{width:100%;min-width:0;height:50px;color:var(--ink);background:0 0;border:0;outline:0;font-size:15px}.access-pending{color:var(--orange);background:#fff8e9;border:1px solid #ead8b7;border-radius:11px;align-items:flex-start;gap:8px;margin:0;padding:11px 12px;font-size:11px;line-height:1.45;display:flex}.access-pending svg{flex:none}.password-change-card{width:min(540px,100%)}.login-submit{width:100%;min-height:52px;margin-top:13px;font-size:15px}.login-new-trigger{margin:12px auto 0;display:flex}.new-employee-inline{border:1px solid var(--line);background:#faf6ef;border-radius:15px;margin-top:12px;padding:16px}.new-employee-inline .form-field{margin-bottom:10px}.new-employee-inline .secondary-action{width:100%}.login-note{border-top:1px solid var(--line);color:var(--muted);align-items:flex-start;gap:8px;margin:24px 0 0;padding-top:18px;font-size:11px;line-height:1.45;display:flex}.login-note svg{color:var(--orange);flex:none}.app-shell{min-height:100vh;display:flex}.brand-mark{background:var(--wine);color:#fff9ee;border:1px solid #d3aa637a;border-radius:10px;flex:none;width:40px;height:40px;display:block;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff0a}.brand-mark:after{content:"";border:1px solid #fff4db1f;border-radius:50%;width:34px;height:34px;position:absolute;bottom:-14px;right:-10px}.mill-tower{z-index:1;clip-path:polygon(35% 0,65% 0,88% 100%,12% 100%);background:#fff6e5;width:32%;height:40%;position:absolute;bottom:10%;left:34%}.mill-wheel{z-index:2;width:64%;height:64%;position:absolute;top:10%;left:18%}.mill-wheel i{background:#fff6e5;border-radius:2px;display:block;position:absolute}.mill-wheel i:first-child,.mill-wheel i:nth-child(3){width:3px;height:45%;left:calc(50% - 1.5px)}.mill-wheel i:first-child{top:3%}.mill-wheel i:nth-child(3){bottom:3%}.mill-wheel i:nth-child(2),.mill-wheel i:nth-child(4){width:45%;height:3px;top:calc(50% - 1.5px)}.mill-wheel i:nth-child(2){right:3%}.mill-wheel i:nth-child(4){left:3%}.mill-wheel b{width:6px;height:6px;box-shadow:0 0 0 2px var(--wine);background:#d9b878;border-radius:50%;position:absolute;top:calc(50% - 3px);left:calc(50% - 3px)}.desktop-sidebar{z-index:20;color:#f8f1e6;background:#191615;flex-direction:column;width:248px;padding:25px 17px 19px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:12px;padding:0 9px 28px;display:flex}.brand>span:last-child{flex-direction:column;min-width:0;display:flex}.brand strong{font-family:var(--font-display);letter-spacing:-.01em;white-space:nowrap;font-size:16px;font-weight:650}.brand small{color:#ada19a;margin-top:2px;font-size:11px}.desktop-sidebar nav{flex-direction:column;gap:6px;display:flex}.desktop-sidebar nav button{color:#bcb2ac;text-align:left;background:0 0;border:1px solid #0000;border-radius:11px;align-items:center;gap:12px;width:100%;min-height:47px;padding:10px 13px;transition:background .18s,color .18s,transform .18s,border-color .18s;display:flex;position:relative}.desktop-sidebar nav button:hover{color:#fff;background:#ffffff0e}.desktop-sidebar nav button.active{color:#2a211e;background:#f7f0e4;border-color:#d3aa632e;box-shadow:0 8px 24px #00000029}.desktop-sidebar nav button em{background:var(--wine);color:#fff;border-radius:20px;place-items:center;min-width:22px;height:22px;margin-left:auto;padding:0 6px;font-size:11px;font-style:normal;display:grid}.sidebar-help{color:#ebd2a5;text-align:left;background:#751b277a;border:1px solid #d3aa6338;border-radius:15px;align-items:flex-start;gap:10px;width:100%;margin-top:auto;margin-bottom:16px;padding:14px;display:flex}.sidebar-help:hover,.sidebar-help.active{background:#751b27b8;border-color:#ebd2a580}.sidebar-help div{flex-direction:column;gap:3px;display:flex}.sidebar-help strong{color:#fff7ea;font-size:12px}.sidebar-help span{color:#c8b9ad;font-size:10px}.sidebar-profile{color:#fff;text-align:left;background:0 0;border:0;border-top:1px solid #ffffff17;align-items:center;gap:9px;width:100%;padding:15px 4px 0;display:flex}.sidebar-profile>span:not(.avatar){flex-direction:column;min-width:0;display:flex}.sidebar-profile strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.sidebar-profile small{color:#a99e98;margin-top:2px;font-size:10px}.sidebar-logout{color:#e4d9d1;background:#ffffff0b;border:1px solid #ffffff1f;border-radius:11px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:40px;margin-top:10px;font-size:11px;font-weight:720;display:flex}.sidebar-logout:hover{color:#fff;background:#751b278c;border-color:#d3aa6357}.app-main{flex:1;min-width:0;margin-left:248px}.topbar{z-index:16;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f2efe9eb;border-bottom:1px solid #d0c7bbbf;justify-content:space-between;align-items:center;height:68px;padding:0 34px;display:flex;position:sticky;top:0}.topbar-context{align-items:center;gap:8px;font-size:13px;font-weight:730;display:flex}.live-dot{background:#4d9d70;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #4d9d7021}.topbar-actions{align-items:center;gap:10px;display:flex}.sync-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;margin:-8px 0 20px;font-size:.875rem;line-height:1.5;display:flex}.sync-message{min-width:0;color:var(--muted);overflow-wrap:anywhere;flex-direction:column;flex:170px;gap:3px;display:flex}.sync-time{color:var(--muted)}.sync-error .sync-message>[role=status]{color:var(--red)}.sync-refresh{border:1px solid var(--line);background:var(--surface-strong);min-height:44px;color:var(--wine);border-radius:11px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:.875rem;font-weight:700;display:inline-flex}.sync-refresh:hover:not(:disabled){border-color:var(--wine)}.sync-refresh:focus-visible{outline:2px solid var(--wine);outline-offset:3px}.notification-button>span{background:var(--red);border:1.5px solid #fff;border-radius:50%;width:8px;height:8px;position:absolute;top:9px;right:9px}.profile-chip{border:1px solid var(--line);text-align:left;background:#ffffffc7;border-radius:13px;align-items:center;gap:8px;min-width:148px;padding:5px 8px 5px 6px;display:flex}.profile-chip>span:not(.avatar){flex-direction:column;display:flex}.profile-chip strong{font-size:12px}.profile-chip small{color:var(--muted);font-size:10px}.topbar-logout{border:1px solid var(--line);min-height:40px;color:var(--wine);background:#ffffffc7;border-radius:11px;align-items:center;gap:7px;padding:0 12px;font-size:11px;font-weight:760;display:inline-flex}.topbar-logout:hover{background:#fff;border-color:#d9b9a8}.mobile-brand{display:none}.notification-popover{z-index:40;border:1px solid var(--line);background:var(--surface-strong);width:350px;box-shadow:var(--shadow);border-radius:18px;padding:10px;position:absolute;top:60px;right:34px}.popover-head{justify-content:space-between;align-items:center;padding:8px 8px 10px;display:flex}.popover-head>span{align-items:center;gap:3px;display:flex}.popover-head button{background:0 0;border:0;place-items:center;width:36px;height:36px;display:grid}.popover-head .mark-all-notices{width:auto;color:var(--wine);padding:0 8px;font-size:10px;font-weight:760}.notice{width:100%;color:var(--wine);text-align:left;background:0 0;border:0;border-radius:12px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px;display:grid}.notice:hover{background:#f8f4ed}.notice.read{opacity:.58}.notice span{color:var(--ink);flex-direction:column;gap:3px;display:flex}.notice strong{font-size:12px}.notice small{color:var(--muted);font-size:11px}.notice-empty{min-height:130px;color:var(--muted);place-content:center;justify-items:center;gap:10px;font-size:12px;display:grid}.page-container{max-width:1400px;margin:0 auto;padding:36px 40px 64px}.page-stack{flex-direction:column;gap:24px;display:flex}.eyebrow{color:var(--wine);letter-spacing:.12em;text-transform:uppercase;margin:0 0 7px;font-size:11px;font-weight:820}.welcome-band,.page-title-row{justify-content:space-between;align-items:flex-end;gap:24px;padding:8px 3px 0;display:flex}.welcome-band p:last-child,.page-title-row p:last-child{color:var(--muted);margin:0;font-size:14px}.surface{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:0 10px 30px #2d20190a}.section-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:17px;display:flex}.section-heading .eyebrow{margin-bottom:4px}.section-heading p:not(.eyebrow){color:var(--muted);margin:5px 0 0;font-size:11px}.action-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;display:grid}.action-metrics>button{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:16px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:13px;min-height:112px;padding:17px;transition:transform .16s,border-color .16s,box-shadow .16s;display:grid;box-shadow:0 8px 24px #2d201909}.action-metrics>button:hover{border-color:#cbbdaf;transform:translateY(-2px);box-shadow:0 13px 30px #2d201912}.action-metrics>button>span:last-child{grid-template-columns:1fr auto;align-items:baseline;gap:2px 8px;min-width:0;display:grid}.action-metrics small{color:var(--muted);grid-column:1/-1;font-size:10px;font-weight:760}.action-metrics strong{font-family:var(--font-display);font-size:31px;line-height:1}.action-metrics em{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-style:normal;overflow:hidden}.action-metric-icon{border-radius:13px;place-items:center;width:42px;height:42px;display:grid}.action-metric-icon.today{color:var(--blue);background:var(--blue-soft)}.action-metric-icon.overdue{color:var(--red);background:var(--red-soft)}.action-metric-icon.review{color:var(--purple);background:var(--purple-soft)}.action-metric-icon.help{color:var(--orange);background:var(--orange-soft)}.metrics-panel{border-radius:var(--radius);color:#fff9ee;min-height:148px;box-shadow:var(--shadow);background:#2a2321;grid-template-columns:minmax(280px,1.55fr) repeat(3,minmax(145px,1fr));display:grid;overflow:hidden}.main-score{background:var(--wine);align-items:center;gap:18px;padding:25px 27px;display:flex}.main-score>div:last-child{flex-direction:column;display:flex}.metric-kicker{color:#dbc8c1;font-size:11px}.main-score>div:last-child strong{margin:4px 0;font-family:Georgia,serif;font-size:24px}.main-score small{color:#e3c98d;font-size:11px}.progress-ring{--score:0deg;background:conic-gradient(#d4ad69 var(--score), #ffffff26 0);border-radius:50%;flex:none;width:88px;height:88px;padding:7px}.progress-ring>div{background:var(--wine);text-align:center;border-radius:50%;place-content:center;width:100%;height:100%;display:grid}.progress-ring strong{font-size:21px;line-height:1}.progress-ring span{color:#ddcfc8;letter-spacing:.07em;text-transform:uppercase;margin-top:4px;font-size:9px}.metric-cell{border-left:1px solid #ffffff17;flex-direction:column;justify-content:center;padding:29px 24px;display:flex}.metric-cell>span{color:#a99e98;font-size:11px}.metric-cell strong{margin:6px 0 5px;font-size:30px}.metric-cell strong small{color:#9f938d;font-size:15px}.metric-cell em{color:#c7bbb4;font-size:10px;font-style:normal}.metric-alert strong{color:#f0b2a9}.content-grid{grid-template-columns:minmax(0,1.8fr) minmax(280px,.72fr);gap:22px;display:grid}.attention-surface,.task-browser,.report-summary,.submissions,.report-editor{padding:23px}.compact-empty{min-height:150px;color:var(--green);text-align:center;place-content:center;justify-items:center;gap:7px;display:grid}.compact-empty strong{color:var(--ink);margin-top:4px}.compact-empty span{color:var(--muted);font-size:11px}.deadline-card{background:#f9f0df;border-color:#e9d7b8;padding:24px;position:relative;overflow:hidden}.deadline-icon{width:42px;height:42px;color:var(--wine);background:#fff;border:1px solid #eadbc1;border-radius:12px;place-items:center;margin-bottom:22px;display:grid}.deadline-card h2{max-width:260px;margin-bottom:10px}.deadline-card>p:not(.eyebrow){color:var(--muted);font-size:12px;line-height:1.55}.deadline-progress{background:#dfd0b8;border-radius:8px;height:5px;margin:22px 0 8px;overflow:hidden}.deadline-progress span{border-radius:inherit;background:var(--wine);height:100%;display:block}.deadline-labels{color:var(--muted);justify-content:space-between;margin-bottom:18px;font-size:9px;display:flex}.deadline-labels strong{color:var(--wine)}.overview-note{color:var(--gold);align-items:center;gap:13px;padding:18px 21px;display:flex}.overview-note div{flex-direction:column;gap:3px;display:flex}.overview-note strong{color:var(--ink);font-size:13px}.overview-note span{color:var(--muted);font-size:11px}.task-list{flex-direction:column;display:flex}.task-row{border:0;border-top:1px solid var(--line);text-align:left;background:0 0;grid-template-columns:9px minmax(0,1fr) auto auto;align-items:center;gap:13px;width:100%;min-height:69px;padding:11px 7px;display:grid}.task-row:first-child{border-top:0}.task-row:hover{background:#faf6ef}.task-marker{background:#bbb;border-radius:7px;width:7px;height:38px}.marker-danger{background:var(--red)}.marker-warning{background:var(--orange)}.marker-review{background:var(--purple)}.marker-progress{background:var(--blue)}.marker-success{background:var(--green)}.task-main{flex-direction:column;gap:6px;min-width:0;display:flex}.task-participants{color:var(--muted);overflow-wrap:anywhere;flex-direction:column;gap:3px;font-size:14px;display:flex}.task-title{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:760;overflow:hidden}.task-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:5px;font-size:10px;display:flex}.task-meta em{white-space:nowrap;border-radius:6px;align-items:center;gap:4px;min-height:20px;padding:0 6px;font-size:8px;font-style:normal;font-weight:780;display:inline-flex}.task-priority{color:var(--red);background:var(--red-soft)}.task-help-label{color:var(--orange);background:var(--orange-soft)}.task-urgent .task-marker{background:var(--red)}.task-help:not(.task-urgent) .task-marker{background:var(--orange)}.status{white-space:nowrap;border-radius:8px;align-items:center;width:fit-content;min-height:27px;padding:0 9px;font-size:10px;font-weight:760;display:inline-flex}.status-neutral{color:#645d59;background:#eeebe6}.status-progress{color:var(--blue);background:var(--blue-soft)}.status-review{color:var(--purple);background:var(--purple-soft)}.status-success{color:var(--green);background:var(--green-soft)}.status-danger{color:var(--red);background:var(--red-soft)}.status-warning{color:var(--orange);background:var(--orange-soft)}.text-danger{color:var(--red)!important}.text-success{color:var(--green)!important}.text-wine{color:var(--wine)!important}.row-chevron{color:#b6aaa2}.toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.search-box{border:1px solid var(--line);max-width:520px;min-height:44px;color:var(--muted);background:#fff;border-radius:12px;flex:1;align-items:center;gap:9px;padding:0 13px;display:flex}.search-box input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;font-size:12px}.result-count{color:var(--muted);font-size:11px}.filter-tabs{scrollbar-width:none;gap:5px;margin:19px 0 10px;display:flex;overflow-x:auto}.filter-tabs::-webkit-scrollbar{display:none}.filter-tabs button{min-height:36px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:9px;padding:0 11px;font-size:11px;font-weight:700}.filter-tabs button.active{background:var(--wine);color:#fff}.task-filter-search{width:100%;min-width:0;max-width:none;min-height:48px}.task-filter-search input{min-width:0;font-size:1rem}.task-filter-search svg{flex-shrink:0}.task-filter-panel{border:1px solid var(--line);background:var(--canvas);border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px;padding:16px;display:grid}.task-filter-field{flex-direction:column;gap:8px;min-width:0;display:flex}.task-filter-field>span{font-size:.875rem;font-weight:700;line-height:1.4}.task-filter-field select{border:1px solid var(--line);background:var(--surface-strong);width:100%;min-width:0;max-width:100%;min-height:48px;color:var(--ink);cursor:pointer;border-radius:10px;padding:10px 12px;font-size:1rem;line-height:1.5}.task-filter-field select.filter-selected{border-color:var(--wine);color:var(--wine);font-weight:650}.task-filter-field select:focus-visible,.task-filter-reset:focus-visible{outline:2px solid var(--wine);outline-offset:3px}.task-filter-summary{min-height:44px;color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;margin-top:10px;font-size:.875rem;line-height:1.5;display:flex}.task-filter-summary strong{color:var(--ink)}.task-filter-reset{max-width:100%;min-height:44px;color:var(--wine);white-space:normal;text-align:left;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:8px 0;font-size:.875rem;font-weight:700;display:inline-flex}.task-filter-reset svg{flex-shrink:0}@media (width<=640px){.task-filter-panel{grid-template-columns:minmax(0,1fr);gap:14px;padding:12px}.task-filter-field+.task-filter-field{border-top:1px solid var(--line);padding-top:14px}}.employee-task-group{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.group-heading{align-items:center;gap:9px;margin-bottom:7px;display:flex}.group-heading div{flex-direction:column;gap:2px;display:flex}.group-heading strong{font-size:13px}.group-heading span{color:var(--muted);font-size:10px}.empty-state{min-height:300px;color:var(--muted);text-align:center;place-content:center;justify-items:center;display:grid}.empty-state strong{color:var(--ink);margin:12px 0 5px}.empty-state p{margin-bottom:18px;font-size:12px}.avatar{border-radius:13px;flex:none;place-items:center;width:44px;height:44px;font-size:12px;font-weight:820;display:inline-grid}.avatar-small{border-radius:10px;width:35px;height:35px;font-size:10px}.avatar-claret{color:#fff;background:#7b2630}.avatar-ochre{color:#5a3a0d;background:#ebd19e}.avatar-sage{color:#234d3c;background:#cce0d4}.avatar-blue{color:#294c66;background:#d5e5ef}.avatar-plum{color:#513e67;background:#e3d7ed}.avatar-slate{color:#36434b;background:#dae0e2}.employee-cell{align-items:center;gap:10px;min-width:0;display:flex}.employee-cell>span:not(.avatar){flex-direction:column;gap:3px;min-width:0;display:flex}.employee-cell strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.employee-cell small{color:var(--muted);font-size:10px}.work-badge{white-space:nowrap;border-radius:8px;width:fit-content;padding:7px 9px;font-size:9px;font-style:normal;font-weight:760}.work-success{color:var(--green);background:var(--green-soft)}.work-progress{color:var(--blue);background:var(--blue-soft)}.work-review{color:var(--purple);background:var(--purple-soft)}.work-neutral{color:#6a635e;background:#ece9e4}.work-warning{color:var(--orange);background:var(--orange-soft)}.team-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.team-access-note{background:#fff9ee;border-color:#e5d4b7;align-items:center;gap:13px;min-height:72px;padding:15px 17px;display:flex}.team-access-note>span{background:var(--gold-soft);width:39px;height:39px;color:var(--wine);border-radius:11px;flex:none;place-items:center;display:grid}.team-access-note>div{flex-direction:column;gap:4px;min-width:0;display:flex}.team-access-note strong{font-size:12px}.team-access-note p{color:var(--muted);margin:0;font-size:10px;line-height:1.45}.employee-performance{padding:22px}.performance-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.performance-head-actions{align-items:center;gap:7px;display:flex}.employee-settings{width:auto;min-width:32px;height:32px;color:var(--muted);border-radius:9px;align-items:center;gap:5px;padding:0 8px;font-size:9px;font-weight:760;display:inline-flex}.department-tags{flex-wrap:wrap;gap:6px;margin-top:13px;display:flex}.department-tags>span{color:#655e59;background:#eeebe5;border-radius:7px;align-items:center;gap:5px;min-height:28px;padding:0 9px;font-size:10px;font-weight:700;display:inline-flex}.department-tags>.department-empty{color:var(--muted);background:0 0;padding-left:0;font-weight:500}.supervisor-line{min-height:39px;color:var(--wine);background:#f8f3eb;border-radius:10px;grid-template-columns:auto auto 1fr;align-items:center;gap:7px;margin-top:10px;padding:8px 10px;display:grid}.supervisor-line span{color:var(--muted);font-size:10px}.supervisor-line strong{text-align:right;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.performance-score{border-bottom:1px solid var(--line);align-items:center;gap:17px;margin-top:24px;padding-bottom:18px;display:flex}.performance-score .progress-ring,.report-score .progress-ring{width:78px;height:78px}.performance-score .progress-ring>div,.report-score .progress-ring>div{background:var(--surface)}.performance-score .progress-ring strong,.report-score .progress-ring strong{color:var(--wine)}.performance-score>div:last-child,.report-score>div:last-child{flex-direction:column;gap:5px;display:flex}.performance-score>div:last-child strong,.report-score>div:last-child strong{font-size:13px}.performance-score>div:last-child span,.report-score>div:last-child span{color:var(--muted);font-size:10px}.breakdown-list{margin-top:10px}.breakdown-list>div{color:var(--muted);justify-content:space-between;align-items:center;padding:10px 0;font-size:11px;display:flex}.breakdown-list span{align-items:center;gap:8px;display:flex}.breakdown-list strong{color:var(--ink)}.period-switch{background:#e8e1d7;border-radius:13px;gap:4px;width:fit-content;padding:4px;display:flex}.period-switch button{min-width:96px;min-height:37px;color:var(--muted);background:0 0;border:0;border-radius:10px;font-size:11px;font-weight:760}.period-switch button.active{color:var(--wine);background:#fff;box-shadow:0 3px 10px #37261a14}.document-mode-switch{grid-template-columns:1fr 1fr;gap:11px;display:grid}.document-mode-switch button{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:15px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:76px;padding:13px 15px;transition:border-color .16s,background .16s,transform .16s;display:grid}.document-mode-switch button:hover{border-color:#c9b9aa;transform:translateY(-1px)}.document-mode-switch button.active{background:var(--wine-soft);color:var(--wine);border-color:#c994a3}.document-mode-switch button>span{width:40px;height:40px;color:var(--muted);background:#f1ece5;border-radius:11px;place-items:center;display:grid}.document-mode-switch button.active>span{color:var(--wine);background:#fff}.document-mode-switch button>div{flex-direction:column;gap:4px;min-width:0;display:flex}.document-mode-switch strong{color:var(--ink);font-size:13px}.document-mode-switch small{color:var(--muted);font-size:10px;line-height:1.35}.report-controls{border:1px solid var(--line);background:#ece6dd;border-radius:16px;grid-template-columns:auto minmax(200px,1fr) minmax(180px,260px);align-items:end;gap:16px;padding:15px 16px;display:grid}.period-navigation{justify-content:center;align-items:center;gap:10px;display:flex}.period-navigation strong{min-width:150px;font-family:var(--font-display);text-align:center;font-size:17px}.report-employee-filter{color:var(--muted);text-transform:uppercase;flex-direction:column;gap:5px;font-size:9px;font-weight:780;display:flex}.report-employee-filter select{border:1px solid var(--line);min-height:43px;color:var(--ink);text-transform:none;background:#fff;border-radius:11px;padding:0 11px;font-size:11px;font-weight:700}.report-layout{grid-template-columns:1fr 1.3fr;gap:22px;display:grid}.report-download-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;display:flex}.report-summary h2{margin-bottom:21px}.report-score{border-bottom:1px solid var(--line);align-items:center;gap:16px;padding-bottom:19px;display:flex}.plan-summary-main{border-bottom:1px solid var(--line);align-items:center;gap:15px;min-height:98px;padding:15px 0 19px;display:flex}.plan-summary-main>span{background:var(--gold-soft);width:58px;height:58px;color:var(--wine);border-radius:16px;flex:none;place-items:center;display:grid}.plan-summary-main>div{flex-direction:column;gap:4px;display:flex}.plan-summary-main strong{font-family:var(--font-display);font-size:24px}.plan-summary-main small{color:var(--muted);font-size:10px}.submissions .section-heading{margin-bottom:8px}.submission-row{border:0;border-top:1px solid var(--line);text-align:left;background:0 0;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;width:100%;min-height:62px;padding:0;display:grid}button.submission-row:hover{background:#faf6ef}.submission-row>span:not(.avatar){flex-direction:column;gap:3px;display:flex}.submission-row strong{font-size:12px}.submission-row small{color:var(--muted);font-size:10px}.report-editor-block{border-top:1px solid var(--line);margin-top:19px;padding-top:18px}.report-editor-block>h3{color:var(--wine);align-items:center;gap:8px;display:flex}.generated-task-report{padding:22px}.single-goal-field{display:block;position:relative}.single-goal-field textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:128px;color:var(--ink);background:#fff;border-radius:12px;padding:14px 14px 28px;font-size:13px;line-height:1.55}.single-goal-field small{color:var(--muted);font-size:9px;position:absolute;bottom:9px;right:11px}.report-editor-block>p{color:var(--muted);margin:9px 0 0;font-size:10px;line-height:1.5}.manager-goal-addition{color:var(--purple);background:#f5f1fa;border:1px solid #d9cfed;border-radius:12px;gap:10px;margin:12px 0 17px;padding:13px;display:flex}.manager-goal-addition div{flex-direction:column;gap:3px;display:flex}.manager-goal-addition strong{color:var(--ink);font-size:11px}.manager-goal-addition span{color:var(--muted);font-size:11px;line-height:1.45}.manager-goal{background:#f8f5fb!important;border-color:#d9cfed!important}.plan-editor-block{background:#fcf7ee;border:1px solid #e4d2b3;border-radius:15px;padding:18px}.report-goal{background:#fff9ee!important;border-color:#dfc9a5!important}.muted-icon{color:#b8aea7}.editor-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.editor-grid label{color:var(--muted);flex-direction:column;gap:7px;font-size:11px;font-weight:760;display:flex}.editor-grid textarea{resize:vertical;border:1px solid var(--line);min-height:120px;color:var(--ink);background:#fff;border-radius:12px;padding:13px;font-size:13px;line-height:1.55}.editor-grid textarea:disabled{background:#f4f1eb}.wide-field{grid-column:1/-1}.editor-footer{justify-content:space-between;align-items:center;gap:15px;margin-top:16px;display:flex}.editor-footer>span{color:var(--muted);font-size:10px}.locked-note{align-items:center;gap:6px;font-weight:700;display:inline-flex;color:var(--green)!important}.manager-comment{color:var(--orange);background:#fbf2e2;border:1px solid #ead8b7;border-radius:12px;gap:10px;margin:12px 0 17px;padding:13px;display:flex}.manager-comment div{flex-direction:column;gap:3px;display:flex}.manager-comment strong{color:var(--ink);font-size:11px}.manager-comment span{color:var(--muted);font-size:11px;line-height:1.45}.self-status{color:var(--muted);text-transform:uppercase;flex-direction:column;gap:5px;font-size:9px;font-weight:780;display:flex}.self-status select{border:1px solid var(--line);min-width:180px;min-height:44px;color:var(--ink);text-transform:none;background:#fff;border-radius:11px;padding:0 11px;font-size:12px;font-weight:700}.self-status small{color:var(--orange);text-transform:none;font-size:9px;font-weight:760}.month-planning-banner{background:linear-gradient(105deg,#fffdf8 0%,#f8efe4 100%);grid-template-columns:auto minmax(210px,1fr) minmax(180px,.7fr) auto;align-items:center;gap:18px;padding:20px 22px;display:grid}.month-planning-icon{background:var(--wine);color:#fff;border-radius:15px;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 9px 22px #6d18222e}.month-planning-copy h2{margin:1px 0 4px;font-size:23px}.month-planning-copy p:last-child{color:var(--muted);margin:0;font-size:11px}.month-planning-progress{background:#e8ddd0;border-radius:6px;height:7px;overflow:hidden}.month-planning-progress span{border-radius:inherit;background:var(--wine);height:100%;transition:width .2s;display:block}.schedule-board{overflow:hidden}.schedule-board-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;min-height:86px;padding:18px 20px;display:flex}.schedule-board-toolbar h2{margin:2px 0 0;font-size:22px}.week-navigation{align-items:center;gap:8px;display:flex}.schedule-board-scroll{scrollbar-color:#cbbcb2 transparent;overflow-x:auto}.schedule-grid{grid-template-columns:minmax(210px,1.5fr) repeat(7,minmax(112px,1fr));min-width:1020px;display:grid}.schedule-grid-head{z-index:2;border-bottom:1px solid var(--line);background:#f7f3ed;min-height:58px;position:sticky;top:0}.schedule-grid-head>div{border-left:1px solid var(--line);color:var(--muted);flex-direction:column;justify-content:center;gap:2px;padding:9px 11px;display:flex}.schedule-grid-head>div:first-child{text-transform:uppercase;border-left:0;font-size:10px;font-weight:780}.schedule-grid-head>div.today{color:var(--wine);background:var(--wine-soft)}.schedule-grid-head span{text-transform:uppercase;font-size:9px;font-weight:800}.schedule-grid-head strong{color:var(--ink);font-size:12px}.schedule-grid-row{border-bottom:1px solid var(--line);min-height:92px}.schedule-grid-row:last-child{border-bottom:0}.schedule-person,.schedule-day-cell{border:0;border-left:1px solid var(--line);text-align:left;background:#fff}.schedule-person{border-left:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:12px 14px;display:grid}.schedule-person:hover,.schedule-day-cell:hover{background:#fbf7f1}.schedule-person>span{flex-direction:column;gap:4px;min-width:0;display:flex}.schedule-person strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.schedule-person small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.schedule-person>svg{color:var(--muted)}.schedule-day-cell{flex-direction:column;justify-content:center;gap:3px;min-width:0;padding:10px 9px;display:flex;position:relative}.schedule-day-cell:before{content:"";opacity:.7;background:currentColor;border-radius:0 3px 3px 0;width:3px;position:absolute;top:11px;bottom:11px;left:0}.schedule-day-cell strong{color:var(--ink);font-size:11px}.schedule-day-cell span{color:var(--muted);font-size:9px}.schedule-day-cell em{width:fit-content;color:var(--muted);text-transform:uppercase;background:#eee9e3;border-radius:6px;margin-top:3px;padding:2px 5px;font-size:7px;font-style:normal;font-weight:800}.schedule-day-cell.pending{background:#fff9ec}.schedule-day-cell.pending em{color:#8a5a00;background:#f5dfae}.schedule-day-cell.today{box-shadow:inset 0 0 0 2px #6d18222e}.schedule-day-cell.work-success{color:var(--green)}.schedule-day-cell.work-progress{color:#315f79}.schedule-day-cell.work-review{color:#75518a}.schedule-day-cell.work-warning{color:var(--orange)}.schedule-day-cell.work-neutral{color:#8c837c}.schedule-scroll-hint,.mobile-schedule-cards{display:none}.form-field{color:var(--ink);flex-direction:column;gap:7px;margin-bottom:15px;font-size:11px;font-weight:760;display:flex}.form-field span em{float:right;color:var(--muted);font-size:9px;font-style:normal;font-weight:500}.form-field input,.form-field select,.form-field textarea{border:1px solid var(--line);width:100%;min-height:45px;color:var(--ink);background:#fff;border-radius:11px;padding:10px 12px;font-size:13px}.form-field textarea{resize:vertical;min-height:88px}.form-field .field-note{color:var(--orange);font-size:9px;font-weight:600;line-height:1.4}.form-grid{grid-template-columns:1fr 1fr;gap:13px;display:grid}.department-picker{border:1px solid var(--line);border-radius:13px;flex-direction:column;gap:7px;margin:0 0 15px;padding:13px;display:flex}.department-picker legend{color:var(--ink);padding:0 5px;font-size:11px;font-weight:760}.department-picker>p{color:var(--muted);margin:2px 0;font-size:11px}.department-option{background:#f7f3ed;border:1px solid #0000;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;min-height:43px;padding:7px 9px;display:flex}.department-option.selected{background:var(--gold-soft);border-color:#e5cfaa}.department-option label{min-height:29px;color:var(--muted);align-items:center;gap:8px;font-size:11px;font-weight:680;display:inline-flex}.department-option label>span{color:var(--ink);align-items:center;gap:6px;display:inline-flex}.department-option input{accent-color:var(--wine)}.form-hint{color:var(--muted);margin:-3px 0 0;font-size:10px;line-height:1.45}.toggle-field{border:1px solid var(--line);border-radius:13px;justify-content:space-between;align-items:center;gap:20px;padding:14px;display:flex}.toggle-field>span{flex-direction:column;gap:3px;display:flex}.toggle-field strong{font-size:11px}.toggle-field small{color:var(--muted);font-size:9px}.toggle-field input{opacity:0;pointer-events:none;position:absolute}.toggle-field i{background:#d8d1c8;border-radius:20px;flex:none;width:42px;height:24px;transition:background .2s;position:relative}.toggle-field i:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 2px 5px #0000002b}.toggle-field input:checked+i{background:var(--wine)}.toggle-field input:checked+i:after{transform:translate(18px)}.toggle-field input:focus-visible+i{outline:2px solid var(--wine);outline-offset:4px}.toggle-field input:disabled+i{opacity:.5}.task-create-files{border:1px solid var(--line);background:#f8f5ef;border-radius:13px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:15px;padding:14px;display:grid}.task-create-files>div:first-child{align-items:center;gap:10px;min-width:0;display:flex}.task-create-files>div:first-child>span{background:var(--wine-soft);width:35px;height:35px;color:var(--wine);border-radius:9px;flex:none;place-items:center;display:grid}.task-create-files>div:first-child>div{flex-direction:column;gap:3px;min-width:0;display:flex}.task-create-files strong{font-size:11px}.task-create-files small{color:var(--muted);font-size:9px}.creation-upload{min-height:40px;color:var(--wine);cursor:pointer;background:#fff;border:1px solid #d3c4b3;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:10px;font-weight:760;display:inline-flex;position:relative}.creation-upload:hover{background:#fffaf5;border-color:#bca38e}.creation-upload:focus-within{outline-offset:2px;outline:3px solid #a9834866}.creation-upload input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.pending-file-list{flex-direction:column;grid-column:1/-1;gap:6px;padding-top:2px;display:flex}.pending-file{min-width:0;color:var(--wine);background:#fff;border:1px solid #e0d7cb;border-radius:9px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 9px;display:grid}.pending-file>span{flex-direction:column;gap:2px;min-width:0;display:flex}.pending-file strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.pending-file button{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.pending-file button:hover{background:var(--wine-soft);color:var(--wine)}.file-picker-error{color:var(--red);grid-column:1/-1;margin:0;font-size:10px;line-height:1.4}.modal-backdrop{z-index:70;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1d16148a;place-items:center;padding:20px;animation:.16s ease-out fade-in;display:grid;position:fixed;inset:0}.task-modal{background:var(--surface);border-radius:24px;width:min(640px,100%);max-height:calc(100dvh - 30px);animation:.2s ease-out modal-up;overflow-y:auto;box-shadow:0 26px 80px #120b094d}.compact-modal{width:min(560px,100%)}.modal-header{z-index:3;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:flex-start;padding:22px 24px 16px;display:flex;position:sticky;top:0}.modal-header h2{font-size:26px}.task-modal form{padding:21px 24px 24px}.temporary-password-result{text-align:center;justify-items:center;padding:32px 24px 27px;display:grid}.invitation-copy-field{text-align:left;gap:10px;width:100%;min-width:0;font-size:16px;display:grid}.invitation-copy-field textarea{border:1px solid var(--line);overflow-wrap:anywhere;resize:vertical;border-radius:12px;width:100%;min-height:112px;padding:12px;font-size:16px}.invitation-copy-field+p{margin-top:16px;font-size:14px!important}.work-rules-gate{background:var(--canvas);place-items:center;min-height:100dvh;padding:28px 16px;display:grid}.work-rules-panel{background:var(--surface,#fffdf8);border:1px solid var(--line);border-radius:20px;width:min(820px,100%);overflow:hidden}.work-rules-panel>header,.work-rules-panel>footer{padding:24px}.work-rules-panel>header h1{margin:8px 0 14px;font-size:clamp(28px,5vw,42px)}.work-rules-panel p{font-size:16px;line-height:1.55}.work-rules-reader{border-block:1px solid var(--line);overscroll-behavior:contain;min-height:220px;max-height:48dvh;padding:0 24px 24px;overflow-y:auto}.work-rules-reader:focus-visible{outline:2px solid var(--wine);outline-offset:-4px}.work-rules-content section{border-bottom:1px solid var(--line);padding:20px 0}.work-rules-content h2{margin-bottom:12px;font-size:22px}.work-rules-content p{margin-bottom:12px;font-size:16px;line-height:1.65}.work-rules-content .work-rules-sources{padding-top:16px;font-size:14px}.work-rules-sources a{color:var(--wine);text-decoration:underline}.work-rules-end{margin-top:18px;font-weight:600}.work-rules-checkbox{align-items:flex-start;gap:12px;margin:14px 0 18px;font-size:16px;line-height:1.5;display:flex}.work-rules-checkbox input{width:22px;height:22px;accent-color:var(--wine);flex-shrink:0;margin-top:2px}.work-rules-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}.work-rules-panel footer>small{color:var(--muted);margin-top:14px;font-size:14px;display:block}.rules-acceptance-status,.schedule-template-note{color:var(--muted);margin:14px 0;font-size:14px;line-height:1.5}@media (width<=600px){.work-rules-gate{padding:12px}.work-rules-panel>header,.work-rules-panel>footer{padding:18px}.work-rules-reader{max-height:44dvh;padding:0 18px 18px}.work-rules-actions .primary-action{flex:1}}.temporary-password-result>span{background:var(--wine-soft);width:54px;height:54px;color:var(--wine);border-radius:17px;place-items:center;margin-bottom:16px;display:grid}.temporary-password-result h3{font-family:var(--font-display);letter-spacing:.13em;margin:4px 0 10px;font-size:44px}.temporary-password-result>p:not(.eyebrow){max-width:360px;color:var(--muted);margin-bottom:22px;font-size:12px;line-height:1.55}.password-result-actions{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:9px;width:min(380px,100%);display:grid}.password-result-actions>button{width:100%}.password-reset-button{width:100%;min-height:58px;color:var(--wine);text-align:left;background:#fff8e9;border:1px solid #dfcba9;border-radius:12px;align-items:center;gap:11px;margin-top:8px;padding:10px 12px;display:flex}.password-reset-button>span{flex-direction:column;gap:3px;display:flex}.password-reset-button strong{color:var(--ink);font-size:11px}.password-reset-button small{color:var(--muted);font-size:9px}.modal-actions{justify-content:flex-end;gap:9px;margin-top:20px;display:flex}.drawer-backdrop{place-items:stretch end;padding:0}.task-drawer{background:var(--surface);flex-direction:column;width:min(500px,100%);height:100dvh;min-height:0;max-height:100dvh;animation:.22s ease-out drawer-in;display:flex;overflow:hidden;box-shadow:-24px 0 70px #120b093d}.drawer-top{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:15px 19px;display:flex}.drawer-top-actions{align-items:center;gap:6px;display:flex}.drawer-edit-trigger{min-height:42px;padding:0 9px}.back-button{background:0 0;border:0;align-items:center;gap:6px;min-height:40px;font-size:12px;font-weight:760;display:flex}.drawer-content{flex:1;min-height:0;padding:25px;overflow-y:auto}.drawer-content>h2{margin:12px 0 13px;font-size:31px;line-height:1.13}.task-drawer-badges{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.priority-badge,.help-badge{background:var(--gold-soft);color:#76521f;border-radius:8px;align-items:center;gap:5px;min-height:27px;padding:0 9px;font-size:9px;font-weight:780;display:inline-flex}.priority-badge.urgent{color:var(--red);background:var(--red-soft)}.help-badge{color:var(--orange);background:var(--orange-soft)}.task-edit-panel{border:1px solid var(--line);background:#faf7f1;border-radius:16px;margin-top:18px;padding:18px}.edit-panel-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:20px;display:flex}.edit-panel-heading h2{font-size:25px}.edit-panel-heading>span{max-width:150px;color:var(--green);text-align:right;font-size:10px;font-weight:700;line-height:1.4}.task-edit-panel .form-field input,.task-edit-panel .form-field select,.task-edit-panel .form-field textarea{background:#fff}.deadline-reason{background:var(--gold-soft);border:1px solid #ead8b7;border-radius:12px;padding:13px}.deadline-reason small{color:var(--orange);font-size:10px;font-weight:600}.edit-actions{justify-content:flex-end;gap:9px;margin-top:18px;display:flex}.task-description,.report-period{color:var(--muted);margin-bottom:22px;font-size:12px;line-height:1.55}.detail-list{border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-direction:column;display:flex}.detail-list>div{min-height:51px;color:var(--muted);grid-template-columns:25px 1fr auto;align-items:center;font-size:11px;display:grid}.detail-list strong{color:var(--ink);text-align:right;font-size:11px}.subtasks,.task-result{padding-top:24px}.subtasks .section-heading{align-items:center;margin-bottom:8px}.subtasks .section-heading h3{margin:0}.subtasks .section-heading span{color:var(--muted);font-size:10px}.subtasks>label{border-bottom:1px solid var(--line);align-items:center;gap:9px;min-height:43px;font-size:11px;display:flex}.subtasks input{accent-color:var(--wine)}.subtask-add{grid-template-columns:1fr auto;align-items:center;gap:6px;margin-top:10px;display:grid}.subtask-add input{border:1px solid var(--line);border-radius:10px;min-height:42px;padding:0 11px}.task-result>textarea,.review-box>textarea{border:1px solid var(--line);resize:vertical;border-radius:12px;width:100%;min-height:105px;padding:12px}.attachment-section{border:1px solid var(--line);background:#faf7f1;border-radius:14px;margin-top:20px;padding:15px}.task-result .attachment-section{margin-top:13px}.attachment-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.attachment-heading>div{flex-direction:column;gap:3px;display:flex}.attachment-heading h3{margin:0;font-size:12px}.attachment-heading small{color:var(--muted);font-size:9px}.attachment-upload{min-height:39px;color:var(--wine);cursor:pointer;background:#fff;border:1px solid #d9cbbb;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-size:10px;font-weight:760;display:inline-flex;position:relative}.attachment-upload:hover{background:#fffaf2;border-color:#bca68d}.attachment-upload:focus-within{outline-offset:2px;outline:3px solid #b58a4570}.attachment-upload.disabled{opacity:.6;pointer-events:none}.attachment-upload input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.attachment-list{flex-direction:column;gap:7px;margin-top:12px;display:flex}.attachment-card{min-height:53px;color:var(--ink);background:#fff;border:1px solid #e2d9cd;border-radius:11px;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px 9px 6px 6px;text-decoration:none;display:grid}.attachment-card:hover{border-color:#cdbba6;box-shadow:0 5px 14px #37261a0f}.attachment-card>svg{color:var(--muted)}.attachment-preview,.attachment-file-icon{background:var(--wine-soft);width:40px;height:40px;color:var(--wine);border-radius:8px;place-items:center;display:grid;overflow:hidden}.attachment-preview img{object-fit:cover;width:100%;height:100%}.attachment-info{flex-direction:column;gap:4px;min-width:0;display:flex}.attachment-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.attachment-info small{color:var(--muted);font-size:8px}.attachment-empty{color:var(--muted);margin:12px 0 0;font-size:10px}.manager-comments{background:#fbf3e5;border:1px solid #ead8b7;border-radius:14px;margin-top:22px;padding:16px}.comments-heading{color:var(--wine);justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.comments-heading>div{flex-direction:column;gap:3px;display:flex}.comments-heading h3{color:var(--ink);margin:0;font-size:12px}.comments-heading small{color:var(--muted);font-size:9px;line-height:1.35}.comment-list{border-top:1px solid #e5d5bc;margin-top:13px}.comment-item{border-bottom:1px solid #e5d5bc;grid-template-columns:auto minmax(0,1fr);gap:9px;padding:13px 0;display:grid}.comment-item>div{min-width:0}.comment-item>div>div{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.comment-item strong{font-size:10px}.comment-item time{color:var(--muted);flex:none;font-size:8px}.comment-item p{white-space:pre-wrap;color:var(--ink);margin:5px 0 0;font-size:11px;line-height:1.48}.comment-thread{border-bottom:1px solid #e5d5bc}.comment-thread>.comment-item{border-bottom:0}.comment-reply{background:#ffffffb8;border:1px solid #e3d2b6;border-radius:11px;margin:0 0 10px 42px;padding:11px}.comment-author{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.comment-author em{color:var(--muted);background:#eee3d1;border-radius:5px;padding:2px 5px;font-size:7px;font-style:normal;font-weight:720}.comment-reply-button{min-height:26px;color:var(--wine);background:0 0;border:0;border-radius:7px;align-items:center;gap:5px;margin-top:7px;padding:0 7px;font-size:9px;font-weight:740;display:inline-flex}.comment-reply-button:hover{background:#eee3d1}.comment-form{margin-top:13px}.comment-form textarea{resize:vertical;background:#fff;border:1px solid #dcc9aa;border-radius:11px;width:100%;min-height:86px;padding:11px;font-size:12px}.comment-form>div{justify-content:space-between;align-items:center;gap:12px;margin-top:8px;display:flex}.comment-form small{color:var(--muted);font-size:8px}.reply-context{min-height:34px;color:var(--wine);background:#eee3d1;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;padding:0 9px;display:flex}.reply-context span,.reply-context button{align-items:center;gap:5px;display:inline-flex}.reply-context span{font-size:9px;font-weight:750}.reply-context button{color:var(--muted);background:0 0;border:0;font-size:8px}.comment-empty,.comment-readonly{color:var(--muted);margin:12px 0 0;font-size:10px;line-height:1.45}.task-history{border:1px solid var(--line);background:#fff;border-radius:14px;margin-top:22px}.history-toggle{border-radius:inherit;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:62px;padding:11px 14px;display:flex}.history-toggle:hover{background:#faf7f1}.history-toggle>span{color:var(--wine);align-items:center;gap:10px;display:flex}.history-toggle>span>span{flex-direction:column;gap:2px;display:flex}.history-toggle strong{color:var(--ink);font-size:11px}.history-toggle small{color:var(--muted);font-size:9px}.history-chevron{color:var(--muted);flex:none;transition:transform .18s}.history-chevron.open{transform:rotate(180deg)}.history-list{border-top:1px solid var(--line);padding:0 14px 14px}.history-entry{grid-template-columns:12px 1fr;gap:8px;padding-top:15px;display:grid;position:relative}.history-entry>i{background:var(--wine);border:2px solid #fff;border-radius:50%;width:8px;height:8px;margin-top:4px;position:relative;box-shadow:0 0 0 1px #d6c9bb}.history-entry:not(:last-child)>i:after{content:"";background:var(--line);width:1px;height:calc(100% + 32px);position:absolute;top:9px;left:2px}.history-entry>div{min-width:0}.history-entry-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.history-entry-head strong{font-size:11px}.history-entry-head time{color:var(--muted);flex:none;font-size:9px}.history-entry>div>span{color:var(--wine);margin-top:3px;font-size:9px;font-weight:700;display:block}.history-entry ul{color:var(--muted);margin:7px 0 0;padding-left:16px;font-size:10px;line-height:1.45}.history-entry li+li{margin-top:3px}.history-empty{color:var(--muted);margin:14px 0 0;font-size:10px}.drawer-actions{padding:16px 20px max(16px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;justify-content:flex-end;gap:9px;display:flex}.locked-task-note{background:var(--green-soft);color:var(--green);border:1px solid #cfe2d7;border-radius:12px;align-items:flex-start;gap:10px;margin-top:16px;padding:13px;display:flex}.locked-task-note div{flex-direction:column;gap:3px;display:flex}.locked-task-note strong{color:var(--ink);font-size:11px}.locked-task-note span{color:var(--muted);font-size:10px}.help-toggle{width:100%;min-height:60px;color:var(--orange);text-align:left;background:#fff9ec;border:1px solid #e5d1ac;border-radius:13px;align-items:center;gap:11px;margin-top:15px;padding:11px 13px;display:flex}.help-toggle.active{background:var(--orange-soft);border-color:#d6b26d}.help-toggle>span{flex-direction:column;gap:3px;display:flex}.help-toggle strong{color:var(--ink);font-size:11px}.help-toggle small{color:var(--muted);font-size:9px}.task-secondary-actions{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;margin-top:20px;padding-top:16px;display:flex}.danger-action{border:1px solid var(--red);background:var(--red);color:#fff;border-radius:11px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 16px;font-size:12px;font-weight:760;display:inline-flex}.text-danger-action{min-height:40px;color:var(--red);background:0 0;border:0;align-items:center;gap:6px;padding:0 9px;font-size:10px;font-weight:760;display:inline-flex}.cancel-box{background:#fff6f5;border-color:#e6c2be}.reason-note{background:var(--orange-soft);border-radius:12px;flex-direction:column;gap:4px;margin-top:14px;padding:13px;display:flex}.reason-note strong{font-size:11px}.reason-note span{color:var(--muted);font-size:11px}.postpone-box,.review-box{border:1px solid var(--line);background:#faf7f1;border-radius:14px;margin-top:20px;padding:16px}.postpone-box .form-field{margin-bottom:11px}.review-box>textarea{background:#fff;margin-bottom:11px}.report-section{border:1px solid var(--line);background:#fff;border-radius:14px;margin-top:18px;padding:17px}.report-section h3{color:var(--wine);margin-bottom:8px}.report-section p{white-space:pre-wrap;color:var(--ink);margin:0;font-size:13px;line-height:1.6}.instruction-hero{color:var(--wine);align-items:flex-start;gap:14px;padding:20px;display:flex}.instruction-hero>div{flex-direction:column;gap:5px;display:flex}.instruction-hero strong{color:var(--ink);font-size:14px}.instruction-hero span,.instruction-hero small{color:var(--muted);font-size:11px;line-height:1.5}.instruction-toc{scrollbar-width:none;gap:7px;padding:3px 2px;display:flex;overflow-x:auto}.instruction-toc::-webkit-scrollbar{display:none}.instruction-toc a{border:1px solid var(--line);background:var(--surface);min-height:39px;color:var(--wine);white-space:nowrap;border-radius:10px;align-items:center;padding:0 12px;font-size:10px;font-weight:760;text-decoration:none;display:inline-flex}.instruction-toc a:hover{background:#fff8f2;border-color:#c9b9aa}.instruction-flow{padding:22px}.instruction-flow>ol{counter-reset:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.instruction-flow>ol>li{background:#f8f4ed;border-radius:12px;align-items:flex-start;gap:9px;min-width:0;padding:12px;display:flex}.instruction-flow>ol>li>span{background:var(--wine);color:#fff;border-radius:8px;flex:none;place-items:center;width:26px;height:26px;font-size:9px;font-weight:820;display:grid}.instruction-flow li>div{flex-direction:column;gap:4px;display:flex}.instruction-flow li strong{font-size:11px}.instruction-flow li small{color:var(--muted);font-size:9px;line-height:1.45}.instruction-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.instruction-card{grid-template-columns:auto minmax(0,1fr);align-content:start;gap:14px;padding:21px;scroll-margin-top:18px;display:grid}.instruction-card>span{background:var(--wine-soft);width:40px;height:40px;color:var(--wine);border-radius:12px;place-items:center;display:grid}.instruction-card em{color:var(--gold);letter-spacing:.12em;font-size:10px;font-style:normal;font-weight:800}.instruction-card h2{margin:3px 0 8px;font-size:21px}.instruction-card p{color:var(--muted);margin:0;font-size:11px;line-height:1.62}.instruction-steps{border-top:1px solid var(--line);color:var(--ink);flex-direction:column;gap:8px;margin:13px 0 0;padding:13px 0 0 18px;display:flex}.instruction-steps li{padding-left:3px;font-size:10px;line-height:1.55}.instruction-steps li::marker{color:var(--wine);font-weight:800}.instruction-faq{padding:22px;scroll-margin-top:18px}.faq-list{border-top:1px solid var(--line)}.faq-list details{border-bottom:1px solid var(--line)}.faq-list summary{min-height:55px;color:var(--ink);cursor:pointer;justify-content:space-between;align-items:center;gap:14px;padding:10px 2px;font-size:12px;font-weight:760;list-style:none;display:flex}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{background:var(--wine-soft);width:24px;height:24px;color:var(--wine);content:"+";border-radius:8px;flex:none;place-items:center;font-size:17px;font-weight:500;display:grid}.faq-list details[open] summary:after{content:"−"}.faq-list details p{max-width:900px;color:var(--muted);margin:-2px 42px 16px 2px;font-size:11px;line-height:1.62}.instruction-roles{padding:22px}.instruction-roles>div:last-child{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.instruction-roles p{border:1px solid var(--line);background:#faf7f1;border-radius:12px;flex-direction:column;gap:5px;margin:0;padding:14px;display:flex}.instruction-roles strong{color:var(--wine);font-size:12px}.instruction-roles span{color:var(--muted);font-size:10px;line-height:1.5}.schedule-modal{background:var(--surface);border-radius:24px;width:min(1050px,100%);max-height:calc(100dvh - 30px);animation:.2s ease-out modal-up;overflow:hidden;box-shadow:0 26px 80px #120b094d}.schedule-modal-body{max-height:calc(100dvh - 115px);padding:24px;overflow-y:auto}.month-selector{border:1px solid var(--line);background:#f8f4ee;border-radius:15px;justify-content:center;align-items:center;gap:14px;margin-bottom:18px;padding:12px;display:flex}.month-selector>div{text-align:center;flex-direction:column;align-items:center;gap:2px;min-width:210px;display:flex}.month-selector span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:780}.month-selector strong{font-family:var(--font-display);font-size:19px}.month-editor-section{border:1px solid var(--line);background:#fff;border-radius:17px;padding:18px}.personal-schedule-template{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin:18px 0;padding:16px}.personal-schedule-template summary{cursor:pointer;min-height:44px;color:var(--wine);align-content:center;font-size:16px;font-weight:700;display:list-item}.personal-schedule-template summary:focus-visible,.personal-schedule-template input:focus-visible,.personal-schedule-template select:focus-visible{outline:2px solid var(--wine);outline-offset:3px}.personal-schedule-template>p{color:var(--muted);font-size:14px;line-height:1.6}.personal-template-days{gap:8px;margin:16px 0;display:grid}.personal-template-day{border-bottom:1px solid var(--line);grid-template-columns:minmax(110px,1fr) minmax(120px,1fr) minmax(200px,1.5fr);align-items:center;gap:10px;padding:10px 0;font-size:14px;display:grid}.personal-template-day>*,.personal-template-times label{min-width:0}.personal-template-day select,.personal-template-day input{border:1px solid var(--line);width:100%;min-width:0;min-height:44px;color:var(--ink);background:#fff;border-radius:8px;padding:6px 8px;font-size:16px}.personal-template-times{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.personal-template-times label{gap:4px;display:grid}.personal-template-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.personal-schedule-template .personal-template-error{color:var(--red)}@media (width<=700px){.personal-schedule-template{padding:12px}.personal-template-day{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.personal-template-day>strong,.personal-template-times{grid-column:1/-1}.personal-template-actions>button{width:100%}}.month-status-line{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.month-status-line h3{margin:2px 0 4px;font-size:23px}.month-status-line p:last-child{color:var(--muted);margin:0;font-size:11px}.month-editor-tools{background:var(--gold-soft);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-top:16px;padding:11px 12px;display:flex}.month-editor-tools span{color:var(--muted);font-size:10px}.month-weekdays{grid-template-columns:repeat(7,1fr);gap:7px;margin-top:18px;display:grid}.month-weekdays span{color:var(--muted);text-transform:uppercase;padding:0 5px;font-size:9px;font-weight:800}.month-calendar-editor{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-top:7px;display:grid}.month-day-empty{min-height:1px}.month-day-card{border:1px solid var(--line);background:#fffdf9;border-top:3px solid;border-radius:11px;min-width:0;min-height:174px;padding:9px}.month-day-card.readonly{background:#f8f5f0}.month-day-card.work-success{color:var(--green)}.month-day-card.work-progress{color:#315f79}.month-day-card.work-review{color:#75518a}.month-day-card.work-warning{color:var(--orange)}.month-day-card.work-neutral{color:#8c837c}.month-day-head{justify-content:space-between;align-items:center;margin-bottom:7px;display:flex}.month-day-head strong{color:var(--ink);font-family:var(--font-display);font-size:19px}.month-day-head span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:800;display:none}.month-day-card>select,.month-day-card input{border:1px solid var(--line);width:100%;min-width:0;min-height:34px;color:var(--ink);background:#fff;border-radius:7px;padding:0 5px;font-size:9px}.month-day-card>select:disabled,.month-day-card input:disabled{opacity:1;color:var(--ink);background:#f1ede7}.month-time-row{grid-template-columns:1fr;gap:5px;margin-top:6px;display:grid}.month-time-row label{grid-template-columns:17px minmax(0,1fr);align-items:center;gap:3px;min-width:0;display:grid}.month-time-row span{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:750}.month-day-card>small{color:var(--muted);margin-top:12px;font-size:8px;display:block}.month-editor-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:9px;margin-top:18px;padding-top:16px;display:flex}.schedule-awaiting{color:#315f79;background:#eef3f7;border-radius:12px;align-items:center;gap:7px;margin:16px 0 0;padding:12px;font-size:11px;font-weight:700;display:flex}.schedule-review-box{background:#fff9ec;border:1px solid #ead8b7;border-radius:13px;margin-top:18px;padding:15px}.schedule-review-box .form-field{margin-bottom:11px}.date-change-section{border-top:1px solid var(--line);margin-top:28px;padding-top:24px}.change-grid{border:1px solid var(--line);background:#faf7f1;border-radius:14px;grid-template-columns:repeat(4,1fr);gap:10px;padding:15px;display:grid}.change-grid .form-field{margin:0}.change-comment{grid-column:1/4}.save-change{align-self:end}.exception-list{border-top:1px solid var(--line);margin-top:14px}.exception-list>article{border-bottom:1px solid var(--line);padding:13px 0}.exception-main{justify-content:space-between;align-items:center;gap:15px;min-height:42px;display:flex}.exception-main>span{flex-direction:column;gap:3px;display:flex}.exception-list strong{font-size:12px}.exception-list small{color:var(--muted);font-size:10px}.exception-badges{justify-content:flex-end;align-items:center;gap:7px;display:flex}.exception-badges .status{font-style:normal}.exception-manager-comment{margin-top:6px;display:block;color:var(--orange)!important}.exception-review{background:#f8f4ee;border-radius:11px;grid-template-columns:minmax(180px,1fr) auto auto;gap:8px;margin-top:10px;padding:10px;display:grid}.exception-review input{border:1px solid var(--line);background:#fff;border-radius:9px;min-height:40px;padding:0 10px;font-size:11px}.empty-line{color:var(--muted);margin:16px 0 0;font-size:11px}.saving-indicator{z-index:65;color:#fff;box-shadow:var(--shadow);background:#2a2321;border-radius:20px;align-items:center;gap:7px;padding:9px 12px;font-size:11px;display:flex;position:fixed;top:80px;left:50%;transform:translate(-50%)}.saving-indicator span{border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:8px;height:8px;animation:.7s linear infinite spin}.toast{z-index:90;color:#fff;border-radius:13px;align-items:center;gap:9px;max-width:min(390px,100vw - 32px);padding:13px 16px;font-size:12px;font-weight:700;animation:.2s ease-out toast-in;display:flex;position:fixed;bottom:24px;right:22px;box-shadow:0 16px 40px #140f0d3b}.toast-success{background:var(--green)}.toast-error{background:var(--red)}.mobile-nav,.mobile-fab{display:none}@keyframes fade-in{0%{opacity:0}}@keyframes modal-up{0%{opacity:0;transform:translateY(14px)scale(.99)}}@keyframes drawer-in{0%{opacity:.7;transform:translate(30px)}}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes loading{0%{transform:translate(-105%)}to{transform:translate(225%)}}@media (width<=1120px){.desktop-sidebar{width:220px}.app-main{margin-left:220px}.brand strong{font-size:13px}.metrics-panel{grid-template-columns:1.45fr repeat(3,1fr)}.main-score{gap:12px;padding:22px}.progress-ring{width:78px;height:78px}.metric-cell{padding:24px 16px}.team-cards{grid-template-columns:1fr}.instruction-roles>div:last-child{grid-template-columns:repeat(2,1fr)}.instruction-flow>ol{grid-template-columns:repeat(2,minmax(0,1fr))}.base-day-row{grid-template-columns:120px 96px 90px 14px 90px minmax(120px,1fr)}}@media (width<=820px){h1{font-size:35px}.desktop-sidebar{display:none}.app-main{padding-bottom:calc(76px + env(safe-area-inset-bottom));margin-left:0}.topbar{height:62px;padding:0 12px}.mobile-brand{align-items:center;gap:8px;min-width:0;display:flex}.mobile-brand .brand-mark{border-radius:9px;width:34px;height:34px}.mobile-brand strong{max-width:128px;font-family:var(--font-display);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:650;overflow:hidden}.topbar-actions{gap:6px}.topbar-context,.profile-chip{display:none}.topbar-logout{min-width:40px;padding:0 10px}.topbar-logout span{display:none}.notification-popover{width:auto;position:fixed;top:56px;left:12px;right:12px}.page-container{padding:24px 15px 36px}.page-stack{gap:16px}.welcome-band,.page-title-row{align-items:flex-start}.welcome-band .primary-action,.page-title-row>.primary-action,.page-title-row>.secondary-action{display:none}.team-title-row{flex-direction:column;align-items:stretch;gap:16px}.team-title-row>.team-add-action{justify-content:center;width:100%;min-height:48px;display:inline-flex}.reports-title{flex-direction:column}.report-download-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.reports-title .report-download-main{width:100%;display:inline-flex}.document-mode-switch{grid-template-columns:1fr}.welcome-band p:last-child,.page-title-row p:last-child{font-size:13px;line-height:1.48}.action-metrics{grid-template-columns:1fr 1fr;gap:10px}.action-metrics>button{min-height:98px;padding:13px}.action-metrics strong{font-size:27px}.metrics-panel{border-radius:18px;grid-template-columns:1fr 1fr 1fr;min-height:0}.main-score{grid-column:1/-1;min-height:124px;padding:20px}.main-score>div:last-child strong{font-size:22px}.metric-cell{border-top:1px solid #ffffff14;min-height:95px;padding:15px 11px}.metric-cell strong{font-size:23px}.metric-cell>span{font-size:9px}.metric-cell em{font-size:8px}.content-grid,.report-layout{grid-template-columns:1fr}.attention-surface,.task-browser,.report-summary,.submissions,.report-editor{border-radius:18px;padding:17px}.deadline-card{padding:20px}.overview-note{align-items:flex-start;padding:16px}.task-row{grid-template-columns:7px minmax(0,1fr) auto;gap:10px;min-height:76px;padding:12px 5px}.task-row .status{display:none}.task-title{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.35;display:-webkit-box;overflow:hidden}.task-meta{font-size:10px}.row-chevron{display:block}.toolbar{flex-direction:column;align-items:stretch}.search-box{max-width:none}.result-count{align-self:flex-end}.team-cards{grid-template-columns:1fr;gap:12px}.employee-performance{border-radius:18px;padding:17px}.performance-head{align-items:center}.performance-head-actions{flex-direction:column;align-items:flex-end}.team-access-note{align-items:flex-start}.editor-grid{grid-template-columns:1fr}.wide-field{grid-column:auto}.editor-footer{flex-direction:column;align-items:stretch}.editor-footer .inline-actions{width:100%}.editor-footer .inline-actions>*{flex:1}.self-status{width:100%}.self-status select{width:100%;min-width:0}.report-controls{grid-template-columns:1fr;align-items:stretch;gap:11px}.period-switch{width:100%}.period-switch button{flex:1}.period-navigation{justify-content:space-between}.period-navigation strong{min-width:0}.generated-task-report{padding:17px}.schedule-title{flex-direction:column}.month-planning-banner{grid-template-columns:auto 1fr;gap:12px;padding:17px}.month-planning-icon{width:43px;height:43px}.month-planning-copy h2{font-size:21px}.month-planning-progress{grid-column:1/-1}.month-planning-banner .primary-action{grid-column:1/-1;width:100%}.schedule-board-toolbar{flex-direction:column;align-items:stretch;padding:16px}.schedule-board-toolbar h2{font-size:20px}.week-navigation{justify-content:space-between}.week-navigation .secondary-action{flex:1}.schedule-board-scroll{display:none}.mobile-schedule-cards{flex-direction:column;display:flex}.mobile-schedule-day{border-top:1px solid var(--line);background:#fff}.mobile-schedule-day:first-child{border-top:0}.mobile-schedule-day.today{background:#fff8f9}.mobile-schedule-day>header{align-items:center;gap:8px;padding:12px 15px 8px;display:flex}.mobile-schedule-day>header span{min-width:28px;color:var(--wine);text-transform:uppercase;font-size:9px;font-weight:820}.mobile-schedule-day>header strong{font-family:var(--font-display);font-size:16px}.mobile-schedule-day>div{padding:0 12px 10px}.mobile-schedule-day button{text-align:left;background:0 0;border:0;border-top:1px solid #ece5dc;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:9px;width:100%;min-height:59px;padding:8px 4px;display:grid}.mobile-schedule-day button>span:not(.avatar){flex-direction:column;gap:3px;min-width:0;display:flex}.mobile-schedule-day button strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.mobile-schedule-day button small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.mobile-schedule-day button em{color:var(--ink);white-space:nowrap;font-size:9px;font-style:normal;font-weight:760}.mobile-schedule-day button>svg{color:var(--muted)}.mobile-nav{z-index:30;min-height:calc(66px + env(safe-area-inset-bottom));padding:7px 7px env(safe-area-inset-bottom);border-top:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffdf8f7;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:#8b817b;background:0 0;border:0;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:53px;font-size:9px;font-weight:700;display:flex;position:relative}.mobile-nav button.active{color:var(--wine);background:var(--wine-soft)}.mobile-nav button em{background:var(--wine);color:#fff;border-radius:8px;place-items:center;min-width:16px;height:16px;padding:0 4px;font-size:8px;font-style:normal;display:grid;position:absolute;top:3px;right:calc(50% - 19px)}.mobile-fab{right:16px;bottom:calc(81px + env(safe-area-inset-bottom));z-index:28;background:var(--wine);color:#fff;border:1px solid #84303a;border-radius:18px;place-items:center;width:54px;height:54px;display:grid;position:fixed;box-shadow:0 12px 25px #6d182247}.modal-backdrop{align-items:end;padding:0}.task-modal,.schedule-modal{border-radius:22px 22px 0 0;width:100%;max-height:calc(100dvh - 20px)}.modal-header{padding:19px 18px 14px}.task-modal form{padding:18px}.form-grid{grid-template-columns:1fr;gap:0}.modal-actions{z-index:4;padding-top:13px;padding-bottom:max(12px, env(safe-area-inset-bottom));background:var(--surface);box-shadow:0 -10px 20px var(--surface);gap:8px;position:sticky;bottom:-1px}.modal-actions>*{flex:1;min-width:0;padding-left:10px;padding-right:10px;font-size:12px;line-height:1.2}.password-result-actions{grid-template-columns:1fr}.drawer-actions{flex-direction:column-reverse}.drawer-actions>*{width:100%}.drawer-top{gap:8px;padding:10px 11px}.drawer-top-actions{gap:4px;min-width:0}.report-drawer-download{min-height:38px;padding:0 9px;font-size:10px}.back-button{min-width:0;padding:0 5px}.drawer-content{padding:21px 18px}.drawer-content>h2{overflow-wrap:anywhere;font-size:28px}.drawer-edit-trigger{white-space:nowrap;gap:6px;width:auto;max-width:132px;padding:0 8px;font-size:11px;overflow:visible}.task-edit-panel{padding:15px}.edit-panel-heading{flex-direction:column}.edit-panel-heading>span{text-align:left;max-width:none}.edit-actions{z-index:4;padding:12px 0 max(12px, env(safe-area-inset-bottom));background:#faf7f1;position:sticky;bottom:-1px;box-shadow:0 -10px 20px #faf7f1}.edit-actions>*{flex:1}.detail-list>div{grid-template-columns:24px minmax(0,1fr);gap:2px 8px;min-height:58px;padding:8px 0}.detail-list>div>svg{grid-row:1/3}.detail-list strong{overflow-wrap:anywhere;text-align:left;grid-column:2}.subtask-add{grid-template-columns:1fr}.attachment-heading{flex-direction:column;align-items:stretch}.attachment-upload{width:100%;min-height:42px}.task-create-files{grid-template-columns:1fr}.creation-upload{width:100%;min-height:43px}.pending-file-list,.file-picker-error{grid-column:auto}.toggle-field{align-items:flex-start;gap:12px}.toggle-field>span{min-width:0}.toggle-field small{font-size:10px;line-height:1.4}.comment-form>div{flex-direction:column;align-items:stretch}.comment-form .primary-action{width:100%}.comment-reply{margin-left:20px}.task-secondary-actions{flex-direction:column;align-items:stretch}.task-secondary-actions>*{justify-content:center;width:100%}.department-option{flex-direction:column;align-items:flex-start;gap:2px}.instruction-grid,.instruction-roles>div:last-child,.instruction-flow>ol{grid-template-columns:1fr}.instruction-card,.instruction-flow,.instruction-faq{padding:17px}.instruction-toc{margin-right:-15px;padding-right:15px}.history-entry-head{flex-direction:column;gap:3px}.schedule-modal-body{padding:18px}.schedule-modal-body .section-heading{flex-direction:column;align-items:stretch}.month-selector>div{flex:1;min-width:0}.month-editor-section{padding:14px}.month-status-line{flex-direction:column;align-items:flex-start;gap:10px}.month-editor-tools{flex-direction:column;align-items:stretch}.month-weekdays,.month-day-empty{display:none}.month-calendar-editor{grid-template-columns:1fr;gap:8px}.month-day-card{border-top-width:1px;border-left:4px solid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:7px 9px;min-height:0;padding:10px;display:grid}.month-day-head{border-right:1px solid var(--line);flex-direction:column;grid-row:1/3;justify-content:center;align-self:stretch;margin:0;padding-right:8px}.month-day-head span{display:block}.month-day-card>select,.month-time-row,.month-day-card>small{grid-column:2}.month-day-card>select,.month-day-card input{min-height:38px;font-size:10px}.month-time-row{grid-template-columns:1fr 1fr}.month-time-row label{grid-template-columns:18px minmax(0,1fr)}.month-day-card>small{margin:0}.month-editor-actions{flex-direction:column;align-items:stretch}.month-editor-actions>*{width:100%}.change-grid{grid-template-columns:1fr 1fr;padding:13px}.change-comment,.save-change{grid-column:1/-1}.exception-main{flex-direction:column;align-items:flex-start}.exception-badges{flex-direction:column;align-items:flex-start;width:100%}.exception-review{grid-template-columns:1fr}.exception-review>*{width:100%}.toast{right:16px;bottom:calc(82px + env(safe-area-inset-bottom))}.saving-indicator{top:68px}.login-card{border-radius:24px;padding:25px 20px}.login-brand{margin-bottom:34px}}@media (width<=430px){h1{font-size:32px}h2{font-size:22px}.mobile-brand strong{max-width:105px;font-size:13px}.main-score{gap:13px}.action-metrics>button{grid-template-columns:36px minmax(0,1fr);gap:9px;padding:11px}.action-metric-icon{border-radius:11px;width:36px;height:36px}.action-metrics em{display:none}.main-score .progress-ring{width:74px;height:74px}.main-score>div:last-child strong{font-size:19px}.section-heading{gap:10px}.week-strip{grid-template-columns:repeat(7,90px)}.inline-actions{flex-direction:column;align-items:stretch}.inline-actions>*{width:100%}.performance-score{align-items:flex-start}.drawer-edit-trigger{max-width:118px}.submissions .section-heading,.report-editor .section-heading{flex-direction:column;align-items:flex-start}.report-download-actions{grid-template-columns:1fr}.drawer-top-actions .report-drawer-download{padding:0 7px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.weekly-selector label{color:var(--muted);flex-direction:column;gap:6px;margin-top:8px;font-size:14px;display:flex}.weekly-selector input{border:1px solid var(--line);width:100%;min-height:44px;color:var(--ink);background:#fff;border-radius:9px;padding:8px 12px;font-size:16px}.weekly-calendar-editor{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.weekly-calendar-editor .month-day-card{padding:14px}.weekly-calendar-editor .month-day-head strong{font-size:17px}.weekly-calendar-editor .month-day-head span,.weekly-calendar-editor .month-time-row span,.weekly-calendar-editor .month-day-card>small{font-size:14px}.weekly-calendar-editor .month-day-card>select,.weekly-calendar-editor .month-day-card input{min-height:44px;padding:6px 8px;font-size:16px}.weekly-day-comment{color:var(--muted);flex-direction:column;gap:5px;margin-top:12px;font-size:14px;display:flex}.weekly-save-success{color:var(--green);align-items:center;gap:8px;font-size:14px;display:flex}@media (width<=760px){.weekly-calendar-editor{grid-template-columns:1fr}.weekly-calendar-editor .month-day-card{display:block}.weekly-calendar-editor .month-day-head{margin-bottom:10px}.weekly-selector{gap:6px;padding:10px 6px}.weekly-selector strong{font-size:17px}}.task-assignee-picker{border:1px solid var(--line);border-radius:14px;min-width:0;margin:0;padding:14px}.task-assignee-picker legend{padding:0 6px;font-size:14px;font-weight:750}.task-assignee-picker>p{color:var(--muted);margin:0 0 10px;font-size:14px;line-height:1.5}.task-assignee-picker>small{color:var(--muted);margin-top:10px;font-size:14px;display:block}.task-assignee-options{overscroll-behavior:contain;gap:4px;max-height:245px;display:grid;overflow-y:auto}.task-assignee-options label{cursor:pointer;border-radius:9px;align-items:center;gap:12px;min-height:48px;padding:8px;display:flex}.task-assignee-options label:has(input:checked){background:#f4e9ed}.task-assignee-options label:focus-within{outline:2px solid var(--wine);outline-offset:-2px}.task-assignee-options input[type=checkbox]{appearance:auto;opacity:1;width:20px;height:20px;min-height:20px;accent-color:var(--wine);flex:0 0 20px;position:static}.task-assignee-options span{flex-direction:column;gap:3px;min-width:0;display:flex}.task-assignee-options strong{overflow-wrap:anywhere;font-size:16px;font-weight:650}.task-assignee-options small{color:var(--muted);font-size:13px}.shared-task-note{color:var(--muted);font-size:14px;line-height:1.6}.task-participants span,.detail-list strong{overflow-wrap:anywhere}.test-copy-notice{color:#fff;text-align:center;background:#69102a;padding:10px 16px;font-size:.875rem;line-height:1.5}
