.calendar-page{max-width:1450px;margin:0 auto}.calendar-month{padding:0;overflow:hidden}.calendar-month-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;border-bottom:1px solid var(--line)}.calendar-month-heading h2{font-size:18px;margin:0}.calendar-month-heading>div{display:flex;gap:6px}.calendar-month-heading .button{border-radius:8px;padding:8px 12px;font-size:11px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekday{text-align:right;padding:10px 12px;background:#f5f9fa;color:#8a9fa8;font-size:10px;font-weight:600;border-bottom:1px solid var(--line)}.calendar-day{min-width:0;min-height:115px;padding:7px;border-right:1px solid #edf2f4;border-bottom:1px solid #edf2f4;background:#fff}.calendar-day:nth-child(7n){border-right:0}.calendar-day.is-other-month{background:#f9fbfc;color:#b4c0c5}.calendar-day.is-today{background:#f0f8f9}.calendar-day-add{display:flex;align-items:center;justify-content:space-between;width:100%;padding:4px 5px;background:transparent;color:inherit;font-size:11px;border-radius:6px}.calendar-day-add>i{font-size:9px;opacity:0;color:var(--teal);margin:0}.calendar-day-add:hover{background:#e8f2f5;color:var(--teal)}.calendar-day-add:hover>i,.calendar-day-add:focus-visible>i{opacity:1}.calendar-event-chip{display:flex;align-items:center;gap:6px;width:100%;padding:5px 7px;margin-top:4px;border-radius:6px;font-size:10px;line-height:1.4;text-align:left;background:#e6f1f5;color:#488196;border-left:2px solid #83b6c5}.calendar-event-chip:hover{background:#d7e9ef}.calendar-event-chip>time{font-size:9px;flex-shrink:0}.calendar-event-chip>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.calendar-more{display:block;text-align:right;font-size:10px;padding:3px}.calendar-agenda{display:flex;flex-direction:column;gap:8px}.calendar-agenda-event{display:flex;align-items:center;gap:15px;width:100%;background:#f8fbfc;border:1px solid #e4edef;border-radius:12px;padding:13px 16px;color:var(--ink);text-align:left;min-width:0}.calendar-agenda-event:hover{background:#eff7f8;text-decoration:none;border-color:#c5dfe6;color:var(--ink)}.calendar-date-badge{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;width:43px;height:47px;background:#e8f2f5;border-radius:11px;color:var(--teal);line-height:1.3}.calendar-date-badge strong{font-size:17px}.calendar-date-badge>span{font-size:9px}.calendar-event-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.calendar-event-copy>strong{font-size:12px;overflow-wrap:anywhere}.calendar-event-copy>small{font-size:10px;font-weight:400;color:#8aa1ac}.calendar-agenda-event>i{font-size:10px;color:#9ab4be}.dashboard-calendar{margin-top:24px}.dashboard-calendar>.block-heading{padding:0 0 17px;margin-bottom:18px}.dashboard-calendar h2{font-size:17px}.dashboard-calendar>.block-heading>a{font-size:12px}
.calendar-dialog{padding:0;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink);width:min(650px,calc(100vw - 30px));max-height:calc(100dvh - 50px);box-shadow:0 20px 80px #173b4a25;overflow:hidden}.calendar-dialog[open]{display:flex;flex-direction:column}.calendar-dialog::backdrop{background:#18394770}.calendar-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid var(--line);flex-shrink:0}.calendar-dialog h2{font-size:18px;margin:0}.calendar-dialog>form{display:flex;flex-direction:column;overflow:hidden;min-height:0}.calendar-form-body{padding:0 22px 20px;overflow:auto;min-height:0}.calendar-dialog label{font-size:12px}.calendar-dialog input,.calendar-dialog textarea{font-size:12px;border-radius:9px;padding:10px 12px;min-height:40px}.calendar-dialog textarea{display:block;width:100%;resize:vertical;max-height:35vh;border:1px solid #ccdde2;margin-top:7px;color:var(--ink)}.calendar-form-pair{display:grid;grid-template-columns:1fr 1fr;gap:13px}.calendar-form-pair label{min-width:0}.calendar-form-body>p,.calendar-form-body>small{font-size:10px;color:var(--muted);margin-top:16px}.calendar-dialog footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:13px 22px;flex-shrink:0}.calendar-dialog footer>button{font-size:12px;padding:9px 13px;border-radius:8px}.calendar-dialog footer>button:first-child:not(:last-child){margin-right:auto}.calendar-confirm{max-width:450px}.calendar-dialog [hidden]{display:none!important}
.mail-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:nowrap}.mail-row-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d8e6eb;border-radius:7px;color:#7396a4;background:#f4f8fa;padding:6px 9px;font-size:10px;line-height:1.4;min-height:30px;white-space:nowrap;margin:0}.mail-row-action>i{font-size:11px;margin:0}.mail-row-action:hover{background:#e7f2f5;color:var(--teal)}.mail-row-action[data-action=flag].is-active{color:#c16366;background:#fae8e8;border-color:#edc7c9}.mail-row-action[data-action=process].is-active{color:#5f8c73;background:#eaf4ed;border-color:#cbe1d2}.mail-danger{color:#ba635e!important;background:#fbefec!important;border-color:#efd4ce!important}.mail-danger:hover{color:#a14743!important;background:#f7deda!important}.mail-row-action:disabled{opacity:.5;cursor:wait}.mail-flagged>td{background:#fff0f0!important;border-bottom-color:#f2d9dc}.mail-flagged>td:first-child{box-shadow:inset 3px 0 #cf7c81}.mail-flagged:hover>td{background:#fce6e8!important}section.mail-flagged{border-color:#eac4c7;background:#fff6f6}.mail-preview-dialog.mail-flagged>.mail-modal-heading{background:#fff0f1}.sent-mail-actions{display:flex;justify-content:flex-end;margin-bottom:18px}.mail-workflow-list table{white-space:normal;min-width:800px}.mail-workflow-list td{font-size:11px;padding:12px 14px;vertical-align:middle}.mail-workflow-list th{font-size:10px;padding:12px 14px}.mail-workflow-list td:first-child{font-size:10px;white-space:nowrap}.mail-workflow-list td:nth-child(3){min-width:190px;max-width:450px}.mail-workflow-list td:last-child{width:200px}.mail-workflow-list .mail-snippet{font-size:10px;color:#9aaeb7}.dashboard-mails th:nth-child(1){width:135px}.dashboard-mails th:nth-child(2){width:20%}.dashboard-mails th:nth-child(4){width:210px}.dashboard-mails td:last-child{padding:8px 14px}.dashboard-mails .mail-row-actions{justify-content:flex-end}.project-mail-box th:last-child:has(+th){width:auto}.project-mail-box td:has(.mail-row-actions){padding:10px;min-width:195px}
#dashboard-mail-dialog .mail-modal-heading{padding:16px 22px}#dashboard-mail-dialog .mail-modal-heading h2{font-size:17px}#dashboard-mail-dialog .reader-details{margin:0;border-radius:0;padding:10px 22px;background:#fbfdfe;border:0;border-bottom:1px solid #e6eef1;flex-shrink:0;max-height:180px;overflow:auto}#dashboard-mail-dialog .reader-details summary{font-size:10px;line-height:1.5}#dashboard-mail-dialog .reader-details .mail-meta{margin:8px 0 0;font-size:10px;line-height:1.5;grid-template-columns:110px minmax(0,1fr);gap:4px 12px}#dashboard-mail-dialog .reader-details dd{overflow-wrap:anywhere}#dashboard-mail-dialog .reader-toolbar{padding:9px 22px;gap:6px;align-items:center}#dashboard-mail-dialog .reader-toolbar>button{padding:7px 10px;min-height:31px;border-radius:7px;font-size:10px;margin:0}#mail-move-form{display:grid;grid-template-columns:minmax(125px,185px) auto;gap:6px;align-items:center;margin:0 0 0 auto;min-width:0}#mail-move-form select{display:block;min-width:0;width:100%;max-width:none;font-size:10px;min-height:31px;border-radius:7px;padding:6px 25px 6px 9px;margin:0}#mail-move-form button{display:block;min-height:31px;margin:0;padding:7px 10px;font-size:10px;border-radius:7px;white-space:nowrap}#dashboard-mail-dialog>.mail-modal-scroll{padding:0 12px;scrollbar-gutter:stable}#dashboard-mail-status{padding:0;margin:0}#dashboard-mail-status:not(:empty){padding:15px}#dashboard-mail-dialog .mail-modal-footer{padding:10px 22px;gap:8px}#dashboard-mail-dialog .mail-modal-footer button{font-size:11px;padding:9px 13px;border-radius:8px}#dashboard-mail-dialog .email-html-frame{min-height:160px;height:160px;max-height:none!important}#reader-workflow-actions .mail-row-actions{gap:5px}.reader-details[hidden]{display:none!important}
#mail-reply-dialog{width:min(1120px,calc(100vw - 36px))}#mail-reply-dialog .mail-modal-heading{padding:15px 22px}#mail-reply-dialog .mail-modal-heading h2{font-size:17px}#mail-reply-dialog .mail-modal-scroll{padding:14px 22px}#mail-reply-dialog .compose-top-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px}#mail-reply-dialog label{font-size:11px;line-height:1.5;margin:0;min-width:0}#mail-reply-dialog input,#mail-reply-dialog select{font-size:12px;padding:8px 10px;min-height:37px;margin-top:5px;border-radius:8px;width:100%;min-width:0}#mail-reply-dialog .copy-fields{grid-column:1/-1;margin:0;padding:0}#mail-reply-dialog .copy-fields summary{font-size:10px;margin:0}#mail-reply-dialog .recipients-pair{grid-template-columns:1fr 1fr;gap:14px;margin-top:7px}#mail-reply-dialog .compose-top-fields>label:last-child{grid-column:1/-1}#mail-reply-dialog .compose-attachments-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 0;margin:0 0 8px;border-bottom:1px solid #e8eff2}#mail-reply-dialog .attachment-picker{display:flex;align-items:center;gap:10px;font-size:10px;margin:0}#mail-reply-dialog .attachment-picker input{font-size:10px;width:auto;max-width:260px;min-height:30px;margin:0;padding:5px 7px}#mail-reply-dialog .compose-attachments-top>small{font-size:9px;color:#99adb7}#mail-reply-dialog .reply-file-list{flex-basis:100%;margin:0;list-style:none;padding:0}#mail-reply-dialog .reply-file-list li{margin:4px 0;font-size:10px}#mail-reply-dialog .rich-editor{min-height:220px;padding:14px;font-size:13px;line-height:1.7}#mail-reply-dialog .editor-shell{margin-top:5px;border-radius:9px}#mail-reply-dialog .editor-toolbar{padding:5px}#mail-reply-dialog .editor-toolbar button{font-size:11px;padding:5px 8px}#mail-reply-dialog .mail-modal-footer{padding:11px 22px}#mail-reply-dialog .mail-modal-footer button{font-size:11px;padding:9px 15px;border-radius:8px}
@media(max-width:1050px){#mail-move-form{margin-left:0}#dashboard-mail-dialog .reader-toolbar{gap:6px}#reader-workflow-actions{flex-basis:100%}}
@media(max-width:700px){.calendar-day{min-height:80px;padding:3px}.calendar-event-chip{padding:4px;display:block;font-size:8px}.calendar-event-chip time{display:block;font-size:8px}.calendar-event-chip span{display:block}.calendar-weekday{padding:8px 4px;font-size:9px}.calendar-day-add{font-size:10px}.calendar-month-heading{padding:13px;flex-wrap:wrap}.calendar-month-heading h2{font-size:15px}.calendar-agenda-event{padding:11px;gap:10px}.calendar-form-pair{grid-template-columns:1fr;gap:0}.calendar-dialog>header{padding:15px}.calendar-form-body{padding:0 15px 15px}#mail-reply-dialog .compose-top-fields{grid-template-columns:1fr}#mail-reply-dialog .mail-modal-scroll{padding:12px 15px}#mail-reply-dialog .compose-attachments-top{display:block}#mail-reply-dialog .compose-attachments-top>small{margin-top:6px}#mail-reply-dialog .recipients-pair{grid-template-columns:1fr;gap:8px}#dashboard-mail-dialog .reader-details{padding:9px 15px;max-height:155px}#dashboard-mail-dialog .reader-details .mail-meta{grid-template-columns:75px minmax(0,1fr);font-size:9px}#dashboard-mail-dialog .reader-toolbar{padding:8px 15px}#mail-move-form{grid-template-columns:minmax(0,1fr) auto;flex-basis:100%;width:100%}#dashboard-mail-dialog .mail-modal-footer{padding:9px 15px}.dashboard-mails table{min-width:750px}.calendar-day-add>i{display:none}}
.mail-preview-dialog [hidden],.compose-dialog [hidden]{display:none!important}.calendar-page [hidden]{display:none!important}
