:root{--aipe-background: oklch(.985 .005 250);--aipe-foreground: oklch(.15 .02 260);--aipe-card: oklch(1 0 0);--aipe-card-foreground: oklch(.15 .02 260);--aipe-popover: oklch(1 0 0);--aipe-popover-foreground: oklch(.15 .02 260);--aipe-primary: oklch(.45 .25 265);--aipe-primary-foreground: oklch(1 0 0);--aipe-secondary: oklch(.96 .01 250);--aipe-secondary-foreground: oklch(.2 .04 265);--aipe-muted: oklch(.96 .01 250);--aipe-muted-foreground: oklch(.5 .02 260);--aipe-accent: oklch(.95 .02 260);--aipe-accent-foreground: oklch(.2 .04 265);--aipe-destructive: oklch(.6 .24 27);--aipe-destructive-foreground: oklch(1 0 0);--aipe-border: oklch(.9 .01 255);--aipe-input: oklch(.92 .01 255);--aipe-ring: oklch(.45 .25 265);--aipe-success: oklch(.72 .16 154);--aipe-success-foreground: oklch(.2 .03 154);--aipe-warning: oklch(.78 .15 74);--aipe-warning-foreground: oklch(.24 .04 74);--aipe-chart-1: oklch(.87 .12 207);--aipe-chart-2: oklch(.8 .13 212);--aipe-chart-3: oklch(.71 .13 215);--aipe-chart-4: oklch(.61 .11 222);--aipe-chart-5: oklch(.52 .09 223);--aipe-radius: .75rem;--aipe-shadow-opacity: .07;--aipe-font-sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;--aipe-font-serif: "Instrument Serif", Georgia, serif;--aipe-font-mono: ui-monospace, SFMono-Regular, Menlo, "Cascadia Code", monospace;color-scheme:light}:root[data-aipe-theme=dark]{--aipe-background: oklch(.15 .02 264);--aipe-foreground: oklch(.985 .003 260);--aipe-card: oklch(.2 .022 264);--aipe-card-foreground: oklch(.985 .003 260);--aipe-popover: oklch(.19 .022 264);--aipe-popover-foreground: oklch(.985 .003 260);--aipe-primary: oklch(.55 .22 263);--aipe-primary-foreground: oklch(.99 0 0);--aipe-secondary: oklch(.24 .02 264);--aipe-secondary-foreground: oklch(.92 .01 260);--aipe-muted: oklch(.24 .02 264);--aipe-muted-foreground: oklch(.72 .032 256);--aipe-accent: oklch(.28 .03 264);--aipe-accent-foreground: oklch(.985 .003 260);--aipe-destructive: oklch(.63 .24 27);--aipe-destructive-foreground: oklch(.99 0 0);--aipe-border: oklch(1 0 0 / 10%);--aipe-input: oklch(1 0 0 / 14%);--aipe-ring: oklch(.62 .19 260);--aipe-success: oklch(.76 .15 154);--aipe-success-foreground: oklch(.18 .03 154);--aipe-warning: oklch(.8 .14 74);--aipe-warning-foreground: oklch(.2 .04 74);--aipe-chart-1: oklch(.87 .12 207);--aipe-chart-2: oklch(.8 .13 212);--aipe-chart-3: oklch(.71 .13 215);--aipe-chart-4: oklch(.61 .11 222);--aipe-chart-5: oklch(.52 .09 223);--aipe-shadow-opacity: .14;color-scheme:dark}:root{--surface-radius: calc(var(--aipe-radius) + 4px);--control-radius: calc(var(--aipe-radius) - 2px);--shadow-sm: 0 1px 2px rgb(15 27 52 / var(--aipe-shadow-opacity)), 0 2px 8px rgb(15 27 52 / var(--aipe-shadow-opacity));--shadow-lg: 0 18px 48px rgb(15 27 52 / calc(var(--aipe-shadow-opacity) + .08));--hover: color-mix(in oklch, var(--aipe-foreground) 5%, transparent);--active: color-mix(in oklch, var(--aipe-primary) 12%, transparent);font-family:var(--aipe-font-sans);font-size:14px;line-height:1.45}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--aipe-background);color:var(--aipe-foreground);-webkit-font-smoothing:antialiased;overflow:hidden}html[data-business-app],html[data-business-app] body,html[data-business-app] #root{background:transparent}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:none;border:0;padding:0}kbd{font-family:var(--aipe-font-mono);font-size:11px;padding:1px 5px;border-radius:5px;background:var(--hover);color:var(--aipe-muted-foreground)}.panel{border-radius:var(--surface-radius);background:var(--aipe-card);color:var(--aipe-card-foreground);box-shadow:var(--shadow-sm)}.muted{color:var(--aipe-muted-foreground)}.small{font-size:12px}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.spacer{flex:1}.icon-button{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:9px;color:var(--aipe-muted-foreground);transition:background .12s,color .12s}.icon-button:hover{background:var(--hover);color:var(--aipe-foreground)}.primary-button,.ghost-button{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:10px;font-weight:500;text-decoration:none;transition:background .12s,transform 80ms}.primary-button{background:var(--aipe-primary);color:var(--aipe-primary-foreground)}.primary-button:active{transform:scale(.98)}.primary-button kbd{background:#ffffff2e;color:inherit}.ghost-button{color:var(--aipe-foreground)}.ghost-button:hover{background:var(--hover)}.link-button{color:var(--aipe-primary);font-size:12px}.spinner{width:20px;height:20px;border-radius:50%;border:2px solid var(--hover);border-top-color:var(--aipe-primary);animation:spin .8s linear infinite;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.avatar{display:inline-grid;place-items:center;flex:none;border-radius:50%;color:#fff;font-weight:600;letter-spacing:.02em}.account-dot{width:8px;height:8px;border-radius:50%;flex:none;display:inline-block}.mail-app{display:grid;grid-template-columns:228px minmax(320px,400px) minmax(0,1fr);gap:12px;height:100vh;padding:12px}.center-message{height:100vh;display:grid;place-items:center;text-align:center;color:var(--aipe-muted-foreground);padding:24px}.onboarding{height:auto;max-width:440px;margin:12vh auto 0;padding:32px;gap:12px;color:var(--aipe-foreground)}.onboarding h1{font-family:var(--aipe-font-serif);font-weight:400;font-size:28px;margin:0}.onboarding p{color:var(--aipe-muted-foreground);margin:0 0 8px}.fab,.menu-button{display:none}@media(max-width:1100px){.mail-app{grid-template-columns:64px minmax(300px,360px) minmax(0,1fr)}.sidebar .nav-item span:not(.badge):not(.account-dot),.sidebar .compose-button kbd,.sidebar .nav-heading,.sidebar .chevron{display:none}.sidebar .compose-button{justify-content:center;padding:0;font-size:0}.sidebar .nav-item{justify-content:center;position:relative}.sidebar .badge{position:absolute;top:2px;right:4px}}@media(max-width:760px){.mail-app{grid-template-columns:minmax(0,1fr);padding:0;gap:0}.mail-app .sidebar{display:none}.mail-app.nav-open .sidebar{display:flex;position:fixed;inset:0 auto 0 0;width:min(300px,86vw);z-index:40;padding:16px 12px;background:var(--aipe-popover);box-shadow:var(--shadow-lg)}.mail-app.nav-open .sidebar .nav-item span,.mail-app.nav-open .sidebar .nav-heading,.mail-app.nav-open .sidebar .chevron{display:revert}.mail-app.nav-open .sidebar .nav-item{justify-content:flex-start}.mail-app.nav-open .sidebar .badge{position:static;display:inline-grid}.mail-app.nav-open .sidebar .compose-button{justify-content:flex-start;padding:0 14px;font-size:inherit}.nav-scrim{position:fixed;inset:0;z-index:39;background:#0a0c184d}.mail-app .menu-button{display:inline-grid}.mail-app .reader-pane,.mail-app.reading .list-pane{display:none}.mail-app.reading .reader-pane{display:flex}.list-pane,.reader-pane{border-radius:0;height:100vh}.fab{display:grid;place-items:center;position:fixed;right:18px;bottom:22px;width:54px;height:54px;border-radius:18px;background:var(--aipe-primary);color:var(--aipe-primary-foreground);box-shadow:var(--shadow-lg);z-index:20}.mail-app.reading .fab{display:none}}.reader-welcome{display:flex;flex-direction:column;align-items:center;gap:10px}.welcome-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:var(--active);color:var(--aipe-primary)}.welcome-tips{display:grid;grid-template-columns:repeat(2,auto);gap:6px 18px;margin:6px 0 0;font-size:12px;color:var(--aipe-muted-foreground)}.welcome-tips div{display:flex;gap:8px;align-items:center}.welcome-tips dd{margin:0}@media(max-width:760px){.floating-composers{inset:0}.composer.floating{width:100vw;max-height:none;height:100vh;border-radius:0}}.sidebar{display:flex;flex-direction:column;gap:2px;overflow-y:auto;padding:4px 0}.compose-button{display:flex;align-items:center;gap:8px;height:42px;padding:0 14px;margin-bottom:12px;border-radius:13px;background:var(--aipe-primary);color:var(--aipe-primary-foreground);font-weight:600;box-shadow:0 6px 16px color-mix(in oklch,var(--aipe-primary) 30%,transparent);transition:transform .1s,box-shadow .1s}.compose-button:hover{transform:translateY(-1px)}.compose-button kbd{margin-left:auto;background:#ffffff2e;color:inherit}.nav-group{display:flex;flex-direction:column;gap:1px;margin-bottom:10px}.nav-heading{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--aipe-muted-foreground);padding:6px 12px}.nav-item{display:flex;align-items:center;gap:10px;height:34px;padding:0 12px;border-radius:10px;color:var(--aipe-foreground);text-align:left;width:100%;transition:background .1s}.nav-item svg{flex:none;color:var(--aipe-muted-foreground)}.nav-item:hover{background:var(--hover)}.nav-item.active{background:var(--active);color:var(--aipe-primary);font-weight:600}.nav-item.active svg{color:var(--aipe-primary)}.nav-item.folder{height:30px;padding-left:30px;font-size:13px}.nav-item.folder.nested{padding-left:44px}.badge{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:10px;display:inline-grid;place-items:center;font-size:11px;font-weight:600;background:var(--aipe-primary);color:var(--aipe-primary-foreground)}.badge.subtle{background:var(--hover);color:var(--aipe-muted-foreground)}.chevron{margin-left:auto;transition:transform .12s}.chevron.open{transform:rotate(90deg)}.attention{color:var(--aipe-warning)!important}.sidebar-footer{margin-top:auto;padding-top:12px}.list-pane{display:flex;flex-direction:column;min-height:0;overflow:hidden}.list-header{padding:14px 14px 10px;display:flex;flex-direction:column;gap:10px}.title-row{display:flex;align-items:center;gap:4px}.list-title{font-family:var(--aipe-font-serif);font-weight:400;font-size:24px;margin:0;line-height:32px}.bulk-bar{display:flex;align-items:center;gap:4px;height:32px;font-weight:600}.search-field{display:flex;align-items:center;gap:8px;height:36px;padding:0 6px 0 12px;border-radius:11px;background:var(--aipe-muted);color:var(--aipe-muted-foreground)}.search-field input{flex:1;border:0;outline:0;background:transparent;color:var(--aipe-foreground);min-width:0}.search-field:focus-within{box-shadow:0 0 0 2px color-mix(in oklch,var(--aipe-ring) 40%,transparent)}.thread-scroll{flex:1;overflow-y:auto;padding:0 6px 6px}.thread-swipe{position:relative;border-radius:12px;overflow:hidden}.swipe-hint{position:absolute;inset:0;display:flex;align-items:center;padding:0 20px;color:#fff}.swipe-hint.archive{justify-content:flex-end;background:var(--aipe-success)}.swipe-hint.read{background:var(--aipe-primary)}.thread-row{position:relative;display:flex;align-items:flex-start;gap:11px;padding:11px 12px 11px 14px;border-radius:12px;background:var(--aipe-card);cursor:default;touch-action:pan-y;transition:background .1s,transform .16s ease-out;-webkit-user-select:none;user-select:none}.thread-row:hover{background:color-mix(in srgb,var(--aipe-card) 92%,var(--aipe-foreground))}.thread-row.focused{box-shadow:inset 0 0 0 2px color-mix(in oklch,var(--aipe-ring) 35%,transparent)}.thread-row.active,.thread-row.selected{background:color-mix(in srgb,var(--aipe-card) 86%,var(--aipe-primary))}.account-stripe{position:absolute;left:4px;top:14px;bottom:14px;width:3px;border-radius:2px;opacity:.8}.avatar-toggle{flex:none;border-radius:50%}.selected-mark{width:36px;height:36px;background:var(--aipe-primary)}.thread-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.thread-line{display:flex;align-items:baseline;gap:6px}.thread-sender{flex:1;font-weight:500}.thread-count{font-size:11px;color:var(--aipe-muted-foreground);padding:0 6px;border-radius:8px;background:var(--hover)}.thread-date{font-size:12px;color:var(--aipe-muted-foreground);flex:none}.thread-subject{font-size:13px}.thread-snippet{font-size:13px;color:var(--aipe-muted-foreground)}.thread-row.unread .thread-sender,.thread-row.unread .thread-subject{font-weight:700}.thread-row.unread:before{content:"";position:absolute;right:12px;bottom:14px;width:8px;height:8px;border-radius:50%;background:var(--aipe-primary)}.thread-flags{display:flex;flex-direction:column;gap:4px;color:var(--aipe-muted-foreground);padding-top:22px}.star-on{color:var(--aipe-warning)!important;fill:var(--aipe-warning)}.row-actions{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:none;gap:2px;padding:3px;border-radius:10px;background:var(--aipe-popover);box-shadow:var(--shadow-sm)}.row-actions button{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;color:var(--aipe-muted-foreground)}.row-actions button:hover{background:var(--hover);color:var(--aipe-foreground)}@media(hover:hover){.thread-row:hover .row-actions{display:flex}}.empty-list{text-align:center;padding:48px 16px;color:var(--aipe-muted-foreground);font-size:15px}.list-sentinel{display:grid;place-items:center;min-height:40px}.reader-pane{display:flex;flex-direction:column;min-height:0;min-width:0}.reader-empty{display:grid;place-items:center}.reader-toolbar{display:flex;align-items:center;gap:2px;padding:2px 4px 8px}.reader-toolbar .back{display:none}@media(max-width:760px){.reader-toolbar{padding:10px}.reader-toolbar .back{display:inline-grid;margin-right:auto}}.reader-scroll{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:0 2px 120px}.reader-subject{font-family:var(--aipe-font-serif);font-weight:400;font-size:26px;line-height:1.2;margin:4px 8px 8px}.message-card{padding:4px 0}.message-header{display:flex;align-items:center;gap:11px;padding:10px 16px;cursor:pointer}.message-meta{flex:1;min-width:0;font-size:13px}.message-from strong{font-weight:600}.message-header time{font-size:12px;flex:none}.message-body{padding:0 16px 4px 59px}@media(max-width:760px){.message-body{padding-left:16px}}.message-body iframe{width:100%;border:0;display:block;background:transparent;color-scheme:inherit}.remote-banner{display:flex;align-items:center;gap:6px;margin-bottom:8px;padding:6px 10px;border-radius:9px;font-size:12px;background:var(--aipe-muted);color:var(--aipe-muted-foreground)}.remote-banner:hover{color:var(--aipe-foreground)}.body-error{padding:0 16px 12px 59px;color:var(--aipe-muted-foreground)}.attachments{display:flex;flex-wrap:wrap;gap:8px;padding:8px 16px 4px 59px}.composer .attachments{padding:4px 14px}.attachment-chip{display:inline-flex;align-items:center;gap:8px;max-width:280px;height:34px;padding:0 10px;border-radius:10px;background:var(--aipe-muted);font-size:12px}.attachment-chip:hover{background:color-mix(in oklch,var(--aipe-muted) 80%,var(--aipe-foreground))}.message-actions{display:flex;flex-wrap:wrap;gap:4px;padding:8px 12px 8px 53px}@media(max-width:760px){.attachments,.message-actions{padding-left:12px}}.unsubscribe{margin-left:auto;color:var(--aipe-muted-foreground);font-size:12px}.collapsed-count{display:flex;align-items:center;gap:6px;margin:0 auto 10px;padding:4px 12px;border-radius:12px;font-size:12px;background:var(--hover);color:var(--aipe-muted-foreground)}.menu-anchor{position:relative}.menu{position:absolute;top:36px;left:0;z-index:10;display:flex;flex-direction:column;min-width:180px;padding:4px;background:var(--aipe-popover);box-shadow:var(--shadow-lg)}.menu button{text-align:left;padding:7px 10px;border-radius:8px}.menu button:hover{background:var(--hover)}.floating-composers{position:fixed;right:20px;bottom:0;display:flex;align-items:flex-end;gap:12px;z-index:30;pointer-events:none}.floating-composers>*{pointer-events:auto}.composer{display:flex;flex-direction:column;background:var(--aipe-popover);position:relative}.composer.floating{width:min(560px,calc(100vw - 40px));max-height:min(640px,calc(100vh - 40px));border-radius:var(--surface-radius) var(--surface-radius) 0 0;box-shadow:var(--shadow-lg)}.composer.inline{margin-top:4px}.composer.dragging:after{content:"Dateien hier ablegen";position:absolute;inset:0;display:grid;place-items:center;border-radius:inherit;background:color-mix(in oklch,var(--aipe-primary) 14%,transparent);color:var(--aipe-primary);font-weight:600}.composer-header{display:flex;align-items:center;gap:4px;padding:8px 8px 4px 16px}.composer-pill{display:flex;align-items:center;gap:10px;padding:10px 16px;border-radius:12px 12px 0 0;background:var(--aipe-popover);box-shadow:var(--shadow-lg);font-weight:600}.recipient-row{position:relative;display:flex;align-items:center;gap:8px;min-height:40px;padding:4px 14px;box-shadow:inset 0 -1px 0 var(--aipe-border)}.recipient-row select{border:0;background:transparent;outline:0}.field-label{width:32px;font-size:12px;color:var(--aipe-muted-foreground);flex:none}.chips{flex:1;display:flex;flex-wrap:wrap;gap:4px;align-items:center;min-width:0}.chips input{flex:1;min-width:120px;border:0;outline:0;background:transparent;height:28px}.chip{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 4px 0 10px;border-radius:13px;background:var(--active);color:var(--aipe-foreground);font-size:13px}.chip button{display:grid;place-items:center;width:18px;height:18px;border-radius:50%}.chip button:hover{background:var(--hover)}.suggestions{position:absolute;left:54px;top:100%;z-index:40;width:min(360px,80%);padding:4px;display:flex;flex-direction:column;background:var(--aipe-popover);box-shadow:var(--shadow-lg)}.suggestions button{text-align:left;padding:7px 10px;border-radius:8px;font-size:13px}.suggestions button.active,.suggestions button:hover{background:var(--hover)}.subject-input{border:0;outline:0;background:transparent;padding:10px 14px;font-weight:600;box-shadow:inset 0 -1px 0 var(--aipe-border)}.composer-footer{display:flex;align-items:center;gap:6px;padding:10px 12px 12px}.rich-editor{flex:1;display:flex;flex-direction:column;min-height:0}.editor-surface{flex:1;min-height:160px;max-height:420px;overflow-y:auto;padding:12px 14px;outline:0;line-height:1.55;overflow-wrap:anywhere}.composer.inline .editor-surface{max-height:none;min-height:120px}.editor-surface blockquote{margin:0 0 0 4px;padding-left:12px;border-left:3px solid var(--aipe-border);color:var(--aipe-muted-foreground)}.editor-surface img{max-width:100%}.editor-toolbar{display:flex;gap:2px;padding:0 10px;color:var(--aipe-muted-foreground)}.editor-toolbar button{width:30px;height:28px;display:grid;place-items:center;border-radius:7px}.editor-toolbar button:hover{background:var(--hover);color:var(--aipe-foreground)}.link-input{margin-left:6px;height:28px;width:240px;border:0;border-radius:7px;padding:0 8px;background:var(--aipe-muted);outline:0}.overlay{position:fixed;inset:0;z-index:50;display:grid;place-items:start center;padding-top:12vh;background:#0a0c1847;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:fade .12s ease-out}@keyframes fade{0%{opacity:0}}.palette{width:min(560px,calc(100vw - 32px));overflow:hidden;background:var(--aipe-popover);box-shadow:var(--shadow-lg)}.palette-input{display:flex;align-items:center;gap:10px;padding:14px 16px;color:var(--aipe-muted-foreground);box-shadow:inset 0 -1px 0 var(--aipe-border)}.palette-input input{flex:1;border:0;outline:0;background:transparent;font-size:16px;color:var(--aipe-foreground)}.palette-list{max-height:360px;overflow-y:auto;padding:6px;display:flex;flex-direction:column}.palette-list button{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;border-radius:9px;text-align:left}.palette-list button.active{background:var(--active)}.palette-list p{padding:12px;margin:0}.dialog{width:min(560px,calc(100vw - 32px));max-height:76vh;overflow-y:auto;padding:18px 20px;background:var(--aipe-popover);box-shadow:var(--shadow-lg)}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.dialog-header h2{font-family:var(--aipe-font-serif);font-weight:400;font-size:22px;margin:0}.dialog-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.settings-section{margin:14px 0}.settings-section h3{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;margin:0 0 6px}.settings-section textarea,.settings-section select{width:100%;border:0;border-radius:10px;padding:9px 11px;background:var(--aipe-muted);outline:0;resize:vertical}.shortcut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:8px 0 0}.shortcut-grid div{display:flex;align-items:center;gap:10px}.shortcut-grid dt{min-width:72px}.shortcut-grid dd{margin:0;font-size:13px}.toasts{position:fixed;left:50%;bottom:22px;transform:translate(-50%);z-index:60;display:flex;flex-direction:column;gap:8px;align-items:center}.toast{display:flex;align-items:center;gap:12px;padding:10px 10px 10px 16px;border-radius:13px;background:var(--aipe-foreground);color:var(--aipe-background);box-shadow:var(--shadow-lg);font-size:13px;animation:rise .16s ease-out}.toast.error{background:var(--aipe-destructive);color:var(--aipe-destructive-foreground)}.toast button{font-weight:600;padding:5px 10px;border-radius:8px;background:#ffffff24;color:inherit}.countdown{font-variant-numeric:tabular-nums;opacity:.7}@keyframes rise{0%{transform:translateY(8px);opacity:0}}.bundles{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}.bundle{display:flex;align-items:center;gap:11px;padding:10px 12px 10px 14px;border-radius:12px;background:var(--aipe-muted);text-align:left;transition:background .1s}.bundle:hover{background:color-mix(in oklch,var(--aipe-muted) 85%,var(--aipe-foreground))}.bundle-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--aipe-card);color:var(--aipe-primary);flex:none}.bundle-text{flex:1;min-width:0;display:flex;flex-direction:column;font-size:13px}.bundle-title{display:flex;align-items:center;gap:6px;font-weight:600}.bundle-title .badge{margin-left:0}.bundle.unread .bundle-title{color:var(--aipe-foreground)}.smart-icon{flex:none;color:var(--aipe-muted-foreground)}.smart-icon.pin{color:var(--aipe-primary)}.smart-icon.priority{color:var(--aipe-warning);fill:var(--aipe-warning)}.chip-badge{display:inline-flex;align-items:center;gap:3px;flex:none;height:18px;padding:0 6px;border-radius:9px;font-size:10px;font-weight:600;background:var(--active);color:var(--aipe-primary);white-space:nowrap}.chip-badge.warn{background:color-mix(in oklch,var(--aipe-warning) 22%,transparent);color:color-mix(in oklch,var(--aipe-warning) 60%,var(--aipe-foreground))}.gate-actions{display:flex;gap:6px;margin-top:8px}.primary-button.small,.ghost-button.small{height:28px;padding:0 12px;font-size:12px}.ghost-button.small{background:var(--hover)}.toolbar-gap{width:10px}.icon-button.active{color:var(--aipe-primary);background:var(--active)}.menu-title{padding:6px 10px 4px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--aipe-muted-foreground);max-width:260px}.time-menu{min-width:240px}.time-menu>button{display:flex;justify-content:space-between;gap:16px}.time-custom{display:flex;gap:6px;padding:6px 4px 2px}.time-custom input{flex:1;border:0;border-radius:8px;padding:5px 8px;background:var(--aipe-muted);outline:0}.menu-anchor.up .menu{top:auto;bottom:38px}.sender-menu{right:0;left:auto;min-width:240px}.menu .danger{color:var(--aipe-destructive)}.follow-up{display:inline-flex;align-items:center;gap:4px;height:32px;padding:0 6px 0 8px;border-radius:9px;color:var(--aipe-muted-foreground)}.follow-up.active{color:var(--aipe-primary);background:var(--active)}.follow-up select{border:0;background:transparent;outline:0;font-size:12px;max-width:150px}.switch-row{display:flex;align-items:flex-start;gap:10px;padding:6px 0}.switch-row span{display:flex;flex-direction:column}.field-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0}.settings-section .field-row select{width:auto}.scheduled-row{align-items:center;margin-bottom:4px}.scheduled-icon{width:36px;height:36px;background:var(--active);color:var(--aipe-primary)}.composer-footer .chip{white-space:nowrap;font-size:12px}.ai-panel{padding:14px 16px;display:flex;flex-direction:column;gap:8px;background:color-mix(in srgb,var(--aipe-card) 92%,var(--aipe-primary))}.ai-panel.compact{background:none;box-shadow:none;padding:0 4px}.ai-title,.ai-loading{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--aipe-primary)}.ai-loading{animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{50%{opacity:.5}}.ai-summary{margin:0;font-size:14px;line-height:1.5}.ai-points{margin:0;padding-left:18px;font-size:13px;color:var(--aipe-muted-foreground)}.ai-group{display:flex;flex-direction:column;gap:4px}.ai-todo{display:flex;align-items:center;gap:8px;font-size:13px}.ai-event{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:10px;background:var(--aipe-card);font-size:13px}.quick-replies{display:flex;flex-wrap:wrap;gap:6px}.quick-reply{padding:6px 12px;border-radius:16px;background:var(--aipe-card);color:var(--aipe-primary);font-size:13px;font-weight:500;box-shadow:var(--shadow-sm);transition:transform 80ms}.quick-reply:hover{transform:translateY(-1px)}.ai-ask{display:flex;align-items:center;gap:8px;height:34px;padding:0 10px;border-radius:10px;background:var(--aipe-card);color:var(--aipe-muted-foreground)}.ai-ask input{flex:1;border:0;outline:0;background:transparent;color:var(--aipe-foreground)}.ai-answer{margin:0;font-size:13px;padding:8px 10px;border-radius:10px;background:var(--aipe-card);white-space:pre-wrap}.ai-compose{padding:4px 12px 0;display:flex;flex-direction:column;gap:6px}.ai-compose-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ai-compose .ghost-button.active{background:var(--active);color:var(--aipe-primary)}.ai-rewrites{display:inline-flex;align-items:center;gap:2px;flex-wrap:wrap}.ai-rewrites button{font-size:12px;padding:3px 8px;border-radius:8px;color:var(--aipe-muted-foreground)}.ai-rewrites button:hover{background:var(--hover);color:var(--aipe-foreground)}.ai-compose-form{display:flex;gap:6px;align-items:center}.ai-compose-form input,.ai-compose-form select{border:0;border-radius:8px;padding:6px 8px;background:var(--aipe-muted);outline:0;font-size:13px}.ai-compose-form input{flex:1;min-width:0}.ai-filter{display:flex;align-items:center;gap:6px;height:30px;padding:0 4px 0 10px;border-radius:10px;background:var(--active);color:var(--aipe-primary);font-size:12px;font-weight:600}.ai-filter span{flex:1}.icon-button.ai-search{color:var(--aipe-primary)}.translation{width:100%;margin:4px 0;padding:10px 12px;border-radius:10px;background:var(--aipe-muted);font-size:13px}.translation p{margin:6px 0 0;white-space:pre-wrap}.translation-label{display:flex;align-items:center;gap:6px;color:var(--aipe-muted-foreground);font-size:12px}.proofread-button{color:var(--aipe-primary)}.proofread{padding:8px 10px;background:var(--aipe-card);max-height:220px;overflow-y:auto}.proofread-header{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--aipe-primary)}.proofread-header strong{color:var(--aipe-foreground)}.proofread-list{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:2px}.proofread-list li{display:flex;align-items:center;gap:4px;padding:4px 6px;border-radius:8px}.proofread-list li:hover{background:var(--hover)}.proofread-change{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 6px;font-size:13px}.proofread-change del{color:var(--aipe-destructive);text-decoration-thickness:1.5px}.proofread-change ins{color:color-mix(in srgb,var(--aipe-success) 70%,var(--aipe-foreground));text-decoration:none;font-weight:600}.proofread-change .small{flex-basis:100%}.team-panel{padding:12px 14px;display:flex;flex-direction:column;gap:10px}.team-head{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--aipe-primary)}.team-head strong{color:var(--aipe-foreground)}.team-avatars{display:inline-flex}.team-avatars>span{margin-left:-6px;border-radius:50%;box-shadow:0 0 0 2px var(--aipe-card);display:inline-flex}.public-link,.member-filter{border:0;border-radius:8px;padding:6px 10px;background:var(--aipe-muted);font-size:12px;outline:0}.assign-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.status-toggle{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border-radius:9px;background:var(--hover);font-size:13px;font-weight:600}.status-toggle.done{background:color-mix(in srgb,var(--aipe-success) 22%,transparent);color:color-mix(in srgb,var(--aipe-success) 60%,var(--aipe-foreground))}.assign-field{display:flex;align-items:center;gap:6px}.assign-field select,.assign-field input{border:0;border-radius:8px;padding:5px 8px;background:var(--aipe-muted);font-size:12px;outline:0}.comments{display:flex;flex-direction:column;gap:8px}.comment{display:flex;gap:8px}.comment-body{flex:1;min-width:0;padding:6px 10px;border-radius:10px;background:var(--aipe-muted);font-size:13px}.comment.mine .comment-body{background:var(--active)}.comment-body p{margin:2px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.comment-meta{display:flex;align-items:center;gap:6px}.icon-button.tiny{width:22px;height:22px;margin-left:auto}.comment-input{position:relative;display:flex;align-items:center;gap:6px;height:36px;padding:0 4px 0 12px;border-radius:10px;background:var(--aipe-muted)}.comment-input input{flex:1;border:0;outline:0;background:transparent}.mention-list{left:8px;top:auto;bottom:40px}.shared-draft{display:flex;flex-direction:column;gap:6px;padding-top:8px;box-shadow:inset 0 1px 0 var(--aipe-border)}.shared-draft-head{display:flex;align-items:center;gap:6px;font-size:13px}.shared-editor,.shared-preview{min-height:70px;padding:8px 10px;border-radius:10px;background:var(--aipe-muted);font-size:14px}.shared-editor{box-shadow:0 0 0 2px color-mix(in srgb,var(--aipe-ring) 40%,transparent)}.member-list{display:flex;flex-direction:column;gap:2px;max-height:280px;overflow-y:auto;margin:8px 0}.member-row{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:9px;text-align:left}.member-row span{flex:1}.member-row:hover,.member-row.selected{background:var(--active)}.segmented{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--aipe-muted);align-self:flex-start}.segmented button{padding:4px 10px;border-radius:8px;font-size:12px}.segmented button.active{background:var(--aipe-card);box-shadow:var(--shadow-sm);font-weight:600}.comment-count{display:inline-flex;align-items:center;gap:3px;margin-left:8px;color:var(--aipe-primary)}.smart-icon.done{color:var(--aipe-success)}.shared-attachments{padding:0 16px 10px 59px}.template-menu{min-width:280px;right:0;left:auto}.template-row{display:flex;align-items:center}.template-row>button:first-child{flex:1;text-align:left;padding:7px 10px;border-radius:8px}.template-row>button:first-child:hover{background:var(--hover)}.template-empty{padding:4px 10px;margin:0}.template-save{display:flex;flex-direction:column;gap:6px;padding:8px 6px 4px;box-shadow:inset 0 1px 0 var(--aipe-border)}.template-save input[type=text],.template-save>input{border:0;border-radius:8px;padding:6px 8px;background:var(--aipe-muted);outline:0}.public-page{max-width:760px;margin:0 auto;padding:32px 16px 48px;display:flex;flex-direction:column;gap:12px;height:100vh;overflow-y:auto}.public-page h1{font-family:var(--aipe-font-serif);font-weight:400;font-size:28px;margin:0 0 8px}.public-page .message-body{padding-left:16px}.public-page iframe{width:100%;border:0;display:block}.public-footer{text-align:center;margin-top:12px}
