.send-stack{display:grid;gap:1rem}.send-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.send-stack .field{margin:0}.send-stack small,.send-file small,.send-log small,.send-history td small{color:#536960;font-size:.82rem}.send-stack [hidden],.send-log+button[hidden],.receive-page [hidden]{display:none}.send-switch{display:flex;align-items:center;gap:.65rem;cursor:pointer}.send-switch input{width:2.4rem;height:1.35rem;appearance:none;border-radius:1rem;background:#71817c;position:relative;cursor:pointer;flex:none}.send-switch input:before{content:'';position:absolute;top:.2rem;left:.2rem;width:.95rem;height:.95rem;border-radius:50%;background:white}.send-switch input:checked{background:#127968}.send-switch input:checked:before{left:1.25rem}.send-switch small,.send-history td small{display:block}.send-drop{position:relative;border:1px dashed #79988b;border-radius:.8rem;padding:1.2rem;display:grid;gap:.3rem;justify-items:center;text-align:center;cursor:pointer;background:#f6faf8}.send-drop input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.send-drop:focus-within,.send-drop.over{outline:2px solid #187865}.send-drop strong,.send-file,.send-actions,.send-pages{display:flex;align-items:center;gap:.55rem}.send-drop svg{width:1.25rem}.send-file{padding:.45rem 0;justify-content:space-between;border-bottom:1px solid #e3eae6;overflow-wrap:anywhere}.send-error{color:#992c2b;margin:0}.send-error:empty,[data-selected]:empty{display:none}.send-actions,.send-pages{flex-wrap:wrap}.send-history{margin-top:1.5rem}.send-scroll{overflow-x:auto}.send-scroll table{width:100%;border-collapse:collapse}.send-scroll th,.send-scroll td{padding:.65rem .85rem;text-align:left}.send-pages{padding:.75rem}.send-log{list-style:none;margin:0;padding:0}.send-log li{border-bottom:1px solid #e0e9e3;padding:.6rem 0;overflow-wrap:anywhere}.receive-page{min-height:100vh;background:#f1f6f3;color:#18372e}.receive-main{max-width:40rem;margin:auto;padding:clamp(1.2rem,6vw,4rem) 1rem}.receive-main>.brand{display:inline-flex;align-items:center;gap:.6rem;margin-bottom:1.5rem}.receive-main .panel-body{padding:clamp(1.2rem,4vw,2.4rem)}.receive-main h1{font-size:clamp(1.6rem,5vw,2.2rem);line-height:1.12;margin:0 0 .7rem}.receive-main p{margin:0 0 1rem}.receive-main footer{margin-top:1rem;font-size:.85rem}.receive-group+.receive-group{border-top:1px solid #cedbd2;padding-top:1.2rem;margin-top:1.4rem}.receive-group p,.receive-group h2{margin:0}@media(max-width:680px){.send-fields{grid-template-columns:1fr}.send-file{flex-wrap:wrap}}

.send-title{margin-bottom:1rem}
.send-title p{margin-top:.3rem}
.send-compose-panel .panel-head,.send-history .panel-head{padding:.75rem 1rem}
#send-compose{padding:.9rem 1rem;gap:.7rem}
#send-compose .send-fields{gap:.75rem 1rem}
#send-compose .field input,#send-compose .field select{min-height:39px;padding:.5rem .7rem}
#send-compose .send-drop{padding:.75rem;gap:.15rem}
.send-history{margin-top:1rem}
.send-history th,.send-history td{padding:.45rem .65rem;line-height:1.3}
.send-history .btn-small{min-height:32px;padding:.35rem .65rem}
.send-status small{white-space:nowrap;font-size:.76rem}
@media(max-width:680px){.send-history .btn-small{min-height:37px}}

.send-address-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.35fr) 9rem;gap:.75rem;align-items:end}
.send-address-fields .field{min-width:0}.send-address-fields input{width:100%;min-width:0}
.send-contact-search{position:relative;max-width:34rem}
#send-contact-results{position:absolute;z-index:5;inset:100% 0 auto;padding:.3rem;background:#fff;border:1px solid #c9dbd5;border-radius:.7rem;box-shadow:0 .5rem 1.5rem #173c3026;max-height:16rem;overflow:auto;color:#19392f}
#send-contact-results p{padding:.55rem;font-size:.85rem}
.send-contact-row{display:flex;align-items:center;border-bottom:1px solid #e4ede9}.send-contact-row:last-child{border-bottom:0}
.send-contact-row button{border:0;border-radius:.35rem;background:transparent;color:inherit;cursor:pointer}
.contact-choose{flex:1;text-align:left;display:grid;gap:.15rem;padding:.45rem .6rem;min-width:0;overflow-wrap:anywhere}
.contact-delete{display:grid;place-items:center;width:2.4rem;height:2.4rem}.contact-delete svg{width:1rem}
.send-contact-row button:is(:hover,:focus-visible){background:#edf5f1}.send-contact-row .contact-delete:is(:hover,:focus-visible){color:#922c24;background:#fcefeb}
#send-pin-hint{margin:0}
@media(max-width:1000px){.send-address-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.send-address-fields [name=pin]{max-width:9rem}}
@media(max-width:520px){.send-address-fields{grid-template-columns:1fr}.send-contact-search{max-width:none}}
.receive-pin-label{display:flex;align-items:center;gap:.5rem}
.receive-pin-label .field-label{margin:0}
#receive-pin-info{position:relative}
#receive-pin-info summary{display:grid;place-items:center;width:1.45rem;height:1.45rem;border:1px solid currentColor;border-radius:50%;font:bold .85rem Georgia,serif;cursor:pointer;list-style:none}
#receive-pin-info summary::-webkit-details-marker{display:none}
#receive-pin-hint{position:absolute;z-index:2;inset:auto auto 100% -.8rem;width:max-content;max-width:min(17rem,62vw);padding:.65rem .85rem;border-radius:.5rem;background:#193c36;color:white;font-size:.85rem;line-height:1.45;overflow-wrap:anywhere;white-space:pre-line}

.send-pin-label{display:flex;align-items:center;gap:.35rem;margin-bottom:5px}.send-pin-label .field-label{margin:0}
.send-pin-policy{position:relative}.send-pin-policy summary{display:grid;place-items:center;width:1.15rem;height:1.15rem;cursor:pointer;list-style:none;border:1px solid currentColor;border-radius:100%;font:bold .75rem Georgia,serif}
.send-pin-policy summary::-webkit-details-marker{display:none}.send-pin-policy span{position:absolute;z-index:3;right:-1rem;bottom:calc(100% + 4px);width:13rem;padding:.6rem .75rem;background:#193c36;color:white;border-radius:.5rem;font-size:.8rem}
@media(max-width:520px){.send-pin-policy span{left:-2rem;right:auto}}

.contact-pin-control{display:grid;justify-items:start;gap:.2rem;max-width:9rem}.contact-pin-control button{padding:.4rem;font-size:.8rem}.contact-pin-value{width:9ch;max-width:100%;font-family:monospace}.send-contact-row .contact-pin-value[hidden]{display:none}

.send-delivery-options{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem 1.5rem}
#send-compose .send-duration{display:flex;flex-direction:row;align-items:center;gap:.6rem}
.send-icon-label{display:inline-flex;gap:.35rem;align-items:center}.send-icon-label .icon{width:1rem;height:1rem;flex:none;color:#296957}
#send-compose .send-duration .field-label{margin:0;white-space:nowrap}
#send-compose .send-duration select{width:8rem;min-height:34px;padding:.35rem .55rem;font-size:.85rem}
.send-delivery-options .send-switch small{line-height:1.35}

.send-status .send-locked{display:inline-block;padding:.14rem .45rem;border-radius:.35rem;background:#f9ece8;color:#853629;font-weight:600}
.send-status .send-release{display:inline-flex;align-items:center;gap:.3rem;padding:.24rem .35rem;border:0;border-radius:.3rem;background:transparent;color:#11624e;font:inherit;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:.18em}
.send-release .icon{width:.95rem;height:.95rem}.send-release:hover,.send-release:focus-visible{background:#e3f2eb}.send-release:disabled{opacity:.6;cursor:wait}

.send-selection {
    list-style:none; margin:0; padding:0; min-width:0; max-height:15rem; overflow:auto;
    border:1px solid #d8e5df; border-radius:.6rem; background:#fbfdfc;
}
.send-selection li {
    display:grid; grid-template-columns:23px minmax(0,1fr) auto auto; align-items:center;
    gap:.55rem; padding:2px .45rem; line-height:1.25;
}
.send-selection li + li { border-top:1px solid #e1eae6; }
.send-selection li > .icon { width:1rem; height:1rem; color:#51766a; }
.send-selected-name { min-width:0; font-size:.82rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.send-selection li small { font-size:.72rem; white-space:nowrap; font-variant-numeric:tabular-nums; }
.send-file-remove {
    display:grid; place-items:center; width:28px; height:28px; padding:0; border:0;
    border-radius:.35rem; background:transparent; color:#5a706a; cursor:pointer;
}
.send-file-remove .icon { width:.95rem; height:.95rem; }
.send-file-remove:is(:hover,:focus-visible) { color:#922e25; background:#faeae7; }
.send-file-remove:focus-visible { outline:2px solid currentColor; outline-offset:-2px; }
.send-once-mark {
    display:inline-flex; align-items:center; gap:2px; vertical-align:middle; margin-inline-start:.35rem;
    padding:1px 4px; border:1px solid #b5d7c8; border-radius:4px; background:#eaf5ef; color:#225c49;
    font-size:.69rem; line-height:1.25; white-space:nowrap;
}
.send-once-mark .icon { width:.78rem; height:.78rem; }
.modal-body:has(.send-log) { padding:8px clamp(14px,3vw,22px) 14px; }
.send-log li {
    display:grid; grid-template-columns:22px minmax(0,1fr); align-items:start; gap:.55rem;
    padding:.31rem 0; font-size:.81rem; line-height:1.3;
}
.send-log li:last-child { border-bottom:0; }
.send-event-symbol {
    display:grid; place-items:center; width:22px; height:22px; border-radius:6px;
    background:#e8f1ed; color:#245f4d;
}
.send-event-symbol .icon { width:14px; height:14px; }
.send-event-download,.send-event-mail { background:#eaf1f8; color:#315e86; }
.send-event-lock,.send-event-close,.send-event-shield { background:#f9ece8; color:#863c2d; }
.send-event-clock { background:#f7f0df; color:#75591c; }
.send-event-description { font-weight:550; }
.send-log li small { display:flex; flex-wrap:wrap; gap:0 .65rem; color:#50665d; font-size:.71rem; }
.send-log time { white-space:nowrap; font-variant-numeric:tabular-nums; }
.send-log + [data-older] { margin-top:.5rem; }
@media (pointer:coarse) { .send-file-remove { width:36px; height:36px; } }


/* Monthly usage in the account */
.quota-badge {
    --quota-ink: #1f665f;
    --quota-tint: #e6f2ee;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .22rem .6rem .22rem .25rem;
    border: 1px solid #cadad5;
    border-radius: .65rem;
    background: #fff;
    color: #29433e;
    vertical-align: middle;
}
.quota-outgoing { --quota-ink: #315e92; --quota-tint: #eaf1f9; border-color: #cfdde9; }
.quota-full { --quota-ink: #824a12; --quota-tint: #fff1d8; border-color: #e3ccac; }
.quota-icon {
    display: grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: .43rem;
    background: var(--quota-tint);
    color: var(--quota-ink);
}
.quota-icon .icon { width: 1rem; height: 1rem; }
.quota-copy { display: grid; gap: .08rem; line-height: 1.12; }
.quota-count { font-size: .78rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quota-count strong { font-size: .96rem; color: var(--quota-ink); }
.quota-label { font-size: .7rem; color: #52655f; }
.inbox-head-actions, .inbox-stats, .inbox-stats > div { display: flex; align-items: center; }
.inbox-head-actions, .send-history-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.send-history .panel-head { flex-wrap: wrap; gap: .5rem .8rem; }
.deleted-shipment-toggle { font-size: .8rem; font-weight: 500; gap: .4rem; margin-inline-end: .3rem; }
.inbox-stats { flex-wrap: wrap; gap: .55rem 1.5rem; margin: 0 0 .95rem; }
.inbox-stats > div { gap: .55rem; }
.inbox-stats .icon { width: 1.1rem; height: 1.1rem; color: #28655d; }
.inbox-stats strong, .inbox-stats small { display: block; line-height: 1.35; }
.inbox-stats strong { font-size: .83rem; color: #25483e; }
.inbox-stats small, .plan-reset { font-size: .75rem; color: #536960; }
.inbox-list-head, .send-compose-panel .panel-head { flex-wrap: wrap; gap: .5rem .8rem; }
.inbox-list-head { padding-block: .75rem; }
.account-plan { gap: .8rem; }
.account-plan .panel-head, .account-plan .panel-body { padding: .85rem 1rem; }
.account-plan .panel-body h2 { font-size: 1.12rem; }
.account-plan .panel-body > .btn { margin-top: .6rem; }
.account-plan .panel-body > .pill + h2 { margin-top: .35rem; }
.account-plan .panel-body > .small, .account-plan .panel-body > .field-hint { margin-top: .35rem; }
.plan-quotas { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem 1rem; }
.plan-quotas > div { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .4rem .65rem; }
.plan-quotas > div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 1rem; }
.plan-quotas h3 { font-size: .87rem; letter-spacing: 0; margin: 0; }
.plan-reset { margin: .6rem 0; }
.plan-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 1.5rem; margin: 0; }
.plan-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: .45rem; padding: .34rem 0; border-top: 1px solid var(--line); font-size: .8rem; }
.plan-facts dt { color: #536960; }
.plan-facts dd { font-weight: 650; margin: 0; text-align: right; }
@media (max-width: 640px) {
    .plan-quotas, .plan-facts { grid-template-columns: 1fr; }
    .plan-quotas > div + div { border-inline-start: 0; padding-inline-start: 0; }
    .inbox-stats { gap: .55rem 1rem; }
}

.send-row-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.3rem; }
.send-row-actions .btn { white-space:nowrap; gap:.3rem; }
.send-row-actions .icon { width:1rem; height:1rem; }
.send-row-actions .send-delete { width:32px; height:32px; color:#9d3d3d; }
.send-row-actions .send-delete:hover { background:#fff0ee; }
.send-refresh { color: #285c57; cursor: pointer; }
.send-refresh .icon { width: 1.05rem; height: 1.05rem; }
.send-refresh:hover { background: #edf6f2; border-color: #9ab9ac; }
.send-refresh:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
    .send-refresh[aria-busy="true"] .icon { animation: send-refresh-turn .9s linear infinite; }
    @keyframes send-refresh-turn { to { transform: rotate(360deg); } }
}

/* Tarife im Kundenkonto */
.account-plan .upgrade-section {
    container-type: inline-size;
    margin-block-start: .45rem;
}
.upgrade-section > h2 { font-size: 1.35rem; margin: 0; }
.upgrade-intro { color: #405957; font-size: .88rem; margin: .3rem 0 .85rem; }
.upgrade-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.upgrade-card {
    --offer-ink: #193a53;
    --offer-muted: #3f5d70;
    --offer-line: #bbcfde;
    --offer-mark: #dce8f4;
    --offer-button: #214c6d;
    --offer-button-text: #fff;
    --offer-hover: #183a55;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1rem;
    min-width: 0;
    padding: clamp(1rem, 3.2cqi, 1.45rem);
    border: 1px solid var(--offer-line);
    border-radius: 1rem;
    color: var(--offer-ink);
    background: linear-gradient(145deg, #f8fbff 20%, #eaf2f8);
}
.upgrade-card--premium {
    --offer-ink: #fff;
    --offer-muted: #c2e0d5;
    --offer-line: #437467;
    --offer-mark: #305e53;
    --offer-button: #bdf5d6;
    --offer-button-text: #153e33;
    --offer-hover: #dbffe9;
    background: linear-gradient(125deg, #163d36 8%, #20564a 78%, #296453);
    box-shadow: 0 5px 14px #133f3317;
}
.upgrade-name, .upgrade-price { display: flex; align-items: center; gap: .55rem; }
.upgrade-mark {
    display: grid; place-items: center; width: 1.8rem; height: 1.8rem;
    background: var(--offer-mark); border-radius: .55rem;
}
.upgrade-mark .icon { width: 1.05rem; height: 1.05rem; color: inherit; }
.upgrade-card h3 { color: inherit; margin: 0; font-size: 1.16rem; letter-spacing: -.025em; }
.upgrade-price { align-items: baseline; flex-wrap: wrap; gap: .34rem; margin: .85rem 0 0; }
.upgrade-price span { color: var(--offer-muted); font-size: .78rem; font-weight: 550; }
.upgrade-price strong { font-size: 2.25rem; line-height: 1; letter-spacing: -.055em; color: var(--offer-ink); }
.upgrade-volumes {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start;
    gap: .65rem; margin: 0; padding-top: .8rem; border-top: 1px solid var(--offer-line);
}
.upgrade-volumes > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; min-width: 0; }
.upgrade-volumes dt { font-size: .75rem; line-height: 1.35; color: var(--offer-muted); }
.upgrade-volumes dd { margin: 0 0 .12rem; font-size: 1.35rem; font-weight: 650; line-height: 1.15; font-variant-numeric: tabular-nums; }
.upgrade-card .upgrade-action {
    justify-content: space-between; gap: .7rem; width: 100%; padding: .6rem .85rem; min-height: 42px;
    background: var(--offer-button); color: var(--offer-button-text); border: 1px solid transparent;
}
.upgrade-card .upgrade-action .icon, .upgrade-trial-action .icon { width: 1rem; height: 1rem; color: inherit; }
.upgrade-card .upgrade-action:hover { background: var(--offer-hover); }
.portal-layout .upgrade-card--premium .upgrade-action:focus-visible { outline-color: #f6e9a0; }
.upgrade-options--single { grid-template-columns: 1fr; }
.upgrade-contact { display: flex; align-items: center; gap: .4rem; color: #50655e; font-size: .77rem; margin: .48rem 0 0; }
.upgrade-contact .icon { width: .95rem; height: .95rem; }
.upgrade-trial {
    border-top: 1px solid var(--line); margin-top: .8rem; padding-top: .75rem;
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem 1rem;
}
.upgrade-trial > div { display: flex; align-items: center; gap: .48rem; font-size: .85rem; font-weight: 600; }
.upgrade-trial > div .icon { width: 1rem; height: 1rem; color: #23694f; }
.upgrade-trial .upgrade-trial-action { color: #18553f; border-color: #8fb8a5; background: #fff; min-height: 40px; padding: .42rem .72rem; }
.upgrade-trial .upgrade-trial-action:hover { background: #e5f4ec; }
@container (min-width: 38rem) {
    .upgrade-options--single .upgrade-card { grid-template-columns: 1fr 1.15fr; grid-template-rows: auto auto; column-gap: 2rem; align-items: center; }
    .upgrade-options--single .upgrade-card header { grid-row: span 2; }
    .upgrade-options--single .upgrade-volumes { border-top: 0; padding: 0; }
}
@container (max-width: 35rem) {
    .upgrade-options { grid-template-columns: 1fr; }
}


/* Outgoing shipments in the customer account */
.send-workspace {
    container: send-workspace / inline-size;
    --send-line: #d7e4de;
    --send-green: #19594b;
}
.send-workspace .send-title { align-items: center; gap: .7rem 1rem; flex-wrap: wrap; }
.send-workspace .send-compose-panel { overflow: visible; }
.send-workspace .panel-head h2, .send-block-title, .send-files-head, .send-file-total {
    display: flex; align-items: center; gap: .55rem;
}
.send-workspace .panel-head h2 { margin: 0; font-size: 1.12rem; line-height: 1.2; }
.portal-layout .account-section-head, .portal-layout .team-panel > .team-head, .portal-layout .inbox-list-head, .send-workspace .send-history > .panel-head, .send-workspace .send-compose-head {
    padding: .78rem 1.2rem; border: 0; border-radius: 12px 12px 0 0;
    background: linear-gradient(105deg, #143f38, #215c4c); color: #fff;
}
.portal-layout .account-section-head h2, .portal-layout .team-panel > .team-head h2, .portal-layout .inbox-list-head h2, .send-workspace .send-history > .panel-head h2, .send-workspace .send-compose-head h2 { color: inherit; }
.account-section-head h2, .account-tariff-heading { display: flex; align-items: center; gap: .55rem; }
.account-section-head h2 { font-size: 1.12rem; line-height: 1.25; margin: 0; }
.account-section-head .account-tariff-heading p { color: #d5e8dd; margin: .15rem 0 0; }
.account-section-head .icon-btn { background: #fff; border-color: #b1c9bd; color: #1e5847; }
.portal-layout .account-section-head button:focus-visible { outline-color: #ffe39a; }
.portal-layout .upgrade-section > .account-section-head { border-radius: 12px; margin-bottom: .6rem; }
.send-section-mark {
    display: inline-grid; place-items: center; width: 2rem; height: 2rem; flex: none;
    border-radius: .55rem; color: #d4f5dc; background: #ffffff14; border: 1px solid #ffffff38;
}
.send-section-mark .icon { width: 1.12rem; height: 1.12rem; }
.send-workspace #send-compose { display: block; padding: 0; }
.send-compose-grid {
    display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr);
    gap: clamp(1rem, 2.5cqi, 1.75rem); padding: 1.15rem 1.2rem 1rem;
}
.send-recipient-block, .send-files-block { min-width: 0; }
.send-files-block { padding-inline-start: clamp(1rem, 2.5cqi, 1.75rem); border-inline-start: 1px solid var(--send-line); }
.send-block-title { margin: 0; color: #25473c; font-size: .94rem; line-height: 1.4; }
.send-block-title .icon, .send-file-total .icon { width: 1rem; height: 1rem; flex: none; color: var(--send-green); }
.send-workspace .send-contact-search { max-width: none; margin: .65rem 0 .7rem; }
.send-search-box { position: relative; display: block; }
.send-search-box > .icon { position: absolute; left: .72rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; pointer-events: none; color: #477266; }
.send-search-box .control { width: 100%; min-height: 37px; padding: .45rem .65rem .45rem 2.2rem; background: #f4f8f5; }
.send-workspace .send-address-fields { grid-template-columns: minmax(0,1.18fr) minmax(0,1fr); gap: .55rem .8rem; }
.send-workspace .field-label small { color: #586f64; font-size: .7rem; font-weight: 400; }
.send-workspace #send-pin { width: 100%; max-width: 10rem; }
.send-recipient-note { display: flex; align-items: flex-start; gap: .4rem; margin: .75rem 0 0; font-size: .75rem; line-height: 1.45; color: #51685c; }
.send-recipient-note .icon { flex: none; width: .85rem; height: .85rem; margin-top: .1rem; }
.send-files-head { justify-content: space-between; flex-wrap: wrap; margin: 0 0 .65rem; }
.send-picked-summary { color: #46665b; font-size: .74rem; font-variant-numeric: tabular-nums; }
.send-picked-summary:empty, .send-feedback:empty, .send-mobile-caption { display: none; }
.send-workspace #send-compose .send-drop {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 12rem; gap: .4rem; padding: .8rem; color: #224f41;
    border: 1px dashed #72a390; border-radius: .7rem; background: #f1f7f3;
}
.send-workspace #send-compose .send-drop:is(:hover,:focus-within,.over),
.page-file-drag .send-workspace #send-compose .send-drop { background: #e6f3e9; border-color: #24694f; outline: 2px solid #24694f; outline-offset: -1px; }
.send-drop-mark { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border-radius: .76rem; background: #deeee2; color: #21684f; }
.send-drop-mark .icon { width: 1.65rem; height: 1.65rem; }
.send-drop strong { font-size: .98rem; }
.send-browse { display: inline-flex; align-items: center; gap: .4rem; padding: .27rem .65rem; border-radius: .45rem; border: 1px solid #acc5b8; background: #fff; font-size: .8rem; font-weight: 650; }
.send-browse .icon { width: .88rem; height: .88rem; }
.send-drop small { font-size: .73rem; line-height: 1.45; }
.send-workspace .send-selection:not(:empty) { margin-top: .5rem; }
.send-compose-footer {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem;
    padding: .85rem 1.2rem; border-top: 1px solid var(--send-line); border-radius: 0 0 12px 12px; background: #f4f7f4;
}
.send-compose-footer .send-delivery-options { gap: .7rem 1.5rem; }
.send-compose-footer .send-switch-title { font-size: .84rem; font-weight: 600; }
.send-compose-footer .send-switch small { font-size: .72rem; }
.send-workspace .send-submit { min-height: 40px; padding-inline: 1rem; background: #185342; color: #fff; }
.send-workspace .send-submit:hover { background: #103e31; }
.send-workspace .send-error:not(:empty), .send-workspace .send-feedback:not(:empty) { margin: 0; padding: .65rem 1.2rem; font-size: .84rem; }
.send-workspace .send-feedback { color: #20563f; }

.send-workspace .send-scroll th { font-size: .73rem; }
.send-workspace .send-scroll td { vertical-align: middle; font-size: .82rem; }
.send-recipient-cell { overflow-wrap: anywhere; }
.send-workspace .send-recipient-cell strong { font-weight: 600; }
.send-workspace .send-history td small { font-size: .73rem; }
.send-file-total { display: inline-flex; gap: .27rem; white-space: nowrap; font-size: .77rem; }
.send-file-total .icon { width: .86rem; height: .86rem; }
.send-state { display: inline-flex; align-items: center; vertical-align: middle; gap: .22rem; border-radius: 1rem; padding: .22rem .48rem; background: #eaf0ed; color: #455950; font-size: .73rem; font-weight: 650; line-height: 1.2; }
.send-state .icon { width: .83rem; height: .83rem; flex: none; }
.send-state[data-state="ready"] { background: #def1e3; color: #205633; }
.send-state[data-state="used"] { background: #e6effa; color: #2b5480; }
.send-state:is([data-state="checking"],[data-state="delayed"]) { background: #fff0d4; color: #704b12; }
.send-state:is([data-state="locked"],[data-state="rejected"]) { background: #fbe8e3; color: #833829; }
.send-workspace .send-status small { white-space: normal; margin-top: .16rem; }
.send-row-actions { display: flex; align-items: center; gap: .3rem; }
.send-row-actions [data-resend] { width: 32px; min-width: 32px; padding: 0; }
.send-resend-caption { display: none; }
.send-history-empty { display: flex; justify-content: center; align-items: center; gap: .55rem; padding: 1.4rem 1rem; margin: 0; color: #53695e; font-size: .86rem; }
.send-history-empty .icon { color: #48705d; }

@container send-workspace (max-width: 52rem) {
    .send-workspace .send-scroll { overflow: visible; }
    .send-scroll table, .send-scroll tbody { display: block; width: 100%; }
    .send-scroll thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .send-scroll tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem 1rem; padding: .85rem 1rem; border-bottom: 1px solid var(--send-line); }
    .send-scroll tbody tr:last-child { border-bottom: 0; }
    .send-workspace .send-scroll td { display: block; padding: 0; border: 0; min-width: 0; }
    .send-recipient-cell, .send-actions-cell { grid-column: 1/-1; }
    .send-workspace .send-recipient-cell strong { font-size: .91rem; }
    .send-mobile-caption { display: block; font-size: .7rem; margin-bottom: .15rem; font-weight: 600; color: #53675b; }
    .send-workspace .send-scroll .send-actions-cell { border-top: 1px solid #e5ede8; padding-top: .5rem; }
    .send-resend-caption { display: inline; }
    .send-row-actions [data-resend] { width: auto; padding: .35rem .65rem; }
    .send-row-actions .send-delete { margin-inline-start: auto; }
}
@container send-workspace (max-width: 41rem) {
    .send-compose-grid { grid-template-columns: minmax(0,1fr); gap: 1rem; padding: 1rem; }
    .send-files-block { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--send-line); padding-top: .85rem; }
    .send-workspace #send-compose .send-drop { min-height: 9rem; }
    .send-compose-footer { padding: .85rem 1rem; }
    .send-workspace .send-history .panel-head { padding-inline: 1rem; }
}
@container send-workspace (max-width: 30rem) {
    .send-compose-footer .send-delivery-options { display: grid; gap: .7rem; }
    .send-workspace .send-submit { width: 100%; }
    .send-workspace .send-pin-policy span { left: auto; right: -1rem; max-width: 62cqi; }
}
@container send-workspace (max-width: 20rem) {
    .send-workspace .send-address-fields { grid-template-columns: minmax(0,1fr); }
    .send-workspace .send-pin-policy span { left: -.8rem; right: auto; }
}

/* Incoming and outgoing document lists in the account. */
:is(.inbox-list-head, .send-history .panel-head) .deleted-shipment-toggle { color: #f1fbf5; }
:is(.inbox-list-head, .send-history .panel-head) .send-switch input { background: #41665b; border: 1px solid #bdd0c5; }
:is(.inbox-list-head, .send-history .panel-head) .send-switch input:checked { background: #a8efce; border-color: #a8efce; }
:is(.inbox-list-head, .send-history .panel-head) .send-switch input:checked::before { background: #134a38; }
:is(.inbox-list-head, .send-history .panel-head) .icon-btn { background: #fff; color: #1e5847; border-color: #b1c9bd; }
.portal-layout :is(.inbox-list-head, .send-history .panel-head) :is(input,button):focus-visible { outline-color: #ffe39a; }
.portal-layout .inbox-title { margin-bottom: .85rem; }
.inbox-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; }
.inbox-stats > div { padding: .65rem .85rem; gap: .65rem; background: #fff; border: 1px solid #d3e1d9; border-radius: .65rem; }
.inbox-stat-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .6rem; background: #e3f1e9; flex: none; }
.inbox-stats > div:nth-child(2) .inbox-stat-icon { background: #faf0df; }
.inbox-stats > div:nth-child(2) .icon { color: #855a22; }
.inbox-stats > div:nth-child(3) .inbox-stat-icon { background: #e9eff5; }
.inbox-stats > div:nth-child(3) .icon { color: #405f7c; }
.inbox-heading { display: flex; gap: .65rem; align-items: center; }
.inbox-list-head h2 { font-size: 1.12rem; margin: 0; }
.inbox-list-head p { margin: .15rem 0 0; color: #d5e8dd; }
.inbox-head-actions .quota-badge { background: #f6faf7; }
.inbox-panel .table-tools { display: flex; flex-wrap: wrap; padding: .75rem 1rem; gap: .6rem 1rem; background: #f7faf8; }
.inbox-panel .tabs { gap: .2rem; }
.inbox-panel .tab { color: #425e52; font-size: .76rem; font-weight: 550; padding: .4rem .58rem; }
.inbox-panel .tab:hover { background: #e6f0e9; }
.inbox-panel .tab.active { background: #215a47; color: #fff; }
.inbox-panel .search { flex: 1 1 12rem; max-width: 19rem; }
.inbox-panel .search input { background: #fff; border-color: #acbeb4; min-height: 35px; font-size: .78rem; }
.inbox-panel .search .icon { color: #426455; }
.inbox-panel th, .inbox-panel td { padding: .65rem clamp(.45rem,1vw,.95rem); }
.inbox-panel td { font-size: .8rem; }
.inbox-panel .table-person { min-width: 0; gap: .55rem; }
.inbox-panel .table-person > span:last-child { overflow-wrap: anywhere; }
.inbox-panel .table-person strong { font-size: .84rem; }
.inbox-panel .table-person small, .inbox-files small { display: block; color: #54695e; font-size: .73rem; }
.inbox-panel .shipment-reference { color: #456052; font-size: .77rem; }
.inbox-open .icon { width: 1rem; height: 1rem; color: #3b6c55; }
.inbox-panel tr.clickable:focus-visible { outline: 2px solid #236b54; outline-offset: -2px; }
.inbox-panel .empty-state { padding: 2rem 1rem; }
.inbox-panel .empty-icon { background: #e7f2ea; color: #276048; margin-bottom: .8rem; }
.inbox-panel .table-foot { font-size: .75rem; padding: .55rem 1rem; }
.inbox-cell-label, .inbox-panel .inbox-mobile-help { display: none; }

@media (max-width: 1090px) {
  .inbox-panel .table-scroll { overflow: visible; }
  .inbox-panel table, .inbox-panel tbody { display: block; width: 100%; min-width: 0; }
  .inbox-panel thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .inbox-panel thead .shipment-help { display: none; }
  .inbox-panel .inbox-mobile-help { display: inline-flex; font-size: .77rem; color: #496252; }
  .inbox-panel tbody tr {
    display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; align-items: start;
    grid-template-areas: "sender sender sender open" "files arrival expiry expiry" "ref ref state state";
    gap: .6rem .7rem; padding: .8rem 1rem; border-bottom: 1px solid #d9e5dd;
  }
  .inbox-panel tbody tr:last-child { border: 0; }
  .inbox-panel tbody tr td { min-width: 0; display: block; border: 0; padding: 0; }
  .inbox-panel tbody tr:is(:hover,:focus-visible) { background: #f3f8f4; }
  .inbox-panel tbody tr:hover td { background: transparent; }
  .inbox-panel .inbox-sender { grid-area: sender; }
  .inbox-panel .inbox-open { grid-area: open; align-self: center; }
  .inbox-panel .inbox-files { grid-area: files; }
  .inbox-panel .inbox-arrival { grid-area: arrival; }
  .inbox-panel .inbox-expiry { grid-area: expiry; }
  .inbox-panel .shipment-reference { grid-area: ref; align-self: end; }
  .inbox-panel [data-upload-progress] { grid-area: state; text-align: end; align-self: end; }
  .inbox-cell-label { display: block; color: #536a5b; font: 600 .7rem/1.45 system-ui,sans-serif; }
  .inbox-panel .table-person .avatar { display: grid; }
}
@media (max-width: 600px) {
  .inbox-stats { grid-template-columns: minmax(0,1fr); gap: 0; padding: .22rem .8rem; background: #fff; border: 1px solid #d3e1d9; border-radius: .65rem; }
  .inbox-stats > div { gap: .5rem; padding: .4rem 0; border: 0; border-radius: 0; }
  .inbox-stats > div + div { border-top: 1px solid #e2ebe5; }
  .inbox-stat-icon { width: 1.6rem; height: 1.6rem; }
  .inbox-stat-icon .icon { width: .95rem; height: .95rem; }
  .inbox-stats > div > span:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .4rem; }
  .inbox-panel .tabs { flex-basis: 100%; }
  .inbox-panel .table-tools { gap: .5rem; padding: .65rem .8rem; }
  .inbox-panel .search { max-width: none; min-width: 0; }
  .inbox-heading { width: 100%; }
  .inbox-head-actions { width: 100%; }
  .inbox-head-actions .quota-badge { order: -1; }
  .inbox-panel tbody tr { padding-inline: .8rem; }
}

.send-saved-contact { margin: .65rem 0 0; padding: .55rem .7rem; border: 1px solid #b9d6c7; border-radius: .55rem; background: #eef7f0; color: #224c37; font-size: .8rem; }
.send-saved-contact > p { margin: 0; overflow-wrap: anywhere; }
.send-saved-contact code { white-space: pre-wrap; font-weight: 700; }
.send-pin-change { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; margin-top: .45rem; }
.send-pin-change label { display: flex; align-items: center; gap: .35rem; }
.send-pin-change button { font: inherit; color: #194f39; background: white; border: 1px solid #a8c6b5; border-radius: .35rem; padding: .3rem .5rem; cursor: pointer; }
