*{box-sizing:border-box}:root{color:#172033;background:#f5f7fb;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{background:#f5f7fb;min-width:1100px;margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.loginPage{background:linear-gradient(135deg,#eef2ff,#f8fafc);justify-content:center;align-items:center;min-height:100vh;display:flex}.loginCard{background:#fff;border:1px solid #e4e7ec;border-radius:18px;width:430px;padding:36px;box-shadow:0 20px 60px #0f172a14}.loginCard h1{margin:24px 0 8px;font-size:28px}.brand{letter-spacing:-.5px;font-size:23px;font-weight:800}.brand span{color:#635bff;margin-left:4px;font-size:13px}.muted{color:#667085;line-height:1.6}.stack{flex-direction:column;gap:12px;margin-top:24px;display:flex}.stack input,.filters input{background:#fff;border:1px solid #d0d5dd;border-radius:8px;outline:none;width:100%;padding:11px 12px}.stack input:focus,.filters input:focus,textarea:focus{border-color:#635bff;box-shadow:0 0 0 3px #635bff1a}.full{width:100%}.app{min-height:100vh;display:flex}.sidebar{color:#fff;background:#111827;flex-direction:column;width:245px;padding:24px 16px;display:flex;position:fixed;top:0;bottom:0;left:0}.sidebar .brand{padding:0 10px 18px}.sidebar .brand span{color:#a5b4fc}.account{color:#9ca3af;text-overflow:ellipsis;white-space:nowrap;padding:0 10px 22px;font-size:13px;overflow:hidden}.navList{flex-direction:column;gap:5px;display:flex}.nav{color:#cbd5e1;text-align:left;background:0 0;border:0;border-radius:8px;width:100%;padding:11px 12px;transition:background .15s,color .15s}.nav span{width:26px;display:inline-block}.nav:hover{color:#fff;background:#1f2937}.nav.active{color:#fff;background:#312e81;font-weight:600}.sideBottom{border-top:1px solid #273244;flex-direction:column;gap:5px;margin-top:auto;padding-top:12px;display:flex}.main{width:calc(100% - 245px);margin-left:245px;padding:28px 34px 40px}.header{justify-content:space-between;align-items:center;gap:20px;display:flex}.header h1{letter-spacing:-.6px;margin:0;font-size:30px}.sub{color:#98a2b3;margin-top:5px;font-size:13px}.primary{color:#fff;background:#4f46e5;border:0;border-radius:8px;padding:10px 17px;font-weight:600}.primary:hover:not(:disabled){background:#4338ca}.header .primary{min-width:110px}.progressWrap{background:#fff;border:1px solid #e4e7ec;border-radius:10px;margin:22px 0;padding:12px 15px}.progressText{color:#667085;margin-bottom:8px;font-size:13px}.progress{background:#eaecf0;border-radius:99px;width:100%;height:5px;overflow:hidden}.progress>div{background:#635bff;height:100%;transition:width .2s}.filterCard{background:#fff;border:1px solid #e4e7ec;border-radius:14px;margin-bottom:16px;padding:14px;box-shadow:0 2px 8px #0f172a08}.filterTop{grid-template-columns:minmax(300px,1fr) auto auto;align-items:center;gap:9px;display:grid}.searchBox{align-items:center;min-width:0;display:flex;position:relative}.searchBox input{color:#172033;background:#fff;border:1px solid #d0d5dd;border-radius:10px;outline:none;width:100%;height:42px;padding:0 38px}.searchBox input:focus,.senderFilter input:focus,.dateRange input:focus{border-color:#635bff;box-shadow:0 0 0 3px #635bff1a}.searchIcon{z-index:1;color:#667085;pointer-events:none;font-size:21px;line-height:1;position:absolute;left:13px}.inputClear{color:#667085;background:#f2f4f7;border:0;border-radius:50%;width:26px;height:26px;padding:0;font-size:18px;line-height:24px;position:absolute;right:8px}.inputClear:hover{color:#172033;background:#e4e7ec}.filterSearch,.filterClear{white-space:nowrap;border-radius:10px;height:42px;padding:0 16px;font-weight:600}.filterSearch{color:#fff;background:#4f46e5;border:1px solid #4f46e5}.filterSearch:hover:not(:disabled){background:#4338ca}.filterClear{color:#344054;background:#fff;border:1px solid #d0d5dd}.filterClear:hover:not(:disabled){background:#f9fafb}.filterBottom{border-top:1px solid #f0f2f5;grid-template-columns:minmax(280px,1fr) minmax(210px,.8fr) auto;align-items:end;gap:18px;margin-top:13px;padding-top:13px;display:grid}.filterLabel,.senderFilter label,.dateFilters>label{color:#667085;margin-bottom:7px;font-size:12px;font-weight:700;display:block}.filterChips{flex-wrap:wrap;gap:6px;display:flex}.filterChip{color:#475467;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:999px;min-width:55px;height:32px;padding:0 11px;font-size:12px;font-weight:700}.filterChip:hover{background:#f9fafb}.filterChip.active{color:#4338ca;background:#eef2ff;border-color:#4f46e5}.filterChip.real.active{color:#027a48;background:#ecfdf3;border-color:#12b76a}.filterChip.spam.active{color:#c01048;background:#fff1f3;border-color:#f04438}.filterChip.error.active{color:#b42318;background:#fef3f2;border-color:#f04438}.filterChip.unknown.active{color:#475467;background:#f2f4f7;border-color:#98a2b3}.senderFilter input,.dateRange input{color:#172033;background:#fff;border:1px solid #d0d5dd;border-radius:8px;outline:none;height:36px;padding:0 10px}.senderFilter input{width:100%}.dateRange{align-items:center;gap:7px;display:flex}.dateRange input{width:145px}.dateRange span{color:#98a2b3;font-size:12px}.toolbar{background:#fff;border:1px solid #e4e7ec;border-radius:9px;justify-content:space-between;align-items:center;gap:15px;margin-bottom:10px;padding:11px 13px;display:flex}.selectAll{color:#667085;align-items:center;gap:8px;font-size:14px;display:flex}.toolbarActions{gap:7px;display:flex}.toolbar .danger{color:#b42318;border-color:#fda29b}.table{background:#fff;border:1px solid #e4e7ec;border-radius:10px;overflow:hidden}.thead,.tr{grid-template-columns:45px minmax(180px,1.3fr) minmax(300px,2.5fr) 100px 180px;align-items:center;display:grid}.thead{color:#667085;text-transform:uppercase;background:#f9fafb;border-bottom:1px solid #e4e7ec;min-height:46px;padding:0 15px;font-size:12px;font-weight:700}.tr{border-bottom:1px solid #f0f2f5;min-height:68px;padding:0 15px;font-size:14px}.tr:last-child{border-bottom:0}.tr:hover{background:#fafbff}.tr.unread{background:#f8f9ff}.tr.unread strong{font-weight:750}.clickable{cursor:pointer}.senderCell,.subjectCell{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.senderCell{flex-direction:column;gap:3px;display:flex}.senderCell small{color:#98a2b3;text-overflow:ellipsis;overflow:hidden}.subjectCell em{color:#7c3aed;font-size:12px;font-style:normal}.dateCell{color:#667085;font-size:12px}.badge{text-transform:uppercase;color:#667085;background:#f2f4f7;border-radius:99px;justify-content:center;align-items:center;min-width:65px;padding:4px 8px;font-size:11px;font-weight:700;display:inline-flex}.badge.real{color:#027a48;background:#ecfdf3}.badge.spam{color:#c01048;background:#fff1f3}.badge.error{color:#b42318;background:#fef3f2}.badge.unknown{color:#667085;background:#f2f4f7}.empty{text-align:center;color:#98a2b3;padding:60px 20px;line-height:1.8}.pagination{color:#667085;justify-content:space-between;align-items:center;gap:20px;margin-top:13px;padding:10px 3px;font-size:13px;display:flex}.paginationInfo{white-space:nowrap}.pageButtons{align-items:center;gap:5px;display:flex}.pageButtons button{color:#344054;background:#fff;border:1px solid #d0d5dd;border-radius:7px;min-width:36px;height:35px;padding:0 9px}.pageButtons button:hover:not(:disabled){background:#f2f4f7}.pageButtons button.active{color:#fff;background:#4f46e5;border-color:#4f46e5;font-weight:700}.pageButtons button:disabled{opacity:.45}.pageDots{color:#98a2b3;padding:0 3px}.mailView{max-width:1100px}.back{color:#4f46e5;background:0 0;border:0;margin-bottom:20px;padding:0;font-weight:600}.mailHeader{background:#fff;border:1px solid #e4e7ec;border-radius:10px 10px 0 0;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px;display:flex}.mailHeader h2{margin:0 0 12px;font-size:24px;line-height:1.35}.meta{color:#667085;margin-top:5px;font-size:13px}.mailActions{background:#f9fafb;border:1px solid #e4e7ec;border-top:0;gap:8px;padding:12px 22px;display:flex}.emailBody{overflow-wrap:anywhere;background:#fff;border:1px solid #e4e7ec;border-radius:10px;margin-top:16px;padding:25px;line-height:1.7}.emailBody pre{white-space:pre-wrap;margin:0;font-family:inherit}.attachments{background:#fff;border:1px solid #e4e7ec;border-radius:10px;margin-top:16px;padding:18px 20px}.attachments h3{margin:0 0 12px}.attachments a{color:#4f46e5;margin-top:8px;text-decoration:none;display:block}.attachments a:hover{text-decoration:underline}.draftBox{background:#fff;border:1px solid #e4e7ec;border-radius:10px;margin-top:18px;padding:20px}.draftHeader{justify-content:space-between;align-items:center;margin-bottom:13px;display:flex}.draftHeader h3{margin:0 0 4px}.draftHeader small{color:#98a2b3}.draftBox textarea{resize:vertical;border:1px solid #d0d5dd;border-radius:8px;outline:none;width:100%;min-height:220px;padding:13px;line-height:1.6}.draftActions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.alert{border-radius:8px;margin-top:15px;padding:12px 14px;font-size:14px}.errorAlert{color:#b42318;background:#fef3f2;border:1px solid #fecdca}.warnAlert{color:#b54708;background:#fffaeb;border:1px solid #fedf89}.toast{color:#fff;text-align:left;z-index:100;background:#111827;border:0;border-radius:9px;max-width:420px;padding:13px 17px;position:fixed;bottom:25px;right:25px;box-shadow:0 10px 30px #0003}input[type=checkbox]{cursor:pointer;width:16px;height:16px}@media (width<=1200px){body{min-width:0}.filterTop{grid-template-columns:1fr auto auto}.filterBottom{grid-template-columns:1fr 1fr}.dateFilters{grid-column:1/-1}.dateRange input{width:160px}.thead,.tr{grid-template-columns:40px 180px minmax(250px,1fr) 90px 150px}}@media (width<=900px){.sidebar{width:190px}.main{width:calc(100% - 190px);margin-left:190px;padding:20px}.filterTop{grid-template-columns:1fr auto}.filterClear{display:none}.filterBottom{grid-template-columns:1fr;gap:13px}.dateFilters{grid-column:auto}.dateRange input{flex:1;width:auto}.thead,.tr{grid-template-columns:40px 160px minmax(200px,1fr) 90px}.thead span:last-child,.tr span:last-child{display:none}}@media (width<=600px){.filterTop{grid-template-columns:1fr}.filterSearch,.dateRange{width:100%}}
