/* ZOSend shared canopy component layer */
.mail-row-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
:root{--control-h:44px;--panel-gap:24px;--focus:#001f1f;--warning:#8b5816;--warning-bg:#fff1d8}
button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}input,textarea{min-width:0;border:1px solid #b9c9c2;border-radius:12px;background:#fff;color:var(--ink);padding:11px 13px;outline:none}input:focus,textarea:focus{border-color:var(--focus);box-shadow:none}.form-stack,form{display:flow-root}.field-group{display:grid;gap:10px}.field-group+*{margin-top:24px}.input-action{display:flex;align-items:center;gap:10px}.input-action input{flex:1}.input-suffix{display:flex;align-items:stretch;border:1px solid #b9c9c2;border-radius:14px;background:#fff;overflow:hidden}.input-suffix:focus-within{border-color:var(--focus)}.input-suffix input{flex:1;border:0;border-radius:0}.input-suffix span{flex:none;display:grid;place-items:center;padding:0 14px;background:#edf3ef;color:#294d45;white-space:nowrap}
.button-primary,.button-secondary,.button-danger,.button-quiet,.console-button{min-height:var(--control-h);display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:10px 18px;border:1px solid transparent;font-weight:700;text-decoration:none}.button-primary,.console-button{background:var(--forest);color:#fff}.button-primary:hover,.console-button:hover{background:#075757;color:#fff}.button-secondary,.button-quiet{background:#fff;color:var(--ink);border-color:#b9c9c2}.button-secondary:hover,.button-quiet:hover{background:#edf3ef;color:var(--ink)}.button-danger{background:#fff0ee;color:#8d2f2a;border-color:#e9b9b4}.button-danger:hover{background:#8d2f2a;color:#fff}.button-group{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.ui-card,.console-panel,.login-card,.empty-state{min-width:0;border-radius:24px;background:#fff;box-shadow:0 12px 34px rgba(0,31,31,.07);padding:clamp(20px,3vw,32px)}.ui-card h2,.console-panel h2,.login-card h2{margin:0;font-size:clamp(24px,3vw,34px)}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.panel-heading p{max-width:680px;margin:8px 0 0;color:var(--muted)}.status-pill{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;border-radius:999px;padding:6px 10px;background:#e7f4e9;color:#185c43;font-size:13px;font-weight:700}.status-pill::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.status-pill.is-paused{background:#f3e9dd;color:#754b1d}.status-pill.is-danger{background:#f9e4e1;color:#8d2f2a}.notice{display:flex;align-items:flex-start;gap:10px;border-radius:14px;padding:12px 14px;background:#e8f4eb;color:#15583f}.notice.is-error{background:#fae7e4;color:#842f2a}.notice.is-warning{background:var(--warning-bg);color:var(--warning)}.notice[hidden]{display:none}.empty-state{box-shadow:none;background:#f4f5f0;text-align:center;color:var(--muted)}
.data-scroll{min-width:0;overflow-x:auto;overscroll-behavior-x:auto}.data-table{width:100%;border-collapse:collapse;table-layout:auto}.data-table th,.data-table td{text-align:left;padding:14px 12px;border-bottom:1px solid var(--line);vertical-align:middle}.data-table th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#557069}.data-table td{min-width:0}.data-table .identity-cell{min-width:260px;overflow-wrap:anywhere}.data-table .state-cell,.data-table .action-cell{white-space:nowrap}.row-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:7px}.row-actions button{min-height:36px;padding:7px 10px;border-radius:10px;border:1px solid #cbd7d1;background:#fff;color:var(--ink)}.row-actions button:hover{background:#edf3ef;color:var(--ink)}.clickable-row{cursor:pointer}.clickable-row:hover,.clickable-row:focus{background:#f1f6f2;outline:none}
.custom-select{position:relative;width:max-content;max-width:100%}.custom-select-button{display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;min-height:42px;padding:9px 38px 9px 14px;border:1px solid #b9c9c2;border-radius:12px;background:#fff;color:var(--ink);position:relative}.custom-select-button::after{content:"";position:absolute;right:15px;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px)}.custom-select-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:42;min-width:100%;width:max-content;max-width:min(320px,90vw);padding:7px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--soft-shadow)}.custom-select-menu[hidden]{display:none}.custom-select-menu button{display:block;width:100%;border:0;border-radius:9px;padding:9px 12px;background:#fff;color:var(--ink);text-align:left}.custom-select-menu button:hover,.custom-select-menu button[aria-selected="true"]{background:#e5f3e8;color:var(--ink)}
.console-shell{padding:clamp(48px,7vw,88px) 0}.console-stack{display:grid;gap:24px}.quota-meter{display:grid;gap:8px;min-width:180px}.quota-track{height:8px;border-radius:999px;background:#dce8e1;overflow:hidden}.quota-track span{display:block;height:100%;background:var(--forest);border-radius:inherit}.alias-create{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:24px}.alias-create .field-group{flex:1 1 100%}.alias-create .field-group+*{margin-top:0}.archive-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:24px}.archive-toolbar input{flex:1;min-width:min(240px,100%)}.archive-detail{display:grid;gap:12px;min-width:0;max-width:100%;overflow-x:auto}.archive-detail iframe,.reader-frame{display:block;width:100%;max-width:100%;min-width:0;min-height:420px;border:0;background:#fff;flex:0 0 auto}.attachment-list{display:grid;gap:8px}.attachment-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-radius:12px;background:#edf3ef}.twofa-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 24px}.twofa-step{min-width:0;display:flex;flex-direction:column;gap:8px;padding:20px 18px;border-radius:18px;background:#eef6f0}.twofa-step strong{display:block;margin:0;font:650 16px/1.35 var(--font-head)}.twofa-step span{color:var(--muted);font-size:14px;line-height:1.55;overflow-wrap:anywhere}.twofa-setup{display:grid;gap:10px;margin-top:24px;padding:18px;border-radius:18px;background:#edf5ef}.twofa-setup img{width:180px;height:180px;object-fit:contain;background:#fff;border-radius:12px}.secret-line{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.secret-line code{overflow-wrap:anywhere;font-family:var(--font-mono)}
.auth-progress{display:flex;gap:8px;margin-bottom:24px}.auth-progress span{height:6px;flex:1;border-radius:999px;background:#d8e3dd}.auth-progress span.is-current,.auth-progress span.is-done{background:var(--forest)}.auth-view[hidden]{display:none}.auth-target{font-weight:700;overflow-wrap:anywhere}.auth-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:24px}
.reader-shell{min-width:0;padding:24px 26px}.reader-headline{padding-bottom:14px;border-bottom:1px solid var(--line);min-width:0}.reader-headline h3{margin:8px 0;font-size:clamp(22px,3vw,30px);overflow-wrap:anywhere}.reader-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:13px}.reader-body{padding-top:16px}.cid-note{margin:12px 0}.demo-brand{display:grid;gap:14px}.demo-brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:var(--ink);color:#fff;font-weight:800}.demo-code{font:600 clamp(28px,5vw,46px)/1 var(--font-mono);letter-spacing:.12em;padding:22px;border-radius:18px;background:#edf3ef;text-align:center}.demo-cta{display:inline-flex;width:max-content;border-radius:999px;background:var(--forest);color:#fff;padding:11px 18px;font-weight:700}.real-mail-badge,.demo-badge{display:inline-flex;width:max-content;max-width:100%;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700}.real-mail-badge{background:#dceff5;color:#154b60}.demo-badge{background:#f0e6d7;color:#68461d}.mail-row{position:relative;padding-right:16px!important;min-width:0}.mail-row-copy{min-width:0}.mail-subject,.mail-preview{overflow-wrap:anywhere}.mail-row.is-selected::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:var(--forest)}.unread-dot{display:block}.unread-dot::before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#15815f;vertical-align:1px}.mail-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:#dcefe2;color:var(--forest);font-weight:800}
@media(max-width:960px){.twofa-steps{grid-template-columns:minmax(0,1fr)}.panel-heading{flex-direction:column}}
@media(max-width:760px){.input-action{align-items:stretch;flex-direction:column}.input-action button{width:100%}.data-table,.data-table tbody,.data-table tr,.data-table td{display:block}.data-table thead{display:none}.data-table tr{padding:14px 0;border-bottom:1px solid var(--line)}.data-table td{border:0;padding:6px 0}.data-table .identity-cell{min-width:0;width:100%}.data-table td::before{content:attr(data-label);display:block;margin-bottom:4px;color:var(--muted);font-size:12px}.data-table .action-cell{white-space:normal}.row-actions{flex-wrap:wrap}.archive-toolbar{align-items:stretch;flex-direction:column}.archive-toolbar input{width:100%}.mobile-reader{position:fixed;inset:0;z-index:80;width:100%;height:100dvh;max-height:none;border-radius:0;background:#fff;overflow-y:auto}.mobile-reader[hidden]{display:none}.mobile-reader [data-mobile-content]{padding:16px}.mobile-reader .reader-shell{padding:0}.mobile-reader .reader-frame{min-height:calc(100dvh - 220px)}.archive-detail iframe,.reader-frame{min-height:240px}.inbox-grid>.reader{display:none}.alias-create{display:flex}.alias-create>*+*{margin-top:12px}}
@media(max-width:420px){.ui-card,.console-panel,.login-card{border-radius:18px;padding:18px}.button-group>*{flex:1}.input-suffix span{padding:0 9px;font-size:12px}.address{white-space:normal!important;overflow-wrap:anywhere;text-overflow:clip!important}.twofa-setup img{width:150px;height:150px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
