:root{font:15px system-ui,sans-serif;color:#153839;background:#f1f5f3;line-height:1.5}*{box-sizing:border-box}body{margin:0}header{background:#06373a;color:white}a{color:#006b61}header a{color:#fff;text-decoration:none}.shell{max-width:1160px;margin:auto;padding:0 24px}.header-row{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px}.mark{font-size:20px;font-weight:750}.nav-link{font-size:13px}main.shell{padding-top:28px;padding-bottom:55px}h1,h2,h3{margin:0 0 12px;line-height:1.25}h2{font-size:19px}h3{font-size:16px}p{margin:8px 0 12px}.panel{background:white;border:1px solid #d6e4df;border-radius:12px;padding:20px;margin:0 0 16px;min-width:0}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.grid>.panel{margin-bottom:0}.buttons,form.row{display:flex;align-items:end;gap:10px;flex-wrap:wrap}label{display:grid;gap:5px;flex:1;min-width:135px;font-size:13px}label.small{flex:0 1 105px;min-width:80px}input,select,button,.button{font:inherit;border:1px solid #b9d0ca;border-radius:7px;background:white;color:#153839;padding:8px 11px;min-width:0;min-height:40px}button,.button{cursor:pointer;font-weight:600;text-decoration:none;display:inline-block}button:disabled{opacity:.55;cursor:wait}button.primary,.button.primary{background:#006d63;color:white;border-color:#006d63}input:focus,select:focus,button:focus-visible,a:focus-visible{outline:2px solid #00a08d;outline-offset:2px}.muted{color:#537371}.warn{color:#854f04}.error{color:#9f2524}.ok{color:#116449}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:9px;border-bottom:1px solid #e2ece8;vertical-align:top}th{font-size:12px}.domain{margin-top:16px;padding-top:16px;border-top:1px solid #e2ece8}.domain-name{overflow-wrap:anywhere}.tag{display:inline-block;background:#e7efec;padding:3px 7px;border-radius:6px;font-size:12px}.tag.ok{background:#def4e8}.tag.warn{background:#fff2d6}code{overflow-wrap:anywhere;font-size:13px}.secret{width:100%;font-family:monospace}.detail-list{max-height:235px;overflow:auto;margin:10px 0}summary{cursor:pointer}#notice:empty{display:none}.section-gap{margin-top:16px}@media(max-width:720px){.shell{padding-left:14px;padding-right:14px}.grid{grid-template-columns:1fr}th,td{min-width:96px}}
.auth-card{max-width:460px;margin:24px auto}.auth-card form{display:grid;gap:12px}.auth-card form label{min-width:0}.auth-card button.primary{justify-self:start}.auth-card #authError:empty{display:none}.auth-options{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}
.dns-status{margin:10px 0 0;padding:9px 12px;border-radius:7px;background:#f1f5f3;font-weight:600;overflow-wrap:anywhere}.dns-status:empty{display:none}.dns-status.ok{background:#def4e8}.dns-status.error{background:#fff0ef}
.domain-head {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 16px;
}
.domain-head .domain-name { margin:0; min-width:0; }
.domain-head [data-domain-toggle] {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  border-color:transparent;
  padding:4px 8px 4px 0;
  text-align:left;
  font-weight:750;
}
.domain-arrow { display:inline-block; color:#006d63; font-size:17px; min-width:12px; }
.domain-head [aria-expanded=true] .domain-arrow { transform:rotate(180deg); }
.domain-count { color:#537371; font-size:13px; font-weight:400; }
.domain-actions { display:flex; gap:6px; flex-wrap:wrap; }
.domain-actions .button,.domain-actions button { min-height:32px; padding:5px 9px; font-size:13px; }
.domain-actions .danger { color:#9f2524; }
.domain-details { padding-top:10px; }
.mail-subject {
  padding:0;
  min-height:0;
  border:0;
  background:none;
  color:#006b61;
  text-align:left;
  text-decoration:underline;
  overflow-wrap:anywhere;
}
#mail-preview {
  width:min(720px, calc(100% - 28px));
  max-height:calc(100% - 28px);
  padding:0;
  border:1px solid #d6e4df;
  border-radius:12px;
  color:inherit;
}
#mail-preview::backdrop { background:rgba(9, 41, 40, .48); }
.mail-preview-layout { display:flex; flex-direction:column; max-height:min(78vh, calc(100dvh - 28px)); }
.mail-preview-head,.mail-preview-footer { flex:none; padding:12px 16px; }
.mail-preview-head { display:flex; align-items:start; justify-content:space-between; gap:12px; border-bottom:1px solid #d6e4df; }
.mail-preview-head h2 { margin:5px 0 0; overflow-wrap:anywhere; }
.mail-preview-scroll { overflow:auto; padding:14px 16px; min-height:0; }
.mail-preview-footer { border-top:1px solid #d6e4df; }
.mail-text { white-space:pre-wrap; overflow-wrap:anywhere; }
[data-mail-preview-status]:empty { display:none; }
