:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182945;background:#f4f7fd;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:88px}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,.button{min-height:44px;padding:10px 13px;border:1px solid #dfe7f4;background:white;color:#354665;border-radius:9px;font-size:13px;font-weight:650;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px}button:hover,.button:hover{background:#eef5ff}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #7bb3ff;outline-offset:3px}header{height:72px;background:#ffffffed;border-bottom:1px solid #e4eaf4;display:flex;align-items:center;gap:22px;padding:0 28px;position:sticky;top:0;z-index:10;backdrop-filter:blur(12px)}.brand{display:flex;align-items:center;gap:9px;font-size:19px;white-space:nowrap}.brand strong{color:#1765dc}.logo,.title-icon{display:grid;place-items:center;color:white;background:linear-gradient(135deg,#35a0ff,#1460ee);box-shadow:0 5px 12px #277af02b;border-radius:11px;width:36px;height:36px}.topnote{margin-left:auto;font-size:12px;color:#70819a}.pill{display:inline-block;background:#eaf7f1;color:#218663;font-size:11px;padding:7px 9px;border-radius:20px;white-space:nowrap}aside{width:190px;position:fixed;top:72px;bottom:0;background:#ffffff8c;border-right:1px solid #e4eaf4;padding:24px 14px;display:flex;flex-direction:column;justify-content:space-between}nav{display:grid;gap:8px}nav a{display:flex;align-items:center;gap:10px;padding:13px 12px;color:#65738b;font-size:13px;border-radius:9px}nav a.active,nav a:hover{color:#1769e4;background:#e8f1ff}.aside-note{padding:20px 12px;background:linear-gradient(145deg,#eef8ff,#d9e9ff);border-radius:14px;color:#2563b7;font-size:12px;line-height:1.7}.aside-note small{color:#6882a2}main{max-width:1450px;margin-left:190px;padding:32px clamp(18px,3vw,42px) 60px}.heading{display:flex;gap:15px;align-items:center;margin-bottom:25px}.title-icon{width:48px;height:48px;font-size:32px;border-radius:14px;flex:none}h1{font-size:27px;letter-spacing:-.8px;margin:0 0 5px}p{margin:0;color:#78869c;font-size:13px;line-height:1.6}h2{font-size:16px;margin:0 0 5px}h3{font-size:16px}.layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px;align-items:start}.card{min-width:0;background:white;border:1px solid #e7edf6;border-radius:18px;box-shadow:0 8px 32px #30579706;padding:20px}.tabs{display:flex;gap:4px;padding:4px;background:#edf2fa;border-radius:10px;margin-bottom:21px}.tabs button{flex:1;border:0;background:transparent}.tabs .selected,.primary{color:#fff;background:linear-gradient(120deg,#318dff,#0860ec);border-color:transparent;box-shadow:0 3px 8px #1475ed25}.primary:hover,.tabs .selected:hover{background:#155fdf}fieldset{padding:0;border:0;margin:0 0 22px;min-width:0}legend{font-weight:700;font-size:14px;margin-bottom:5px}.hint{font-size:11px;margin-bottom:10px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.choice{display:flex;align-items:flex-start;gap:7px;border:1px solid #e5ebf4;border-radius:9px;padding:12px 8px;cursor:pointer;min-width:0}.choice:has(input:checked){border-color:#3887f3;background:#f3f8ff;box-shadow:0 0 0 2px #2a82fc0c}input[type=radio],input[type=checkbox]{accent-color:#1d75f4;flex:none;width:16px;height:16px;margin:0}.choice b{font-size:12px;overflow-wrap:anywhere}.choice small,small{font-size:11px;color:#7a89a0;line-height:1.5}.choice small{display:block;margin-top:4px}.settings{background:#f8faff;border:1px solid #edf1f8;padding:15px;border-radius:12px}.settings h2{font-size:14px;margin-bottom:15px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:17px 12px}.fields label,.inbox-select{font-size:12px;font-weight:600;display:flex;flex-direction:column;gap:7px;min-width:0}.fields input,select{width:100%;min-width:0;min-height:43px;border:1px solid #dfe6f0;border-radius:8px;background:white;padding:9px;color:#243957;font-size:14px;outline:none}.fields input:focus,select:focus{border-color:#3c8cfa;box-shadow:0 0 0 3px #3c8cfa15}.fields small{font-weight:400;overflow-wrap:anywhere}[hidden]{display:none!important}.generate{width:100%;margin-top:17px;font-size:14px;min-height:48px}.footnote{font-size:11px;text-align:center;margin-top:12px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-head p{font-size:12px}.success-icon{background:#dcf8ea;border-radius:50%;color:#39a87f;width:36px;height:36px;display:grid;place-items:center;font-size:22px}.stats{display:grid;grid-template-columns:.8fr 1.6fr .7fr;background:#f3f7ff;padding:13px 9px;border-radius:11px;gap:8px;margin-bottom:14px}.stats div{min-width:0;padding:0 7px;border-right:1px solid #e4eaf7}.stats div:last-child{border:0}.stats small,.stats b{display:block}.stats b{font-size:12px;margin-top:4px;overflow-wrap:anywhere}.actions{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}.actions button,.actions .button{font-size:11px;flex:1;padding:9px 7px;white-space:nowrap}#addresses{max-height:470px;overflow-y:auto;overscroll-behavior:contain}.address-row{display:flex;align-items:center;gap:9px;padding:7px;background:#f6f8fd;border-radius:8px;margin:6px 0;font-size:12px}.address-row .num{padding:5px;color:#8191a9;background:#edf1f8;border-radius:5px;font-size:10px}.address-row .address{flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.5}.address-row button{padding:6px 9px;min-width:40px;flex:none}.empty{text-align:center;padding:46px 10px;color:#8796ac;font-size:13px;line-height:1.7}.empty>span{font-size:42px;color:#91b8f8}.callout{background:#f0f6ff;border-radius:11px;padding:15px;margin-top:18px}.callout b{font-size:12px}.callout p{font-size:11px;margin-top:4px}.inbox-card{margin-top:22px}.inbox-controls{display:flex;align-items:center;gap:18px;margin-bottom:9px}.inbox-select{flex:1}.toggle{font-size:12px;display:flex;align-items:center;gap:8px;flex:none}.mail{display:block;border-top:1px solid #e8edf5;padding:16px 4px;overflow-wrap:anywhere}.mail b{font-size:14px}.mail p{font-size:12px;margin-top:6px}.mail:hover{background:#f8faff}.fresh{background:#eff8ff}#error{color:#bf3244;font-size:12px;margin-top:10px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:30;background:#183d70;color:white;border-radius:12px;padding:14px 20px;max-width:90vw;font-size:13px;box-shadow:0 6px 30px #15346030}
@media(min-width:1500px){main{margin-right:auto}}@media(max-width:1050px){aside{width:155px}main{margin-left:155px;padding:25px 18px}.layout{gap:14px}.card{padding:15px}.choices{grid-template-columns:1fr}.choice small{display:inline;margin-left:5px}}
@media(max-width:760px){header{height:62px;padding:0 16px;gap:8px}.brand{font-size:17px}.topnote{display:none}header>.pill{margin-left:auto}aside{position:sticky;top:62px;width:100%;bottom:auto;padding:8px 12px;background:#f9fbff;z-index:9;border-right:0;border-bottom:1px solid #e5ecf6}nav{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}nav a{justify-content:center;font-size:12px;padding:11px 5px;gap:5px}.aside-note{display:none}main{margin:0;padding:22px 14px 35px}.layout{grid-template-columns:1fr;gap:17px}.heading{gap:10px;margin-bottom:20px}h1{font-size:23px}.heading p{font-size:12px}.title-icon{width:42px;height:42px}.card{padding:17px;border-radius:15px}.choices{grid-template-columns:1fr 1fr}.choice small{display:block;margin-left:0}.choice b{font-size:11px}.fields input,select{font-size:16px}.inbox-controls{align-items:stretch;flex-direction:column;gap:12px}.inbox-card .section-head{align-items:flex-start}.inbox-card h2{font-size:15px}.inbox-card .section-head button{white-space:nowrap;font-size:12px}.stats b{font-size:11px}.actions button,.actions .button{min-height:44px}#addresses{max-height:420px}html{scroll-padding-top:138px}.address-row{font-size:12px}.toggle{min-height:36px}#toast{bottom:max(20px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.search-label{display:block;margin:16px 0 8px}.search-label input{width:100%;min-height:46px;border:1px solid #e4eaf4;border-radius:12px;background:#f5f7fb;padding:12px 15px;font:inherit;font-size:15px;outline-color:#2e82f5}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.mail{display:flex;gap:12px;align-items:flex-start}.sender-avatar{flex:none;width:38px;height:38px;background:#eaf2ff;color:#2878de;border-radius:50%;display:grid;place-items:center;font-size:16px;font-weight:700}.mail-content{min-width:0;flex:1}.mail-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 5px}.mail-top strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-top time{font-size:11px;color:#8391a8;white-space:nowrap}.mail-content>b{font-weight:500}.mail-content p{font-size:11px}.compose-mobile{display:none}.empty-create{margin-top:20px}
@media(max-width:760px){
html{scroll-padding-top:76px}body{background:#fff}header{border-bottom:1px solid #edf1f6}aside{position:fixed;top:auto;bottom:0;width:100%;padding:6px 12px calc(7px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #e8edf5;border-bottom:0;backdrop-filter:blur(15px)}nav{grid-template-columns:repeat(3,1fr)}nav a{flex-direction:column;gap:3px;padding:8px 6px;font-size:21px;border-radius:12px;min-height:55px}nav a span{font-size:11px;font-weight:650}nav a[href="#inbox"]{order:-1}nav a[href="#create"]{order:2}main{padding:20px 16px calc(110px + env(safe-area-inset-bottom))}.heading{display:none}.layout{display:block}body[data-view="inbox"] .layout,body[data-view="results"] #create,body[data-view="create"] #results,body:not([data-view="inbox"]) #inbox{display:none}body[data-view="create"] .heading{display:flex}.card{box-shadow:none;border:0;padding:0;border-radius:0}.inbox-card{margin-top:0}.inbox-card .section-head{align-items:center;margin-bottom:18px}.inbox-card h2{font-size:25px;letter-spacing:-.6px}.inbox-card h2 .pill{font-size:10px;letter-spacing:0;vertical-align:middle}.inbox-card .section-head button{width:44px;height:44px;overflow:hidden;font-size:0;padding:0;border-radius:50%;background:#f1f6fe;border:0}.inbox-card .section-head button:before{content:"↻";font-size:25px;color:#3d7dc4}.inbox-card .section-head p{font-size:11px;margin-top:7px;max-width:240px}.inbox-controls{gap:10px}.inbox-select{font-size:12px}.inbox-select select{background:#f8faff;border-color:#e4eaf4}.toggle{font-size:12px;min-height:24px}#vibration-note{display:block;font-size:10px;line-height:1.5}.search-label{margin-top:15px}.search-label input{font-size:16px}.mail{padding:17px 0}.mail-top strong{font-size:14px}.mail-content>b{font-size:14px;line-height:1.5}.mail-content p{margin-top:5px}.empty{padding:52px 12px}.empty>span{font-size:56px;display:block;background:#f0f6ff;color:#73a4e8;width:94px;height:94px;border-radius:28px;line-height:94px;margin:0 auto 20px}.empty h3{color:#3e5575;font-size:18px;margin:0 0 9px}.empty p{font-size:13px}body:not([data-view="create"]) .compose-mobile{display:flex;position:fixed;bottom:calc(88px + env(safe-area-inset-bottom));right:18px;z-index:8;background:#e2eeff;color:#195ebc;font-size:14px;font-weight:650;align-items:center;padding:15px 19px;border-radius:17px;box-shadow:0 6px 20px #2a66ad20}.inbox-card>.footnote{font-size:10px;max-width:280px;margin:20px auto}.choices{gap:8px}.choice{padding:12px 9px}.choice b{font-size:12px}.choice small{font-size:10px}.settings{padding:13px}.fields{gap:15px 10px}.fields label{font-size:12px}.tabs{margin-bottom:20px}.generate{margin-top:15px}.stats{margin-top:15px}#addresses{max-height:none}.callout{margin-bottom:15px}#toast{bottom:calc(155px + env(safe-area-inset-bottom))}}
