:root{--mobile-header-height:80px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#203442;background:#f4f7fa;font-synthesis:none;font-size:16px;--ink:#142d3b;--muted:#6a7d89;--line:#e3eaf0;--green:#168565;--green-soft:#eaf7f1;--purple:#7555aa;--blue:#3978ad;--orange:#ad6633;--radius:14px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #418ebd;outline-offset:3px}button{color:inherit}svg{width:20px;height:20px;flex:none;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1px;line-height:1.3}h2{font-size:18px;letter-spacing:-.35px}h3{font-size:16px;line-height:1.45}p{line-height:1.65}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:white;padding:12px}.skip-link:focus{top:10px}.loading-screen{min-height:100vh;display:grid;place-items:center;font-weight:600}.app-layout{display:grid;grid-template-columns:226px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--ink);color:#d0dbe1;padding:31px 19px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:20}.brand{display:flex;gap:11px;align-items:center;color:white;margin:0 8px 35px;font-size:17px;line-height:1.25;font-weight:750;letter-spacing:-.3px}.brand img{width:37px;height:37px;border:1px solid #426070;border-radius:11px}.brand small{display:block;font-size:13px;color:#b0c1cc;letter-spacing:1.4px;font-weight:450;margin-top:4px}.restaurant-picker{border:1px solid #37505e;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:8px;align-items:stretch;margin-bottom:24px}.restaurant-logo{display:block;width:100%;height:auto;object-fit:contain;background:#fff;border-radius:6px;padding:8px}.restaurant-picker strong{display:block;color:#fff;font-size:14px}.restaurant-picker small{font-size:11px;color:#b8c7d1;display:block;margin-top:0;text-align:center}.nav-label{color:#9bb2bf;font-size:12px;letter-spacing:1.8px;margin:0 15px 12px;font-weight:700}.nav-list{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:13px;border:0;text-align:left;background:none;color:#c0d0d9;border-radius:9px;min-height:47px;padding:11px 14px;font-size:14px;font-weight:550}.nav-item:hover{background:#253f4d;color:white}.nav-item.active{background:#284a4c;color:#91e8c5}.nav-item.active svg{color:#83dfb9}.nav-count{margin-left:auto;min-width:23px;padding:2px 6px;background:#3b5462;border-radius:6px;font-size:12px;color:#e2edf3;text-align:center}.nav-item.active .nav-count{background:#3c6b64;color:#b9f7d8}.sidebar-bottom{margin-top:auto;padding-top:25px}.sidebar-note{background:#213e4b;border:1px solid #355260;border-radius:11px;padding:15px 13px;margin:15px 5px 20px}.sidebar-note strong{font-size:13px;display:block;color:white}.sidebar-note p{font-size:12px;line-height:1.65;color:#b0c6d0;margin:7px 0 12px}.sidebar-note button{border:0;background:none;color:#a6edcf;font-size:12px;font-weight:650;padding:0}.sidebar-version{font-size:12px;color:#9eb3c0;margin:0 10px}.workspace{min-width:0}.topbar{height:83px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:20px}.breadcrumb{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:12px}.breadcrumb span{color:#263c4b;font-weight:600}.topbar-actions{display:flex;align-items:center;gap:18px}.topbar-divider{height:28px;width:1px;background:var(--line)}.profile-switch{display:flex;gap:9px;align-items:center}.profile-switch label{font-size:12px;color:var(--muted);display:block;letter-spacing:.6px;text-transform:uppercase}.profile-switch select{font-size:14px;font-weight:650;border:0;max-width:160px;padding:3px 23px 2px 0;background-color:#fff;background-position:right center}.avatar{width:37px;height:37px;display:inline-grid;place-items:center;border-radius:50%;background:#e2edf3;color:#38627b;font-size:12px;font-weight:700;flex:none}.avatar.green{background:#dff2e9;color:#267653}.avatar.purple{background:#eee7f8;color:#76519e}.avatar.orange{background:#f8eadb;color:#9a632e}.avatar.blue{background:#e3eef9;color:#3c709c}.avatar.slate{background:#e6ebf0;color:#627584}.avatar.small{width:29px;height:29px;font-size:12px}.avatar.large{width:50px;height:50px;font-size:15px}.icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#5b7281;padding:0;flex:none}.icon-button:hover{background:#f3f7f9;color:#193846}.icon-button.borderless{border-color:transparent;background:transparent}.notification-dot{position:absolute;right:8px;top:7px;width:6px;height:6px;border:2px solid white;background:#df895c;border-radius:50%}.offline-strip{background:#fff0d6;color:#77521b;padding:10px 34px;font-size:13px}.main-content{padding:29px 34px 40px;max-width:1720px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.page-heading p{color:var(--muted);font-size:14px;margin-top:6px}.heading-actions{display:flex;gap:10px;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:40px;background:#fff;border:1px solid #dbe4ea;padding:10px 15px;border-radius:8px;font-size:13px;font-weight:650;white-space:nowrap;text-decoration:none}.button:hover{background:#f3f7f9}.button.primary{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 2px 3px #184b3c13}.button.primary:hover{background:#116c53}.button.dark{background:var(--ink);border-color:var(--ink);color:white}.button.danger{background:#fff1ef;border-color:#f0d7d1;color:#a54c40}.button.small{min-height:33px;padding:7px 11px;font-size:12px}.button.link{border:0;background:none;color:var(--green);padding:0;min-height:28px}.button svg{width:16px;height:16px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px;position:relative}.stat-label{font-size:12px;color:#6a7e8b;font-weight:550;display:flex;align-items:center;gap:7px}.stat-label svg{width:15px;height:15px}.stat-value{font-size:28px;letter-spacing:-1px;font-weight:700;margin:9px 0 4px;color:#213b4b}.stat-sub{font-size:12px;color:#738693;line-height:1.5}.stat-sub.positive{color:var(--green)}.stat-corner{position:absolute;right:18px;top:19px;background:#eef6f5;border-radius:7px;padding:7px;color:#497f74}.stat-corner svg{width:16px;height:16px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.card-heading{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;gap:14px}.card-heading p{font-size:12px;color:var(--muted);margin-top:5px}.week-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:19px 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.week-navigation{display:flex;align-items:center;gap:10px}.week-navigation h2{font-size:16px;min-width:180px;text-align:center}.week-navigation .icon-button{width:30px;height:32px;border-radius:7px}.week-navigation .icon-button svg{width:15px;height:15px}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:12px;line-height:1.2;font-weight:650;letter-spacing:.3px;white-space:nowrap;background:#edf3f6;color:#607789}.pill.green{background:#e7f5ee;color:#258164}.pill.orange{background:#fff1df;color:#9f6529}.pill.purple{background:#f0eafa;color:#7753a3}.pill.blue{background:#e8f1fb;color:#3d72a6}.pill.red{background:#fff0ed;color:#ad5140}.tabs{display:inline-flex;align-items:center;background:#f0f4f7;padding:4px;border-radius:8px;gap:2px}.tab{border:0;background:none;padding:7px 12px;font-size:12px;color:#70818c;border-radius:6px;white-space:nowrap;font-weight:600}.tab.active{background:#fff;color:#263f4e;box-shadow:0 1px 4px #233c4b12}.filter-toolbar{display:flex;align-items:center;justify-content:space-between;padding:13px 22px;gap:15px;border-bottom:1px solid var(--line)}.filter-chips{display:flex;gap:7px;flex-wrap:wrap}.filter-chip{font-size:12px;border:1px solid #e3eaf0;border-radius:6px;background:#fff;color:#687f8d;padding:6px 10px}.filter-chip.active{background:#edf7f3;border-color:#b8dfcf;color:#197251}.schedule-hint{font-size:12px;color:#7b8c96;white-space:nowrap}.schedule-scroll{overflow:auto}.schedule-grid{width:100%;border-collapse:separate;border-spacing:0;min-width:1000px;table-layout:fixed}.schedule-grid th,.schedule-grid td{border-right:1px solid #edf1f5;border-bottom:1px solid #edf1f5;text-align:left;vertical-align:top}.schedule-grid th:last-child,.schedule-grid td:last-child{border-right:0}.schedule-grid thead th{background:#fbfcfe;height:65px;padding:12px 12px 10px;color:#71818e;font-size:12px;font-weight:550}.schedule-grid thead th.today-column{background:#eef7f3}.schedule-grid th:first-child{width:184px;position:sticky;left:0;z-index:2;background:#fff}.schedule-grid thead th:first-child{background:#fbfcfe;z-index:3;padding-left:22px;vertical-align:middle}.day-heading{display:flex;justify-content:space-between;align-items:center}.day-heading strong{font-size:17px;color:#273f4f;display:block;margin-top:5px;font-weight:650}.day-heading .today-number{background:var(--green);border-radius:50%;width:27px;height:27px;color:#fff;display:grid;place-items:center}.staff-cell{padding:17px 13px 16px 22px;display:flex;gap:10px;align-items:center}.staff-cell strong{font-size:12px;line-height:1.6;display:block;font-weight:650}.staff-cell small{font-size:12px;color:#81909b;font-weight:450;display:block;margin-top:3px}.staff-cell .avatar{width:31px;height:31px;font-size:12px}.schedule-grid td{height:94px;padding:9px 6px;position:relative;background:white}.schedule-grid td.today-column{background:#fcfefd}.shift-card{display:block;width:100%;text-align:left;border:0;border-left:3px solid #82bfa3;background:#eef7f1;border-radius:5px;padding:10px 7px;color:#3d7559;min-height:65px;margin-bottom:5px}.shift-card strong{font-size:12px;display:block;line-height:1.6;white-space:nowrap;font-weight:650}.shift-card small{font-size:12px;display:block;line-height:1.5;margin-top:3px;white-space:nowrap}.shift-card:hover{filter:brightness(.97);box-shadow:0 2px 5px #1e3c3410}.shift-card.purple{background:#f3eef9;border-color:#a98ac7;color:#785d9b}.shift-card.orange{background:#fcf2e8;border-color:#d2a57b;color:#9a6e43}.shift-card.blue{background:#ecf3fc;border-color:#88b2d5;color:#517b9f}.shift-card.slate{background:#f0f3f6;border-color:#a5b2bf;color:#657989}.shift-card.unassigned{background:#fff9ed;border:1px dashed #d8b57b;color:#9e793b}.add-cell{display:grid;place-items:center;border:1px dashed transparent;border-radius:5px;background:none;color:#a1b1bb;width:100%;min-height:65px;font-size:18px}.schedule-grid td:hover .add-cell{border-color:#dbe7e3;background:#f7fbf9;color:#4f8776}.shift-warning{font-size:12px;color:#ba6c33;margin-top:3px;display:block}.schedule-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 22px;background:#fbfcfe;font-size:12px;color:#7a8d99}.legend{display:flex;gap:13px;align-items:center;flex-wrap:wrap}.legend span{display:flex;align-items:center;gap:5px}.legend-dot{display:inline-block;width:7px;height:7px;border-radius:2px;background:#91bfa6}.legend-dot.purple{background:#ae91ca}.legend-dot.orange{background:#d5aa7e}.legend-dot.blue{background:#8fb5d4}.lower-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px;margin-top:22px}.request-preview{display:flex;align-items:center;gap:12px;padding:14px 22px;border-top:1px solid #eef2f5}.request-preview .preview-content{flex:1;min-width:0}.request-preview strong{font-size:12px;display:block;line-height:1.5}.request-preview p{font-size:12px;color:var(--muted);margin-top:3px}.request-preview .button{font-size:12px}.announcement{padding:0 22px 20px}.announcement p{font-size:13px;color:#657c8b;line-height:1.8;margin:12px 0}.announcement-author{display:flex;gap:9px;align-items:center;font-size:12px;color:#83939d}.announcement-author strong{font-size:12px;color:#39515f;display:block;margin-bottom:3px}.page-footnote{font-size:12px;color:#83949f;margin-top:17px;display:flex;gap:7px;align-items:center}.page-footnote svg{width:13px;height:13px}.empty-state{padding:52px 22px;text-align:center;color:var(--muted)}.empty-state svg{width:35px;height:35px;margin-bottom:12px;color:#83ad9d}.empty-state h3{color:#35515f;margin-bottom:6px}.empty-state p{font-size:13px;max-width:380px;margin:auto}.empty-state .button{margin-top:17px}.messages-layout{display:grid;grid-template-columns:290px minmax(0,1fr);min-height:610px;height:calc(100vh - 262px);max-height:900px}.conversation-sidebar{border-right:1px solid var(--line);min-height:0;display:flex;flex-direction:column}.conversation-tools{padding:18px 16px;border-bottom:1px solid var(--line)}.conversation-tools-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.conversation-tools-top h2{font-size:16px}.search-box{position:relative}.search-box svg{position:absolute;left:11px;top:11px;width:16px;height:16px;color:#8a9ba5}.search-box input{width:100%;border:1px solid #e1e9ee;border-radius:7px;padding:10px 10px 10px 35px;font-size:12px;outline-offset:1px;background:#f8fafc}.conversation-tabs{display:flex;gap:7px;margin-top:13px}.conversation-tab{border:0;background:none;color:#768c99;padding:5px 8px;font-size:12px;border-radius:5px}.conversation-tab.active{background:#edf7f3;color:#247a5d}.conversation-list{overflow:auto;flex:1;padding:7px}.conversation-item{width:100%;display:flex;gap:11px;text-align:left;align-items:flex-start;padding:14px 11px;background:#fff;border:0;border-radius:8px}.conversation-item:hover{background:#f7fafb}.conversation-item.active{background:#eff7f4}.group-avatar{display:grid;place-items:center;width:37px;height:37px;flex:none;background:#e7f1ec;color:#588371;border-radius:11px;font-size:17px;font-weight:600}.group-avatar.purple{background:#ede7f7;color:#8a70ab}.conversation-info{min-width:0;flex:1}.conversation-topline{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:6px}.conversation-topline strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-topline time{font-size:12px;color:#8a9ca6;white-space:nowrap}.conversation-preview{font-size:12px;color:#81939e;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:194px}.unread-count{display:inline-grid;place-items:center;background:#228b68;color:white;border-radius:10px;min-width:17px;height:17px;padding:0 5px;font-size:12px;flex:none}.thread{display:flex;flex-direction:column;min-width:0;min-height:0}.thread-header{padding:17px 22px;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);min-height:79px}.thread-heading{flex:1}.thread-heading h2{font-size:15px}.thread-heading p{font-size:12px;color:var(--muted);margin-top:4px}.thread-scroll{padding:20px 25px;overflow:auto;flex:1;background:linear-gradient(180deg,#fbfdfc,#fff 140px)}.thread-date{display:flex;justify-content:center;color:#8a9aa4;font-size:12px;margin:0 0 24px}.thread-date span{background:#f1f5f7;border-radius:15px;padding:6px 13px}.message-row{display:flex;gap:10px;margin-bottom:21px;align-items:flex-start}.message-row.mine{flex-direction:row-reverse}.message-content{max-width:78%;min-width:0}.message-meta{font-size:12px;color:#8b9ba5;margin:0 1px 7px;display:flex;gap:8px;align-items:center}.message-meta strong{color:#607987;font-size:12px;font-weight:600}.mine .message-meta{justify-content:flex-end}.message-bubble{background:#f0f4f7;border-radius:0 10px 10px 10px;padding:11px 14px;font-size:13px;line-height:1.8;color:#405969;overflow-wrap:anywhere;white-space:pre-wrap}.mine .message-bubble{background:#e9f5ee;color:#32654e;border-radius:10px 0 10px 10px}.message-bubble img{display:block;max-width:100%;max-height:250px;border-radius:6px;object-fit:contain}.message-reply{padding:7px 10px;background:#ffffff9c;border-left:2px solid #85b3a1;margin-bottom:8px;color:#6b837a;font-size:12px;white-space:pre-wrap}.reply-control{background:none;border:0;color:#90a09c;font-size:12px;margin-top:5px;padding:0}.reply-control:hover{color:var(--green)}.message-mention{font-weight:700;color:#168565}.shift-share{display:block;text-align:left;border:1px solid #cce0d5;background:#fff;border-radius:7px;padding:9px 12px;font-size:12px;line-height:1.8;margin-top:9px;color:#43785d;max-width:100%}.thread-composer{border-top:1px solid var(--line);padding:15px 22px 12px;background:white}.composer-box{border:1px solid #dce6ec;border-radius:9px;padding:10px 12px}.composer-box textarea{display:block;border:0;width:100%;resize:none;min-height:45px;font-size:13px;line-height:1.7;padding:2px;background:transparent;outline-offset:1px}.composer-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}.composer-tools-left{display:flex;align-items:center;gap:4px}.composer-tools-left .icon-button{width:29px;height:29px;border:0;background:transparent}.composer-tools-left .icon-button svg{width:17px;height:17px}.composer-footnote{font-size:12px;color:#91a0aa;margin-top:9px}.reply-preview{display:flex;align-items:center;justify-content:space-between;background:#f0f7f3;border-left:3px solid #75ad94;padding:8px 10px;margin-bottom:9px;font-size:12px;color:#507161}.thread-mobile-back{display:none}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.open-shift{padding:20px}.open-shift h3{margin:15px 0 6px}.open-shift p{font-size:13px;color:var(--muted);line-height:1.8}.open-shift-footer{border-top:1px solid var(--line);padding-top:14px;margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#718793}.today-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:23px}.next-shift{padding:29px;background:var(--ink);color:white;border-radius:15px;position:relative;overflow:hidden;min-height:265px}.next-shift:after{content:"";position:absolute;width:210px;height:210px;border:35px solid #2c4b54;border-radius:50%;right:-65px;top:25px;opacity:.5;pointer-events:none}.next-shift .eyebrow{font-size:12px;letter-spacing:1.6px;color:#a0c4c0;font-weight:650}.next-shift h2{font-size:32px;letter-spacing:-1px;margin:17px 0 7px;position:relative;z-index:1}.next-shift p{color:#b9ced6;font-size:13px}.next-shift .next-shift-bottom{display:flex;justify-content:space-between;gap:15px;align-items:flex-end;margin-top:27px;position:relative;z-index:1}.next-shift .next-shift-bottom strong{display:block;font-size:14px;margin-bottom:7px}.next-shift .button{background:#a4ebce;color:#234d3e;border-color:#a4ebce}.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:9px;padding:20px}.week-day{text-align:center;background:#f7fafb;border:1px solid #edf1f4;border-radius:9px;padding:15px 4px}.week-day strong{display:block;font-size:18px;margin:10px 0}.week-day small{font-size:12px;color:#80939f;display:block}.week-day.scheduled{background:#eff8f3;border-color:#d5eadd}.week-day.scheduled strong{color:#28785a}.week-day span{font-size:12px;color:#4f8b70}.team-card{padding:22px}.team-card-head{display:flex;align-items:center;gap:13px;margin-bottom:18px}.team-card h3{font-size:15px}.team-card .role-description{font-size:12px;color:var(--muted);margin-top:4px}.team-tags{display:flex;gap:5px;flex-wrap:wrap;min-height:26px}.team-card-bottom{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding-top:16px;margin-top:16px;font-size:12px;color:var(--muted)}.request-list{display:flex;flex-direction:column;gap:13px}.request-row{display:flex;align-items:center;gap:15px;padding:20px 22px}.request-row-info{flex:1;min-width:0}.request-row h3{font-size:14px}.request-row p{font-size:12px;color:var(--muted);margin:5px 0}.request-row small{font-size:12px;color:#8e9ca5}.request-row-actions{display:flex;gap:8px;align-items:center}.request-filters{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:20px}.progress-list{padding:3px 22px 22px}.progress-row{margin-top:18px}.progress-label{display:flex;justify-content:space-between;font-size:12px;color:#6b8290;margin-bottom:9px}.progress-track{height:7px;background:#edf3f6;border-radius:5px;overflow:hidden}.progress-bar{height:100%;background:#79b99b;border-radius:5px}.data-table{width:100%;border-collapse:collapse}.data-table th{font-size:12px;color:#7a8d99;font-weight:550;background:#f8fafb}.data-table td{font-size:12px;border-top:1px solid var(--line)}.data-table th,.data-table td{padding:14px 22px;text-align:left}.notification-panel{position:absolute;right:28px;top:71px;width:min(360px,calc(100vw - 28px));background:#fff;border:1px solid var(--line);border-radius:12px;z-index:40;box-shadow:0 15px 45px #18354721}.notification-panel .card-heading{padding:16px}.notice{padding:15px 17px;border-top:1px solid var(--line);display:block;width:100%;text-align:left;background:#fff;border-left:0;border-right:0;border-bottom:0}.notice:hover{background:#f6faf8}.notice strong{display:block;font-size:12px;line-height:1.6}.notice p{font-size:12px;color:var(--muted);margin-top:5px}.notice.unread{background:#f4fbf7}.badge-dot{width:6px;height:6px;background:#2e9c73;border-radius:50%;display:inline-block;margin-right:6px}.mobile-navigation{display:none}dialog{border:1px solid #e0e8ee;border-radius:16px;padding:0;width:min(560px,calc(100vw - 30px));max-height:90vh;color:var(--ink);box-shadow:0 25px 90px #122c3a35}dialog::backdrop{background:#142d3b7d;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 25px 18px;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:20px}.dialog-body{padding:23px 25px}.dialog-body p{font-size:14px;color:#68818f;margin-bottom:15px}.dialog-footer{padding:17px 25px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px;background:#fbfcfd}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{margin-bottom:17px}.form-grid .field{margin-bottom:0}.field.full{grid-column:1/-1}.field label,.field-label{display:block;font-size:12px;color:#4e6878;font-weight:600;margin-bottom:8px}.field input,.field select,.field textarea{width:100%;border:1px solid #d9e3e9;border-radius:7px;padding:11px 12px;font-size:14px;background:#fff;color:#294654}.field textarea{resize:vertical;min-height:80px}.field small{font-size:12px;line-height:1.6;color:#82949f;display:block;margin-top:7px}.field-error{color:#ad5140!important;font-size:12px!important;background:#fff2ef;border:1px solid #f1d9d4;border-radius:7px;padding:10px;margin-bottom:14px}.info-box{padding:13px 15px;border-radius:8px;border:1px solid #d9e8f2;background:#f0f6fb;font-size:12px;color:#587c95;line-height:1.8;margin:15px 0}.info-box.warning{background:#fff8eb;border-color:#f0dfba;color:#99743a}.detail-row{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid #edf1f4;font-size:13px}.detail-row span{color:#7b909c}.detail-row strong{text-align:right;font-weight:600}.check-list{display:flex;flex-direction:column;gap:9px;max-height:250px;overflow:auto}.check-item{display:flex;align-items:center;gap:9px;padding:9px;border:1px solid #e5ecf0;border-radius:8px;font-size:13px}.check-item input{accent-color:var(--green);width:17px;height:17px}.check-item .avatar{margin:0 2px}.dialog-list{padding-left:19px;color:#657f8e;font-size:13px;line-height:1.9}.dialog-list li{margin-bottom:9px}.toast-region{position:fixed;bottom:24px;left:calc(50% + 100px);transform:translateX(-50%);z-index:90;max-width:calc(100vw - 30px);pointer-events:none}.toast{background:#193b3b;color:white;border:1px solid #376459;padding:13px 20px;border-radius:10px;box-shadow:0 8px 25px #14392b24;font-size:13px;line-height:1.7;animation:toast-enter .16s ease-out}.toast.error{background:#744f41;border-color:#986c5c}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23738693' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;padding-right:28px!important}@keyframes toast-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.schedule-grid{min-width:1100px}.schedule-grid th:first-child{width:200px}.shift-card strong{font-size:12px}.shift-card small{font-size:12px}.staff-cell strong{font-size:12px}.staff-cell small{font-size:12px}.stat-card{padding:21px 23px}.main-content{padding-top:34px}}
@media(max-width:1150px){.app-layout{grid-template-columns:195px minmax(0,1fr)}.sidebar{padding:27px 12px 18px}.brand{font-size:15px;margin-left:7px}.brand img{width:32px;height:32px}.restaurant-picker{padding:10px 8px}.restaurant-logo{padding:6px}.restaurant-picker strong{font-size:12px}.main-content{padding:25px 22px}.topbar{padding:0 22px}.stats-grid{gap:11px}.stat-card{padding:16px 14px}.stat-corner{display:none}.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.messages-layout{grid-template-columns:245px minmax(0,1fr)}.messages-layout{grid-template-columns:245px minmax(0,1fr)}.conversation-preview{max-width:157px}.schedule-hint{display:none}.page-heading h1{font-size:26px}.topbar-actions{gap:11px}.today-grid{grid-template-columns:1fr}.lower-grid{grid-template-columns:1fr 1fr}.request-preview{padding:14px 16px}.request-preview .avatar{display:none}.request-preview .button{padding:7px}.page-heading{align-items:flex-start}.heading-actions .button{padding:10px 12px}.week-navigation h2{min-width:160px;font-size:14px}.message-content{max-width:87%}}
@media(max-width:800px){.app-layout{display:block}.sidebar{display:flex;position:static;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;height:var(--mobile-header-height);padding:8px 17px}.sidebar .brand{margin:0;gap:9px;font-size:18px;flex:none}.sidebar .brand small,.sidebar .nav-label,.sidebar .nav-list,.sidebar .sidebar-bottom,.sidebar .venue-details{display:none}.sidebar .brand img{width:32px;height:32px}.sidebar .restaurant-picker{margin:0;padding:0;border:0;width:112px;gap:2px;flex:none}.sidebar .restaurant-logo{padding:5px;border-radius:6px}.sidebar .restaurant-picker small{font-size:12px;line-height:1.2}.topbar{height:70px;padding:0 18px}.breadcrumb{font-size:12px}.topbar-actions{gap:10px}.profile-switch select{max-width:143px;font-size:12px}.profile-switch label{font-size:12px}.profile-switch>.avatar{display:none}.topbar-divider{display:none}.topbar-actions>.icon-button:first-child{display:none}.main-content{padding:22px 17px 98px}.page-heading{margin-bottom:20px;gap:12px}.page-heading h1{font-size:25px;letter-spacing:-.7px}.page-heading p{font-size:12px;line-height:1.7}.heading-actions{gap:6px}.heading-actions .button{font-size:12px;padding:9px 10px;min-height:36px}.heading-actions .button svg{width:14px;height:14px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.stat-card{padding:15px 16px}.stat-label{font-size:12px}.stat-value{font-size:25px}.stat-sub{font-size:12px}.stat-corner{display:block;right:13px;top:14px;padding:5px}.stat-corner svg{width:14px;height:14px}.week-toolbar{padding:15px;gap:12px}.week-navigation{gap:7px}.week-navigation h2{font-size:13px;min-width:153px}.week-navigation>.button{display:none}.week-toolbar .tabs{margin-left:auto}.filter-toolbar{padding:12px 15px}.filter-chip{font-size:12px;padding:6px 8px}.schedule-grid th:first-child{width:149px}.staff-cell{padding-left:12px;gap:7px}.staff-cell strong{font-size:12px}.staff-cell small{font-size:12px}.staff-cell .avatar{width:25px;height:25px;font-size:12px}.schedule-grid thead th:first-child{padding-left:13px}.schedule-footer{padding:12px 15px;align-items:flex-start;flex-direction:column;gap:9px;font-size:12px}.legend{gap:10px}.lower-grid{grid-template-columns:1fr;gap:17px;margin-top:18px}.card-heading{padding:18px}.card-heading h2{font-size:16px}.request-preview{padding:14px 18px}.request-preview .avatar{display:inline-grid}.request-preview strong{font-size:12px}.request-preview p{font-size:12px}.announcement{padding:0 18px 18px}.announcement p{font-size:12px}.mobile-navigation{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #dce6eb;background:#fffffff7;backdrop-filter:blur(12px);z-index:30;padding:9px 5px max(10px,env(safe-area-inset-bottom))}.mobile-nav-item{position:relative;background:none;border:0;color:#8193a0;font-size:12px;display:flex;flex-direction:column;align-items:center;gap:5px;min-height:42px}.mobile-nav-item svg{width:20px;height:20px}.mobile-nav-item.active{color:var(--green)}.mobile-nav-item .nav-count{position:absolute;top:-4px;left:calc(50% + 5px);font-size:8px;min-width:14px;padding:2px 4px;background:#e58b62;color:#fff;border:2px solid white;border-radius:9px}.messages-layout{height:calc(100dvh - 259px - var(--mobile-header-height));min-height:calc(460px - var(--mobile-header-height));grid-template-columns:220px minmax(0,1fr)}.conversation-preview{max-width:130px}.conversation-tools{padding:15px 12px}.conversation-item{padding:13px 8px;gap:8px}.conversation-item .group-avatar,.conversation-item .avatar{width:31px;height:31px;font-size:12px}.conversation-topline strong{font-size:12px}.thread-header{padding:15px}.thread-scroll{padding:18px 14px}.thread-composer{padding:13px}.message-bubble{font-size:12px}.cards-grid{gap:12px}.open-shift{padding:16px}.team-card{padding:18px}.request-row{padding:17px;gap:11px;align-items:flex-start}.request-row>.avatar{width:30px;height:30px;font-size:12px}.request-row-actions{flex-direction:column;align-items:flex-end;gap:6px}.request-row-actions .pill{font-size:12px}.request-row p{font-size:12px}.request-row h3{font-size:12px}.request-row small{font-size:12px}.toast-region{bottom:87px;left:50%;width:max-content}.toast{font-size:12px;padding:12px 15px}.next-shift{padding:24px;min-height:240px}.next-shift h2{font-size:28px}.week-strip{gap:5px;padding:15px}.week-day{padding:12px 3px}.week-day strong{font-size:16px}.week-day small{font-size:12px}.week-day span{font-size:12px}.data-table th,.data-table td{padding:13px 14px}.card.table-card{overflow:auto}.offline-strip{padding:9px 18px;font-size:12px}.notification-panel{top:calc(61px + var(--mobile-header-height));right:12px}.dialog-header{padding:20px}.dialog-body{padding:20px}.dialog-footer{padding:15px 20px}}
@media(max-width:560px){.page-heading{flex-wrap:wrap}.heading-actions{width:100%;justify-content:flex-start}.page-heading.messages-heading{flex-wrap:nowrap}.page-heading.messages-heading .heading-actions{width:auto}.messages-layout{display:block;position:relative;height:calc(100dvh - 246px - var(--mobile-header-height));min-height:calc(460px - var(--mobile-header-height))}.conversation-sidebar{height:100%;border-right:0}.conversation-item{padding:16px 12px}.conversation-topline strong{font-size:13px}.conversation-preview{max-width:235px;font-size:12px}.conversation-topline time{font-size:12px}.conversation-item .group-avatar,.conversation-item .avatar{width:40px;height:40px;font-size:13px}.conversation-tools{padding:16px}.conversation-tools .search-box input{font-size:13px}.conversation-tools-top h2{font-size:17px}.messages-layout .thread{display:none}.messages-layout.chat-open .thread{display:flex;height:100%;position:absolute;inset:0;background:white;z-index:2}.messages-layout.chat-open .conversation-sidebar{visibility:hidden}.thread-mobile-back{display:inline-flex;width:28px;height:30px;border:0;background:transparent;padding:0;align-items:center}.thread-header{gap:8px;padding:12px;min-height:69px}.thread-header .group-avatar,.thread-header>.avatar{width:32px;height:32px;font-size:12px}.thread-heading h2{font-size:14px}.thread-header .icon-button{width:31px;height:31px}.message-content{max-width:86%}.thread-scroll{padding:18px 12px}.thread-composer{padding:11px}.composer-box textarea{font-size:13px}.composer-footnote{font-size:12px}.thread-date{margin-bottom:20px}.message-row{gap:7px}.message-row>.avatar{width:25px;height:25px;font-size:12px}.cards-grid{grid-template-columns:1fr}.cards-grid.team-grid{grid-template-columns:1fr 1fr}.team-card{padding:15px}.team-card-head{gap:8px;margin-bottom:13px;align-items:flex-start}.team-card .avatar.large{width:33px;height:33px;font-size:12px}.team-card h3{font-size:12px}.team-card .role-description{font-size:12px}.team-card .pill{font-size:12px}.team-card-bottom{flex-direction:column;align-items:flex-start;gap:10px}.request-filters{align-items:flex-start}.request-filters .tabs{max-width:100%;overflow:auto}.request-row{flex-wrap:wrap}.request-row-info{min-width:calc(100% - 55px)}.request-row-actions{width:100%;flex-direction:row;justify-content:flex-end}.form-grid{gap:13px}.dialog-header h2{font-size:18px}.next-shift .next-shift-bottom{align-items:center}.next-shift .next-shift-bottom strong{font-size:12px}.week-navigation h2{min-width:141px}.week-toolbar .tabs{margin-left:0}.stat-sub{font-size:12px}.stats-grid{gap:9px}.stat-label{font-size:12px}.stat-card{padding:14px 12px}.stat-corner{display:none}.schedule-footer{font-size:12px}.breadcrumb svg{display:none}.breadcrumb{gap:8px}.breadcrumb span{font-size:12px}.profile-switch select{max-width:138px}.dialog-footer{flex-wrap:wrap}.dialog-footer .button{flex:1}.dialog-footer .button.link{flex:initial}.week-strip{padding:12px;gap:5px}.week-day{padding:11px 2px}.next-shift h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.mobile-navigation,.heading-actions,.button,.filter-toolbar,.page-footnote,.lower-grid,.icon-button,.toast-region{display:none!important}.app-layout{display:block}.main-content{padding:0}.schedule-scroll{overflow:visible}.schedule-grid{min-width:0}.schedule-grid th:first-child{position:static;width:140px}.shift-card{padding:6px 3px;min-height:50px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.stats-grid{margin-bottom:12px}.stat-card{padding:10px}.card{border-color:#aaa}.schedule-grid td{padding:4px 3px}.add-cell{display:none}}

/* Task labels remain readable at every viewport size. */
.button,.button.small,.nav-item,.tab,.filter-chip,.conversation-tab,.stat-label,.staff-cell strong,.shift-card strong,.shift-card small,.conversation-topline strong,.thread-heading h2,.request-row h3,.request-row p,.team-card h3,.data-table td,.field label,.field-label{font-size:14px}.shift-card strong{white-space:normal}.schedule-grid{min-width:1040px}.schedule-grid th:first-child{width:205px}.shift-card{padding:9px 8px}.staff-cell{padding-left:18px}.staff-cell small,.stat-sub,.conversation-preview,.thread-heading p,.message-meta,.message-meta strong,.composer-footnote,.schedule-footer,.page-footnote,.request-row small button,.pill,.reply-control,.team-card .role-description,.team-card-bottom,.announcement-author,.announcement-author strong,.shift-share{font-size:12px}.message-bubble,.announcement p,.dialog-body p,.composer-box textarea{font-size:16px}.field input,.field select,.field textarea{font-size:16px}.conversation-preview{max-width:185px}.thread-heading h2{font-size:16px}.message-content{max-width:83%}.schedule-grid td{height:103px}.stat-corner{display:none}.profile-switch select{font-size:14px;max-width:180px}.request-preview strong,.request-preview p{font-size:14px}.next-shift p{font-size:16px}.brand small{font-size:12px}.sidebar-note p,.sidebar-note button,.sidebar-version,.mobile-nav-item,.nav-label{font-size:12px}.request-row{gap:13px}.composer-footnote{line-height:1.6}.schedule-grid thead th{font-size:12px}.stat-value{margin-top:12px}.sidebar-note{padding:14px 12px}.card-heading p{font-size:12px}.conversation-topline time{font-size:12px}.thread-date{font-size:12px}.conversation-preview{line-height:1.7}.shift-share svg{width:15px;height:15px}.page-footnote{line-height:1.7}.sidebar .nav-item{font-size:14px}.button.small{padding:8px 11px}.team-card-bottom{gap:10px;flex-wrap:wrap}.pill svg{width:12px;height:12px}.message-mention{font-weight:700}.thread-composer{flex-shrink:0}.message-bubble{line-height:1.75}.profile-switch label{font-size:12px}.thread-scroll{scroll-behavior:auto}.field-error{font-size:14px!important}.conversation-info{min-width:0}.schedule-hint{font-size:12px}.schedule-grid thead th:first-child .pill{display:block;width:max-content;margin-top:6px}.dialog-list{font-size:14px}.info-box{font-size:14px}
@media(max-width:1150px){.messages-layout{grid-template-columns:250px minmax(0,1fr)}.conversation-preview{max-width:150px}.schedule-grid{min-width:1040px}.team-card h3{font-size:14px}}
@media(max-width:800px){.breadcrumb{font-size:14px}.breadcrumb span{font-size:14px}.topbar{gap:8px}.profile-switch select{max-width:155px;font-size:14px}.heading-actions .button{font-size:14px}.week-navigation h2{font-size:14px;min-width:174px}.week-toolbar{gap:12px}.week-toolbar .tabs{margin-left:0}.schedule-grid th:first-child{width:180px}.staff-cell strong{font-size:14px}.staff-cell small{font-size:12px}.staff-cell{padding-left:12px}.staff-cell .avatar{width:28px;height:28px;font-size:10px}.filter-chip{font-size:14px}.messages-layout{grid-template-columns:230px minmax(0,1fr)}.message-content{max-width:87%}.conversation-preview{max-width:143px}.card-heading{padding:18px}.page-heading p{font-size:14px}.button.small{font-size:14px}.request-preview .avatar{display:none}.request-preview strong,.request-preview p{font-size:14px}.team-card .role-description,.team-card .pill{font-size:12px}.composer-footnote{font-size:12px}.toast{font-size:14px}.request-row p{font-size:14px}.stat-label{font-size:14px}.stat-sub{font-size:12px}.request-row h3{font-size:14px}.conversation-item .group-avatar,.conversation-item .avatar{width:32px;height:32px}.mobile-nav-item{font-size:12px}.week-day small,.week-day span{font-size:12px}.next-shift p{font-size:14px}.page-footnote{font-size:12px}}
@media(max-width:560px){.messages-layout{display:block;height:calc(100dvh - 302px - var(--mobile-header-height));min-height:calc(510px - var(--mobile-header-height))}.conversation-preview{max-width:225px;font-size:14px}.conversation-topline strong{font-size:14px}.conversation-tools .search-box input{font-size:16px}.thread-heading h2{font-size:16px}.thread-heading p{font-size:12px}.composer-box textarea,.message-bubble{font-size:16px}.cards-grid.team-grid{grid-template-columns:1fr}.team-card-head{align-items:center}.team-card .avatar.large{width:44px;height:44px;font-size:14px}.team-card h3{font-size:16px}.team-card-bottom{flex-direction:row;align-items:center}.thread-composer{padding:10px}.thread-header{padding:11px 9px;gap:6px}.thread-header .icon-button{width:29px}.message-content{max-width:85%}.profile-switch select{max-width:150px}.week-toolbar .tabs{flex-wrap:wrap}.week-navigation h2{font-size:14px;min-width:165px}.stat-value{font-size:27px}.stat-label{font-size:14px}.stat-card{padding:15px 13px}.card-heading h2{font-size:17px}.page-heading.messages-heading{flex-wrap:wrap}.page-heading.messages-heading .heading-actions{width:100%}.conversation-item .group-avatar,.conversation-item .avatar{width:39px;height:39px}.mobile-nav-item .nav-count{font-size:10px}.sidebar-version{font-size:12px}}


/* Phone app frame: header and tabs stay outside the scrolling content. */
@media screen and (max-width:800px){
  html,body{height:100%;overflow:hidden;overscroll-behavior:none}
  #app{position:fixed;top:var(--app-viewport-top,0px);left:0;right:0;height:100vh;height:var(--app-viewport-height,100dvh);min-height:0;overflow:hidden}
  .app-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:100%;min-height:0;overflow:hidden}
  .sidebar{height:calc(var(--mobile-header-height) + env(safe-area-inset-top,0px));padding-top:calc(8px + env(safe-area-inset-top,0px));padding-left:max(17px,env(safe-area-inset-left,0px));padding-right:max(17px,env(safe-area-inset-right,0px))}
  .workspace{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden}
  .topbar{grid-row:1;min-width:0}
  .topbar-actions{flex:none}
  .breadcrumb{min-width:0;overflow:hidden;white-space:nowrap}
  .breadcrumb span{overflow:hidden;text-overflow:ellipsis}
  .workspace-notices{grid-row:2;min-width:0}
  .main-content{grid-row:3;min-width:0;min-height:0;width:100%;max-width:none;margin:0;padding:22px max(17px,env(safe-area-inset-right,0px)) 24px max(17px,env(safe-area-inset-left,0px));overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scroll-padding-top:12px}
  .mobile-navigation{position:relative;grid-row:4;bottom:auto;left:auto;right:auto;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;padding-left:max(5px,env(safe-area-inset-left,0px));padding-right:max(5px,env(safe-area-inset-right,0px))}
  .main-content.messages-page{display:flex;flex-direction:column;overflow:hidden}
  .messages-page>.page-heading{flex:none}
  .messages-page .messages-layout{flex:1 1 0;min-width:0;min-height:0;height:auto;max-height:none}
  .messages-page .conversation-sidebar,.messages-page .thread,.messages-page .thread-scroll{min-height:0}
  .messages-page .thread-header{flex:none}
  .messages-page .thread-scroll{overscroll-behavior-y:contain}
  .notification-panel{top:61px;max-height:calc(100% - 82px);overflow-y:auto}
  .toast-region{bottom:calc(87px + env(safe-area-inset-bottom,0px))}
}

@media screen and (max-width:560px){
  .workspace.conversation-open .topbar{display:none}
  .main-content.chat-page{padding:0}
  .chat-page>.page-heading,.chat-page .composer-footnote{display:none}
  .chat-page .messages-layout{border-radius:0;border-left:0;border-right:0}
}


/* Match the website demo branding; compact phones show the mark alone. */
.admin-setup{max-width:640px;padding:24px}
.admin-setup small,.account-email{color:#637684;line-height:1.6;overflow-wrap:anywhere}
.setup-actions{display:flex;justify-content:flex-end;margin-top:20px}
.settings-section+.settings-section{border-top:1px solid #e2e8ed;margin-top:22px;padding-top:12px}
.settings-section p{line-height:1.7}
.settings-section .heading-actions{flex-wrap:wrap}
.optional-label{font-weight:400;color:#637684}
.account-card .team-tags{margin-top:12px}
.account-actions{display:flex;gap:8px;flex-wrap:wrap}
.account-delete-button{margin-right:auto}
.deletion-summary{border:1px solid var(--line);border-radius:10px;padding:0 14px;margin:16px 0}
@media screen and (max-width:800px){.admin-setup{padding:20px}.account-card .team-card-bottom{flex-wrap:wrap}}
.sidebar .brand{display:flex;align-items:center;gap:9px;margin:0 0 28px;padding:0;background:transparent;border:0;border-radius:0}
.sidebar .brand .brand-mark{display:block;width:38px;height:auto;max-width:none;flex:none;padding:0;background:transparent;border:0;border-radius:0;object-fit:contain}
.sidebar .brand .brand-wordmark{display:block;width:124px;height:auto;max-width:none;flex:none;padding:0;background:transparent;border:0;border-radius:0;object-fit:contain}
@media screen and (max-width:800px){
  .sidebar .brand{width:48px;max-width:none;flex:0 0 48px;margin:0;padding:0;gap:0}
  .sidebar .brand .brand-mark{width:48px}
  .sidebar .brand .brand-wordmark{display:none}
}

/* Calendar import setup, preview, and subscriptions. */
.calendar-sources{margin-top:20px;align-items:start}.calendar-source{min-width:0}.calendar-source .card-heading{align-items:flex-start}.calendar-source .card-heading h2{overflow-wrap:anywhere}.calendar-source-body{padding:20px}.calendar-source-body p{margin-bottom:12px;overflow-wrap:anywhere}.calendar-source-body .heading-actions{justify-content:flex-start;flex-wrap:wrap}.calendar-review{color:#915012;font-weight:600}.calendar-check{align-items:flex-start;margin-top:18px}.calendar-check input{margin-top:5px;flex:none}.calendar-rules{margin-top:20px;padding:14px;border:1px solid var(--line);border-radius:10px}.calendar-rules summary{cursor:pointer;font-weight:650}.calendar-rules p{font-size:13px;margin:12px 0}.calendar-rules .form-grid{margin-top:10px}.calendar-preview-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:14px 0;font-size:12px}.calendar-preview{max-height:48vh;overflow:auto;border:1px solid var(--line);border-radius:9px;margin-bottom:16px}.calendar-preview-table{width:100%;min-width:570px;border-collapse:collapse;font-size:12px}.calendar-preview-table th{position:sticky;top:0;background:#f0f5f3;text-align:left;font-weight:650;z-index:1}.calendar-preview-table th,.calendar-preview-table td{padding:12px;border-bottom:1px solid var(--line);vertical-align:top}.calendar-preview-table td small{display:block;max-width:230px;overflow-wrap:anywhere;margin-top:4px}.calendar-preview-table input[type="checkbox"]{width:18px;height:18px;accent-color:var(--green)}.calendar-preview-table td strong{display:block;max-width:200px;overflow-wrap:anywhere}.calendar-source-body h2{margin-bottom:10px}
@media(max-width:600px){.calendar-sources{grid-template-columns:minmax(0,1fr)}.calendar-source .card-heading{padding:16px;gap:8px}.calendar-source-body{padding:16px}.calendar-preview{max-height:45vh}.calendar-check{font-size:13px}.calendar-rules{padding:10px}}
.calendar-dialog form{display:flex;flex-direction:column;max-height:90vh}.calendar-dialog .dialog-body{overflow:auto;overscroll-behavior:contain;min-height:0}.calendar-dialog .dialog-header,.calendar-dialog .dialog-footer{flex:none}.calendar-preview-dialog{width:min(900px,calc(100vw - 30px))}
@media(max-width:600px){.calendar-preview-table{min-width:0;display:block}.calendar-preview-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.calendar-preview-table tbody{display:block}.calendar-preview-table tr{display:grid;grid-template-columns:35px minmax(0,1fr);border-bottom:1px solid var(--line);padding:8px}.calendar-preview-table td{display:block;padding:4px;border:0;grid-column:2}.calendar-preview-table td:first-child{grid-column:1;grid-row:1 / span 3}.calendar-preview-table td strong,.calendar-preview-table td small{max-width:none}.calendar-preview-table td:nth-child(3){font-size:13px}.calendar-preview-table td:last-child{font-size:12px;color:#536e7c}}
