:root{color-scheme:light;--bg: #f6f7f5;--panel: #ffffff;--panel-soft: #eef3f0;--line: #dce3df;--text: #17211f;--muted: #65736f;--accent: #4f8f8a;--accent-strong: #2f746d;--accent-soft: #ddecdf;--blue: #346aa6;--warn: #9c5f18;--shadow: 0 24px 70px rgba(25, 39, 36, .12);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{color-scheme:dark;--bg: #111716;--panel: #18211f;--panel-soft: #202d2a;--line: #2c3a36;--text: #edf4f1;--muted: #a9b7b2;--accent: #6cb8b0;--accent-strong: #8fd4cc;--accent-soft: #213f3b;--blue: #8fb8ea;--warn: #f0b15f;--shadow: 0 24px 80px rgba(0, 0, 0, .32)}:root{--hostul-bg: #0f172a;--hostul-bg-soft: #111827;--hostul-surface: rgba(17, 24, 39, .82);--hostul-surface-strong: rgba(17, 24, 39, .94);--hostul-border: rgba(148, 163, 184, .18);--hostul-border-strong: rgba(168, 85, 247, .36);--hostul-text: #f8fafc;--hostul-muted: #9ca3af;--hostul-muted-strong: #d1d5db;--hostul-field: rgba(15, 23, 42, .72);--hostul-field-border: rgba(148, 163, 184, .22);--hostul-focus: rgba(168, 85, 247, .28);--hostul-accent: #a855f7;--hostul-accent-strong: #7c3aed;--hostul-accent-alt: #6366f1;--hostul-danger: #fca5a5;--hostul-shadow: 0 24px 56px rgba(2, 6, 23, .44)}:root[data-hostul-theme=light]{--hostul-bg: #f8fafc;--hostul-bg-soft: #eef2ff;--hostul-surface: rgba(255, 255, 255, .9);--hostul-surface-strong: #ffffff;--hostul-border: rgba(148, 163, 184, .34);--hostul-border-strong: rgba(99, 102, 241, .32);--hostul-text: #0f172a;--hostul-muted: #64748b;--hostul-muted-strong: #334155;--hostul-field: #f8fafc;--hostul-field-border: #cbd5e1;--hostul-focus: rgba(99, 102, 241, .2);--hostul-accent: #7c3aed;--hostul-accent-strong: #4f46e5;--hostul-accent-alt: #9333ea;--hostul-danger: #b42318;--hostul-shadow: 0 24px 56px rgba(15, 23, 42, .16)}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text)}button,input,textarea{font:inherit}button{cursor:pointer}.boot-screen,.loading-state,.empty-list,.empty-reader{display:grid;place-items:center;color:var(--muted)}.boot-screen{min-height:100%}.spin{animation:spin .8s linear infinite}.hostul-webmail-login{min-height:100%;background:var(--hostul-bg);color:var(--hostul-text)}.hostul-auth-shell{position:relative;z-index:1;width:min(1120px,calc(100% - 40px));min-height:100vh;margin:0 auto;padding:18px 0 34px;display:flex;flex-direction:column;color:var(--hostul-text)}.hostul-auth-shell:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;background:linear-gradient(to right,rgba(148,163,184,.08) 1px,transparent 1px),linear-gradient(to bottom,rgba(148,163,184,.07) 1px,transparent 1px),linear-gradient(135deg,var(--hostul-bg),var(--hostul-bg-soft) 48%,var(--hostul-bg));background-size:44px 44px,44px 44px,auto}.hostul-auth-header{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.hostul-auth-brand,.hostul-theme-toggle,.hostul-submit,.hostul-secondary-btn{transition:transform .16s ease,border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease}.hostul-auth-brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--hostul-text);font-size:22px;font-weight:760;line-height:1.2;letter-spacing:0;text-decoration:none}.hostul-auth-brand:hover{color:var(--hostul-text);text-decoration:none}.hostul-auth-logo{width:42px;height:42px;flex:0 0 42px;display:inline-grid;place-items:center;border:1px solid var(--hostul-border);border-radius:8px;background:#a855f71f}.hostul-auth-logo img{width:29px;height:29px}.hostul-theme-toggle{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:8px 12px;border:1px solid var(--hostul-border);border-radius:8px;background:color-mix(in srgb,var(--hostul-surface) 86%,transparent);color:var(--hostul-muted-strong);font-size:14px;font-weight:650;letter-spacing:0;box-shadow:none}.hostul-theme-toggle:hover,.hostul-theme-toggle:focus-visible{border-color:var(--hostul-border-strong);color:var(--hostul-text);transform:translateY(-1px)}.hostul-login-shell{width:min(432px,100%);margin:auto}.hostul-login-card{width:100%;overflow:hidden;border:1px solid var(--hostul-border);border-radius:8px;background:var(--hostul-surface);box-shadow:var(--hostul-shadow);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.hostul-login-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 24px 0}.hostul-card-eyebrow{min-height:32px;display:inline-flex;align-items:center;gap:8px;padding:5px 9px;border:1px solid var(--hostul-border);border-radius:8px;background:#a855f71a;color:var(--hostul-muted-strong);font-size:13px;font-weight:700;line-height:1.2;letter-spacing:0}.hostul-card-eyebrow svg{color:var(--hostul-accent)}.hostul-login-domain{max-width:160px;overflow-wrap:anywhere;color:var(--hostul-muted);font-size:13px;line-height:1.3;text-align:right}.hostul-panel-heading{padding:24px 24px 20px}.hostul-panel-heading p{margin:0 0 8px;color:var(--hostul-accent);font-size:13px;font-weight:700;letter-spacing:0;text-transform:uppercase}.hostul-panel-heading h1{margin:0;background:linear-gradient(90deg,var(--hostul-accent),var(--hostul-accent-alt));background-clip:text;color:transparent;font-size:30px;font-weight:800;line-height:1.14;letter-spacing:0;-webkit-background-clip:text}.hostul-panel-heading span{display:block;max-width:340px;margin-top:10px;color:var(--hostul-muted);font-size:15px;line-height:1.55}.hostul-login-form{display:grid;gap:15px;padding:0 24px}.hostul-field{display:grid;gap:8px}.hostul-field label{color:var(--hostul-muted-strong);font-size:14px;font-weight:650;line-height:1.2;letter-spacing:0}.hostul-input-wrap{position:relative}.hostul-input-wrap svg{position:absolute;top:50%;left:14px;transform:translateY(-50%);color:var(--hostul-muted);pointer-events:none}.hostul-input-wrap input{min-height:50px;padding-left:42px;border:1px solid var(--hostul-field-border);border-radius:8px;background:var(--hostul-field);color:var(--hostul-text);box-shadow:none}.hostul-input-wrap input::placeholder{color:var(--hostul-muted);opacity:.72}.hostul-input-wrap input:hover{border-color:color-mix(in srgb,var(--hostul-field-border) 50%,var(--hostul-accent))}.hostul-input-wrap input:focus{border-color:var(--hostul-accent);background:var(--hostul-surface-strong);box-shadow:0 0 0 3px var(--hostul-focus);color:var(--hostul-text)}.hostul-form-error{margin:0;color:var(--hostul-danger);font-size:14px;line-height:1.45}.hostul-form-actions{display:grid;gap:14px}.hostul-forgot{width:fit-content;color:var(--hostul-accent);font-size:14px;text-decoration:none}.hostul-forgot:hover{color:color-mix(in srgb,var(--hostul-accent) 75%,#ffffff);text-decoration:underline}.hostul-submit,.hostul-secondary-btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:8px;font-weight:760;letter-spacing:0;text-decoration:none}.hostul-submit{width:100%;border:0;background:linear-gradient(90deg,var(--hostul-accent-strong),var(--hostul-accent-alt));color:#fff;box-shadow:0 14px 28px #581c8747}.hostul-submit:hover,.hostul-submit:focus-visible{color:#fff;transform:translateY(-1px);box-shadow:0 18px 34px #581c8757}.hostul-submit:disabled{cursor:wait;opacity:.78;transform:none}.hostul-secondary-logins{display:grid;gap:10px;padding:14px 24px 0}.hostul-secondary-btn{border:1px solid var(--hostul-border);background:color-mix(in srgb,var(--hostul-surface-strong) 68%,transparent);color:var(--hostul-muted-strong)}.hostul-secondary-btn:hover,.hostul-secondary-btn:focus-visible{border-color:var(--hostul-border-strong);color:var(--hostul-text);text-decoration:none;transform:translateY(-1px)}.hostul-login-footer{margin:22px 24px 24px;color:var(--hostul-muted);font-size:13px;line-height:1.4;text-align:center}@supports not (color: color-mix(in srgb,#fff,#000)){.hostul-theme-toggle,.hostul-secondary-btn{background:var(--hostul-surface-strong)}.hostul-input-wrap input:hover{border-color:var(--hostul-accent)}}.login-page{min-height:100%;background:linear-gradient(135deg,rgba(79,143,138,.16),transparent 36%),linear-gradient(315deg,rgba(52,106,166,.12),transparent 40%),var(--bg)}.login-header,.topbar{display:flex;align-items:center;gap:14px;min-height:64px;padding:0 22px}.login-header{justify-content:space-between}.brand-link{display:inline-flex;align-items:center;gap:10px;min-width:0;color:var(--text);font-weight:760;text-decoration:none}.brand-link img{width:122px;max-height:34px;object-fit:contain}.topbar .brand-link img{width:96px}.brand-link span{border-left:1px solid var(--line);padding-left:10px}.login-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);align-items:center;gap:8vw;width:min(1120px,calc(100% - 40px));min-height:calc(100vh - 86px);margin:0 auto;padding:28px 0 72px}.login-copy h1{max-width:720px;margin:14px 0 18px;font-size:clamp(2.2rem,6vw,5.4rem);line-height:.96;letter-spacing:0}.login-copy p:last-child{max-width:560px;color:var(--muted);font-size:1.06rem;line-height:1.7}.eyebrow{margin:0;color:var(--accent-strong);font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.login-form,.compose{border:1px solid var(--line);border-radius:8px;background:color-mix(in srgb,var(--panel) 92%,transparent);box-shadow:var(--shadow)}.login-form{display:grid;gap:18px;padding:26px}.form-head{display:flex;align-items:center;gap:12px;padding-bottom:4px}.form-head h2,.compose h2,.reader h2,.panel-toolbar h1{margin:0}.form-head p{margin:2px 0 0;color:var(--muted);font-size:.88rem}label{display:grid;gap:8px;color:var(--muted);font-size:.88rem;font-weight:700}input,textarea{width:100%;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--text);outline:none;transition:border-color .18s ease,box-shadow .18s ease}input{height:44px;padding:0 13px}textarea{min-height:220px;padding:13px;resize:vertical}input:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 20%,transparent)}.form-error{margin:0;color:#b4332a;font-size:.9rem}.submit-button,.primary-button,.secondary-button,.ghost-button,.danger-button,.theme-toggle,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;border:1px solid transparent;min-height:40px}.submit-button,.primary-button{background:var(--accent);color:#fff;border-color:var(--accent);font-weight:800}.submit-button{width:100%;height:46px}.submit-button.compact{width:auto;min-width:112px;padding:0 16px}.secondary-button,.ghost-button,.danger-button,.theme-toggle,.icon-button{background:var(--panel);color:var(--text);border-color:var(--line)}.primary-button,.secondary-button,.ghost-button,.danger-button{padding:0 14px}.danger-button{background:#b42318;color:#fff;border-color:#b42318;font-weight:800}.danger-button:hover,.danger-button:focus-visible{background:#912018;border-color:#912018}.danger-button:disabled,.ghost-button:disabled{cursor:wait;opacity:.72}.icon-button,.theme-toggle{width:40px;height:40px}.mail-shell{display:grid;grid-template-rows:64px 1fr;min-height:100%}.topbar{position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--panel) 94%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.search-box{display:flex;align-items:center;gap:9px;flex:1;max-width:620px;height:42px;margin-left:auto;padding:0 13px;border:1px solid var(--line);border-radius:7px;background:var(--panel-soft);color:var(--muted)}.search-box input{height:auto;border:0;background:transparent;box-shadow:none;padding:0}.mail-layout{display:grid;grid-template-columns:280px minmax(300px,420px) minmax(0,1fr);min-height:calc(100vh - 64px)}.sidebar{display:grid;grid-template-rows:auto 1fr auto;border-right:1px solid var(--line);background:var(--panel-soft)}.sidebar-profile{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:92px;padding:18px;background:var(--accent);color:#fff}.avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#ffffff2e}.sidebar-profile strong,.sidebar-profile span,.message-from,.message-subject{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-profile span{display:block;opacity:.9;font-size:.86rem}.folder-nav{display:grid;align-content:start;gap:4px;padding:12px 10px}.folder-nav button{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:10px;min-height:42px;border:0;border-radius:7px;padding:0 12px;background:transparent;color:var(--text);text-align:left}.folder-nav button.active,.folder-nav button:hover{background:var(--panel)}.sidebar-empty{margin:10px 8px;color:var(--muted);font-size:.9rem}.sidebar-footer{display:flex;align-items:center;gap:8px;min-height:54px;padding:0 18px;border-top:1px solid var(--line);color:var(--muted);font-size:.9rem}.message-list-panel{min-width:0;border-right:1px solid var(--line);background:var(--panel)}.panel-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:82px;padding:16px;border-bottom:1px solid var(--line)}.panel-toolbar h1{margin-top:3px;font-size:1.25rem}.message-list{display:grid}.message-row{display:grid;grid-template-columns:3px minmax(0,1fr) auto;gap:12px;min-height:78px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);padding:13px 14px 13px 0;text-align:left}.message-row:hover,.message-row.selected{background:var(--panel-soft)}.message-row.unread .row-marker{background:var(--accent)}.message-row.unread .message-from,.message-row.unread .message-subject{font-weight:800}.row-marker{width:3px;border-radius:0 3px 3px 0}.message-main{display:grid;align-content:center;min-width:0;gap:6px}.message-from{font-size:.92rem}.message-subject{color:var(--muted);font-size:.9rem}.message-meta{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:.78rem;white-space:nowrap}.reader-panel{min-width:0;background:var(--bg)}.reader{display:grid;grid-template-rows:auto auto auto 1fr;min-height:100%}.reader-head{display:flex;align-items:start;justify-content:space-between;gap:16px;padding:24px;border-bottom:1px solid var(--line);background:var(--panel)}.reader-head h2{margin-top:6px;font-size:clamp(1.25rem,3vw,2rem);line-height:1.18}.recipient-line{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;padding:10px 24px;border-bottom:1px solid var(--line);background:var(--panel);color:var(--muted);font-size:.9rem}.recipient-line strong{min-width:0;color:var(--text);overflow-wrap:anywhere}.message-body{min-height:0;padding:24px;overflow:auto}.message-body iframe{width:100%;min-height:calc(100vh - 260px);border:1px solid var(--line);border-radius:8px;background:#fff}.message-body pre{margin:0;max-width:860px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);font-family:inherit;font-size:.98rem;line-height:1.7}.empty-reader{min-height:100%;gap:8px;text-align:center}.empty-reader h2,.empty-reader p,.empty-list p{margin:0}.empty-reader p{color:var(--muted)}.loading-state,.empty-list{min-height:220px;gap:10px}.modal-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:end center;padding:22px;background:#0a100f61}.confirmation-layer{place-items:center}.compose{display:grid;gap:10px;width:min(760px,100%);padding:16px;background:var(--panel)}.compose header,.compose footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.compose-from{color:var(--muted);font-size:.9rem}.confirmation-card{display:grid;gap:18px;width:min(430px,100%);border:1px solid var(--line);border-radius:8px;background:var(--panel);box-shadow:var(--shadow);padding:24px}.confirmation-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--accent-soft);color:var(--accent-strong)}.logout-icon{background:color-mix(in srgb,#b42318 14%,var(--panel));color:#e5483f}.confirmation-card h2,.confirmation-card p,.confirmation-card dl{margin:0}.confirmation-card h2{margin-top:4px;font-size:1.45rem}.confirmation-card p{color:var(--muted);line-height:1.55}.confirmation-card dl{display:grid;gap:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}.confirmation-card dl div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px}.confirmation-card dt{color:var(--muted);font-size:.86rem;font-weight:800}.confirmation-card dd{min-width:0;margin:0;overflow-wrap:anywhere}.confirmation-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mobile-only,.scrim{display:none}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 1040px){.mail-layout{grid-template-columns:260px minmax(280px,380px) minmax(0,1fr)}}@media (max-width: 860px){.login-main{grid-template-columns:1fr;gap:28px;align-items:start;padding-top:32px}.login-copy h1{font-size:2.6rem}.mail-layout{grid-template-columns:1fr}.mobile-only{display:inline-flex}.sidebar{position:fixed;inset:0 auto 0 0;z-index:45;width:min(84vw,310px);transform:translate(-100%);transition:transform .2s ease;box-shadow:var(--shadow)}.sidebar.is-open{transform:translate(0)}.scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:block;border:0;background:#00000059}.message-list-panel{border-right:0}.reader-panel{min-height:60vh}.search-box{display:none}}@media (max-width: 620px){.topbar,.login-header{padding-inline:14px}.topbar .brand-link span{display:none}.primary-button{width:42px;padding:0}.primary-button span,.primary-button{font-size:0}.reader-head{display:grid;padding:18px}.recipient-line,.message-body{padding-inline:18px}.modal-layer{padding:10px}.confirmation-actions{grid-template-columns:1fr}}@media (max-width: 520px){.hostul-auth-shell{width:min(100% - 28px,1120px);padding-top:10px;padding-bottom:20px}.hostul-auth-header{margin-bottom:14px}.hostul-auth-brand{font-size:20px}.hostul-theme-toggle{width:42px;padding-left:0;padding-right:0}.hostul-theme-toggle span{display:none}.hostul-login-card-header,.hostul-panel-heading,.hostul-login-form{padding-left:18px;padding-right:18px}.hostul-login-card-header{align-items:flex-start;flex-direction:column}.hostul-login-domain{max-width:none;text-align:left}.hostul-panel-heading h1{font-size:26px}.hostul-panel-heading span{font-size:14px}.hostul-secondary-logins{padding-left:18px;padding-right:18px}.hostul-login-footer{margin-left:18px;margin-right:18px}}
