.quick-menu{position:relative}.quick-menu[open]{z-index:100}.quick-menu summary{cursor:pointer;border:1px solid var(--border);border-radius:8px;place-items:center;width:34px;height:32px;font-weight:800;list-style:none;display:grid}.quick-menu summary:before{content:"⋯";font-size:20px;line-height:1;transform:translateY(-2px)}.quick-menu summary::-webkit-details-marker{display:none}.quick-menu-popover{z-index:100;border:1px solid var(--border);background:var(--surface-strong);border-radius:9px;gap:6px;min-width:190px;padding:7px;display:grid;position:absolute;top:calc(100% + 5px);right:0;box-shadow:0 10px 24px #00000029}.quick-menu-popover button,.quick-menu-popover a{width:100%;min-height:auto;color:var(--text);font:inherit;text-align:left;background:0 0;border:0;border-radius:6px;padding:9px 10px;text-decoration:none;display:block}.quick-menu-popover button:hover,.quick-menu-popover a:hover{background:var(--accent-soft)}.quick-menu-popover .danger-menu-action{color:var(--danger)}.quick-menu-popover .quick-menu-primary{border:1px solid var(--border);background:var(--surface-muted);padding:7px 8px;font-size:12px;font-weight:700}.sender-priority-control{border-top:1px solid var(--border);gap:4px;padding-top:6px;display:grid}.sender-priority-control>span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:800}.sender-priority-control>div{border:1px solid var(--border);background:var(--surface-muted);border-radius:8px;grid-template-columns:repeat(3,1fr);padding:2px;display:grid}.sender-priority-control>div button{text-align:center;border-radius:5px;padding:5px 3px;font-size:10px;font-weight:700}.sender-priority-control>div button.selected{background:var(--surface-strong);box-shadow:0 1px 4px #00000024}.sender-priority-control>div button.selected.low{color:var(--danger)}.sender-priority-control>div button.selected.high{background:var(--accent);color:#1f2600}.email-preview-modal{border:1px solid var(--border);background:var(--surface-strong);border-radius:12px;flex-direction:column;width:min(100%,680px);max-height:min(82vh,760px);display:flex;overflow:hidden;box-shadow:0 24px 70px #0000003d}.email-preview-modal>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:18px;padding:18px;display:flex}.email-preview-modal h2{margin:2px 0 0;font-size:20px}.email-preview-modal header button{border:1px solid var(--border);min-height:30px;color:var(--muted);background:0 0;padding:5px 9px}.email-preview-meta{color:var(--muted);justify-content:space-between;align-items:flex-start;gap:16px;padding:10px 18px;font-size:12px;display:flex}.email-preview-addresses{gap:4px;min-width:0;display:grid}.email-preview-addresses span{overflow-wrap:anywhere;grid-template-columns:38px minmax(0,1fr);gap:6px;display:grid}.email-preview-addresses b{color:var(--text);text-transform:uppercase;font-size:10px}.email-preview-meta-actions{white-space:nowrap;flex:none;align-items:center;gap:10px;display:flex}.email-preview-meta .show-email-images{border:1px solid var(--border);background:var(--surface-muted);min-height:24px;color:var(--text);padding:3px 7px;font-size:10px}@media (max-width:620px){.email-preview-meta{display:grid}.email-preview-meta-actions{justify-content:space-between}}.email-preview-scroll{overscroll-behavior:contain;background:var(--background);flex:auto;min-height:0;overflow-y:auto}.email-preview-thread{margin:14px 18px 18px}.email-preview-thread .email-thread-history{max-height:none;overflow:visible}.email-preview-thread>.email-thread-loading,.email-preview-thread>.email-thread-warning{border:1px solid var(--border);border-top:0;border-radius:0 0 8px 8px}.email-thread-current-content{border-top:1px solid var(--border)}.email-thread-message>.email-thread-current-content:first-child{border-top:0}.email-thread-current-content .formatted-email-body,.email-thread-current-content .formatted-email-frame{min-height:80px}.formatted-email-body{background:var(--background);min-height:100px;color:var(--text);overflow-wrap:anywhere;padding:14px 18px;font-size:13px;line-height:1.55}.formatted-email-body p{margin:0 0 12px}.formatted-email-body p:last-child{margin-bottom:0}.formatted-email-body a{color:var(--accent-dark);word-break:break-all;font-weight:650}.formatted-email-body figure{margin:0 0 14px}.formatted-email-body img{object-fit:contain;cursor:zoom-in;width:auto;max-width:100%;height:auto;display:block}.formatted-email-frame{background:#fff;border:0;width:100%;min-height:120px;display:block;overflow:hidden}.inline-email-images-loading{border-top:1px solid var(--border);background:var(--surface-muted);color:var(--muted);padding:8px 18px;font-size:10px}.inline-email-images{border-top:1px solid var(--border);background:#fff;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:10px 18px 14px;display:flex}.inline-email-images img{object-fit:contain;object-position:left center;cursor:zoom-in;width:auto;max-width:min(240px,100%);height:auto;max-height:120px;display:block}.email-preview-image-button{cursor:zoom-in;background:0 0;border:0;border-radius:4px;max-width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.email-preview-image-button:hover{box-shadow:0 0 0 2px var(--accent)}.email-preview-image-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.email-image-viewer .attachment-viewer-content{background:#1c1b1af5;padding:18px}.email-image-viewer .attachment-viewer-content>img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:100%}.email-preview-modal>footer{border-top:1px solid var(--border);justify-content:flex-end;padding:12px 18px;display:flex}.email-preview-modal>footer a{color:var(--text);font-size:12px;font-weight:700}.email-preview-actions{align-items:center;gap:8px}.email-preview-actions>a{margin-right:auto}.email-preview-actions>button{border:1px solid var(--border);min-height:34px;box-shadow:none;border-radius:7px;padding:6px 11px}.email-preview-actions>.email-action-primary{border-color:var(--accent);background:var(--accent);color:#202500}.email-preview-actions>.email-action-primary:hover{border-color:var(--accent-dark);background:var(--accent-dark);color:#fff}.email-preview-actions>.email-action-secondary{background:var(--surface-strong);color:var(--text)}.email-preview-actions>.email-action-secondary:hover{background:var(--accent-soft);color:var(--text);border-color:#c4d56d}.email-preview-actions>.email-action-trash{color:#a5372c;background:snow;border-color:#e7cbc7}.email-preview-actions>.email-action-trash:hover{color:#84291f;background:#fcecea;border-color:#cf7d74}.email-attachments{border:1px solid var(--border);background:var(--surface-strong);border-radius:9px;gap:7px;padding:10px;display:grid}.email-attachments>header{justify-content:space-between;align-items:center;gap:10px;display:flex}.email-attachments>header strong{color:var(--muted);font-size:10px}.email-attachments-compact{background:#fafaf8;border-width:1px 0 0;border-radius:0;margin:0;padding:9px 18px 11px}.email-attachments-compact>header strong{font-size:10px}.attachment-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:6px;display:grid}.email-attachments button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.email-attachments .attachment-download-all{border:1px solid var(--border);background:var(--surface-strong);width:28px;min-width:28px;min-height:28px;color:var(--muted);border-radius:7px;place-items:center;padding:0;display:grid}.email-attachments .attachment-download-all:hover{background:var(--accent-soft);color:var(--text);border-color:#c4d56d}.attachment-list>article{border:1px solid var(--border);background:var(--surface-strong);width:100%;min-height:52px;color:var(--text);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;display:grid}.attachment-list>article:hover{background:#fbfcf3;border-color:#c4d56d}.attachment-list>article>.attachment-file-type{background:var(--accent);color:#283000;letter-spacing:.04em;border-radius:7px;place-items:center;min-width:36px;height:32px;padding:0 5px;font-size:8px;font-weight:900;display:grid}.attachment-list>article>div{gap:2px;min-width:0;display:grid}.attachment-list>article.image-attachment-card{border-color:var(--border);background:var(--background);min-height:0;padding:0;display:block;position:relative;overflow:hidden}.attachment-image-wrap{min-width:0;height:112px;position:relative;overflow:hidden}.attachment-image-preview{background:var(--background);width:100%;height:100%;color:var(--muted);border:0;border-radius:0;place-items:center;padding:0;display:grid;overflow:hidden}.attachment-image-preview:hover{background:var(--background)}.attachment-image-preview img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block}.attachment-image-preview>span{font-size:9px;font-weight:700}.attachment-image-overlay{color:#fff;opacity:0;pointer-events:none;background:linear-gradient(#0000,#2b2826d1);justify-content:space-between;align-items:end;gap:6px;padding:22px 6px 6px;transition:opacity .13s,transform .13s;position:absolute;bottom:0;left:0;right:0;transform:translateY(4px);display:flex!important}.attachment-image-wrap:hover .attachment-image-overlay,.attachment-image-wrap:focus-within .attachment-image-overlay{opacity:1;transform:translateY(0)}.attachment-image-overlay>span{gap:1px;min-width:0;display:grid}.attachment-image-overlay strong,.attachment-image-overlay small{color:#fff;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.attachment-image-overlay strong{font-size:9px}.attachment-image-overlay small{opacity:.86;font-size:8px}.attachment-image-download{width:27px;min-width:27px;min-height:27px;color:var(--text);pointer-events:auto;background:#fffffff0;border:1px solid #ffffffb8;border-radius:6px;flex:none;place-items:center;padding:0;display:grid;box-shadow:0 2px 7px #2b28261f}.attachment-image-download:hover{border-color:var(--accent);background:var(--accent);color:#202500}@media (hover:none){.attachment-image-overlay{opacity:1;transform:none}}.attachment-list strong,.attachment-list small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.attachment-list strong{font-size:11px}.attachment-list small{color:var(--muted);font-size:9px}.attachment-actions{gap:5px;display:flex}.attachment-actions button{min-height:29px;padding:4px 7px;font-size:9px}.attachment-actions .attachment-file-download{place-items:center;width:29px;min-width:29px;padding:0;display:grid}.attachment-actions .attachment-save-document{white-space:nowrap}.attachment-viewer-backdrop{z-index:900;background:#2b28268f;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.attachment-viewer{box-sizing:border-box;border:1px solid var(--border);border-top:3px solid var(--accent);background:var(--surface-strong);border-radius:14px;grid-template-rows:auto minmax(0,1fr);width:min(1180px,100%);height:min(860px,100vh - 32px);display:grid;overflow:hidden;box-shadow:0 24px 70px #2b28263d}.attachment-viewer>header{border-bottom:1px solid var(--border);background:var(--surface-strong);justify-content:space-between;align-items:center;gap:16px;padding:13px 16px 12px;display:flex}.attachment-viewer>header>div:first-child{min-width:0}.attachment-viewer>header .eyebrow{color:var(--accent-dark);letter-spacing:.08em;font-size:8px}.attachment-viewer>header h2{text-overflow:ellipsis;white-space:nowrap;max-width:780px;margin:3px 0 0;font-size:15px;line-height:1.25;overflow:hidden}.attachment-viewer>header>div:last-child{gap:6px;display:flex}.attachment-viewer>header button{border-radius:7px;min-height:32px;padding:5px 10px;font-size:11px}.attachment-viewer>header .attachment-viewer-download{background:var(--accent-soft);border-color:#cbd989}.attachment-viewer>header .attachment-viewer-download:hover{border-color:var(--accent);background:var(--accent);color:#202500}.attachment-viewer>header .attachment-viewer-close{background:var(--surface-muted)}.attachment-viewer-content{background:#f8f8f7;place-items:center;min-height:0;display:grid;overflow:auto}.attachment-viewer-content iframe{background:#fff;border:0;width:100%;height:100%}.attachment-viewer-content>img{object-fit:contain;max-width:100%;max-height:100%}.pdf-preview{grid-template-rows:auto minmax(0,1fr);width:100%;height:100%;min-height:0;display:grid}.pdf-preview-toolbar{z-index:1;border-bottom:1px solid var(--border);background:var(--surface-muted);justify-content:space-between;align-items:center;gap:10px;padding:7px 14px;display:flex;box-shadow:0 1px 4px #2b28260d}.pdf-preview-toolbar>div{align-items:center;gap:6px;display:flex}.pdf-preview-toolbar span{color:var(--muted);text-align:center;font-size:9px;font-weight:750}.pdf-preview-toolbar .pdf-page-count{background:var(--accent-soft);color:#485500;border:1px solid #dce6a8;border-radius:999px;min-width:0;padding:4px 7px}.pdf-preview-toolbar .pdf-zoom-label{letter-spacing:.04em;text-transform:uppercase;margin-right:2px}.pdf-preview-toolbar .pdf-zoom-value{min-width:42px;color:var(--text)}.pdf-preview-toolbar .pdf-zoom-button{width:29px;min-width:29px;padding:0;font-size:16px}.pdf-preview-stage{background:color-mix(in srgb, var(--surface-muted) 72%, #d7d7d3);text-align:center;min-width:0;min-height:0;padding:22px;position:relative;overflow:auto}.pdf-pages{justify-items:center;gap:18px;width:fit-content;min-width:100%;display:grid}.pdf-page{background:#fff;flex:none;margin:0;position:relative;overflow:hidden;box-shadow:0 3px 14px #2b282629}.pdf-page canvas{background:#fff;width:100%;height:100%;display:block}.pdf-page canvas.is-hidden{visibility:hidden}.pdf-page-loading,.pdf-page-error{z-index:1;border:1px solid var(--border);background:var(--surface-strong);color:var(--muted);border-radius:6px;padding:7px 9px;font-size:9px;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pdf-page-error{color:var(--danger)}.pdf-preview-status{z-index:2;border:1px solid var(--border);background:var(--surface-strong);color:var(--muted);border-radius:7px;padding:8px 11px;font-size:10px;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 3px 14px #2b28261f}.attachment-no-preview{text-align:center;max-width:390px;padding:24px}.attachment-no-preview p{color:var(--muted)}.attachment-badge{border:1px solid var(--border);background:var(--surface-muted);color:var(--muted);text-transform:uppercase;border-radius:5px;flex:none;padding:2px 5px;font-size:8px;font-weight:800}@media (max-width:620px){.attachment-viewer>header{align-items:flex-start;padding:11px}.attachment-viewer>header h2{font-size:13px}.attachment-viewer>header button{min-height:30px;padding:4px 7px}.pdf-preview-toolbar{padding:6px 9px}.pdf-preview-toolbar .pdf-zoom-label{display:none}.pdf-preview-stage{padding:10px}.pdf-pages{gap:10px}}.task-review-modal{width:min(100%,680px)}.task-review-modal>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:18px;padding:18px;display:flex}.task-review-modal h2{margin:2px 0 0;font-size:20px}.task-review-modal header button{border:1px solid var(--border);min-height:30px;color:var(--muted);background:0 0;padding:5px 9px}.task-review-form{background:var(--background);gap:15px;min-height:180px;padding:18px;display:grid;overflow:auto}.task-review-form label{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;display:grid}.task-review-form label>span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;grid-column:1/-1;font-size:10px;font-weight:800}.task-review-form input:not([type=range]),.task-review-form textarea{box-sizing:border-box;border:1px solid var(--border);background:var(--background);width:100%;color:var(--text);font:inherit;border-radius:8px;grid-column:1/-1;padding:10px}.task-review-form textarea{resize:vertical;min-height:110px}.task-review-form input[type=range]{width:100%;accent-color:var(--accent-dark)}.task-review-modal>footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:14px;padding:12px 18px;display:flex}.task-review-modal>footer span{color:var(--muted);font-size:11px}.source-badge{--source-color:#697168;--source-background:#eef0eb;border:1px solid color-mix(in srgb, var(--source-color) 35%, transparent);background:var(--source-background);width:fit-content;color:var(--source-color);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:2px 7px;font-size:10px;font-weight:700;line-height:1.2;display:inline-flex}.source-badge svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:12px;height:12px}.source-badge-compact{padding:1px 5px;font-size:9px}.source-email{--source-color:#245f91;--source-background:#e8f2fb}.source-calendar{--source-color:#6e4aa1;--source-background:#f1ebfa}.source-task{--source-color:#477525;--source-background:#edf5e5}.source-slack{--source-color:#7b376f;--source-background:#f7eaf4}.source-teams{--source-color:#4f54a4;--source-background:#ececfa}.source-document{--source-color:#875d12;--source-background:#faf1dc}.today-source-line{align-items:center;gap:6px;min-width:0;display:flex!important}.today-source-line>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.today-ai-summary{min-width:0;overflow:hidden!important}.today-ai-summary>span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.email-row-preview{position:relative}.email-row-preview[data-ai-summary]:hover:after,.email-row-preview[data-ai-summary]:focus-visible:after{content:attr(data-ai-summary);z-index:1000;border:1px solid var(--border);color:#fff;text-align:left;white-space:normal;background:#2f302b;border-radius:7px;width:max-content;max-width:min(430px,65vw);padding:7px 9px;font-size:10px;font-weight:500;line-height:1.4;position:absolute;top:calc(100% - 3px);left:70px;box-shadow:0 8px 22px #0003}.recommendation-button{background:var(--accent-soft);color:var(--text);text-align:left;border:1px solid #d8e68a;gap:1px;font-size:11px;font-weight:800;line-height:1.1;display:grid;min-height:32px!important;padding:4px 9px!important}.recommendation-button span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:8px}.recommendation-action-group{background:var(--surface-strong);border:1px solid #d8e68a;border-radius:7px;align-items:stretch;display:flex;overflow:hidden}.recommendation-once-button{background:var(--accent-soft);color:var(--text);text-align:left;border-radius:0;align-content:center;gap:0;font-size:10px;font-weight:800;line-height:1.05;display:grid;min-height:30px!important;padding:3px 8px!important}.recommendation-once-button small{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:7px;font-weight:800}.recommendation-always-button{background:var(--surface-strong);color:var(--muted);border-left:1px solid #d8e68a;border-radius:0;font-size:8px;font-weight:800;min-height:30px!important;padding:4px 7px!important}.recommendation-once-button:hover,.recommendation-always-button:hover{background:var(--accent)}.recommendation-review-modal{grid-template-rows:auto auto minmax(0,1fr) auto;width:min(100%,620px);display:grid}.recommendation-review-context{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:11px 18px;display:flex}.recommendation-review-context>div{gap:2px;min-width:0;display:grid}.recommendation-review-context strong,.recommendation-review-context span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.recommendation-review-context span{color:var(--muted);font-size:11px}.recommendation-review-body{background:var(--background);gap:14px;padding:18px;display:grid;overflow:auto}.recommendation-review-body>p{margin:0;font-size:14px;line-height:1.5}.recommendation-safety-note{border:1px solid var(--border);background:var(--surface-muted);border-radius:8px;justify-content:space-between;gap:14px;padding:9px 11px;font-size:11px;display:flex}.recommendation-safety-note span{color:var(--muted)}.recommendation-fields{background:0 0;min-height:0;padding:0}.recommendation-instruction{gap:6px;display:grid}.recommendation-instruction span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:800}.recommendation-instruction textarea{border:1px solid var(--border);background:var(--surface-strong);min-height:100px;color:var(--text);font:inherit;resize:vertical;border-radius:8px;padding:10px}.recommendation-review-actions{justify-content:space-between!important}.recommendation-review-actions button{min-height:34px;padding:7px 11px}.recommendation-review-actions .recommendation-dismiss{color:var(--muted);background:0 0;border:0}.recommendation-review-actions>div{gap:8px;display:flex}.recommendation-review-actions .recommendation-empty-reply{background:var(--surface-strong)}.automation-confirm-modal{border:1px solid var(--border);background:var(--surface-strong);border-radius:10px;gap:10px;width:min(440px,100%);padding:15px;display:grid;box-shadow:0 16px 45px #0003}.automation-confirm-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.automation-confirm-heading>div{gap:2px;min-width:0;display:grid}.automation-confirm-heading span{font-size:12px;font-weight:850}.automation-confirm-heading strong{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:650;overflow:hidden}.automation-confirm-heading>button{width:24px;min-width:24px;height:24px;min-height:24px;color:var(--muted);background:0 0;border:0;padding:0;font-size:16px}.automation-confirm-modal>p{color:var(--muted);margin:0;font-size:10px;line-height:1.4}.automation-scope-preview{border:1px solid var(--border);background:var(--background);border-radius:8px;gap:0;display:grid;overflow:hidden}.automation-scope-preview>div{border-bottom:1px solid var(--border);grid-template-columns:112px minmax(0,1fr);gap:8px;padding:8px 10px;display:grid}.automation-scope-preview>div:last-child{border-bottom:0}.automation-scope-preview span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:8px;font-weight:800}.automation-scope-preview strong{overflow-wrap:anywhere;font-size:10px;line-height:1.35}.automation-scope-preview .automation-match-preview{grid-template-columns:112px minmax(0,1fr)}.automation-match-preview small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;grid-column:2;font-size:9px;overflow:hidden}.automation-scope-preview .automation-preview-warning{color:#7a4a12;background:#fff8ed}.automation-confirm-modal>footer{justify-content:flex-end;gap:6px;padding-top:2px;display:flex}.automation-confirm-modal>footer button{min-height:28px;padding:4px 8px;font-size:9px}.activity-overview{border-top:1px solid var(--border);gap:8px;margin-top:24px;padding-top:18px;display:grid}.activity-panel{border:1px solid var(--border);background:var(--surface-muted);border-radius:9px;overflow:visible}.activity-panel>summary{cursor:pointer;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:10px;padding:11px 13px;list-style:none;display:grid}.activity-panel>summary::-webkit-details-marker{display:none}.activity-panel>summary>div{gap:2px;display:grid}.activity-panel>summary strong{font-size:12px}.activity-panel>summary b{background:var(--accent);color:#202600;border-radius:999px;place-items:center;min-width:24px;height:24px;font-size:11px;display:grid}.activity-panel>summary i:before{content:"⌄";font-style:normal;font-weight:900}.activity-panel[open]>summary i:before{content:"⌃"}.automation-activity-panel{border-color:var(--border);background:var(--surface-strong);box-shadow:none;opacity:1;border-radius:10px;transition:border-color .15s}.automation-activity-panel:hover{border-color:color-mix(in srgb, var(--border) 70%, var(--muted))}.automation-activity-summary{width:100%;color:var(--text);text-align:left;background:0 0;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 16px;display:grid}.automation-activity-panel.is-open .automation-activity-summary{border-radius:10px}.automation-activity-summary:hover{background:0 0}.automation-activity-heading{align-items:center;gap:11px;display:flex!important}.automation-activity-heading>div{gap:2px;display:grid}.automation-activity-heading .eyebrow{letter-spacing:.07em;margin:0;font-size:9px}.automation-activity-heading strong{color:var(--text);font-size:13px!important}.automation-activity-heading small{color:var(--muted);font-size:10px}.automation-activity-icon{border:1px solid var(--border);background:var(--surface-strong);width:26px;height:26px;color:var(--muted);border-radius:50%;flex:0 0 26px;place-items:center;font-size:14px;font-weight:800;display:grid}.automation-activity-toggle{color:var(--muted);white-space:nowrap;align-items:center;gap:5px;font-size:10px;display:inline-flex}.automation-activity-toggle>b{background:var(--surface-muted);min-width:25px;height:25px;color:var(--text);border-radius:999px;place-items:center;font-size:10px;display:grid}.automation-activity-toggle>i{color:var(--muted);font-size:13px;font-style:normal;line-height:1;transition:transform .15s}.automation-activity-toggle>i:before{content:none}.automation-activity-panel.is-open .automation-activity-toggle>i{transform:rotate(180deg)}.automation-disclosure-content{opacity:0;grid-template-rows:0fr;transition:grid-template-rows .18s,opacity .14s;display:grid}.automation-disclosure-content>.activity-list{min-height:0;overflow:hidden}.automation-activity-panel.is-open .automation-disclosure-content{opacity:1;grid-template-rows:1fr}.automation-activity-panel .activity-list{padding-top:0}.activity-list{padding:0 12px 11px;display:grid}.activity-list article{border-top:1px solid var(--border);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:48px;padding:7px 0;display:grid}.automation-activity-row.is-clickable{cursor:pointer;border-radius:6px;margin:0 -6px;padding-left:6px;padding-right:6px;transition:background-color .14s}.automation-activity-row.is-clickable:hover,.automation-activity-row.is-clickable:focus-visible{background:var(--surface-muted);outline:none}.automation-activity-row.is-clickable:hover>div:nth-child(2) strong,.automation-activity-row.is-clickable:focus-visible>div:nth-child(2) strong{text-decoration:underline;-webkit-text-decoration-color:var(--border);text-decoration-color:var(--border);text-underline-offset:2px}.activity-list article>div:nth-child(2){gap:2px;min-width:0;display:grid}.activity-list article>div:nth-child(2) strong,.activity-list article>div:nth-child(2) span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.activity-list article>div:nth-child(2) strong{font-size:12px}.activity-list article>div:nth-child(2) span{color:var(--muted);font-size:10px}.activity-actions{align-items:center;gap:6px;display:flex}.activity-actions button,.activity-actions a{border:1px solid var(--border);background:var(--surface-strong);min-height:28px;color:var(--text);border-radius:6px;padding:5px 8px;font-size:10px;font-weight:750;text-decoration:none}.activity-status{background:var(--surface-strong);color:var(--muted);text-transform:capitalize;border-radius:999px;padding:3px 6px;font-size:9px}.activity-status.status-undone{color:var(--danger)}.prepared-activity{background:var(--accent-soft);border-color:#d8e68a}.automation-offers{gap:8px;margin-top:22px;display:grid}.automation-offers article{background:var(--accent-soft);border:1px solid #c9dc67;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;display:grid}.automation-offer-icon{background:var(--accent);color:#252c00;border-radius:50%;place-items:center;width:34px;height:34px;font-size:20px;font-weight:900;display:grid}.automation-offers article>div:nth-child(2){gap:3px;display:grid}.automation-offers strong{font-size:13px}.automation-offers p{color:var(--muted);margin:0;font-size:10px}.automation-offer-actions{align-items:center;gap:6px;display:flex}.automation-offer-actions button{min-height:30px;padding:6px 9px;font-size:10px}.automation-offer-actions .text-button{color:var(--muted);background:0 0;border:0}.automation-rule-row{background:color-mix(in srgb, var(--accent-soft) 45%, transparent)}.preference-page{max-width:920px}.preference-page-header{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.preference-page-header h1{margin:2px 0 5px}.preference-page-header p:last-child{color:var(--muted);margin:0}.preference-workspace{gap:4px;min-width:190px;display:grid}.preference-workspace span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:9px;font-weight:800}.preference-workspace select{border:1px solid var(--border);background:var(--surface-strong);min-height:36px;color:var(--text);font:inherit;border-radius:8px;padding:6px 30px 6px 9px;font-weight:700}.preference-notice{background:var(--accent-soft);border:1px solid #d8e68a;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding:9px 12px;font-size:12px;font-weight:700;display:flex}.preference-notice button{min-height:24px;color:var(--muted);background:0 0;border:0;padding:2px 6px}.preference-summary-card{border:1px solid var(--border);background:var(--surface-strong);border-radius:12px;margin-top:26px;overflow:hidden}.preference-summary-card>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:15px 17px;display:flex}.preference-summary-card h2{margin:2px 0 0;font-size:17px}.preference-summary-card>header button{border:1px solid var(--border);background:var(--surface-muted);min-height:32px;color:var(--text);padding:6px 10px}.signature-settings>.form-success,.signature-settings>.form-error{border-radius:7px;margin:10px 16px 0;padding:7px 9px}.preference-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.preference-summary-grid>div{border-right:1px solid var(--border);gap:3px;min-width:0;padding:15px 17px;display:grid}.preference-summary-grid>div:last-child{border-right:0}.preference-summary-grid span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:9px;font-weight:800}.preference-summary-grid strong{text-overflow:ellipsis;font-size:12px;line-height:1.35;overflow:hidden}.preference-summary-grid small{color:var(--muted);font-size:9px}.preference-rule-groups{gap:9px;margin-top:18px;display:grid}.preference-rule-panel{border:1px solid var(--border);background:var(--surface-strong);border-radius:10px;transition:background-color .15s,border-color .15s;overflow:hidden}.preference-rule-panel:hover{border-color:color-mix(in srgb, var(--border) 70%, var(--muted));background:var(--surface-muted)}.preference-rule-summary{width:100%;color:var(--text);text-align:left;background:0 0;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 16px;display:grid}.preference-rule-summary:hover{background:0 0}.preference-rule-summary>div{gap:2px;display:grid}.preference-rule-summary strong{font-size:14px}.preference-rule-summary span{color:var(--muted);font-size:10px}.preference-rule-toggle{grid-auto-flow:column;align-items:center;color:var(--text)!important;gap:5px!important;display:inline-flex!important}.preference-rule-toggle>b{background:var(--surface-strong);border-radius:999px;place-items:center;min-width:25px;height:25px;font-size:10px;display:grid}.preference-rule-toggle>i{color:var(--muted);font-size:13px;font-style:normal;line-height:1;transition:transform .18s}.preference-rule-panel.is-open .preference-rule-toggle>i{transform:rotate(180deg)}.preference-rule-content{opacity:0;grid-template-rows:0fr;transition:grid-template-rows .22s,opacity .18s;display:grid}.preference-rule-content>.compact-rule-list{min-height:0}.preference-rule-panel.is-open .preference-rule-content{opacity:1;grid-template-rows:1fr}.compact-rule-list{scrollbar-gutter:stable;overscroll-behavior:contain;max-height:240px;padding:0 15px 10px;display:grid;overflow-y:auto}.compact-rule-list article{border-top:1px solid var(--border);grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:46px;padding:6px 0;display:grid}.compact-rule-list article>div:nth-child(2){gap:1px;min-width:0;display:grid}.compact-rule-list article>div:nth-child(2) strong,.compact-rule-list article>div:nth-child(2) span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.compact-rule-list article>div:nth-child(2) strong{font-size:11px}.compact-rule-list article>div:nth-child(2) span{color:var(--muted);font-size:9px}.compact-rule-list em{background:var(--surface-muted);letter-spacing:.03em;text-transform:uppercase;border-radius:999px;padding:3px 6px;font-size:8px;font-style:normal;font-weight:850}.compact-rule-list .rule-high,.compact-rule-list .rule-active{background:var(--accent-soft);color:#485500}.compact-rule-list .rule-low{color:var(--danger)}.compact-rule-list .rule-paused{color:var(--muted)}.compact-rule-list .rule-failed{color:var(--danger);background:#f9e8e5}.compact-rule-list .rule-with-failure{background:#f9e8e573}.compact-rule-list .rule-with-failure>div:nth-child(2) span{color:var(--danger)}.compact-rule-list button{border:1px solid var(--border);background:var(--surface-muted);min-height:27px;color:var(--text);border-radius:6px;padding:4px 7px;font-size:9px;font-weight:750}.compact-rule-list .rule-remove{color:var(--muted);background:0 0;border-color:#0000}.compact-rule-actions{gap:4px;display:flex}.compact-rule-list .user-activity-row{grid-template-columns:auto minmax(0,1fr) auto}.activity-row-controls{justify-content:flex-end;align-items:center;gap:5px;display:flex}.activity-state{background:var(--surface-muted);min-height:25px;color:var(--muted);letter-spacing:.03em;text-transform:uppercase;border-radius:6px;align-items:center;gap:4px;padding:3px 7px;font-size:8px;font-weight:850;display:inline-flex}.activity-state:before{background:var(--surface-strong);content:"•";border-radius:50%;place-items:center;width:13px;height:13px;font-size:9px;display:grid}.activity-state.state-completed{background:var(--accent-soft);color:#485500}.activity-state.state-completed:before{content:"✓"}.activity-state.state-undone:before{content:"↶"}.activity-state.state-failed{color:var(--danger);background:#f9e8e5}.activity-state.state-failed:before{content:"!"}@media (prefers-reduced-motion:reduce){.preference-rule-content,.preference-rule-toggle>i{transition:none}}.compact-rule-list .compact-rule-link,.compact-rule-list .activity-undo-button{border:1px solid var(--border);background:var(--surface-strong);min-height:27px;color:var(--text);border-radius:6px;align-items:center;padding:4px 8px;font-size:9px;font-weight:750;line-height:1;text-decoration:none;display:inline-flex}.compact-rule-list .compact-rule-link:hover{border-color:var(--muted);background:var(--surface-muted)}.compact-rule-list .activity-undo-button{background:var(--surface-muted);color:var(--muted)}.compact-rule-list .activity-undo-button:hover{border-color:var(--accent-dark);background:var(--accent-soft);color:var(--text)}.compact-rule-empty{border-top:1px solid var(--border);margin:0;padding:13px 0 5px;font-size:11px}.automation-attention-notice{color:var(--text);background:#f9e8e5;border:1px solid #e5aaa2;border-radius:9px;justify-content:space-between;align-items:center;gap:16px;margin-top:14px;padding:11px 13px;display:flex}.automation-attention-notice>div{gap:2px;display:grid}.automation-attention-notice strong{font-size:12px}.automation-attention-notice span{color:#75433e;font-size:10px}.automation-attention-notice>button,.automation-attention-notice>a{background:var(--surface-strong);min-height:29px;color:var(--text);border:1px solid #d8938a;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:750;text-decoration:none}.automation-history-modal{border:1px solid var(--border);background:var(--surface-strong);border-radius:12px;grid-template-rows:auto auto minmax(0,1fr);width:min(100%,650px);max-height:min(82vh,720px);display:grid;overflow:hidden;box-shadow:0 24px 70px #0000003d}.automation-history-modal>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:16px;padding:17px 19px;display:flex}.automation-history-modal h2{margin:2px 0 3px;font-size:17px}.automation-history-modal header span{color:var(--muted);font-size:10px}.automation-history-modal header button{border:1px solid var(--border);min-height:29px;color:var(--muted);background:0 0;padding:5px 8px}.automation-history-summary{border-bottom:1px solid var(--border);background:var(--surface-muted);grid-template-columns:repeat(3,1fr);display:grid}.automation-history-summary>div{border-right:1px solid var(--border);gap:2px;padding:10px 15px;display:grid}.automation-history-summary>div:last-child{border-right:0}.automation-history-summary span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:8px;font-weight:800}.automation-history-summary strong{text-transform:capitalize;font-size:12px}.automation-history-list{align-content:start;padding:6px 17px 15px;display:grid;overflow:auto}.automation-history-list article{border-bottom:1px solid var(--border);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:50px;padding:8px 0;display:grid}.automation-history-list article>div{gap:2px;min-width:0;display:grid}.automation-history-list article strong,.automation-history-list article span,.automation-history-list article small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.automation-history-list article strong{font-size:11px}.automation-history-list article span,.automation-history-list article small{color:var(--muted);font-size:9px}.automation-history-list article.history-failed span{color:var(--danger)}.automation-history-list article>button{min-height:28px;padding:5px 8px;font-size:9px}.preference-header-actions{align-items:center;gap:7px;display:flex}.preference-editor{border:1px solid var(--border);background:var(--surface-strong);border-radius:12px;width:min(100%,650px);max-height:min(90vh,820px);overflow:auto;box-shadow:0 24px 70px #0000003d}.preference-editor>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:16px;padding:17px 19px;display:flex}.preference-editor h2{margin:2px 0 0;font-size:19px}.preference-editor>header button{border:1px solid var(--border);min-height:29px;color:var(--muted);background:0 0;padding:5px 8px}.preference-editor-fields{background:var(--background);grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:19px;display:grid}.preference-editor-fields label{gap:6px;display:grid}.preference-editor-fields .wide-field{grid-column:1/-1}.preference-editor-fields label>span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:9px;font-weight:850}.preference-editor-fields input,.preference-editor-fields select{box-sizing:border-box;border:1px solid var(--border);background:var(--surface-strong);width:100%;min-height:40px;color:var(--text);font:inherit;border-radius:8px;outline:none;padding:8px 10px;font-weight:650}.preference-editor-fields input:focus,.preference-editor-fields select:focus{border-color:var(--accent-dark);box-shadow:0 0 0 3px #afd1192e}.preference-editor-fields .signature-default-toggle{border:1px solid var(--border);background:var(--surface-strong);cursor:pointer;border-radius:8px;grid-column:1/-1;align-items:center;gap:9px;padding:10px 11px;display:flex}.preference-editor-fields .signature-default-toggle input{width:16px;min-width:16px;height:16px;min-height:16px;accent-color:var(--accent-dark);margin:0}.preference-editor-fields .signature-default-toggle>span{color:var(--text);letter-spacing:0;text-transform:none;font-size:11px;font-weight:700}.signature-editor .preference-editor-fields textarea{box-sizing:border-box;border:1px solid var(--border);background:var(--surface-strong);width:100%;color:var(--text);font:inherit;resize:vertical;border-radius:8px;outline:none;padding:10px;line-height:1.45}.signature-editor .preference-editor-fields textarea:focus{border-color:var(--accent-dark);box-shadow:0 0 0 3px #afd1192e}.signature-field-label{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin-bottom:6px;font-size:9px;font-weight:850;display:block}.rich-signature-control{border:1px solid var(--border);background:var(--surface-strong);border-radius:8px;position:relative;overflow:hidden}.rich-signature-toolbar{border-bottom:1px solid var(--border);background:var(--surface-muted);flex-wrap:wrap;gap:4px;padding:6px;display:flex}.rich-signature-toolbar button{min-width:30px;min-height:28px;color:var(--text);background:0 0;border:1px solid #0000;padding:4px 7px;font-size:10px}.rich-signature-toolbar button:hover{border-color:var(--border);background:var(--surface-strong)}.rich-signature-toolbar .rich-image-input{opacity:0;pointer-events:none;height:1px;position:absolute;width:1px!important;min-height:1px!important}.rich-signature-toolbar .rich-text-size,.preference-editor-fields .rich-signature-toolbar .rich-text-size{box-sizing:border-box;width:72px;min-height:28px;color:var(--text);font:inherit;background:0 0;border:1px solid #0000;border-radius:6px;outline:none;padding:3px 22px 3px 7px;font-size:10px;font-weight:700}.rich-text-size:hover,.rich-text-size:focus{border-color:var(--border);background:var(--surface-strong)}.rich-text-color{box-sizing:border-box;width:34px;min-height:28px;color:var(--text);cursor:pointer;border:1px solid #0000;border-radius:6px;place-items:center;padding:2px 5px 6px;font-size:11px;font-weight:850;display:grid;position:relative}.rich-text-color:hover,.rich-text-color:focus-within{border-color:var(--border);background:var(--surface-strong)}.rich-text-color i{border-radius:2px;height:3px;position:absolute;bottom:4px;left:6px;right:6px}.rich-signature-toolbar .rich-text-color input,.preference-editor-fields .rich-signature-toolbar .rich-text-color input{box-sizing:border-box;opacity:0;cursor:pointer;border:0;width:100%;min-width:0;height:100%;min-height:0;padding:0;position:absolute;inset:0}.rich-image-tools{border-left:1px solid var(--border);align-items:center;gap:3px;margin-left:auto;padding-left:5px;display:inline-flex}.rich-signature-editor{min-height:190px;max-height:360px;color:var(--text);outline:none;padding:12px;font-size:13px;line-height:1.45;overflow:auto}.rich-signature-editor:focus{box-shadow:inset 0 0 0 2px #afd11940}.rich-signature-editor:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.rich-signature-editor img{object-fit:contain;vertical-align:middle;touch-action:none;max-width:min(100%,360px);max-height:180px;display:inline-block}.rich-signature-editor img[width]{max-width:100%;height:auto;max-height:none}.rich-signature-editor img[align=left]{float:left;margin:2px 12px 8px 0}.rich-signature-editor img[align=right]{float:right;margin:2px 0 8px 12px}.rich-signature-editor img:hover{outline:1px dashed var(--accent-dark);cursor:grab}.rich-signature-editor img:active{cursor:grabbing}.rich-signature-editor img[data-resize-hover=true]{cursor:nwse-resize}.rich-signature-editor img:focus,.rich-signature-editor img[data-selected=true]{outline:2px solid var(--accent-dark);outline-offset:2px}.rich-signature-editor img[data-moving=true]{opacity:.78;pointer-events:none;filter:drop-shadow(0 5px 8px #2b28262e)}.rich-image-resize-frame{z-index:3;box-sizing:border-box;border:1px solid var(--accent-dark);pointer-events:none;position:absolute}.rich-image-resize-handle{border:2px solid var(--surface);background:var(--accent-dark);width:14px;min-width:14px;height:14px;min-height:14px;box-shadow:0 0 0 1px var(--accent-dark);cursor:nwse-resize;pointer-events:auto;touch-action:none;border-radius:50%;padding:0;position:absolute;bottom:-7px;right:-7px}.rich-image-resize-handle:hover{background:var(--accent)}.rich-signature-control>small{border-top:1px solid var(--border);color:var(--muted);padding:6px 10px;font-size:9px;display:block}.signature-image-editor{border:1px solid var(--border);background:var(--surface-strong);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;display:grid}.signature-image-editor>div:first-child{gap:2px;display:grid}.signature-image-editor>div:first-child>span{color:var(--text);font-size:11px;font-weight:800}.signature-image-editor>div:first-child>small{color:var(--muted);font-size:9px}.signature-image-list{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.signature-image-list figure{border:1px solid var(--border);background:var(--background);border-radius:7px;min-width:0;margin:0;padding:7px}.signature-image-list img{object-fit:contain;width:100%;height:70px}.signature-image-list figcaption{justify-content:space-between;align-items:center;gap:5px;margin-top:5px;display:flex}.signature-image-list figcaption span{text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.signature-image-list figcaption button{min-height:auto;color:var(--danger);background:0 0;border:0;padding:2px 4px;font-size:8px}.number-field{position:relative}.number-field input{padding-right:62px}.number-field i{color:var(--muted);font-size:9px;font-style:normal;font-weight:750;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.preference-editor>footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:14px;padding:12px 19px;display:flex}.preference-editor>footer>span{color:var(--muted);font-size:10px}.preference-editor>footer>div{gap:7px;display:flex}.preference-editor>footer button{min-height:33px;padding:6px 10px}@media (max-width:760px){.preference-page-header{flex-direction:column;align-items:stretch}.preference-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preference-summary-grid>div:nth-child(2){border-right:0}.preference-summary-grid>div:nth-child(-n+2){border-bottom:1px solid var(--border)}.compact-rule-list article{grid-template-columns:auto minmax(0,1fr) auto}.compact-rule-list article>em{grid-column:2;justify-self:start}.compact-rule-actions,.compact-rule-list article>.rule-remove{grid-area:1/3/span 2}.compact-rule-list .user-activity-row{grid-template-columns:auto minmax(0,1fr)}.user-activity-row .activity-row-controls{flex-wrap:wrap;grid-column:2;justify-content:flex-start}.preference-editor-fields{grid-template-columns:1fr}.preference-editor-fields .wide-field{grid-column:auto}}.collection-page{max-width:920px}.collection-page-header{justify-content:space-between;align-items:flex-end;gap:24px;padding-bottom:4px;display:flex}.collection-page-header h1{margin:2px 0 5px}.collection-page-header p:last-child{color:var(--muted);margin:0}.collection-page-header .workspace-select{border-radius:8px;min-height:36px;padding:6px 30px 6px 9px;font-weight:700}.collection-page-header .header-actions{align-items:center}.collection-page-header .header-actions button{min-height:34px;padding:6px 10px}.collection-summary{border:1px solid var(--border);background:var(--surface-strong);border-radius:12px;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:25px;display:grid;overflow:hidden}.collection-summary>div{border-right:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;min-width:0;padding:14px 16px;display:grid}.collection-summary>div:last-child{border-right:0}.collection-summary span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;align-self:center;font-size:9px;font-weight:800}.collection-summary strong{grid-area:1/2/span 2;align-self:center;font-size:19px}.collection-summary small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.collection-section-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px;display:flex}.collection-section-heading h2{margin:2px 0 0;font-size:17px}.collection-section-heading>span,.calendar-period>header span{background:var(--accent-soft);border-radius:999px;place-items:center;min-width:25px;height:25px;font-size:10px;font-weight:800;display:grid}.collection-empty{padding:13px 0;font-size:11px}.compact-filter-panel{border:1px solid var(--border);background:var(--surface-muted);border-radius:9px;gap:8px;margin:12px 0 0;padding:8px}.compact-filter-panel label{align-items:center;gap:7px;min-width:150px;display:flex}.compact-filter-panel span{font-size:8px}.compact-filter-panel select{border:1px solid var(--border);background:var(--surface-strong);border-radius:6px;min-width:0;min-height:31px;padding:4px 25px 4px 8px;font-size:11px}.email-subject-line .account-context{border:1px solid var(--border);background:var(--surface-muted);border-radius:999px;flex:none;padding:2px 6px;font-size:9px;font-weight:700}.calendar-filter-bar .account-filter{color:var(--muted);text-transform:uppercase;align-items:center;gap:7px;margin-left:auto;font-size:9px;font-weight:800;display:flex}.calendar-filter-bar .account-filter select{border:1px solid var(--border);background:var(--surface-strong);min-height:32px;color:var(--text);font:inherit;text-transform:none;border-radius:7px;padding:4px 26px 4px 8px}.composer-fields .composer-account-lock{color:var(--muted);grid-column:2;font-size:9px}.inbox-page .inbox-sections{padding-top:10px}.calendar-periods{gap:9px;margin-top:18px;display:grid}.calendar-period{border:1px solid var(--border);background:var(--surface-strong);border-radius:10px;overflow:hidden}.calendar-period>header{background:var(--surface-muted);justify-content:space-between;align-items:center;gap:14px;padding:11px 14px;display:flex}.calendar-period>header h2{margin:0;font-size:14px}.calendar-period .email-card-list{padding:0 14px}.calendar-period .calendar-card{border:0;border-bottom:1px solid var(--border);border-radius:0;align-items:center;padding:11px 0}.calendar-period .calendar-card:last-child{border-bottom:0}.calendar-period .calendar-card h3{margin:2px 0 0;font-size:13px}.calendar-period .calendar-card p{margin-top:3px;font-size:10px}.calendar-period .calendar-card>span{min-width:34px;height:34px;font-size:11px}.compact-create-panel{border:1px solid var(--border);background:var(--surface-muted);border-radius:9px;margin:12px 0 20px;padding:10px}.compact-create-panel input{border-color:var(--border);background:var(--surface-strong);border-radius:7px;min-height:37px}.compact-create-panel button{min-height:37px;padding:7px 11px}.collection-content-panel{margin-top:20px}.tasks-page .action-card{border-radius:8px;min-height:44px;padding:9px 11px}.tasks-page .action-card-main strong{font-size:12px}.tasks-page .action-card-main small{font-size:9px}.tasks-page .action-card-buttons button{min-height:29px;padding:5px 8px;font-size:10px}.tasks-page .proposal-section,.tasks-page .task-collapsible{border-color:var(--border);background:var(--surface-strong);border-radius:10px}.source-overview-card{border:1px solid var(--border);background:var(--surface-strong);border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(260px,auto);gap:22px;margin-top:25px;padding:17px;display:grid}.source-title-line{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;margin-bottom:12px;display:grid}.source-title-line h2{margin:2px 0 0;font-size:17px}.source-logo{background:var(--accent-soft);color:#425000;border-radius:9px;place-items:center;width:34px;height:34px;font-weight:900;display:grid}.source-title-line>b{letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:4px 7px;font-size:8px}.connection-active{background:var(--accent-soft);color:#485500}.connection-inactive{background:var(--surface-muted);color:var(--muted)}.source-capabilities{gap:6px;margin-top:10px;display:flex}.source-capabilities span{border:1px solid var(--border);border-radius:6px;padding:4px 7px;font-size:9px;font-weight:750}.source-capabilities .available:before{content:"✓ ";color:#5d7400}.source-capabilities .missing{color:var(--danger)}.source-overview-card .source-actions{align-content:flex-start;align-items:flex-start}.source-overview-card .source-actions button{min-height:32px;padding:6px 9px;font-size:10px}.source-header-actions{align-items:center;gap:8px;display:flex}.source-header-actions button{min-height:34px;padding:7px 10px;font-size:10px}.connected-account-list{gap:10px;margin-top:24px;display:grid}.connected-account-card{border:1px solid var(--border);background:var(--surface-strong);border-radius:10px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:14px;display:grid}.connected-account-main{align-items:center;gap:10px;min-width:0;display:flex}.connected-account-main>div{gap:2px;min-width:0;display:grid}.connected-account-main .eyebrow{margin:0;font-size:9px}.connected-account-main strong,.connected-account-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.connected-account-main strong{font-size:13px}.connected-account-main small{color:var(--muted);font-size:10px}.connected-account-actions{align-items:center;gap:6px;display:flex}.connected-account-actions button{min-height:30px;padding:5px 8px;font-size:9px}.connected-account-actions .account-disconnect{color:var(--danger)}.account-sync-error{border-left:3px solid var(--danger);color:var(--danger);background:#fff4f1;grid-column:1/-1;margin:-3px 0 0 44px;padding:8px 10px;font-size:10px}.account-sync-error strong{margin-bottom:2px;display:block}.account-sync-progress{border-left:3px solid var(--accent);background:var(--accent-soft);color:var(--text);grid-column:1/-1;margin:-3px 0 0 44px;padding:8px 10px;font-size:10px}.account-sync-progress strong{margin-bottom:2px;display:block}.account-sync-warning{color:var(--text);background:#fff8e8;border-left:3px solid #d89b18;grid-column:1/-1;margin:-3px 0 0 44px;padding:8px 10px;font-size:10px}.account-sync-warning strong{margin-bottom:2px;display:block}.connection-system-status{border:1px solid var(--border);background:var(--surface-strong);border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;margin-bottom:16px;display:grid;overflow:hidden}.connection-system-summary{gap:2px;padding:11px 13px;display:grid}.connection-system-summary .eyebrow{margin:0;font-size:8px}.connection-system-summary strong{font-size:13px}.connection-system-status small{color:var(--muted)}.connection-system-status.needs-attention{border-color:var(--danger-border)}.system-status-services{align-items:center;gap:14px;padding:11px 13px;display:flex}.system-status-services span{color:var(--muted);text-transform:capitalize;align-items:center;gap:5px;padding:0;font-size:9px;display:flex}.system-status-services span:before{content:"";background:var(--accent-dark);border-radius:999px;width:6px;height:6px}.connection-system-status.needs-attention .system-status-services span:before{background:var(--danger)}.system-status-services b{color:var(--text)}.connection-system-activity{border-top:1px solid var(--border);background:var(--surface);grid-column:1/-1;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 13px;font-size:10px;display:grid}.connection-system-activity>span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:8px;font-weight:800}.connection-system-activity>strong{overflow-wrap:anywhere;min-width:0;font-size:10px}.connection-system-activity>button{min-height:23px;color:var(--muted);background:0 0;border:0;padding:2px 6px}.connector-health-summary{border:1px solid #e3a196;border-left:4px solid var(--danger);background:#fff8f7;border-radius:10px;margin:0 0 16px;overflow:hidden}.connector-health-summary>header{border-bottom:1px solid #f0c9c2;justify-content:space-between;align-items:center;gap:14px;padding:11px 13px;display:flex}.connector-health-summary>header div{gap:2px;display:grid}.connector-health-summary>header .eyebrow{margin:0;font-size:8px}.connector-health-summary>header>span{color:var(--danger);text-transform:uppercase;font-size:9px;font-weight:800}.connector-health-summary>div{border-top:1px solid #f5dfdc;grid-template-columns:minmax(150px,.35fr) minmax(0,1fr);gap:12px;padding:9px 13px;font-size:10px;display:grid}.connector-health-summary>header+div{border-top:0}.connector-health-summary>div span{color:var(--muted)}.sync-health-history{border:1px solid var(--border);background:var(--surface-strong);border-radius:10px;margin-top:20px;overflow:hidden}.sync-health-history>header{background:var(--surface);justify-content:space-between;align-items:center;gap:16px;padding:13px 14px;display:flex}.sync-health-history>header>div{gap:2px;display:grid}.sync-health-history>header .eyebrow{margin:0;font-size:8px}.sync-health-history>header strong{font-size:12px}.sync-health-history>header small,.sync-health-history>header>span{color:var(--muted);font-size:9px}.sync-health-history-list{display:grid}.sync-health-history-list>p{color:var(--muted);margin:0;padding:18px 14px;font-size:10px}.sync-health-item{border-top:1px solid var(--border);grid-template-columns:86px minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:48px;padding:8px 12px;display:grid}.sync-health-state{background:var(--surface-muted);width:fit-content;color:var(--muted);text-transform:uppercase;border-radius:999px;padding:4px 6px;font-size:8px;font-weight:850}.sync-health-item>div{gap:2px;min-width:0;display:grid}.sync-health-item>div strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.sync-health-item>div small,.sync-health-item time{color:var(--muted);font-size:9px}.sync-health-item time{white-space:nowrap}.sync-health-item button{min-height:27px;padding:4px 7px;font-size:8px}.sync-health-item.is-completed .sync-health-state,.sync-health-item.is-recovered .sync-health-state{background:var(--accent-soft);color:#536600}.sync-health-item.is-failed .sync-health-state{color:var(--danger);background:#fff0ed}.sync-health-item.is-completed_with_warning .sync-health-state{background:var(--warning-soft);color:var(--warning)}.sync-health-item.is-running .sync-health-state,.sync-health-item.is-pending .sync-health-state{color:#536600;background:#edf5c4}.connection-health-progress{background:var(--accent-soft);color:var(--text);border-color:#d8e68a}.connection-health-progress>a{color:var(--accent-dark)}.connection-health-warning{border-color:var(--warning-border);background:var(--warning-soft);color:var(--text)}.source-empty-state{border:1px dashed var(--border);background:var(--surface-muted);border-radius:10px;justify-items:start;gap:7px;padding:24px;display:grid}.source-empty-state p{color:var(--muted);margin:0;font-size:12px}.source-empty-state button{min-height:32px;padding:6px 9px;font-size:10px}.source-maintenance{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;margin-top:20px;padding-top:16px;display:flex}.source-maintenance>div{gap:2px;display:grid}.source-maintenance strong{font-size:12px}.source-maintenance span{color:var(--muted);font-size:10px}.connection-maintenance-list{border:1px solid var(--border);background:var(--surface-strong);border-radius:10px;margin-top:20px;display:grid;overflow:hidden}.connection-maintenance-list .source-maintenance{border-top:1px solid var(--border);margin:0;padding:14px}.connection-maintenance-list .source-maintenance:first-child{border-top:0}.connection-maintenance-list .source-maintenance span{max-width:660px;line-height:1.45}.documents-page .document-list{border-radius:10px;margin-top:14px}.documents-page .document-row{min-height:48px;padding:9px 13px;font-size:11px}@media (max-width:760px){.collection-page-header{flex-direction:column;align-items:stretch}.collection-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-summary>div:nth-child(2){border-right:0}.collection-summary>div:nth-child(-n+2){border-bottom:1px solid var(--border)}.compact-filter-panel label{flex:100%}.compact-filter-panel select{flex:1}.calendar-filter-bar{flex-wrap:wrap}.calendar-filter-bar .account-filter{width:100%;margin-left:0}.calendar-filter-bar .account-filter select{flex:1;min-width:0}.source-overview-card{grid-template-columns:1fr}.source-header-actions{flex-direction:column;align-items:stretch;width:100%}.connected-account-card{grid-template-columns:1fr;align-items:start}.connected-account-actions{flex-wrap:wrap}.account-sync-error,.account-sync-warning{grid-column:auto;margin-left:0}.connection-system-status{grid-template-columns:1fr}.system-status-services{padding-top:0}.connection-system-activity{grid-template-columns:1fr auto}.connection-system-activity>span{grid-column:1/-1}.connector-health-summary>div{grid-template-columns:1fr;gap:3px}.sync-health-item{grid-template-columns:80px minmax(0,1fr)}.sync-health-item time{grid-column:2}.sync-health-item button{grid-column:2;width:fit-content}.source-maintenance{flex-direction:column;align-items:flex-start}}@media (max-width:600px){.email-preview-modal,.task-review-modal,.recommendation-review-modal,.automation-history-modal,.preference-editor{border-radius:12px 12px 8px 8px;width:100%;max-height:calc(100dvh - 16px)}.email-preview-modal>header,.task-review-modal>header,.automation-history-modal>header,.preference-editor>header{padding:13px}.email-preview-modal h2,.task-review-modal h2,.preference-editor h2{overflow-wrap:anywhere;font-size:17px}.email-preview-meta{padding:9px 13px}.email-preview-meta-actions{white-space:normal;flex-direction:column;align-items:flex-start;gap:6px}.email-preview-modal>footer{flex-wrap:wrap;gap:6px;padding:10px 12px}.email-preview-actions>a{flex:100%;margin:0;padding-bottom:3px}.email-preview-actions>button{flex:calc(50% - 6px);min-width:0;padding:6px;font-size:11px}.attachment-list{grid-template-columns:repeat(2,minmax(0,1fr))}.attachment-list>article:not(.image-attachment-card){grid-column:1/-1}.attachment-list>article{grid-template-columns:auto minmax(0,1fr)}.attachment-actions{grid-column:1/-1;justify-content:flex-end}.attachment-viewer-backdrop{padding:0}.attachment-viewer{border:0;border-radius:0;width:100%;height:100%}.attachment-viewer>header{align-items:flex-start}.attachment-viewer>header h2{white-space:normal}.task-review-modal>footer,.recommendation-review-actions,.preference-editor>footer{flex-direction:column;align-items:stretch}.task-review-modal>footer button,.recommendation-review-actions button,.preference-editor>footer button{width:100%}.recommendation-review-actions>div{flex-direction:column}.recommendation-safety-note{flex-direction:column;gap:4px}.automation-activity-summary{grid-template-columns:minmax(0,1fr);align-items:flex-start;padding:12px}.automation-activity-toggle{justify-self:end}.activity-list{padding:0 10px 10px}.activity-list article{grid-template-columns:auto minmax(0,1fr);gap:7px;padding:9px 0}.activity-list article .activity-actions{flex-wrap:wrap;grid-column:2;justify-content:flex-start}.automation-offers article{grid-template-columns:auto minmax(0,1fr);align-items:start}.automation-offer-actions{flex-wrap:wrap;grid-column:1/-1;width:100%}.automation-offer-actions button{flex:auto}.preference-page-header{gap:14px}.preference-workspace{width:100%;min-width:0}.preference-summary-card>header{flex-direction:column;align-items:stretch}.preference-header-actions{flex-wrap:wrap;width:100%}.preference-header-actions button{flex:auto}.preference-rule-summary{align-items:start;padding:12px}.compact-rule-list{scrollbar-gutter:auto;padding:0 10px 9px}.compact-rule-list article,.compact-rule-list .user-activity-row{grid-template-columns:auto minmax(0,1fr);gap:7px;padding:9px 0}.compact-rule-list article>em{grid-area:auto/2;justify-self:start}.compact-rule-actions,.compact-rule-list article>.rule-remove,.user-activity-row .activity-row-controls{flex-wrap:wrap;grid-area:auto/2;justify-content:flex-start}.automation-attention-notice{flex-direction:column;align-items:stretch}.automation-history-list{padding:5px 12px 12px}.automation-history-list article{grid-template-columns:auto minmax(0,1fr)}.automation-history-list article>button{grid-column:2;justify-self:start}.source-overview-card{padding:13px}.source-overview-card .source-actions{flex-wrap:wrap;width:100%}.source-overview-card .source-actions button{flex:auto}}
:root{--type-meta:12px;--type-small:13px;--type-body:14px}.app-shell .ui-status{font-size:var(--type-meta);text-transform:none;color:var(--muted);font-weight:700;line-height:1.35}.app-shell .ui-status.tone-healthy{color:var(--accent-dark)}.app-shell .ui-status.tone-warning{color:var(--warning)}.app-shell .ui-status.tone-danger{color:var(--danger)}.ui-disclosure{border:1px solid var(--border);background:var(--surface-strong);border-radius:9px;overflow:hidden}.ui-disclosure-heading{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:16px;padding:13px 14px;display:flex}.ui-disclosure-heading>span:first-child{gap:5px;display:grid}.ui-disclosure-heading strong{font-size:var(--type-body)}.ui-disclosure-heading small{font-size:var(--type-meta);color:var(--muted);font-weight:400;line-height:1.5}.ui-disclosure-end{flex-shrink:0;align-items:center;gap:10px;display:flex}.ui-disclosure-end b{border:1px solid var(--border);min-width:25px;height:25px;font-size:var(--type-meta);background:var(--surface);border-radius:50%;place-items:center;padding:0 6px;display:grid}.ui-disclosure-end i{border-bottom:1.5px solid;border-right:1.5px solid;width:7px;height:7px;margin:4px;transform:rotate(45deg)}.ui-disclosure.is-open .ui-disclosure-end i{transform:rotate(225deg)}.ui-disclosure-body{border-top:1px solid var(--border);padding:14px}.ui-disclosure-body[hidden]{display:none}.ui-disclosure-body p{font-size:var(--type-small);line-height:1.5}.ui-disclosure-heading:focus-visible{outline:2px solid var(--accent-dark);outline-offset:-3px}.daily-trust-state>span,.daily-trust-body>p,.daily-trust-metrics span,.daily-trust-evidence-label,.daily-trust-evidence article small,.connection-health-alert span,.profile-menu-switch-copy small,.getting-started-guide>header small,.getting-started-guide li strong,.getting-started-guide li small,.getting-started-guide li a{font-size:var(--type-meta);line-height:1.45}.daily-trust-disclosure>summary{flex-wrap:wrap}.daily-trust-state{margin-left:auto}.getting-started-guide li small{min-height:0}.preference-rule-summary>div>span,.compact-rule-list article>div>span{font-size:var(--type-meta);line-height:1.45}@media (max-width:600px){.ui-disclosure-heading{gap:10px;padding:12px}.ui-disclosure-body{padding:12px}}.beta-progress-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.beta-progress-metrics>div{border-left:2px solid var(--border);padding-left:12px}.beta-progress-metrics dt{font-size:var(--type-meta);color:var(--muted);line-height:1.4}.beta-progress-metrics dd{margin:4px 0 0;font-size:22px;font-weight:700}.beta-progress>small{font-size:var(--type-meta);color:var(--muted)}.beta-progress-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;display:flex}.beta-progress-actions button,.beta-progress-actions a{font-size:var(--type-small)}@media (max-width:600px){.beta-progress-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
