:root{--background:#fff;--sidebar:#f9fafb;--sidebar-hover:#e8eaed;--sidebar-selection:#dfe2e6;--foreground:#1a1b1e;--muted-foreground:#5f6470;--faint:#6b717c;--border:#e6e8eb;--border-strong:#d9dce1;--input-border:#dcdfe3;--muted:#f3f4f6;--hover:#f1f2f4;--primary:#3b6fd8;--primary-hover:#3568d1;--primary-weak:#edf3fe;--success:#298e5c;--success-weak:#e8f5ee;--warning:#c96f06;--warning-weak:#fdf3e6;--success-text:#1f7a4c;--warning-text:#a35400;--danger-text:#b8261f;--danger:#d42b2b;--danger-weak:#fdeceb;--radius-sm:4px;--radius:6px;--radius-lg:10px;--shadow-hairline:0 0 0 .5px #191b1f1a, 0 1px 1.5px #191b1f0a, 0 2px 6px -2px #191b1f0a;--shadow-button:0 0 0 .5px #191b1f29, 0 1px 1px #191b1f0f, 0 2px 4px -1px #191b1f12;--shadow-primary:inset 0 1px 0 #ffffff2e, 0 1px 1.5px #191b1f2e;--shadow-popover:0 0 0 .5px #191b1f14, 0 2px 6px -2px #191b1f14, 0 24px 56px -12px #191b1f47;--focus:0 0 0 2px var(--background), 0 0 0 4px var(--primary);--font:"Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;--mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--gap:16px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font:13px/1.55 var(--font);color:var(--foreground);background:var(--background);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3{letter-spacing:-.01em;text-wrap:balance;margin:0;font-weight:600}h1{font-size:17px;line-height:1.4}h2{font-size:14px}h3{font-size:13px}p{text-wrap:pretty;margin:0}a{color:var(--primary);text-decoration:none}code,.mono{font-family:var(--mono);font-size:12px}.muted{color:var(--muted-foreground)}.center{text-align:center;padding:48px}.error{color:var(--danger)}::selection{background:#3b6fd833}.shell{height:100%;display:flex}.sidebar{background:var(--sidebar);border-right:1px solid var(--border);flex-direction:column;flex:none;gap:2px;width:232px;padding:10px 8px;display:flex}.sidebar .logo{align-items:center;gap:8px;height:36px;margin-bottom:6px;padding:0 8px;font-size:14px;font-weight:600;display:flex}.logo-mark{background:var(--primary);color:#fff;border-radius:6px;place-items:center;width:22px;height:22px;font-size:12px;font-weight:700;display:grid}.sidebar nav{flex-direction:column;gap:1px;display:flex}.side-item,.sub-item{border-radius:var(--radius);height:30px;color:var(--foreground);align-items:center;gap:8px;padding:0 8px;font-size:13px;display:flex}.side-item svg{width:16px;height:16px;color:var(--muted-foreground);flex:none}.side-item.active,.sub-item.active{background:var(--sidebar-selection);color:var(--foreground);font-weight:500}.side-item.active svg{color:var(--foreground)}.side-item:focus-visible,.sub-item:focus-visible{box-shadow:var(--focus);outline:none}.subnav{margin-top:14px}.subnav h2{height:26px;color:var(--faint);align-items:center;padding:0 8px;font-size:12px;font-weight:500;display:flex}.sub-item{color:var(--muted-foreground)}.sidebar-spacer{flex:1}.side-user{border-top:1px solid var(--border);align-items:center;gap:8px;margin:0 -8px -10px;padding:10px 16px 12px;display:flex}.avatar{background:var(--muted);width:26px;height:26px;color:var(--muted-foreground);border-radius:50%;flex:none;place-items:center;font-size:12px;font-weight:600;display:grid}.side-user .who{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.side-user .who span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.side-user .who .muted{font-size:11px}.content{flex-direction:column;flex:1;min-width:0;padding:28px 36px 20px;display:flex;overflow:auto}.content-body{flex:1 0 auto}.geo-credit{text-align:center;letter-spacing:.02em;padding-top:40px;font-size:11px}.geo-credit a{color:var(--faint);text-decoration:none}.empty{text-align:center;flex-direction:column;align-items:center;padding:88px 24px 72px;display:flex}.empty-mark{background:var(--muted);width:52px;height:52px;box-shadow:inset 0 0 0 1px var(--border);color:var(--muted-foreground);border-radius:14px;place-items:center;margin-bottom:18px;display:grid}.empty-mark svg{width:22px;height:22px}.empty-title{color:var(--foreground);letter-spacing:.01em;margin:0;font-size:15px;font-weight:600}.empty-hint{max-width:360px;color:var(--muted-foreground);margin:6px 0 0;font-size:13px;line-height:1.7}.empty-action{height:32px;margin-top:22px;padding:0 16px;text-decoration:none}.card{background:var(--background);border-radius:var(--radius-lg);box-shadow:var(--shadow-hairline);border:1px solid #0000;padding:20px}.stack{gap:var(--gap);flex-direction:column;display:flex}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.grid{gap:var(--gap);grid-template-columns:repeat(auto-fit,minmax(220px,1fr));display:grid}.btn{border-radius:var(--radius);background:var(--background);height:30px;box-shadow:var(--shadow-button);color:var(--foreground);font:inherit;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;border:0;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-weight:500;transition-property:background-color,box-shadow,scale;transition-duration:.15s;transition-timing-function:ease-out;display:inline-flex}.btn.primary{background:var(--primary);color:#fff;box-shadow:var(--shadow-primary)}.btn:disabled,.btn:disabled:hover{opacity:.5;cursor:default;background:var(--background)}.btn.primary:disabled{background:var(--primary)}.btn:focus-visible{box-shadow:var(--shadow-button), var(--focus);outline:none}button.link{color:var(--muted-foreground);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}button.link:disabled{opacity:.5;cursor:default}input,select,textarea{font:inherit;color:var(--foreground);background:var(--background);border:1px solid var(--input-border);border-radius:var(--radius);height:32px;padding:0 10px;transition:border-color .12s,box-shadow .12s}textarea{resize:vertical;height:auto;padding:8px 10px}select{padding-right:6px}input[type=checkbox]{width:14px;height:14px;accent-color:var(--primary);padding:0}input::placeholder,textarea::placeholder{color:var(--faint)}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary);outline:none}input:disabled,select:disabled{background:var(--muted);color:var(--faint)}label{color:var(--muted-foreground);flex-direction:column;gap:6px;font-size:12px;font-weight:500;display:flex}label.row{color:var(--foreground);flex-direction:row;font-size:13px;font-weight:400}.field-label{color:var(--muted-foreground);font-size:12px;font-weight:500}.rich{border:1px solid var(--input-border);border-radius:var(--radius);background:var(--background);transition:border-color .12s,box-shadow .12s}.rich:focus-within{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.rich-bar{border-bottom:1px solid var(--border);background:var(--sidebar);border-radius:var(--radius) var(--radius) 0 0}.rich-tools{flex-wrap:wrap;align-items:center;gap:2px;padding:6px 8px;display:flex}.rich-tools select{background:0 0;border-color:#0000;height:28px;padding:0 4px 0 8px;font-size:12px}.rich-tools select:focus{box-shadow:none;border-color:var(--input-border)}.rich-tool{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--muted-foreground);font:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;font-size:14px;display:grid}.rich-tool svg{width:16px;height:16px}.rich-tool[aria-pressed=true]{background:var(--muted);color:var(--foreground);box-shadow:inset 0 0 0 1px var(--border)}.rich-tool:disabled{opacity:.35;cursor:default;background:0 0}.rich-sep{background:var(--border);width:1px;height:16px;margin:0 6px}.rich-spacer{flex:1}.rich-color{flex-direction:column;align-items:center;font-weight:600;line-height:1;display:inline-flex}.rich-color span{border-radius:1px;width:14px;height:3px;margin-top:2px}.rich-panel{border-top:1px solid var(--border);align-items:center;gap:8px;padding:8px 10px;display:flex}.rich-panel input{flex:1;height:28px}.rich-swatch{cursor:pointer;border:0;border-radius:50%;width:18px;height:18px;padding:0;box-shadow:inset 0 0 0 1px #0000001a}.rich-swatch[aria-pressed=true]{box-shadow:0 0 0 2px var(--background), 0 0 0 4px var(--primary)}.rich-content{min-height:240px;color:var(--foreground);outline:none;padding:14px 16px;font-size:14px;line-height:1.7}.rich-content p{margin:0 0 .6em}.rich-content ul,.rich-content ol{margin:0 0 .6em;padding-left:1.4em}.rich-content li p{margin:0}.rich-content a{color:var(--primary);text-decoration:underline}.rich-content p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;height:0;color:var(--faint);pointer-events:none}.field{flex-direction:column;gap:6px;display:flex}.field-head{justify-content:space-between;align-items:center;display:flex}.help-toggle{border:1px solid var(--border-strong);background:var(--background);width:18px;height:18px;color:var(--muted-foreground);font:600 11px/1 var(--font);cursor:pointer;border-radius:50%;padding:0}.help-toggle[aria-expanded=true]{color:var(--primary);border-color:var(--primary)}.help{border-radius:var(--radius);background:var(--muted);flex-direction:column;gap:6px;padding:10px 12px;font-size:12px;line-height:1.6;display:flex}.hint{color:var(--muted-foreground);margin-top:-8px;font-size:12px}.hint.ok{color:var(--success)}button.link.alternative{color:var(--primary);align-self:flex-start;margin-top:-6px;font-size:12px}table.table{border-collapse:collapse;background:var(--background);width:100%}.table th,.table td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:9px 12px}.table th{color:var(--muted-foreground);white-space:nowrap;font-size:12px;font-weight:500}.table td{font-variant-numeric:tabular-nums}.table td.num,.table th.num{text-align:right;white-space:nowrap}.table td.nowrap,.table .nowrap{white-space:nowrap}.table td.strong{font-weight:600}.cell-sub{color:var(--muted-foreground);margin-top:2px;font-size:12px}.tag{border-radius:var(--radius-sm);background:var(--muted);height:20px;color:var(--muted-foreground);white-space:nowrap;align-items:center;gap:4px;padding:0 7px;font-size:11px;font-weight:500;display:inline-flex}.tag.blue{background:var(--primary-weak);color:#3568d1}.tag.green{background:var(--success-weak);color:var(--success-text)}.tag.orange{background:var(--warning-weak);color:var(--warning-text)}.tag.red{background:var(--danger-weak);color:var(--danger-text)}.tag button.link{color:inherit}.login{background:var(--sidebar);place-items:center;min-height:100%;padding:24px;display:grid}.login-card{flex-direction:column;gap:14px;width:360px;padding:28px;display:flex}.login-card h1{align-items:center;gap:8px;margin-bottom:4px;display:flex}.login-card .btn{height:34px}.btn.google{gap:8px}.or{color:var(--muted-foreground);align-items:center;gap:12px;margin:0;font-size:12px;display:flex}.or:before,.or:after{content:"";border-top:1px solid var(--border);flex:1}.brand{color:var(--foreground)}.segmented{background:var(--muted);border-radius:8px;grid-auto-columns:1fr;grid-auto-flow:column;align-self:flex-start;padding:2px;display:inline-grid;position:relative}.segmented.wide{align-self:stretch;display:grid}.segmented-thumb{width:calc((100% - 4px) / var(--count));border-radius:var(--radius);background:var(--background);box-shadow:var(--shadow-button);transform:translateX(calc(var(--index) * 100%));position:absolute;top:2px;bottom:2px;left:2px}@media (prefers-reduced-motion:no-preference){.segmented-thumb{transition:transform .15s cubic-bezier(.2,0,0,1)}}.segmented button{border-radius:var(--radius);height:26px;color:var(--muted-foreground);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;white-space:nowrap;background:0 0;border:0;padding:0 12px;font-weight:500;transition-property:color,box-shadow;transition-duration:.15s;transition-timing-function:ease-out;position:relative}.segmented button[aria-selected=true]{color:var(--foreground)}.segmented button:focus-visible{box-shadow:var(--focus);outline:none}.fact{align-items:baseline;gap:16px;display:flex}.fact-label{min-width:6em;color:var(--muted-foreground);flex:none}@media (hover:hover){a:hover{color:var(--primary-hover)}.side-item:hover,.sub-item:hover{background:var(--sidebar-hover);color:var(--foreground)}.side-item.active:hover,.sub-item.active:hover{background:var(--sidebar-selection)}.geo-credit a:hover{color:var(--muted-foreground)}.btn:hover{background:var(--hover);color:var(--foreground)}.btn.primary:hover{background:var(--primary-hover);color:#fff}.btn:disabled:hover{background:var(--background)}.btn.primary:disabled:hover{background:var(--primary)}button.link:hover{color:var(--foreground)}.rich-tools select:hover{background:var(--hover)}.rich-tool:hover{background:var(--hover);color:var(--foreground)}.rich-tool[aria-pressed=true]:hover{background:var(--muted)}.rich-tool:disabled:hover{background:0 0}.help-toggle:hover{color:var(--primary);border-color:var(--primary)}.table tbody tr:hover{background:#fafbfc}.segmented button:hover{color:var(--foreground)}.mail-row:hover{background:#fafbfc}.pill:hover{color:var(--primary-hover);background:#dfe9fd}.send-button:not(:disabled):hover{background:var(--primary-hover)}.chip button:hover{background:#dfe9fd}.sort:hover{background:var(--hover)}}@media (prefers-reduced-motion:no-preference){.btn:not(:disabled):active{scale:.96}}@media (width<=720px){.shell{flex-direction:column;height:auto;min-height:100%}.sidebar{border-right:0;border-bottom:1px solid var(--border);flex-flow:wrap;align-items:center;gap:4px 12px;width:auto;padding:8px 12px}.sidebar .logo{margin-bottom:0;padding:0 4px}.sidebar nav{flex-flow:wrap;gap:2px}.subnav{flex-basis:100%;margin-top:0}.subnav h2,.sidebar-spacer{display:none}.side-user{flex-basis:100%;margin:0;padding:8px 4px 0}.content{padding:20px 16px;overflow:visible}}.sent-page{width:100%;max-width:1080px;margin:0 auto}.btn svg{flex:none;width:16px;height:16px}.sort{height:30px;color:var(--primary);cursor:pointer;background:0 0;border-color:#0000;padding:0 6px;font-weight:500}.search{color:var(--muted-foreground);flex-direction:row;align-items:center;display:flex;position:relative}.search svg{pointer-events:none;width:16px;height:16px;position:absolute;left:10px}.search input{background:var(--muted);border-radius:10px;flex:1;height:34px;padding-left:34px;font-size:13px}.mail-none{text-align:center;padding:32px 0}.mail-panel{container-type:inline-size}.mail-rows{background:var(--background);box-shadow:var(--shadow-hairline);border:1px solid #0000;border-radius:12px;margin:0;padding:0;list-style:none}.mail-row{grid-template-columns:36px minmax(0,1fr) minmax(170px,240px) auto;grid-template-areas:"avatar main status action";align-items:center;gap:4px 14px;padding:12px 16px;display:grid;position:relative}.mail-row:first-child{border-radius:11px 11px 0 0}.mail-row:last-child{border-radius:0 0 11px 11px}.mail-row:only-child{border-radius:11px}.mail-row+.mail-row:before{content:"";border-top:1px solid var(--border);position:absolute;top:0;left:66px;right:0}.mail-avatar{background:var(--muted);width:36px;height:36px;color:var(--muted-foreground);border-radius:50%;grid-area:avatar;place-items:center;font-size:12px;font-weight:600;display:grid;position:relative}.mail-avatar.opened{background:var(--primary-weak);color:var(--primary-hover)}.mail-avatar.opened:after{content:"";background:var(--primary);width:10px;height:10px;box-shadow:0 0 0 2px var(--background);border-radius:50%;position:absolute;top:-1px;right:-1px}.mail-main{grid-area:main;min-width:0}.mail-who,.mail-line{white-space:nowrap;align-items:center;gap:6px;min-width:0;display:flex}.mail-who{font-weight:600}.mail-who>*,.mail-line>*{flex:none}.mail-who>span:first-child,.mail-line>.mail-subject{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.mail-who .muted{font-weight:400}.mail-subject{color:var(--muted-foreground)}.mail-subject:after{content:"";position:absolute;inset:0}.mail-status{text-align:end;font-variant-numeric:tabular-nums;grid-area:status;font-size:12px}.mail-place{color:var(--foreground);font-size:13px}.mail-action{z-index:1;white-space:nowrap;grid-area:action;justify-self:end;position:relative}.open-count{background:var(--primary-weak);color:var(--primary-hover);border-radius:999px;padding:1px 8px;font-size:12px;font-weight:600;display:inline-block}.open-count.none{background:var(--muted);color:var(--muted-foreground)}.count{display:inline-block}.pill{background:var(--primary-weak);height:28px;color:var(--primary-hover);-webkit-tap-highlight-color:transparent;border-radius:999px;align-items:center;padding:0 12px;font-size:12px;font-weight:600;transition-property:background-color,scale;transition-duration:.15s;transition-timing-function:ease-out;display:inline-flex}.pill:focus-visible,.customer-link:focus-visible,.mail-subject:focus-visible{box-shadow:var(--focus);border-radius:var(--radius);outline:none}.customer-link{color:var(--primary);align-items:center;gap:4px;font-weight:500;display:inline-flex}@container (width<=720px){.mail-row{grid-template-columns:36px minmax(0,1fr) auto;grid-template-areas:"avatar main action"".status status"}.mail-status{text-align:start;flex-wrap:wrap;align-items:center;column-gap:8px;display:flex}.mail-status .cell-sub{flex-basis:100%}}.compose-page{width:100%;max-width:720px;margin:0 auto}.sheet{background:var(--background);box-shadow:var(--shadow-hairline), 0 12px 32px -12px #191b1f1f;border:1px solid #0000;border-radius:14px}.sheet-head{border-bottom:1px solid var(--border);grid-template-columns:1fr auto 1fr;align-items:center;min-height:52px;padding:8px 12px 8px 16px;display:grid}.sheet-head h1{font-size:15px}.sheet-cancel{justify-self:start}.send-button{background:var(--primary);color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent;border:0;border-radius:50%;justify-self:end;place-items:center;width:32px;height:32px;padding:0;transition-property:background-color,scale;transition-duration:.15s;transition-timing-function:ease-out;display:grid}.send-button svg{width:18px;height:18px}.send-button:disabled{opacity:.5;cursor:default}.send-button:focus-visible,.chip button:focus-visible{box-shadow:var(--focus);outline:none}.sheet-field{border-bottom:1px solid var(--border);align-items:center;gap:12px;min-height:46px;padding:6px 16px;display:flex}.sheet-field:focus-within{box-shadow:inset 2px 0 0 var(--primary)}.sheet-field>label,.sheet-label{width:52px;color:var(--muted-foreground);flex:none;font-size:13px;font-weight:400;display:block}input.bare{background:0 0;border:0;flex:1;min-width:120px;height:32px;padding:0}input.bare:focus{box-shadow:none}.chips{flex-wrap:wrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex}.chip{background:var(--primary-weak);height:26px;color:var(--primary-hover);border-radius:999px;align-items:center;gap:2px;padding:0 1px 0 10px;font-size:13px;display:inline-flex}.chip button{width:24px;height:24px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.sheet .rich{border:0;border-radius:0}.sheet .rich:focus-within{box-shadow:inset 2px 0 0 var(--primary);border:0}.sheet .rich-bar{border-radius:0}.sheet-body{padding:20px 16px}.sheet-foot{border-top:1px solid var(--border);background:var(--sidebar);border-radius:0 0 13px 13px;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 16px;display:flex}.sheet-note{color:var(--muted-foreground);align-items:center;gap:6px;margin-inline-start:auto;font-size:12px;display:inline-flex}.sheet-note svg{width:14px;height:14px}.mail-row.fresh .open-count{animation:.7s ease-out count-flash}@media (prefers-reduced-motion:no-preference){.pill:active,.send-button:not(:disabled):active{scale:.96}.mail-row.fresh .count{animation:.2s cubic-bezier(.2,0,0,1) count-in}.mail-row.fresh .mail-avatar:before{content:"";border:2px solid var(--primary);border-radius:50%;animation:.7s ease-out both ring-out;position:absolute;inset:-2px}}@keyframes count-flash{0%{background:var(--primary);color:#fff}}@keyframes count-in{0%{opacity:0;transform:translateY(6px)}}@keyframes ring-out{0%{opacity:.6;transform:scale(1)}to{opacity:0;transform:scale(1.8)}}
