:root {
    color-scheme:dark;
    --bg:#111816;
    --panel:#19221e;
    --line:#303c34;
    --muted:#9ba99f;
    --text:#eef2e9;
    --lime:#d3ee99;
    --red:#ffa6a0;
    --radius:22px;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--text);
    background:var(--bg);
}
* {
    box-sizing:border-box;
}
body {
    margin:0;
}
button,input {
    font:inherit;
}
button,a,input {
    -webkit-tap-highlight-color:transparent;
}
button {
    cursor:pointer;
}
button:disabled {
    cursor:not-allowed;
    opacity:.5;
}
button {
    color:inherit;
}
a {
    color:inherit;
    text-decoration:none;
}
button:focus-visible,a:focus-visible,input:focus-visible {
    outline:3px solid var(--lime);
    outline-offset:4px;
}
button {
    border:0;
}
input {
    min-width:0;
}
[x-cloak] {
    display:none!important;
}
::selection {
    background:var(--lime);
    color:var(--bg);
}
.app-shell {
    max-width:1440px;
    min-height:100dvh;
    margin:auto;
    padding:0 56px;
    display:flex;
    flex-direction:column;
}
.header {
    height:100px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    border-bottom:1px solid var(--line);
}
.brand {
    display:flex;
    align-items:center;
    font-size:25px;
    font-weight:750;
    letter-spacing:-1px;
}
.brand>span:not(.brand-mark):not(.brand-dot) {
    font-weight:400;
}
.brand-mark {
    display:flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border-radius:12px;
    background:var(--lime);
    color:var(--bg);
    font-size:19px;
    margin-right:10px;
    letter-spacing:-3px;
    padding-right:3px;
    transform:rotate(-7deg);
}
.brand-mark span {
    font-weight:400;
}
.brand-dot {
    color:var(--lime);
}
.header-note {
    font-size:12px;
    color:var(--muted);
}
.pill {
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:11px;
    border:1px solid var(--line);
    padding:9px 12px;
    border-radius:30px;
    white-space:nowrap;
}
.status-dot {
    display:inline-block;
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--lime);
    box-shadow:0 0 0 4px #d3ee9910;
}
.warning {
    color:#ffcd92!important;
}
.warning .status-dot,.warning .progress i {
    background:#ffcd92;
}
main {
    flex:1;
}
.home {
    display:grid;
    grid-template-columns:1.15fr 1fr;
    gap:80px;
    align-items:center;
    padding:88px 0 90px;
}
.eyebrow {
    font-size:10px;
    letter-spacing:1.8px;
    font-weight:650;
    color:var(--muted);
}
.hero-copy>.eyebrow {
    color:var(--lime);
}
h1,h2,h3,p {
    margin-top:0;
}
.hero-copy h1 {
    font-size:clamp(48px,5.5vw,78px);
    line-height:1.06;
    letter-spacing:-4px;
    margin:24px 0;
}
.hero-copy h1 span {
    font-family:Georgia,serif;
    font-weight:400;
    font-style:italic;
    color:var(--lime);
}
.hero-description {
    font-size:16px;
    line-height:1.8;
    color:var(--muted);
    max-width:390px;
}
.hero-benefits {
    display:flex;
    gap:22px;
    font-size:11px;
    margin-top:27px;
}
.hero-benefits span {
    color:var(--lime);
}
.steps {
    display:flex;
    gap:22px;
    border-top:1px solid var(--line);
    margin-top:52px;
    padding-top:25px;
}
.steps>div {
    flex:1;
}
.steps span {
    display:block;
    color:var(--lime);
    font:12px monospace;
    margin-bottom:16px;
}
.steps b {
    font-size:11px;
    display:block;
    margin-bottom:8px;
}
.steps p {
    font-size:11px;
    line-height:1.65;
    color:var(--muted);
    margin:0;
}
.create-wrap {
    max-width:465px;
    width:100%;
    justify-self:end;
}
.card-label {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:9px;
    letter-spacing:1.5px;
    margin:0 14px 16px;
    color:var(--muted);
}
.card-label>span:last-child {
    margin-left:auto;
    font-size:22px;
    color:var(--lime);
}
.create-card {
    background:var(--panel);
    border:1px solid #42503a;
    border-radius:var(--radius);
    padding:32px;
    box-shadow:0 20px 80px #0002;
    position:relative;
    overflow:hidden;
}
.create-card:before {
    content:"";
    position:absolute;
    top:0;
    left:20%;
    right:20%;
    height:1px;
    background:var(--lime);
}
.card-icon {
    font-size:27px;
    width:52px;
    height:52px;
    border:1px solid #d3ee9940;
    color:var(--lime);
    background:#d3ee9909;
    border-radius:16px;
    display:grid;
    place-items:center;
    margin-bottom:26px;
}
.create-card h2 {
    font-size:24px;
    letter-spacing:-.8px;
    margin-bottom:10px;
}
.create-card>p {
    font-size:12px;
    line-height:1.7;
    color:var(--muted);
}
.create-card label {
    display:flex;
    justify-content:space-between;
    font-size:11px;
    margin:28px 0 10px;
}
.create-card label span {
    color:var(--muted);
}
.address-input {
    border:1px solid #455246;
    background:#111915;
    border-radius:11px;
    overflow:hidden;
    transition:border .2s;
}
.address-input:focus-within {
    border-color:var(--lime);
}
.address-input input {
    width:100%;
    padding:15px 16px;
    color:var(--text);
    background:none;
    border:0;
    outline:none;
    font-size:16px;
}
.create-card .hint {
    font-size:10px;
    margin:9px 0 22px;
}
.button {
    min-height:44px;
    padding:12px 18px;
    border-radius:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-size:12px;
    font-weight:650;
    transition:background .18s,transform .18s,box-shadow .18s;
}
.button:active:not(:disabled) {
    transform:scale(.97);
}
.primary {
    background:var(--lime);
    color:#1b2916;
}
.primary:hover:not(:disabled) {
    background:#e2ffac;
    box-shadow:0 4px 20px #d3ee9920;
}
.secondary {
    background:transparent;
    border:1px solid #465247;
}
.secondary:hover:not(:disabled) {
    background:#ffffff08;
    border-color:#718465;
}
.full {
    width:100%;
    justify-content:space-between;
}
.secondary.full {
    justify-content:center;
}
.divider {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:9px;
    color:var(--muted);
    margin:20px 0;
}
.divider:before,.divider:after {
    content:"";
    height:1px;
    flex:1;
    background:var(--line);
}
.card-foot {
    display:flex;
    justify-content:space-between;
    margin-top:26px;
    padding-top:18px;
    border-top:1px solid var(--line);
    font-size:9px;
    color:var(--muted);
}
.privacy-note {
    text-align:center;
    color:var(--muted);
    font-size:10px;
    margin:20px 0 0;
}
footer {
    border-top:1px solid var(--line);
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:center;
    padding:25px 0;
    font-size:10px;
    color:var(--muted);
}
.footer-brand {
    font-weight:700;
    font-size:15px;
    color:var(--text);
}
.workspace {
    padding:35px 0;
}
.workspace-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:24px;
}
.workspace-heading h1 {
    font-size:32px;
    letter-spacing:-1.4px;
    margin:6px 0 0;
}
.mailbox-card {
    display:flex;
    align-items:center;
    gap:24px;
    border:1px solid #47553b;
    background:var(--panel);
    border-radius:16px;
    padding:22px 24px;
    margin-bottom:24px;
}
.address-block {
    flex:1;
    min-width:0;
}
.address-block p {
    font-family:monospace;
    font-size:17px;
    color:var(--lime);
    overflow-wrap:anywhere;
    margin:8px 0 0;
}
.address-block .eyebrow {
    font-size:9px;
}
.expiry-block {
    width:155px;
    padding-left:22px;
    border-left:1px solid var(--line);
    font-size:10px;
    color:var(--muted);
}
.expiry-block>span {
    display:flex;
    justify-content:space-between;
    gap:8px;
}
.expiry-block b {
    color:var(--text);
}
.progress {
    height:3px;
    background:var(--line);
    margin-top:12px;
    border-radius:3px;
    overflow:hidden;
}
.progress i {
    height:100%;
    display:block;
    background:var(--lime);
    transition:width 1s;
}
.subtle {
    background:transparent;
    color:var(--muted);
    padding:10px;
}
.subtle:hover {
    background:#ffffff08;
}
.danger {
    color:var(--red);
}
.notice {
    padding:15px;
    border:1px solid #ffcd9240;
    border-radius:12px;
    color:#ffcd92;
    font-size:12px;
    margin-bottom:18px;
}
.notice button {
    background:none;
    color:inherit;
    text-decoration:underline;
    min-height:44px;
}
.inbox-grid {
    display:grid;
    grid-template-columns:340px minmax(0,1fr);
    border:1px solid var(--line);
    border-radius:18px;
    overflow:hidden;
    min-height:580px;
    background:#151d19;
}
.message-pane {
    border-right:1px solid var(--line);
    display:flex;
    flex-direction:column;
    min-width:0;
}
.pane-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:17px 20px;
}
.pane-heading h2 {
    font-size:14px;
    margin:0;
}
.count {
    font-size:10px;
    color:var(--muted);
    background:#ffffff07;
    padding:4px 7px;
    border-radius:6px;
    margin-left:6px;
}
.icon-button {
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    background:none;
    border-radius:9px;
    font-size:25px;
    color:var(--muted);
}
.icon-button:hover {
    background:#ffffff08;
}
.search {
    margin:0 18px 16px;
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 12px;
    border:1px solid var(--line);
    border-radius:9px;
    color:var(--muted);
}
.search>span {
    font-size:23px;
}
.search input {
    width:100%;
    height:42px;
    border:0;
    background:none;
    color:var(--text);
    font-size:12px;
    outline:none;
}
.search:focus-within {
    border-color:var(--lime);
}
.message-list {
    flex:1;
    max-height:580px;
    overflow:auto;
}
.message-item {
    width:100%;
    display:flex;
    text-align:left;
    gap:12px;
    align-items:center;
    background:transparent;
    border-top:1px solid #303c3470;
    padding:20px 18px;
    position:relative;
    transition:background .18s;
}
.message-item:hover {
    background:#ffffff05;
}
.message-item.selected {
    background:#d3ee990b;
    box-shadow:inset 3px 0 var(--lime);
}
.avatar {
    width:36px;
    height:36px;
    border-radius:12px;
    background:#d3ee9912;
    color:var(--lime);
    flex-shrink:0;
    display:grid;
    place-items:center;
    font-size:13px;
}
.message-summary {
    flex:1;
    min-width:0;
}
.message-meta {
    display:flex;
    justify-content:space-between;
    gap:8px;
    align-items:center;
}
.message-meta b {
    font-size:11px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-weight:500;
}
.message-meta time {
    font-size:9px;
    flex-shrink:0;
    color:var(--muted);
}
.subject {
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:12px;
    color:var(--muted);
    margin:7px 0;
}
.unread .subject,.unread .message-meta b {
    color:var(--text);
    font-weight:650;
}
.message-caption {
    font-size:9px;
    color:var(--muted);
}
.unread-dot {
    height:5px;
    width:5px;
    background:var(--lime);
    border-radius:50%;
    position:absolute;
    right:9px;
    bottom:23px;
}
.list-foot {
    padding:15px 20px;
    border-top:1px solid var(--line);
    font-size:9px;
    color:var(--muted);
}
.reader-pane {
    min-width:0;
}
.reader-toolbar {
    min-height:70px;
    padding:12px 24px;
    border-bottom:1px solid var(--line);
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.reader-label {
    font-size:9px;
    letter-spacing:1.8px;
    color:var(--muted);
}
.mobile-back {
    display:none;
}
.reader-empty {
    min-height:480px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    text-align:center;
    padding:40px 24px;
}
.mail-art {
    position:relative;
    transform:rotate(-8deg);
    margin-bottom:38px;
}
.mail-art>span {
    font-size:56px;
    color:var(--lime);
    display:grid;
    place-items:center;
    width:110px;
    height:100px;
    border:1px solid #d3ee9940;
    background:linear-gradient(140deg,#d3ee9918,#d3ee9902);
    border-radius:25px;
}
.mail-art i {
    position:absolute;
    right:-10px;
    bottom:-7px;
    background:var(--lime);
    color:var(--bg);
    border:5px solid #151d19;
    width:35px;
    height:35px;
    border-radius:50%;
    font-style:normal;
}
.reader-empty h2 {
    font-size:29px;
    line-height:1.2;
    letter-spacing:-1px;
    margin:16px 0;
}
.reader-empty p {
    font-size:12px;
    color:var(--muted);
    line-height:1.9;
    margin-bottom:25px;
}
.empty-state {
    text-align:center;
    padding:55px 22px;
}
.empty-icon {
    font-size:32px;
    color:var(--lime);
    display:block;
    margin-bottom:20px;
}
.empty-state h3 {
    font-size:15px;
}
.empty-state p {
    font-size:12px;
    line-height:1.8;
    color:var(--muted);
    margin-bottom:24px;
}
.detail-heading {
    padding:28px;
}
.detail-heading h2 {
    font-size:24px;
    letter-spacing:-.5px;
    margin:12px 0 24px;
    overflow-wrap:anywhere;
}
.sender-detail {
    display:flex;
    align-items:center;
    gap:12px;
}
.sender-detail>div {
    min-width:0;
}
.sender-detail b {
    font-size:11px;
    font-weight:500;
    overflow-wrap:anywhere;
}
.sender-detail div>span {
    display:block;
    font-size:10px;
    color:var(--muted);
    margin-top:7px;
}
.body-toolbar {
    padding:12px 24px;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}
.body-toolbar>span {
    font-size:9px;
    color:var(--muted);
}
.tabs {
    display:flex;
    gap:3px;
}
.tabs button {
    min-height:44px;
    min-width:55px;
    background:none;
    border-radius:8px;
    color:var(--muted);
    font-size:11px;
}
.tabs button[aria-pressed=true] {
    background:#d3ee9915;
    color:var(--lime);
}
.email-body {
    width:100%;
    height:520px;
    border:0;
    display:block;
    background:white;
}
.text-body {
    margin:0;
    padding:28px;
    font:13px/1.8 ui-monospace,monospace;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
}
.skeletons {
    padding:24px;
}
.skeletons i {
    display:block;
    height:65px;
    border-radius:10px;
    background:linear-gradient(90deg,#ffffff03,#ffffff09,#ffffff03);
    background-size:200% 100%;
    animation:shimmer 1.5s infinite;
    margin-bottom:16px;
}
.reader-skeleton i:first-child {
    width:65%;
    height:25px;
}
.error-banner {
    position:fixed;
    bottom:26px;
    left:50%;
    transform:translateX(-50%);
    z-index:80;
    width:min(480px,calc(100% - 32px));
    padding:12px 16px;
    border:1px solid #ffaaa055;
    background:#382722;
    color:#ffd1c8;
    border-radius:12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    font-size:13px;
    box-shadow:0 15px 50px #0005;
}
.error-banner button {
    background:none;
    color:inherit;
    font-size:22px;
    min-width:44px;
    min-height:44px;
}
.toast {
    position:fixed;
    bottom:30px;
    left:50%;
    transform:translateX(-50%);
    background:var(--lime);
    color:#172410;
    padding:15px 24px;
    border-radius:12px;
    box-shadow:0 10px 40px #0005;
    font-size:12px;
    z-index:70;
    text-align:center;
    width:max-content;
    max-width:calc(100% - 32px);
}
.modal-backdrop {
    position:fixed;
    inset:0;
    z-index:75;
    background:#0009;
    backdrop-filter:blur(8px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}
.modal {
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:24px;
    padding:32px;
    max-width:420px;
    width:100%;
}
.delete-icon {
    display:grid;
    place-items:center;
    width:45px;
    height:45px;
    font-size:27px;
    border-radius:13px;
    background:#ffaaa012;
    color:var(--red);
    margin-bottom:24px;
}
.modal h2 {
    font-size:23px;
}
.modal p {
    font-size:13px;
    color:var(--muted);
    line-height:1.8;
}
.dialog-actions {
    display:flex;
    gap:12px;
    margin-top:28px;
}
.dialog-actions .button {
    flex:1;
}
.destructive {
    background:#ffa6a0;
    color:#351311;
}
.spin {
    display:inline-block;
    animation:spin 1s linear infinite;
}
@keyframes spin {
    to {
        transform:rotate(360deg);
    }
}
@keyframes shimmer {
    to {
        background-position:-200% 0;
    }
}
@media(min-width:1000px) {
    .home,.workspace {
        animation:appear .35s ease-out;
    }
    @keyframes appear {
        from {
            opacity:0;
            transform:translateY(8px);
        }
        to {
            opacity:1;
            transform:none;
        }
    }
}
@media(max-width:1100px) {
    .app-shell {
        padding:0 30px;
    }
    .home {
        gap:40px;
        padding:65px 0;
    }
    .mailbox-card {
        gap:15px;
        padding:18px;
    }
    .expiry-block {
        width:125px;
        padding-left:15px;
    }
    .inbox-grid {
        grid-template-columns:300px minmax(0,1fr);
    }
}
@media(max-width:800px) {
    .header {
        height:78px;
    }
    .header-note {
        display:none;
    }
    .home {
        gap:40px;
        grid-template-columns:1fr;
        padding:45px 0;
    }
    .hero-copy {
        text-align:center;
    }
    .hero-copy h1 {
        font-size:60px;
    }
    .hero-description {
        margin-left:auto;
        margin-right:auto;
    }
    .hero-benefits {
        justify-content:center;
    }
    .steps {
        display:none;
    }
    .create-wrap {
        justify-self:center;
        max-width:480px;
    }
    .mailbox-card {
        flex-wrap:wrap;
    }
    .address-block {
        flex-basis:calc(100% - 160px);
    }
    .expiry-block {
        flex:1;
        border:0;
        padding:0;
    }
    .inbox-grid {
        grid-template-columns:1fr;
        min-height:480px;
    }
    .message-pane {
        border-right:0;
    }
    .reader-pane {
        display:none;
    }
    .reading .message-pane {
        display:none;
    }
    .reading .reader-pane {
        display:block;
    }
    .mobile-back {
        display:inline-flex;
    }
    .reader-label {
        display:none;
    }
    .workspace-heading h1 {
        font-size:29px;
    }
    .workspace-heading>.pill {
        font-size:9px;
    }
    .message-list {
        max-height:none;
    }
    .message-meta b {
        font-size:13px;
    }
    .subject {
        font-size:13px;
    }
    .message-caption {
        font-size:10px;
    }
    .message-item {
        padding:22px;
    }
    .avatar {
        height:42px;
        width:42px;
    }
    .reader-toolbar {
        padding:8px 16px;
    }
    .message-pane .search input {
        font-size:16px;
    }
    .email-body {
        height:60dvh;
        min-height:350px;
    }
    footer>span:last-child {
        display:none;
    }
    .modal-backdrop {
        align-items:flex-end;
    }
    .modal {
        max-width:540px;
    }
    .workspace {
        padding-top:28px;
    }
}
@media(max-width:480px) {
    .app-shell {
        padding:0 18px;
    }
    .brand {
        font-size:23px;
    }
    .header>.pill {
        font-size:10px;
        padding:8px 10px;
    }
    .home {
        padding:34px 0 45px;
        gap:34px;
    }
    .hero-copy>.eyebrow {
        font-size:8px;
        letter-spacing:1.2px;
    }
    .hero-copy h1 {
        font-size:54px;
        letter-spacing:-3px;
        margin:20px 0;
    }
    .hero-description {
        font-size:14px;
    }
    .hero-benefits {
        font-size:10px;
        gap:15px;
    }
    .create-card {
        padding:24px;
    }
    .create-card h2 {
        font-size:23px;
    }
    .card-label {
        font-size:8px;
        letter-spacing:1px;
    }
    .workspace-heading {
        align-items:flex-start;
    }
    .workspace-heading .eyebrow {
        font-size:8px;
        letter-spacing:1px;
    }
    .workspace-heading>.pill {
        white-space:normal;
        max-width:125px;
        line-height:1.5;
    }
    .mailbox-card {
        padding:18px;
        gap:17px;
    }
    .address-block {
        flex-basis:100%;
    }
    .address-block p {
        font-size:16px;
    }
    .mailbox-card>.primary {
        width:100%;
    }
    .expiry-block {
        min-width:100px;
    }
    .mailbox-card>.danger {
        font-size:11px;
        padding-right:0;
    }
    .detail-heading {
        padding:22px;
    }
    .detail-heading h2 {
        font-size:22px;
    }
    .body-toolbar {
        padding:10px 16px;
    }
    .text-body {
        padding:22px;
    }
    footer {
        font-size:9px;
        gap:15px;
        line-height:1.6;
        padding-bottom:max(22px,env(safe-area-inset-bottom));
    }
    .modal-backdrop {
        padding:12px;
    }
    .modal {
        padding:26px 24px;
    }
    .toast {
        bottom:max(22px,env(safe-area-inset-bottom));
    }
}
@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        animation:none!important;
        transition:none!important;
        scroll-behavior:auto!important;
    }
}

.reuse-form { margin-top: 24px; display: grid; gap: 12px; }
.reuse-form label, .reuse-actions span { font-size: 11px; color: var(--muted); line-height: 1.7; }
.reuse-form input { width: 100%; border: 1px solid var(--line); padding: 14px; border-radius: 10px; background: var(--panel); color: var(--text); font-size: 16px; }
.reuse-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.reuse-actions span { flex: 1; min-width: 200px; }

/* Keep the native picker for keyboard and mobile accessibility. */
.domain-field {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    border-top: 1px solid var(--line);
    background: #d3ee9906;
    transition: background .18s;
}
.domain-field:hover:not(.single-domain), .domain-field:focus-within {
    background: #d3ee9910;
}
.domain-prefix {
    position: absolute;
    left: 16px;
    color: var(--lime);
    font: 16px ui-monospace, monospace;
    pointer-events: none;
}
.domain-field select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 12px 42px 12px 42px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font: 14px/1.5 ui-monospace, monospace;
    text-overflow: ellipsis;
    cursor: pointer;
}
.domain-field select:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: -3px;
}
.domain-field select:disabled {
    cursor: default;
    opacity: 1;
    -webkit-text-fill-color: var(--muted);
    color: var(--muted);
}
.domain-field select option {
    background: var(--panel);
    color: var(--text);
}
.domain-chevron {
    position: absolute;
    right: 14px;
    width: 20px;
    height: 20px;
    color: var(--muted);
    pointer-events: none;
}
.single-domain select {
    padding-right: 16px;
}
@media (max-width: 800px) {
    .domain-field select { font-size: 16px; }
}

.recent-inboxes { margin:0 0 32px; border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.recent-inboxes h2 { font-size:16px; margin:0; }
.history-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:1px; background:var(--line); }
.history-item { text-align:left; min-width:0; padding:18px; display:grid; grid-template-columns:1fr auto; gap:8px; background:var(--panel); }
.history-item:hover { background:#253329; }
.history-item b { font-size:12px; overflow-wrap:anywhere; }
.history-item>span:first-of-type { font-size:10px; color:var(--muted); grid-column:1; }
.history-item>span:last-child { grid-column:2; grid-row:1 / 3; align-self:center; color:var(--lime); }
.attachments { padding:0 24px 20px; }
.attachments h3 { font-size:12px; color:var(--muted); }
.attachment-link { display:flex; gap:12px; align-items:center; padding:12px; border:1px solid var(--line); border-radius:10px; margin-top:8px; font-size:12px; }
.attachment-link span:first-child { flex:1; overflow-wrap:anywhere; }
.attachment-link small { color:var(--muted); white-space:nowrap; }
.attachment-link:hover { background:#d3ee990a; }
