*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:root{color:#0f172a;font-synthesis:none;--slate-50:#f8fafc;--slate-100:#f1f5f9;--slate-200:#e2e8f0;--slate-300:#cbd5e1;--slate-500:#64748b;--slate-700:#334155;--slate-900:#0f172a;--emerald-50:#ecfdf5;--emerald-200:#a7f3d0;--emerald-600:#059669;--red-50:#fef2f2;--red-200:#fecaca;--red-700:#b91c1c;background:#f8fafc;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{background:var(--slate-50);min-width:320px;margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.paper-grain{display:none}.brand-mark{color:var(--slate-900);align-items:center;gap:10px;display:inline-flex}.brand-mark span{color:#fff;background:var(--slate-900);letter-spacing:.04em;border-radius:12px;place-items:center;width:40px;height:40px;font-size:15px;font-weight:800;display:grid}.brand-mark i{background:var(--emerald-600);width:18px;height:2px;display:block}.brand-mark strong{letter-spacing:.04em;font-size:13px;font-weight:700}.brand-mark.compact span{border-radius:10px;width:36px;height:36px;font-size:13px}.eyebrow{color:var(--slate-500);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:12px;font-weight:600}.button{cursor:pointer;border:0;border-radius:12px;font-weight:600;transition:background .16s,border-color .16s,color .16s,box-shadow .16s}.button:focus-visible,.portal-button:focus-visible,.portal-link:focus-visible,.text-button:focus-visible{outline-offset:2px;outline:3px solid #0ea5e938}.button:disabled{cursor:not-allowed;opacity:.55}.button-primary{color:#fff;background:var(--slate-900);padding:11px 16px;box-shadow:0 1px 2px #0f172a14}.button-primary:hover:not(:disabled){background:var(--slate-700)}.portal-button,.portal-link{border:1px solid var(--slate-300);color:var(--slate-700);background:#fff;border-radius:12px;justify-content:center;align-items:center;font-size:13px;font-weight:600;text-decoration:none;transition:background .16s,border-color .16s;display:inline-flex}.portal-button:hover,.portal-link:hover{background:var(--slate-50);border-color:#94a3b8}.portal-button{min-height:38px;padding:8px 13px}.portal-link{align-self:flex-start;margin-top:20px;padding:9px 13px}.login-shell{background:var(--slate-50);place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{z-index:1;border:1px solid var(--slate-200);background:#fff;border-radius:24px;width:min(100%,680px);padding:clamp(24px,5vw,44px);position:relative;box-shadow:0 1px 3px #0f172a14}.login-copy{margin-top:32px}.login-copy h1,.workspace-intro h1,.centered-page h1{color:var(--slate-900);letter-spacing:-.025em;margin:6px 0 10px;font-weight:600}.login-copy h1{font-size:clamp(30px,6vw,40px)}.login-copy>p:last-child{max-width:520px;color:var(--slate-500);margin:0;font-size:15px;line-height:1.6}.login-form{gap:16px;margin-top:28px;display:grid}.login-form label{color:var(--slate-500);letter-spacing:.04em;text-transform:uppercase;gap:6px;font-size:12px;font-weight:600;display:grid}.login-form input{border:1px solid var(--slate-300);width:100%;color:var(--slate-900);letter-spacing:normal;text-transform:none;background:#fff;border-radius:12px;outline:none;padding:11px 13px;font-size:14px;font-weight:400;transition:border-color .16s,box-shadow .16s}.login-form input:focus{border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91f}.login-form .button{margin-top:2px}.login-aside{display:none}.app-shell{background:var(--slate-50);min-height:100vh;padding:16px}.topbar{border:1px solid var(--slate-200);background:#fff;border-radius:24px;justify-content:space-between;align-items:center;gap:20px;width:min(100%,1280px);min-height:76px;margin:0 auto;padding:14px 18px;display:flex;box-shadow:0 1px 3px #0f172a0f}.topbar-left,.session-menu{align-items:center;gap:16px;display:flex}.session-menu div{text-align:right;display:grid}.session-menu span{color:var(--slate-500);letter-spacing:.04em;text-transform:uppercase;font-size:10px}.session-menu strong{color:var(--slate-900);margin-top:2px;font-size:12px}.session-menu button,.text-button{color:var(--slate-500);cursor:pointer;text-underline-offset:4px;background:0 0;border:0;padding:0;font-size:12px;font-weight:600;text-decoration:underline}.session-menu button:hover,.text-button:hover{color:var(--slate-900)}.workspace{grid-template-columns:minmax(280px,.8fr) minmax(480px,1.2fr);gap:16px;width:min(100%,1280px);margin:16px auto 0;display:grid}.workspace-intro{border:1px solid var(--slate-200);background:#fff;border-radius:24px;padding:clamp(24px,4vw,40px);box-shadow:0 1px 3px #0f172a0f}.workspace-intro h1{max-width:520px;font-size:clamp(30px,4vw,44px);line-height:1.08}.lede{max-width:540px;color:var(--slate-500);margin:18px 0 0;font-size:15px;line-height:1.65}.security-note{border:1px solid var(--emerald-200);background:var(--emerald-50);border-radius:16px;gap:14px;margin-top:34px;padding:16px;display:flex}.security-note svg{fill:none;width:23px;height:23px;stroke:var(--emerald-600);stroke-width:1.8px;flex:none}.security-note p{gap:3px;margin:0;display:grid}.security-note strong{color:#047857;font-size:13px}.security-note span{color:#047857;font-size:12px;line-height:1.5}.connection-column{min-width:0}.connection-card{border:1px solid var(--slate-200);background:#fff;border-radius:24px;min-height:480px;padding:clamp(24px,4vw,38px);position:relative;box-shadow:0 1px 3px #0f172a0f}.connection-card.is-connected{border-color:var(--emerald-200)}.card-index{color:#94a3b8;font-size:11px;font-weight:700;position:absolute;top:18px;right:20px}.status-heading{border-bottom:1px solid var(--slate-200);align-items:center;gap:16px;padding-bottom:24px;display:flex}.gmail-glyph{border:1px solid var(--red-200);width:52px;height:52px;color:var(--red-700);background:var(--red-50);border-radius:16px;flex:none;place-items:center;font-size:21px;font-weight:800;display:grid}.status-heading h2{color:var(--slate-900);margin:4px 0 0;font-size:24px;font-weight:600}.status-label{color:var(--slate-500);letter-spacing:.04em;text-transform:uppercase;align-items:center;font-size:11px;font-weight:600;display:inline-flex}.status-label i{background:#94a3b8;border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block}.status-label.connected{color:#047857}.status-label.connected i{background:#10b981;box-shadow:0 0 0 3px #d1fae5}.connection-empty{flex-direction:column;justify-content:center;align-items:flex-start;min-height:310px;display:flex}.connection-empty>p{color:var(--slate-500);margin:0;font-size:13px}.connection-empty>strong{color:var(--slate-900);word-break:break-word;margin-top:7px;font-size:clamp(18px,2.5vw,24px);font-weight:600}.button-google{border:1px solid var(--slate-300);color:var(--slate-700);background:#fff;align-items:center;gap:12px;margin-top:28px;padding:11px 16px;display:inline-flex;box-shadow:0 1px 2px #0f172a0f}.button-google:hover:not(:disabled){background:var(--slate-50)}.button-google svg{width:20px;height:20px}.connection-details dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0 0;display:grid}.connection-details dl div{border:1px solid var(--slate-200);background:var(--slate-50);border-radius:14px;min-width:0;padding:14px}.connection-details dt{color:var(--slate-500);letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:600}.connection-details dd{color:var(--slate-900);overflow-wrap:anywhere;margin:5px 0 0;font-size:13px;font-weight:600}.card-actions{margin-top:22px}.danger-zone{border-top:1px solid var(--slate-200);flex-wrap:wrap;align-items:center;gap:12px;padding-top:18px;display:flex}.danger-zone p{color:var(--red-700);flex-basis:100%;margin:0;font-size:12px}.button-quiet{border:1px solid var(--slate-300);color:var(--slate-700);background:#fff;padding:10px 14px}.button-quiet:hover:not(:disabled){background:var(--slate-50)}.button-danger{color:#fff;background:#dc2626;padding:10px 14px}.button-danger:hover:not(:disabled){background:var(--red-700)}.card-loader{min-height:310px;color:var(--slate-500);place-content:center;justify-items:center;display:grid}.card-loader span{border:2px solid var(--slate-200);border-top-color:#0ea5e9;border-radius:50%;width:28px;height:28px;animation:.75s linear infinite spin}.card-loader p{margin-top:13px;font-size:12px}.phase-strip{border:1px solid var(--slate-200);color:var(--slate-500);text-transform:uppercase;background:#fff;border-radius:16px;grid-template-columns:auto auto 1fr auto auto;align-items:center;gap:10px;margin-top:16px;padding:14px 16px;font-size:10px;display:grid}.phase-strip strong{color:var(--slate-700);font-size:10px}.phase-strip i{background:var(--slate-200);height:1px}.mailbox-shell{width:min(100%,1440px);margin:16px auto 0}.mailbox-heading{border:1px solid var(--slate-200);background:#fff;border-radius:24px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:12px;padding:18px 20px;display:flex;box-shadow:0 1px 3px #0f172a0f}.mailbox-heading h1{color:var(--slate-900);letter-spacing:-.02em;margin:3px 0 2px;font-size:27px;font-weight:600}.mailbox-heading>div>p:last-child{color:var(--slate-500);margin:0;font-size:12px}.mailbox-heading-actions{align-items:center;gap:12px;display:flex}.connected-pill{border:1px solid var(--emerald-200);color:#047857;background:var(--emerald-50);border-radius:999px;align-items:center;padding:7px 10px;font-size:11px;font-weight:600;display:inline-flex}.connected-pill i{background:#10b981;border-radius:50%;width:7px;height:7px;margin-right:7px}.mailbox-grid{grid-template-columns:190px 350px minmax(0,1fr);gap:12px;min-height:680px;display:grid}.label-panel,.thread-panel,.message-panel{border:1px solid var(--slate-200);background:#fff;border-radius:20px;min-width:0;overflow:hidden;box-shadow:0 1px 3px #0f172a0a}.panel-title{border-bottom:1px solid var(--slate-200);color:var(--slate-500);letter-spacing:.06em;text-transform:uppercase;justify-content:space-between;align-items:center;padding:16px;font-size:11px;font-weight:600;display:flex}.panel-title small{letter-spacing:0;text-transform:none;font-size:10px;font-weight:400}.label-search{padding:10px 10px 0}.label-search input{border:1px solid var(--slate-300);width:100%;color:var(--slate-700);background:#fff;border-radius:9px;outline:none;padding:8px 10px;font-size:12px}.label-search input:focus{border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a}.label-panel nav{gap:3px;max-height:620px;padding:10px;display:grid;overflow-y:auto}.label-panel nav button{width:100%;color:var(--slate-700);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;justify-content:space-between;align-items:center;padding:10px 11px;font-size:13px;display:flex}.label-panel nav button:hover{background:var(--slate-50)}.label-panel nav button.active{color:var(--slate-900);background:var(--slate-100);font-weight:700}.label-panel nav strong{color:#047857;background:var(--emerald-50);text-align:center;border-radius:999px;min-width:22px;padding:2px 6px;font-size:10px}.no-labels{color:var(--slate-500);padding:12px 8px;font-size:11px}.thread-panel{flex-direction:column;display:flex}.mail-search{border-bottom:1px solid var(--slate-200);grid-template-columns:1fr auto;gap:7px;padding:12px;display:grid}.mail-search input{border:1px solid var(--slate-300);min-width:0;color:var(--slate-900);background:#fff;border-radius:10px;outline:none;padding:9px 11px;font-size:13px}.mail-search input:focus{border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a}.mail-search button,.move-bar button{color:#fff;background:var(--slate-900);cursor:pointer;border:0;border-radius:10px;font-size:12px;font-weight:600}.mail-search button{padding:0 12px}.clear-search{color:var(--slate-700);background:var(--slate-100);cursor:pointer;text-align:left;border:0;border-radius:9px;margin:0 12px 9px;padding:7px 9px;font-size:11px}.thread-list{flex:1;max-height:680px;overflow-y:auto}.thread-list>button{border:0;border-bottom:1px solid var(--slate-200);width:100%;color:var(--slate-700);cursor:pointer;text-align:left;background:#fff;padding:14px;display:block;position:relative}.thread-list>button:hover{background:var(--slate-50)}.thread-list>button.active{background:#eff6ff;box-shadow:inset 3px 0 #0ea5e9}.thread-list>button.unread:after{content:"";background:#0ea5e9;border-radius:50%;width:5px;height:5px;position:absolute;top:17px;left:5px}.thread-row-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.thread-row-top strong{color:var(--slate-900);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.thread-row-top time{color:var(--slate-500);flex:none;font-size:10px}.thread-subject,.thread-snippet{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.thread-subject{color:var(--slate-700);margin-top:5px;font-size:12px;font-weight:600}.thread-snippet{color:var(--slate-500);margin-top:3px;font-size:11px}.thread-list button small{color:var(--slate-500);margin-top:7px;font-size:10px;display:block}.empty-list{color:var(--slate-500);text-align:center;padding:30px 16px;font-size:12px}.load-more{border:1px solid var(--slate-300);color:var(--slate-700);cursor:pointer;background:#fff;border-radius:10px;margin:10px 12px 12px;padding:9px;font-size:12px;font-weight:600}.message-panel{max-height:780px;overflow-y:auto}.message-placeholder{min-height:560px;color:var(--slate-500);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:30px;display:flex}.message-placeholder>span{width:56px;height:56px;color:var(--red-700);background:var(--red-50);border-radius:18px;place-items:center;margin-bottom:16px;font-size:20px;font-weight:800;display:grid}.message-placeholder strong{color:var(--slate-700);font-size:15px}.message-placeholder p{max-width:330px;margin:7px 0 0;font-size:12px;line-height:1.5}.message-toolbar{border-bottom:1px solid var(--slate-200);justify-content:space-between;align-items:flex-start;gap:18px;padding:18px 20px;display:flex}.message-toolbar h2{color:var(--slate-900);margin:4px 0 0;font-size:21px;line-height:1.3}.message-toolbar-actions{align-items:center;gap:10px;display:flex}.mobile-back{color:var(--slate-500);cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;font-weight:600;display:none}.move-bar{border-bottom:1px solid var(--slate-200);background:var(--slate-50);grid-template-columns:minmax(0,260px) auto;justify-content:end;gap:8px;padding:10px 20px;display:grid}.move-bar select{border:1px solid var(--slate-300);min-width:0;color:var(--slate-700);background:#fff;border-radius:10px;padding:8px 10px;font-size:12px}.move-bar button{padding:8px 12px}.move-bar button:disabled{cursor:not-allowed;opacity:.5}.message-stack{background:var(--slate-50);gap:10px;padding:14px;display:grid}.message-card{border:1px solid var(--slate-200);background:#fff;border-radius:16px;padding:16px}.message-card header{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.sender-avatar{color:#fff;background:var(--slate-700);border-radius:12px;place-items:center;width:36px;height:36px;font-size:11px;font-weight:700;display:grid}.message-card header>div:nth-child(2){min-width:0;display:grid}.message-card header strong{color:var(--slate-900);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.message-card header span,.message-card header time{color:var(--slate-500);font-size:10px}.message-card pre{color:var(--slate-700);white-space:pre-wrap;overflow-wrap:anywhere;margin:18px 0 0;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.6}.attachments{flex-wrap:wrap;gap:7px;margin-top:16px;display:flex}.attachments span{border:1px solid var(--slate-200);color:var(--slate-500);background:var(--slate-50);border-radius:9px;padding:6px 8px;font-size:10px}.draft-composer{border-top:1px solid var(--slate-200);padding:18px 20px 22px}.draft-composer h3{color:var(--slate-900);margin:4px 0 15px;font-size:18px}.draft-composer textarea{resize:vertical;border:1px solid var(--slate-300);width:100%;color:var(--slate-900);background:#fff;border-radius:12px;outline:none;padding:13px;font-size:13px;line-height:1.55}.draft-composer textarea:focus{border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a}.draft-actions{justify-content:space-between;align-items:center;gap:15px;margin-top:10px;display:flex}.draft-actions p{color:var(--slate-500);margin:0;font-size:11px;line-height:1.45}.app-shell:has(.mailbox-shell){padding:10px}.app-shell:has(.mailbox-shell)>.topbar{border-radius:16px;width:100%;min-height:58px;padding:9px 14px}.mailbox-shell{width:100%;margin-top:8px}.mailbox-shell>.mailbox-heading{border-radius:14px;gap:12px;margin-bottom:8px;padding:10px 14px}.mailbox-shell>.mailbox-heading h1{margin:1px 0 0;font-size:24px;line-height:1.15}.mailbox-shell .mailbox-heading-actions{gap:8px}.mailbox-shell .connected-pill{padding:6px 9px}.mailbox-shell .button-quiet{padding:8px 11px}.mailbox-shell .mailbox-grid{grid-template-columns:172px 320px minmax(0,1fr);gap:8px}.mailbox-shell .label-panel,.mailbox-shell .thread-panel,.mailbox-shell .message-panel{border-radius:13px}.mailbox-shell .panel-title{padding:10px 12px}.mailbox-shell .label-search{padding:7px 7px 0}.mailbox-shell .label-search input{border-radius:8px;padding:7px 8px}.mailbox-shell .label-panel nav{gap:2px;padding:7px}.mailbox-shell .label-panel nav button{border-radius:8px;padding:7px 8px}.mailbox-shell .mail-search{gap:6px;padding:8px}.mailbox-shell .mail-search input{border-radius:8px;padding:8px 9px}.mailbox-shell .mail-search button{border-radius:8px;padding:0 10px}.mailbox-shell .clear-search{margin:0 8px 7px;padding:6px 8px}.mailbox-shell .thread-list>button{padding:10px 11px}.mailbox-shell .thread-list>button.unread:after{top:13px;left:4px}.mailbox-shell .thread-subject{margin-top:3px}.mailbox-shell .thread-snippet{margin-top:2px}.mailbox-shell .thread-list button small{margin-top:4px}.mailbox-shell .load-more{margin:7px 8px 8px;padding:7px}.mailbox-shell .message-placeholder{padding:22px}.mailbox-shell .message-placeholder>span{border-radius:14px;width:48px;height:48px;margin-bottom:12px}.mailbox-shell .message-toolbar{gap:12px;padding:11px 14px}.mailbox-shell .message-toolbar h2{margin-top:2px;font-size:19px;line-height:1.25}.mailbox-shell .message-toolbar-actions{gap:7px}.mailbox-shell .move-bar{grid-template-columns:minmax(0,230px) auto;gap:6px;padding:7px 12px}.mailbox-shell .move-bar select{border-radius:8px;padding:7px 9px}.mailbox-shell .move-bar button{border-radius:8px;padding:7px 10px}.mailbox-shell .message-stack{gap:8px;padding:8px}.mailbox-shell .message-card{border-radius:11px;padding:12px}.mailbox-shell .message-card header{gap:8px}.mailbox-shell .sender-avatar{border-radius:9px;width:32px;height:32px}.mailbox-shell .message-card pre{margin-top:12px;line-height:1.5}.mailbox-shell .attachments{margin-top:11px}.mailbox-shell .draft-composer{padding:11px 14px 13px}.mailbox-shell .draft-composer h3{margin:2px 0 9px;font-size:17px}.mailbox-shell .draft-composer textarea{border-radius:9px;height:150px;min-height:120px;padding:10px}.mailbox-shell .draft-actions{gap:10px;margin-top:7px}@media (width>=901px){.mailbox-shell .mailbox-grid{height:calc(100dvh - 172px);min-height:420px;max-height:900px}.mailbox-shell .label-panel,.mailbox-shell .thread-panel{flex-direction:column;min-height:0;display:flex}.mailbox-shell .label-panel nav,.mailbox-shell .thread-list{min-height:0;max-height:none}.mailbox-shell .label-panel nav{flex:1}.mailbox-shell .message-panel{height:100%;max-height:none}.mailbox-shell .message-placeholder{min-height:100%}}.automation-shell{width:100%;margin:10px auto 0}.automation-heading{margin-bottom:8px;padding:12px 16px;position:relative;overflow:hidden}.automation-heading:after{content:"RULES / 01";z-index:0;color:#0f172a09;letter-spacing:-.06em;pointer-events:none;font-size:58px;font-weight:800;position:absolute;bottom:-10px;right:22px}.automation-heading>*{z-index:1;position:relative}.automation-heading h1{font-size:31px}.automation-heading>div>p:last-child{font-size:14px}.automation-shell .eyebrow{font-size:13px}.roadmap-pill,.dry-run-lock{color:#0369a1;letter-spacing:.04em;text-transform:uppercase;background:#f0f9ff;border:1px solid #bae6fd;border-radius:999px;align-items:center;font-size:12px;font-weight:700;display:inline-flex}.roadmap-pill{padding:7px 10px}.automation-grid{grid-template-columns:290px minmax(0,1fr);gap:10px;display:grid}.rule-inventory,.rule-workbench{border:1px solid var(--slate-200);background:#fff;border-radius:20px;min-width:0;box-shadow:0 1px 3px #0f172a0a}.rule-inventory{align-self:start;overflow:hidden}.rule-inventory-heading{border-bottom:1px solid var(--slate-200);justify-content:space-between;align-items:center;gap:10px;padding:13px 14px;display:flex}.rule-inventory-heading>div{gap:3px;display:grid}.rule-inventory-heading strong{color:var(--slate-900);font-size:22px}.rule-inventory-heading .button{padding:9px 12px;font-size:14px}.rule-list{max-height:760px;overflow-y:auto}.rule-list article{border-bottom:1px solid var(--slate-200);background:#fff;transition:background .16s,box-shadow .16s}.rule-list article.active{background:#f0f9ff;box-shadow:inset 3px 0 #0284c7}.rule-select{width:100%;color:var(--slate-700);cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:11px 12px 8px;display:grid}.rule-select:hover{background:#f8fafcbf}.rule-index{border:1px solid var(--slate-200);width:31px;height:31px;color:var(--slate-500);background:#fff;border-radius:9px;place-items:center;font-size:12px;font-weight:700;display:grid}.rule-select>span:nth-child(2){gap:4px;min-width:0;display:grid}.rule-select strong{color:var(--slate-900);text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.rule-select small{color:var(--slate-500);font-size:13px}.rule-select i{color:var(--slate-500);background:var(--slate-100);text-transform:uppercase;border-radius:999px;padding:4px 6px;font-size:11px;font-style:normal;font-weight:700}.rule-select i.enabled{color:#047857;background:var(--emerald-50)}.rule-quick-actions{flex-wrap:wrap;gap:7px;padding:0 12px 9px 49px;display:flex}.rule-quick-actions button{color:var(--slate-500);cursor:pointer;text-underline-offset:3px;background:0 0;border:0;padding:0;font-size:12px;font-weight:600;text-decoration:underline}.rule-quick-actions button:hover{color:var(--slate-900)}.rule-quick-actions button:disabled{cursor:not-allowed;opacity:.4;text-decoration:none}.rule-quick-actions button.danger{color:var(--red-700);font-weight:800}.empty-rule-list{text-align:center;padding:42px 26px}.empty-rule-list strong{color:var(--slate-700);font-size:16px}.empty-rule-list p{color:var(--slate-500);margin:7px 0 0;font-size:13px;line-height:1.55}.rule-workbench{overflow:hidden}.rule-workbench>form{padding:16px}.rule-form-heading{border-bottom:1px solid var(--slate-200);justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:12px;display:flex}.rule-form-heading h2{color:var(--slate-900);letter-spacing:-.025em;margin:4px 0 0;font-size:clamp(24px,3vw,32px);font-weight:600}.dry-run-lock{border-color:var(--emerald-200);color:#047857;background:var(--emerald-50);flex:none;padding:7px 10px}.rule-basics{grid-template-columns:minmax(0,1fr) 210px;gap:10px;padding:14px 0;display:grid}.rule-basics label{gap:6px;min-width:0;display:grid}.rule-basics label.full{grid-column:1/-1}.rule-basics label>span{color:var(--slate-500);letter-spacing:.06em;text-transform:uppercase;font-size:13px;font-weight:700}.rule-basics input,.rule-basics select,.rule-basics textarea,.builder-row input,.builder-row select,.builder-row textarea,.dry-run-controls input{border:1px solid var(--slate-300);width:100%;min-width:0;color:var(--slate-900);background:#fff;border-radius:10px;outline:none;padding:10px 11px;font-size:14px;line-height:1.4}.rule-basics textarea,.builder-row textarea{resize:vertical}.rule-basics input:focus,.rule-basics select:focus,.rule-basics textarea:focus,.builder-row input:focus,.builder-row select:focus,.builder-row textarea:focus,.dry-run-controls input:focus{border-color:#0284c7;box-shadow:0 0 0 3px #0284c71a}.builder-section{border-top:1px solid var(--slate-200);min-width:0;padding:15px 0}.builder-section>header{grid-template-columns:35px minmax(0,1fr);align-items:start;gap:12px;display:grid}.builder-section>header>span{color:#fff;background:var(--slate-900);border-radius:11px;place-items:center;width:35px;height:35px;font-size:12px;font-weight:700;display:grid}.builder-section h3{color:var(--slate-900);margin:0;font-size:19px}.builder-section header p{color:var(--slate-500);margin:2px 0 0;font-size:13px;line-height:1.4}.builder-rows{gap:6px;min-width:0;margin-top:10px;padding-left:47px;display:grid}.builder-row{border:1px solid var(--slate-200);background:var(--slate-50);border-radius:13px;grid-template-columns:28px minmax(0,.85fr) minmax(0,1.15fr) auto;align-items:start;gap:7px;min-width:0;padding:8px;display:grid;position:relative}.builder-row.approval{background:#fffbeb;border-color:#fde68a}.builder-number{width:28px;height:40px;color:var(--slate-500);place-items:center;font-size:12px;font-weight:700;display:grid}.condition-value{gap:4px;min-width:0;display:grid}.condition-value small{color:var(--slate-500);overflow-wrap:anywhere;padding-left:2px;font-size:12px;line-height:1.4}.builder-row textarea{grid-column:3}.remove-builder-row{color:var(--slate-500);cursor:pointer;text-underline-offset:3px;background:0 0;border:0;align-self:center;padding:5px;font-size:13px;text-decoration:underline}.remove-builder-row:hover:not(:disabled){color:var(--red-700)}.remove-builder-row:disabled{cursor:not-allowed;opacity:.35}.approval-note{color:#a16207;letter-spacing:.03em;text-transform:uppercase;overflow-wrap:anywhere;grid-column:2/-1;font-size:12px;font-weight:700}.action-explanation{border:1px dashed var(--slate-300);min-height:40px;color:var(--slate-500);overflow-wrap:anywhere;background:#fff;border-radius:10px;align-items:center;padding:8px 10px;font-size:13px;display:flex}.add-builder-row{border:1px dashed var(--slate-300);color:var(--slate-700);cursor:pointer;background:#fff;border-radius:10px;justify-self:start;padding:8px 10px;font-size:14px;font-weight:700}.add-builder-row:hover{color:#0369a1;background:#f0f9ff;border-color:#0284c7}.automation-semantics{border-top:1px solid var(--slate-200);grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding-top:13px;display:grid}.automation-semantics span{border:1px solid var(--slate-200);min-width:0;color:var(--slate-500);background:var(--slate-50);overflow-wrap:anywhere;border-radius:11px;padding:8px;font-size:12px;line-height:1.4}.automation-semantics span.risky{color:#a16207;background:#fffbeb;border-color:#fde68a}.automation-semantics strong{color:var(--slate-700);margin-bottom:3px;font-size:13px;display:block}.rule-savebar{background:var(--slate-100);border-radius:14px;align-items:center;gap:13px;margin-top:13px;padding:10px 12px;display:flex}.toggle-field{color:var(--slate-700);align-items:center;gap:7px;font-size:14px;font-weight:600;display:inline-flex}.toggle-field input{accent-color:var(--emerald-600)}.toggle-field.locked{color:#047857}.rule-savebar .button{margin-left:auto}.dry-run-panel{border-top:3px solid var(--slate-900);background:#f8fafc;padding:14px 16px}.dry-run-copy h3{color:var(--slate-900);margin:2px 0 0;font-size:23px}.dry-run-copy>p:last-child{color:var(--slate-500);margin:4px 0 0;font-size:14px;line-height:1.45}.dry-run-controls{grid-template-columns:minmax(0,1fr) auto;gap:8px;min-width:0;margin-top:10px;display:grid}.dry-run-controls .button,.rule-savebar .button{font-size:15px}.dry-run-save-hint{color:#a16207;margin:6px 0 0;font-size:13px;line-height:1.4}.dry-run-report{border:1px solid var(--slate-300);background:#fff;border-radius:15px;margin-top:10px;overflow:hidden}.dry-run-report.matched{border-color:var(--emerald-200)}.dry-run-report>header{border-bottom:1px solid var(--slate-200);background:var(--slate-100);justify-content:space-between;gap:16px;padding:10px 12px;display:flex}.dry-run-report.matched>header{background:var(--emerald-50)}.dry-run-report header div{gap:3px;display:grid}.dry-run-report header span{color:var(--slate-700);font-size:15px;font-weight:700}.dry-run-report header strong{color:#047857;text-transform:uppercase;font-size:12px}.dry-run-report header p{max-width:390px;color:var(--slate-500);text-align:right;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.5}.dry-run-results{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.dry-run-results section{min-width:0;padding:10px 12px}.dry-run-results section+section{border-left:1px solid var(--slate-200)}.dry-run-results h4{color:var(--slate-500);letter-spacing:.07em;text-transform:uppercase;margin:0 0 8px;font-size:12px}.dry-run-results section>div{border-top:1px solid var(--slate-100);grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 0;display:grid}.dry-run-results i{color:var(--emerald-600);font-size:14px;font-style:normal;font-weight:800}.dry-run-results span{min-width:0;color:var(--slate-700);overflow-wrap:anywhere;font-size:13px;line-height:1.45}.dry-run-results strong{max-width:120px;color:var(--slate-500);text-align:right;text-transform:uppercase;overflow-wrap:anywhere;font-size:11px;line-height:1.35}.notice-bar{border:1px solid;border-radius:14px;justify-content:space-between;gap:20px;margin-bottom:12px;padding:12px 14px;font-size:13px;display:flex}.notice-bar.success{border-color:var(--emerald-200);background:var(--emerald-50);color:#047857}.notice-bar.warning{color:#a16207;background:#fffbeb;border-color:#fde68a}.notice-bar button{color:inherit;cursor:pointer;background:0 0;border:0;font-size:18px;line-height:.7}.inline-message{border:1px solid;border-radius:12px;margin:12px 0 0;padding:11px 13px;font-size:12px;line-height:1.5}.inline-message.error{border-color:var(--red-200);background:var(--red-50);color:var(--red-700)}.inline-message.warning{color:#a16207;background:#fffbeb;border-color:#fde68a}.centered-page,.loading-page{text-align:center;background:var(--slate-50);flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:30px;display:flex}.centered-page{border:1px solid var(--slate-200);background:#fff;border-radius:24px;width:min(100% - 32px,680px);min-height:auto;margin:max(24px,10vh) auto;padding:clamp(28px,5vw,44px);box-shadow:0 1px 3px #0f172a0f}.centered-page .eyebrow{margin-top:28px}.centered-page h1{font-size:clamp(30px,6vw,40px)}.centered-page>p:last-of-type{max-width:500px;color:var(--slate-500);margin:0;line-height:1.65}.centered-page .button{min-width:160px;margin-top:22px}.loading-page p{color:var(--slate-500);letter-spacing:.08em;text-transform:uppercase;font-size:11px}.loading-rule{background:var(--slate-200);border-radius:999px;width:180px;height:3px;margin:34px 0 18px;overflow:hidden}.loading-rule span{border-radius:inherit;background:#0ea5e9;width:45%;height:100%;animation:1.15s ease-in-out infinite alternate loading-line;display:block}@keyframes spin{to{transform:rotate(360deg)}}@keyframes loading-line{0%{transform:translate(-100%)}to{transform:translate(220%)}}@media (width>=1180px){.rule-basics{grid-template-columns:minmax(220px,.9fr) minmax(180px,.55fr) minmax(280px,1.2fr)}.rule-basics label.full{grid-column:auto}.dry-run-panel{-moz-column-gap:18px;grid-template-columns:minmax(0,.9fr) minmax(440px,1.1fr);align-items:end;column-gap:18px;display:grid}.dry-run-controls{margin-top:0}.dry-run-save-hint,.dry-run-report{grid-column:1/-1}}@media (width>=1480px){.rule-workbench>form{-moz-column-gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;display:grid}.rule-workbench>form>.rule-form-heading,.rule-workbench>form>.rule-basics,.rule-workbench>form>.automation-semantics,.rule-workbench>form>.rule-savebar{grid-column:1/-1}.rule-workbench>form>.builder-section .builder-rows{padding-left:0}}@media (width<=900px){.workspace{grid-template-columns:1fr}.workspace-intro h1 br{display:none}.mailbox-shell .mailbox-grid{grid-template-columns:300px minmax(0,1fr)}.label-panel{grid-column:1/-1}.label-panel .panel-title{display:none}.label-search{border-bottom:1px solid var(--slate-200);padding:10px}.label-panel nav{display:flex;overflow-x:auto}.label-panel nav button{gap:10px;width:auto;min-width:max-content}.automation-grid{grid-template-columns:1fr}.rule-inventory{position:static}.rule-list{max-height:330px}.automation-semantics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.app-shell{padding:10px}.topbar{border-radius:20px;align-items:flex-start}.topbar-left{flex-direction:column-reverse;align-items:flex-start;gap:10px}.brand-mark.compact i{display:none}.session-menu{gap:10px}.session-menu div{display:none}.workspace{gap:10px;margin-top:10px}.workspace-intro,.connection-card{border-radius:20px}.workspace-intro{padding:24px 20px}.workspace-intro h1{font-size:30px}.connection-card{min-height:450px;padding:24px 20px}.connection-details dl{grid-template-columns:1fr}.phase-strip{grid-template-columns:auto 1fr}.phase-strip i,.phase-strip span:nth-of-type(2),.phase-strip strong:nth-of-type(2){display:none}.login-shell{padding:12px}.login-panel{border-radius:20px;padding:24px 20px}.mailbox-heading{border-radius:20px;flex-direction:column;align-items:flex-start}.mailbox-heading-actions{flex-wrap:wrap;justify-content:space-between;width:100%}.mailbox-shell .mailbox-grid{grid-template-columns:1fr;min-height:auto}.label-panel{grid-column:auto}.thread-list{max-height:430px}.message-panel{max-height:none}.message-placeholder{min-height:300px}.message-toolbar{flex-direction:column;align-items:stretch}.message-toolbar-actions{justify-content:space-between}.mobile-back{display:inline-flex}.mailbox-shell .move-bar{grid-template-columns:1fr auto;padding:8px 10px}.message-card header{grid-template-columns:auto minmax(0,1fr)}.message-card header time{grid-column:2}.draft-actions{flex-direction:column;align-items:stretch}.automation-heading:after,.roadmap-pill{display:none}.rule-inventory-heading{align-items:flex-end}.rule-basics{grid-template-columns:1fr}.rule-basics label.full{grid-column:auto}.rule-form-heading{flex-direction:column;align-items:stretch}.dry-run-lock{align-self:flex-start}.builder-rows{padding-left:0}.builder-row{grid-template-columns:28px minmax(0,1fr)}.builder-row>select:first-of-type,.builder-row>input,.builder-row>textarea,.builder-row>.condition-value,.builder-row>.action-explanation{grid-column:2}.builder-row .remove-builder-row{grid-column:2;justify-self:start}.approval-note{grid-column:2}.automation-semantics{grid-template-columns:1fr}.rule-savebar{flex-direction:column;align-items:flex-start}.rule-savebar .button{width:100%;margin-left:0}.dry-run-controls{grid-template-columns:1fr}.dry-run-report>header{flex-direction:column}.dry-run-report header p{text-align:left}.dry-run-results{grid-template-columns:1fr}.dry-run-results section+section{border-top:1px solid var(--slate-200);border-left:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
