
:root { color-scheme:light; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; color:#202925; background:#f4f6f3; }
* { box-sizing:border-box; }
body { min-height:100vh; margin:0; }
button { font:inherit; color:inherit; cursor:pointer; }
button:disabled { cursor:default; opacity:.55; }
button:focus-visible, [tabindex]:focus-visible { outline:3px solid #287b61; outline-offset:3px; }
[hidden] { display:none !important; }
.masthead { background:#fff; border-bottom:1px solid #dbe3dd; }
.head-inner,main { max-width:1160px; margin:0 auto; }
.head-inner { display:flex; align-items:center; gap:15px; padding:23px 32px; }
.envelope { display:grid; place-items:center; flex:none; width:46px; height:46px; font-size:25px; background:#145843; color:white; border-radius:12px; }
.heading { min-width:0; }
h1,h2,p { margin:0; }
h1 { font-size:22px; font-weight:670; letter-spacing:-.035em; }
#address { color:#52635a; margin-top:3px; font-size:14px; overflow-wrap:anywhere; }
#address:empty { display:none; }
#refresh,#more,.back { border:1px solid #c9d5cd; border-radius:7px; padding:8px 13px; background:white; color:#264a3a; font-size:14px; font-weight:570; }
#refresh { margin-left:auto; flex:none; }
#refresh:hover:enabled,#more:hover:enabled,.back:hover { background:#f1f6f1; }
main { display:grid; grid-template-columns:minmax(255px,.76fr) minmax(0,1.35fr); gap:20px; padding:30px 32px; align-items:start; }
.panel { background:#fff; border:1px solid #dbe3dd; border-radius:12px; min-width:0; box-shadow:0 2px 6px #1f362a05; }
.panel-heading { padding:18px 20px; border-bottom:1px solid #e7ece8; font-size:15px; font-weight:640; }
.status { color:#59645d; padding:24px 20px; font-size:14px; }
.status:empty { display:none; }
#list { list-style:none; margin:0; padding:0; }
.mail-row { display:block; width:100%; text-align:left; padding:15px 20px; border:0; border-bottom:1px solid #e7ece8; background:white; }
.mail-row:hover { background:#f7f9f7; }
.mail-row[aria-current="true"] { background:#eaf3ed; box-shadow:inset 3px 0 #256b50; }
.mail-row span { display:block; text-overflow:ellipsis; white-space:nowrap; overflow:hidden; }
.row-heading { display:flex; justify-content:space-between; align-items:baseline; gap:9px; }
.row-heading span { color:#425348; font-size:13px; }
.row-heading time { color:#636e66; font-size:12px; white-space:nowrap; }
.row-subject { margin-top:5px; font-size:15px; font-weight:620; }
#more { display:block; margin:15px auto; }
#detail { min-height:330px; padding:30px; }
.placeholder { text-align:center; color:#69756b; padding:96px 0; font-size:15px; }
#subject { font-size:clamp(23px,3vw,31px); line-height:1.35; overflow-wrap:anywhere; letter-spacing:-.03em; }
.metadata { display:flex; flex-wrap:wrap; gap:5px 13px; padding:14px 0 20px; border-bottom:1px solid #e0e7e1; color:#536259; font-size:13px; overflow-wrap:anywhere; }
.verification { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:16px; padding:15px 17px; border-radius:8px; background:#eaf3ed; color:#164732; }
.verification strong,.verification small,.code-label { display:block; }
.verification strong { font:600 26px ui-monospace,monospace; letter-spacing:.08em; margin:5px 0; user-select:all; }
.verification small { overflow-wrap:anywhere; }
.code-label { font-size:13px; }
.verification button { border:1px solid #afc4b7; background:white; border-radius:6px; padding:7px 10px; flex:none; font-size:13px; }
#message-code { margin:18px 0 0; }
#body { padding-top:22px; font-size:16px; line-height:1.72; white-space:pre-wrap; overflow-wrap:anywhere; }
.back { display:none; }
noscript { display:block; max-width:700px; margin:0 auto; padding:14px; text-align:center; }
@media(max-width:720px) {
  .head-inner { padding:17px 16px; gap:10px; }
  .envelope { width:38px; height:38px; border-radius:9px; font-size:21px; }
  h1 { font-size:20px; }
  #address,#refresh { font-size:12px; }
  main { display:block; padding:16px; }
  #detail { padding:20px; }
  #layout[data-view=list] #detail,#layout[data-view=message] #list-pane { display:none; }
  .back { display:inline-block; margin-bottom:20px; }
}