@charset "UTF-8";
:root {
  --paper:#faf9f5;
  --surface:#fffefa;
  --sidebar:#f0f1e9;
  --ink:#26392f;
  --subtle:#788176;
  --muted:#657268;
  --green:#254d3c;
  --green-hover:#173e2d;
  --line:#e2e5da;
  --soft:#edf1e8;
  --amber:#b88938;
  --amber-soft:#f7f0df;
  --danger:#a74435;
  --danger-soft:#fcf0eb;
  --radius:14px;
  --font:"Avenir Next","PingFang SC","Microsoft YaHei",sans-serif;
  --mono:"SFMono-Regular","Cascadia Code","Menlo",monospace
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font);
  font-size:14px;
  -webkit-font-smoothing:antialiased
}
button,input,select {
  font:inherit
}
button,a,input,select,summary {
  -webkit-tap-highlight-color:transparent
}
button,a,summary {
  touch-action:manipulation
}
button {
  cursor:pointer
}
a {
  color:var(--green);
  text-underline-offset:4px
}
button:disabled {
  cursor:not-allowed;
  opacity:.5
}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid #9eb9a9;
  outline-offset:3px
}
button,input,select {
  border-radius:8px
}
input,select {
  color:var(--ink)
}
[hidden] {
  display:none!important
}
.icon-defs {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}
.icon {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:none
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  text-decoration:none;
  font-size:21px;
  letter-spacing:.02em;
  font-weight:650;
  white-space:nowrap
}
.brand-mark {
  height:38px;
  width:38px;
  border-radius:11px;
  background:var(--green);
  color:var(--surface);
  display:grid;
  place-items:center;
  transform:rotate(-5deg);
  flex:none
}
.brand-mark .icon {
  width:23px;
  height:23px;
  transform:rotate(5deg)
}
.brand small {
  display:block;
  font-size:9px;
  letter-spacing:.24em;
  font-weight:500;
  margin-top:3px
}
.eyebrow {
  font-size:10px;
  letter-spacing:.2em;
  font-weight:600;
  color:var(--subtle);
  margin:0 0 16px
}
.muted {
  color:var(--muted);
  line-height:1.75
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:43px;
  padding:10px 17px;
  border:1px solid transparent;
  font-weight:550;
  font-size:13px;
  white-space:nowrap;
  transition:background .18s,transform .18s
}
.button:active:not(:disabled) {
  transform:translateY(1px)
}
.button-primary {
  background:var(--green);
  color:#fffefa
}
.button-primary:hover:not(:disabled) {
  background:var(--green-hover)
}
.button-soft {
  background:var(--soft);
  border-color:#dce4d6;
  color:var(--green)
}
.button-soft:hover:not(:disabled) {
  background:#e1e9dc
}
.button-wide {
  width:100%
}
.button .icon {
  width:17px;
  height:17px
}
.dot {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--green);
  flex:none
}
.dot.offline {
  background:var(--amber)
}
.boot-view {
  min-height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:16px;
  color:var(--muted)
}
/* Sign in */
.auth-view {
  min-height:100dvh;
  display:grid;
  grid-template-columns:1.08fr 1fr
}
.auth-intro {
  background:var(--sidebar);
  padding:64px clamp(40px,7vw,120px);
  display:flex;
  flex-direction:column;
  min-height:100dvh;
  position:relative;
  overflow:hidden
}
.auth-intro:after {
  content:"";
  position:absolute;
  border:1px solid #d5dccc;
  border-radius:50%;
  width:540px;
  height:540px;
  left:-180px;
  bottom:-370px;
  pointer-events:none
}
.auth-title {
  margin:auto 0;
  padding:70px 0
}
.auth-title .eyebrow {
  font-size:9px
}
.auth-title h1 {
  font-family:"Iowan Old Style","Songti SC","Noto Serif SC",serif;
  font-weight:500;
  font-size:clamp(34px,3.5vw,54px);
  line-height:1.6;
  letter-spacing:.035em;
  margin:18px 0 26px
}
.auth-title>p:last-child {
  color:var(--muted);
  line-height:2;
  font-size:14px
}
.auth-foot {
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--muted);
  font-size:11px;
  letter-spacing:.06em
}
.auth-panel {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:50px 40px;
  min-height:100dvh
}
.auth-card {
  width:100%;
  max-width:340px
}
.auth-lock {
  height:42px;
  width:42px;
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:12px;
  display:grid;
  place-items:center;
  margin-bottom:30px
}
.auth-card .eyebrow {
  font-size:9px;
  margin-bottom:10px
}
.auth-card h2 {
  font-weight:550;
  font-size:25px;
  letter-spacing:-.03em;
  margin:0 0 12px
}
.auth-card>.muted {
  font-size:13px;
  margin:0 0 28px
}
.auth-card label,.settings-dialog form label {
  display:block;
  color:#4b5c50;
  font-size:12px;
  margin:18px 0 9px
}
.auth-card input,.settings-dialog input {
  width:100%;
  background:#fffefa;
  border:1px solid #d7dfd1;
  padding:13px 14px;
  line-height:1.4
}
.auth-card input::placeholder,.settings-dialog input::placeholder {
  color:#a0a69c;
  font-size:12px
}
.auth-card .button {
  margin-top:23px
}
.auth-card .button .icon {
  margin-left:auto
}
.auth-card .button>span {
  margin-right:auto
}
.quiet-link {
  font-size:12px;
  text-decoration:none;
  display:block;
  text-align:center;
  margin-top:24px;
  color:var(--muted)
}
.quiet-link:hover {
  text-decoration:underline
}
.auth-privacy {
  margin-top:60px;
  color:#899184;
  font-size:11px
}
.setup-note {
  font-size:12px;
  line-height:1.7;
  color:var(--amber);
  background:var(--amber-soft);
  padding:12px;
  border-radius:8px
}
.field-error {
  color:var(--danger);
  font-size:12px;
  line-height:1.6;
  margin:10px 0 0
}
.auth-card .field-error+.button {
  margin-top:16px
}
/* Workspace */
.app-shell {
  display:grid;
  grid-template-columns:244px minmax(0,1fr);
  min-height:100dvh
}
.sidebar {
  background:var(--sidebar);
  border-right:1px solid #e1e5d9;
  padding:37px 22px 25px;
  display:flex;
  flex-direction:column;
  position:sticky;
  top:0;
  height:100dvh
}
.sidebar>.brand {
  padding:0 10px
}
.sidebar-label {
  margin:54px 14px 17px;
  color:#7c8778;
  font-size:10px;
  letter-spacing:.12em;
  display:flex;
  justify-content:space-between
}
.sidebar-label>span {
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.06em
}
.source-nav {
  display:flex;
  flex-direction:column;
  gap:7px
}
.source-button {
  display:flex;
  align-items:center;
  gap:11px;
  width:100%;
  padding:13px 12px;
  background:none;
  border:1px solid transparent;
  color:#687664;
  text-align:left;
  border-radius:10px;
  min-width:0;
  transition:background .18s,border-color .18s
}
.source-button:hover {
  background:#e7ebdf
}
.source-button.active {
  background:#fcfcf7;
  border-color:#dce3d3;
  box-shadow:0 2px 3px #31422b04;
  color:var(--green)
}
.source-icon {
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  flex:none;
  background:#e5eadf;
  border-radius:7px;
  font-family:var(--mono);
  font-weight:600;
  font-size:11px
}
.source-icon .icon {
  width:17px;
  height:17px
}
.source-button.active .source-icon {
  background:#e3ece1
}
.source-copy {
  min-width:0;
  flex:1
}
.source-name {
  display:block;
  font-size:12px;
  font-weight:550
}
.source-address {
  display:block;
  font-size:9px;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  margin-top:5px;
  opacity:.75
}
.source-count {
  font-family:var(--mono);
  font-size:10px;
  color:#8d9886;
  min-width:12px;
  text-align:center
}
.sidebar-bottom {
  margin-top:auto;
  padding:28px 12px 0
}
.collector-note {
  font-size:10px;
  display:flex;
  align-items:center;
  gap:7px;
  color:#5f725e
}
.collector-address {
  font-size:9px;
  color:#8a9483;
  margin:7px 0 21px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.sidebar-action {
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 0;
  border:0;
  background:none;
  color:#61715f;
  width:100%;
  font-size:12px;
  text-align:left
}
.sidebar-action .icon {
  width:17px;
  height:17px
}
.sidebar-action>span {
  margin-left:auto;
  font-size:14px
}
.sidebar-action:hover {
  color:var(--green)
}
.logout-action {
  color:#8a9483;
  font-size:11px;
  padding-bottom:0
}
.workspace {
  width:100%;
  max-width:1260px;
  margin:0 auto;
  padding:47px clamp(28px,5vw,76px) 25px;
  display:flex;
  flex-direction:column;
  min-width:0
}
.workspace-header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:25px;
  margin-bottom:48px
}
.workspace-header .eyebrow {
  font-size:9px;
  margin-bottom:16px
}
.workspace-header h1 {
  font-size:clamp(24px,2.35vw,34px);
  font-weight:550;
  letter-spacing:-.055em;
  line-height:1.5;
  margin:0
}
.heading-dot {
  color:#8da17c
}
.header-description {
  font-size:12px;
  color:#7f897b;
  margin:12px 0 0;
  line-height:1.7
}
.private-badge {
  display:flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
  color:#778471;
  font-size:10px;
  margin-top:4px;
  padding:7px 9px;
  border:1px solid var(--line);
  border-radius:30px
}
.private-badge .icon {
  width:12px;
  height:12px
}
.inbox-section {
  min-width:0
}
.inbox-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:24px
}
.inbox-heading h2 {
  font-size:17px;
  font-weight:550;
  letter-spacing:-.025em;
  display:flex;
  align-items:center;
  gap:10px;
  margin:0
}
.inbox-heading h2 span {
  font-size:10px;
  font-family:var(--mono);
  font-weight:500;
  color:#6f8066;
  background:#e9eee2;
  padding:3px 6px;
  border-radius:5px;
  min-width:22px;
  text-align:center
}
.inbox-heading p {
  font-size:10px;
  color:#91998c;
  margin:7px 0 0;
  min-height:15px
}
.inbox-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:14px 0;
  margin-bottom:22px
}
.toolbar-options {
  display:flex;
  align-items:center;
  gap:24px
}
.time-select {
  display:flex;
  align-items:center;
  gap:7px;
  color:#778672
}
.time-select .icon {
  width:15px;
  height:15px
}
.time-select select {
  background:transparent;
  border:0;
  font-size:11px;
  color:#60715c;
  padding:3px 17px 3px 0;
  max-width:140px;
  cursor:pointer
}
.check-option {
  display:flex;
  align-items:center;
  gap:7px;
  color:#778471;
  font-size:11px;
  white-space:nowrap;
  cursor:pointer
}
.check-option input {
  width:13px;
  height:13px;
  margin:0;
  accent-color:var(--green)
}
.wait-button {
  display:flex;
  align-items:center;
  gap:7px;
  border:0;
  background:none;
  font-size:11px;
  color:#61775e;
  padding:5px 0;
  white-space:nowrap
}
.pulse-dot {
  width:5px;
  height:5px;
  background:#9aaa8d;
  border-radius:50%
}
.wait-button.waiting {
  color:var(--amber)
}
.waiting .pulse-dot {
  background:var(--amber);
  animation:pulse 1.5s ease-in-out infinite
}
.wait-status {
  padding:14px 16px 12px;
  margin-bottom:15px;
  border:1px solid #e6dec5;
  background:var(--amber-soft);
  border-radius:9px;
  color:#8e6a2c;
  font-size:11px
}
.wait-status>div:first-child {
  display:flex;
  justify-content:space-between;
  gap:16px
}
.wait-progress-track {
  height:2px;
  background:#e5dbc1;
  margin-top:10px;
  overflow:hidden
}
.wait-progress-track>span {
  display:block;
  height:100%;
  width:100%;
  background:#b8944f;
  transition:width 1s linear
}
.notice,.error-banner {
  padding:13px 15px;
  border-radius:9px;
  margin:0 0 16px;
  font-size:12px;
  line-height:1.7
}
.notice {
  background:#edf2e8;
  border:1px solid #dce7d5;
  color:#5a7351
}
.error-banner {
  color:var(--danger);
  background:var(--danger-soft);
  border:1px solid #efd8ce
}
.messages {
  display:flex;
  flex-direction:column;
  gap:13px
}
.message-card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px 24px;
  animation:arrive .3s ease both;
  position:relative;
  min-width:0
}
.message-card.latest {
  border-color:#c8d5c0;
  box-shadow:0 3px 10px #344c211f
}
.message-card.new-arrival {
  border-color:#7fa275
}
.message-topline {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:21px
}
.message-labels {
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap
}
.source-tag {
  font-size:10px;
  font-weight:550;
  color:#5e7657;
  background:#eff3e9;
  border:1px solid #e2e9d9;
  padding:4px 7px;
  border-radius:5px
}
.spam-tag {
  font-size:9px;
  color:#a17b39;
  background:var(--amber-soft);
  padding:4px 7px;
  border-radius:4px
}
.new-tag {
  font-size:9px;
  color:var(--green);
  letter-spacing:.06em
}
.message-time {
  font-size:10px;
  color:#8c9684;
  white-space:nowrap
}
.message-main {
  display:grid;
  grid-template-columns:minmax(110px,1fr) minmax(160px,1fr) auto;
  align-items:center;
  gap:20px
}
.sender {
  font-size:14px;
  font-weight:600;
  overflow-wrap:anywhere;
  margin:0 0 8px;
  line-height:1.4
}
.recipient {
  font-family:var(--mono);
  font-size:10px;
  color:#8b9584;
  overflow-wrap:anywhere;
  line-height:1.5
}
.code-wrap {
  padding-left:13px;
  border-left:1px solid #e7ebdf;
  min-width:0
}
.code-label {
  font-size:9px;
  color:#8c9784;
  letter-spacing:.07em;
  margin:0 0 6px
}
.verification-code {
  font-family:var(--mono);
  font-size:clamp(24px,2.6vw,37px);
  font-weight:500;
  letter-spacing:.105em;
  line-height:1.2;
  color:var(--green);
  margin:0;
  word-break:break-all;
  font-variant-ligatures:none
}
.verification-code.long-code {
  font-size:23px;
  letter-spacing:.06em
}
.copy-button {
  border:1px solid #d4dfcc;
  background:#f1f5ec;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#42613a;
  border-radius:9px;
  min-width:78px;
  height:38px;
  font-size:11px
}
.copy-button:hover {
  background:#e6efde
}
.copy-button .icon {
  width:14px;
  height:14px
}
.copy-button.copied {
  color:var(--green);
  background:#e0ecd8
}
.message-detail {
  margin-top:20px;
  padding-top:13px;
  border-top:1px dashed #e5e8de;
  color:#919b89;
  font-size:10px;
  line-height:1.65
}
.message-detail summary {
  cursor:pointer;
  overflow-wrap:anywhere;
  list-style-position:inside
}
.message-detail[open] summary {
  color:#5e7258
}
.message-detail p {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  margin:11px 0 0;
  color:#64715d;
  font-size:12px;
  line-height:1.8;
  max-height:210px;
  overflow:auto
}
.message-detail .sender-address {
  font-family:var(--mono);
  color:#8c9785;
  font-size:10px;
  margin-top:8px
}
.uncertain-label {
  font-size:17px;
  color:#8a774e;
  font-weight:500;
  margin:0 0 5px
}
.uncertain-note {
  font-size:10px;
  line-height:1.6;
  color:#8d9785
}
.message-card.uncertain .message-main {
  grid-template-columns:minmax(100px,1fr) minmax(180px,1.25fr)
}
.candidate-list {
  font-family:var(--mono);
  color:#8c7445;
  font-size:12px;
  margin:8px 0 0;
  word-break:break-word
}
.empty-state {
  min-height:365px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  justify-content:center;
  border:1px dashed #dce3d3;
  border-radius:var(--radius);
  padding:38px 24px 42px;
  background:#f8f9f2
}
.empty-art {
  height:88px;
  width:112px;
  position:relative;
  margin-bottom:21px
}
.empty-envelope {
  position:absolute;
  width:62px;
  height:51px;
  border:1px solid #cbd7c0;
  background:#f6f8ee;
  border-radius:11px;
  display:grid;
  place-items:center;
  top:19px;
  left:22px;
  transform:rotate(-8deg);
  color:#8ca57b;
  box-shadow:5px 6px 0 #e9eedf
}
.empty-envelope .icon {
  width:35px;
  height:35px;
  stroke-width:1
}
.empty-orbit {
  position:absolute;
  border:1px dashed #d7dfca;
  width:104px;
  height:80px;
  left:5px;
  top:2px;
  border-radius:50%;
  transform:rotate(-25deg)
}
.empty-stamp {
  position:absolute;
  right:13px;
  top:9px;
  width:22px;
  height:24px;
  background:#e9eddb;
  border:1px solid #d3ddc3;
  display:grid;
  place-items:center;
  font-family:"Iowan Old Style",serif;
  font-size:12px;
  color:#8ca275;
  transform:rotate(12deg)
}
.empty-state .eyebrow {
  font-size:8px;
  letter-spacing:.19em;
  color:#9aa58f;
  margin-bottom:10px
}
.empty-state h3 {
  font-size:19px;
  font-weight:500;
  letter-spacing:-.03em;
  margin:0 0 12px;
  color:#566a4e
}
.empty-state>p:not(.eyebrow) {
  font-size:12px;
  color:#8e9983;
  line-height:1.9;
  margin:0;
  max-width:350px
}
.empty-state>.button {
  margin-top:23px;
  font-size:11px;
  min-height:36px;
  padding:8px 14px
}
.empty-state.loading .empty-envelope {
  animation:pulse 1s infinite
}
.results-footnote {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:#9aa28f;
  margin-top:22px;
  font-size:10px;
  line-height:1.6
}
.results-footnote .icon {
  width:12px;
  height:12px
}
.results-footnote p {
  margin:0
}
.workspace-footer {
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#a3aa99;
  font-size:9px;
  letter-spacing:.02em;
  padding-top:58px;
  margin-top:auto
}
.workspace-footer>span:last-child {
  font-size:8px;
  letter-spacing:.1em
}
.footer-dot {
  margin:0 6px
}
.demo-banner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:#f4eddc;
  border:1px solid #e9dfc6;
  color:#987435;
  padding:10px 13px;
  border-radius:8px;
  font-size:10px;
  margin:-20px 0 28px;
  line-height:1.6
}
.demo-banner a {
  white-space:nowrap;
  color:#84612b;
  text-decoration:none
}
/* Settings */
.settings-dialog {
  height:100dvh;
  max-height:100dvh;
  width:500px;
  max-width:100%;
  margin:0 0 0 auto;
  padding:0;
  border:0;
  border-left:1px solid var(--line);
  background:var(--paper);
  color:var(--ink);
  box-shadow:-15px 0 80px #20301f1f;
  overflow:hidden
}
.settings-dialog::backdrop {
  background:#182b1f52;
  backdrop-filter:blur(2px)
}
.drawer-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:32px 30px 25px;
  border-bottom:1px solid var(--line)
}
.drawer-heading .eyebrow {
  margin-bottom:8px;
  font-size:8px
}
.drawer-heading h2 {
  font-size:23px;
  font-weight:500;
  margin:0
}
.icon-button {
  border:1px solid var(--line);
  background:var(--surface);
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  color:#6c7a64
}
.icon-button .icon {
  width:16px;
  height:16px
}
.drawer-body {
  padding:28px 30px;
  overflow:auto;
  height:calc(100dvh - 111px)
}
.settings-section {
  display:flex;
  gap:15px;
  padding-bottom:30px;
  margin-bottom:27px;
  border-bottom:1px solid var(--line)
}
.section-number {
  font-family:var(--mono);
  font-size:10px;
  color:#a0ac95;
  padding-top:5px
}
.settings-section-content {
  min-width:0;
  flex:1
}
.settings-section h3 {
  font-size:16px;
  font-weight:550;
  margin:0 0 10px
}
.settings-section .muted {
  font-size:12px;
  margin:0 0 18px
}
.connection-info {
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:9px;
  margin-bottom:15px;
  background:#f0f4e9;
  font-size:12px;
  overflow-wrap:anywhere
}
.connection-info.disconnected {
  background:#f4f1e7;
  color:#8f784c
}
.connection-info small {
  display:block;
  font-size:10px;
  color:#8a9880;
  margin-top:5px
}
.google-letter {
  font-family:Georgia,serif;
  font-weight:700;
  font-size:18px;
  line-height:1
}
.field-hint {
  font-size:10px;
  color:#98a08f;
  line-height:1.8;
  margin:9px 0 14px
}
.field-hint a {
  white-space:nowrap;
  color:#6f8661
}
.alternate-connect {
  border:1px solid var(--line);
  padding:13px 14px;
  border-radius:9px;
  font-size:12px;
  color:#718168;
  margin-top:18px
}
.alternate-connect summary {
  cursor:pointer;
  line-height:1.6
}
.alternate-connect input {
  font-size:12px;
  padding:10px
}
.text-button {
  background:none;
  border:0;
  padding:0;
  font-size:11px;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer
}
.danger-text {
  color:#aa6f5e;
  margin-top:17px
}
.field-feedback {
  font-size:12px;
  padding:11px 12px;
  margin:14px 0 0;
  border-radius:7px;
  background:var(--soft);
  color:#657b57;
  line-height:1.7
}
.field-feedback.error {
  color:var(--danger);
  background:var(--danger-soft)
}
.source-fieldset {
  border:0;
  padding:0;
  margin:0 0 22px
}
.source-fieldset legend {
  font-size:12px;
  font-weight:550;
  color:#4f6747;
  margin:0 0 2px;
  padding:0
}
.settings-dialog .source-fieldset label {
  font-size:10px;
  margin-top:10px;
  margin-bottom:6px;
  color:#8a9880
}
.source-fieldset input {
  font-size:12px;
  padding:10px 11px
}
.source-fieldset .field-hint {
  margin:5px 0 0;
  font-size:9px
}
.drawer-privacy {
  font-size:10px;
  line-height:1.8;
  color:#97a18c;
  display:flex;
  align-items:flex-start;
  gap:7px;
  margin:0 0 10px
}
.drawer-privacy .icon {
  width:13px;
  height:13px;
  margin-top:2px
}
.toast {
  position:fixed;
  left:50%;
  bottom:28px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:8px;
  padding:13px 21px;
  background:#254d3c;
  color:#fffefa;
  border-radius:10px;
  font-size:12px;
  box-shadow:0 6px 30px #254d3c2b;
  z-index:10;
  max-width:calc(100vw - 40px)
}
.toast .icon {
  width:16px;
  height:16px
}
.is-spinning {
  animation:spin 1.3s linear infinite
}
@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}
@keyframes pulse {
  50% {
    opacity:.35
  }
}
@keyframes arrive {
  from {
    opacity:0;
    transform:translateY(5px)
  }
  to {
    opacity:1;
    transform:translateY(0)
  }
}
@media(min-width:1500px) {
  .workspace {
    padding-top:64px
  }
  .workspace-header {
    margin-bottom:58px
  }
  .message-card {
    padding:25px 30px
  }
  .sidebar {
    padding-top:53px
  }
}
@media(max-width:1100px) {
  .app-shell {
    grid-template-columns:214px minmax(0,1fr)
  }
  .sidebar {
    padding:31px 15px 22px
  }
  .workspace {
    padding:39px 30px 25px
  }
  .workspace-header {
    gap:12px;
    margin-bottom:35px
  }
  .private-badge {
    display:none
  }
  .message-main {
    grid-template-columns:minmax(100px,1fr) minmax(130px,1fr) auto;
    gap:14px
  }
  .verification-code {
    font-size:28px
  }
  .toolbar-options {
    gap:15px
  }
  .message-card {
    padding:20px
  }
  .source-address {
    font-size:8px
  }
  .workspace-footer>span:last-child {
    letter-spacing:.03em
  }
}
@media(max-width:800px) {
  .app-shell {
    display:block
  }
  .sidebar {
    height:auto;
    position:static;
    padding:20px 22px 17px;
    border-right:0;
    border-bottom:1px solid var(--line);
    display:grid;
    grid-template-columns:1fr auto;
    gap:20px
  }
  .sidebar>.brand {
    padding:0;
    font-size:19px
  }
  .brand-mark {
    width:34px;
    height:34px
  }
  .sidebar-label {
    display:none
  }
  .source-nav {
    grid-column:1/-1;
    grid-row:2;
    flex-direction:row;
    overflow-x:auto;
    gap:6px;
    padding-bottom:1px
  }
  .source-button {
    width:auto;
    flex:none;
    gap:7px;
    padding:8px 10px;
    border-radius:8px
  }
  .source-icon {
    width:22px;
    height:22px;
    font-size:9px
  }
  .source-name {
    font-size:11px
  }
  .source-address {
    display:none
  }
  .source-count {
    font-size:9px
  }
  .sidebar-bottom {
    margin:0;
    padding:0;
    display:flex;
    align-items:center;
    gap:15px
  }
  .collector-note,.collector-address {
    display:none
  }
  .sidebar-action {
    width:auto;
    font-size:0;
    padding:7px
  }
  .sidebar-action .icon {
    width:19px;
    height:19px
  }
  .sidebar-action>span {
    display:none
  }
  .workspace {
    padding:30px 24px 20px
  }
  .workspace-header {
    margin-bottom:30px
  }
  .workspace-header h1 {
    font-size:28px
  }
  .workspace-header .eyebrow {
    font-size:8px
  }
  .header-description {
    font-size:11px
  }
  .workspace-footer {
    padding-top:38px
  }
  .message-main {
    grid-template-columns:minmax(140px,1.1fr) minmax(170px,1fr) auto
  }
  .demo-banner {
    margin:-8px 0 24px
  }
  .auth-view {
    grid-template-columns:1fr 1.2fr
  }
  .auth-intro {
    padding:40px 28px
  }
  .auth-title h1 {
    font-size:34px
  }
  .auth-title .eyebrow {
    font-size:7px;
    letter-spacing:.15em
  }
  .auth-panel {
    padding:40px 30px
  }
  .auth-title>p:last-child {
    font-size:12px
  }
}
@media(max-width:560px) {
  .sidebar {
    padding:18px 16px 13px;
    gap:20px
  }
  .sidebar-bottom {
    gap:7px
  }
  .source-button {
    padding:7px 8px
  }
  .source-count {
    display:none
  }
  .source-icon {
    width:21px;
    height:21px
  }
  .source-name {
    font-size:10px
  }
  .workspace {
    padding:28px 17px 22px
  }
  .workspace-header h1 {
    font-size:25px;
    letter-spacing:-.06em
  }
  .workspace-header .eyebrow {
    font-size:7px;
    letter-spacing:.15em;
    margin-bottom:11px
  }
  .header-description {
    font-size:10px;
    margin-top:10px
  }
  .inbox-heading {
    margin-bottom:18px
  }
  .inbox-heading h2 {
    font-size:16px
  }
  .inbox-heading .button {
    min-height:38px;
    font-size:11px;
    padding:9px 12px
  }
  .inbox-toolbar {
    gap:10px;
    flex-wrap:wrap;
    padding:12px 0;
    margin-bottom:18px
  }
  .toolbar-options {
    gap:12px;
    flex:1
  }
  .check-option {
    font-size:9px;
    gap:5px
  }
  .time-select {
    gap:4px
  }
  .time-select select {
    font-size:10px;
    padding-right:5px
  }
  .time-select .icon {
    width:13px
  }
  .wait-button {
    font-size:10px
  }
  .message-card {
    padding:17px;
    border-radius:12px
  }
  .message-topline {
    margin-bottom:17px
  }
  .message-main {
    grid-template-columns:minmax(0,1fr) auto;
    row-gap:19px;
    column-gap:10px
  }
  .message-meta {
    grid-column:1/-1
  }
  .sender {
    font-size:13px;
    margin-bottom:5px
  }
  .recipient {
    font-size:9px
  }
  .code-wrap {
    padding-left:0;
    border:0
  }
  .verification-code {
    font-size:35px
  }
  .verification-code.long-code {
    font-size:25px
  }
  .copy-button {
    min-width:80px;
    height:37px
  }
  .message-detail {
    margin-top:17px;
    font-size:9px
  }
  .message-time {
    font-size:9px
  }
  .message-card.uncertain .message-main {
    grid-template-columns:1fr
  }
  .uncertain .code-wrap {
    padding-top:5px
  }
  .results-footnote {
    font-size:9px;
    align-items:flex-start;
    padding:0 5px
  }
  .empty-state {
    min-height:330px;
    padding:27px 15px 31px
  }
  .empty-state h3 {
    font-size:18px
  }
  .empty-state>p:not(.eyebrow) {
    font-size:11px
  }
  .workspace-footer {
    font-size:8px;
    padding-top:30px
  }
  .workspace-footer>span:last-child {
    font-size:6px;
    letter-spacing:.02em
  }
  .demo-banner {
    font-size:9px;
    gap:12px;
    padding:10px
  }
  .demo-banner a {
    white-space:normal;
    min-width:60px
  }
  .drawer-heading {
    padding:25px 22px 22px
  }
  .drawer-body {
    padding:25px 22px;
    height:calc(100dvh - 101px)
  }
  .settings-section {
    gap:10px
  }
  .auth-view {
    display:block
  }
  .auth-intro {
    min-height:auto;
    padding:27px 27px 31px
  }
  .auth-intro:after {
    display:none
  }
  .auth-title {
    padding:35px 0 0;
    margin:0
  }
  .auth-title .eyebrow,.auth-title>p:last-child,.auth-foot {
    display:none
  }
  .auth-title h1 {
    font-size:29px;
    line-height:1.5;
    margin:0;
    letter-spacing:.02em
  }
  .auth-title h1 br {
    display:none
  }
  .auth-panel {
    min-height:auto;
    padding:35px 27px
  }
  .auth-lock {
    display:none
  }
  .auth-card {
    max-width:390px
  }
  .auth-card h2 {
    font-size:23px
  }
  .auth-card>.muted {
    margin-bottom:23px
  }
  .auth-privacy {
    margin-top:33px;
    font-size:10px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
