/* Sepmail: responsive application and compact sign-in */
body.task-login #login-form{top:auto!important;left:auto!important;transform:none!important}
input,button,select,textarea,.popover,.ui-dialog,.ui-widget{font-family:Yekan,system-ui,sans-serif!important}
button,a,input{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #8ae5ff!important;outline-offset:3px}
#layout-menu #logo{width:54px!important;height:54px!important;object-fit:contain;margin:12px auto!important}
#taskmenu a{color:#b5cede!important}#taskmenu a.selected{color:#8be4ff!important;background:#79d9ff15!important}#taskmenu a.compose{color:#88e2ff!important}
.popupmenu,.popover,.ui-dialog,.ui-dialog-content,.ui-dialog-titlebar,.ui-dialog-buttonpane{background:#102639!important;color:#edf7ff!important;border-color:#a9dcff30!important}.popupmenu a,.listing a{color:#e2f2ff!important}.listing tr:hover,.folderlist a:hover{background:#8cdbff0c!important}.header-title{font-weight:800}.messagelist td.subject .fromto,.messagelist td.subject .date{color:#a8c3d5!important}
html:has(body.task-login){height:auto;min-height:100%}body.task-login{height:auto!important;min-height:100svh!important;overflow:auto!important}body.task-login #layout{position:relative!important;display:block!important;height:auto!important;min-height:100svh!important;overflow:visible!important}
body.task-login #layout-content{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(340px,420px);align-items:center;align-content:center;gap:clamp(32px,7vw,112px);max-width:1120px!important;width:calc(100% - 96px)!important;height:auto!important;min-height:100svh!important;position:relative!important;inset:auto!important;margin:0 auto!important;padding:48px 0!important;background:transparent!important;overflow:visible!important;box-sizing:border-box}
.sep-hero{position:relative;text-align:left;min-width:0;padding:0}.sep-brand{display:flex;align-items:center;justify-content:flex-start;gap:8px;height:48px;margin-bottom:26px}.sep-symbol{width:62px;height:62px;object-fit:contain}.sep-wordmark{width:170px;height:auto;max-height:52px;object-fit:contain}
.sep-cloud-scene{position:relative;isolation:isolate;width:100%;max-width:410px;height:190px;margin:8px 0 28px;pointer-events:none;scale:1;transform:none}.sep-cloud.one{top:90px;left:20px}.sep-cloud.two{top:113px;left:178px;scale:1;transform:scale(.55)}.sep-orbit{top:44px;left:205px}
.sep-eyebrow{display:block;font-family:Yekan,system-ui,sans-serif;font-size:11px;font-weight:800;letter-spacing:2px;color:#8fdaef;margin-bottom:16px}.sep-hero h1{font-size:clamp(36px,4.3vw,56px);line-height:1.17;letter-spacing:-1.6px;margin:0 0 22px}.sep-hero h1 br{display:block}.sep-hero p{font-size:17px;line-height:1.65;color:var(--sep-muted);margin:0}.sep-chips{display:flex;margin-top:28px}.sep-chips span{font-size:12px;padding:8px 14px}
body.task-login #login-form{box-sizing:border-box;width:100%!important;max-width:420px!important;padding:36px!important;margin:0!important;border:1px solid #ade3ff30;border-radius:26px;background:linear-gradient(145deg,#5d96b329,#12253d75);box-shadow:inset 0 1px 0 #ffffff26,0 24px 65px #0003;backdrop-filter:blur(24px);text-align:left;align-self:center}body.task-login #login-form:before{display:none}
.sep-form-heading{margin-bottom:28px}.sep-form-heading h2{font-size:30px;font-weight:800;letter-spacing:-.6px;margin:0 0 6px;color:#edf9ff}.sep-form-heading p{font-size:15px;line-height:1.5;color:var(--sep-muted);margin:0}.sep-field-label{display:block;font-size:14px;font-weight:800;margin:0 0 8px;color:#cce2ee}
body.task-login #login-form .input-group{margin:0 0 20px!important;display:flex!important;flex-wrap:nowrap;border-radius:12px;border:1px solid #9fd5ef33;background:#06172580;overflow:hidden}body.task-login #login-form .input-group:focus-within{border-color:#83dfff;box-shadow:0 0 0 3px #7bdfff16}body.task-login #login-form .input-group-prepend{display:none!important}body.task-login #login-form input{height:50px!important;font-size:16px!important;width:100%;min-width:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:12px 15px}body.task-login #login-form button{min-height:50px;font-size:16px;letter-spacing:0;text-transform:none!important;width:100%;margin-top:4px!important}body.task-login #login-form button:before{display:none}body.task-login #login-footer{text-align:center;margin-top:24px!important;font-size:12px}
.sep-profile-overlay{display:flex;align-items:center;justify-content:center;overflow:auto;box-sizing:border-box}.sep-profile-card{box-sizing:border-box;max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;padding:28px;border-radius:24px;background:linear-gradient(145deg,#1c3549,#0a1a2b)}.sep-profile-card h2{margin:0}.sep-profile-card input{box-sizing:border-box;min-height:46px;font-size:16px}.sep-profile-card .sep-avatar{width:72px;height:72px;margin:18px auto}.sep-profile-actions{gap:10px;margin-top:20px}.sep-profile-actions button,.sep-change-password{min-height:46px;padding:10px 18px;border-radius:10px;border:1px solid #8dcfff33;background:#16364c;color:#e2f7ff;cursor:pointer}.sep-profile-actions button[type=submit]{flex:1}.sep-profile-note{line-height:1.5;margin:10px 0}.sep-profile-status{min-height:20px;margin:12px 0 0}.sep-password{border-top:1px solid var(--sep-border);margin-top:20px;padding-top:16px}.sep-password summary{cursor:pointer;min-height:32px;color:#91dff7}.sep-change-password{width:100%;margin-top:16px}button:disabled{opacity:.55;cursor:wait}
@media(min-width:1025px){#layout-sidebar{min-width:200px;max-width:240px}.folderlist{padding:12px 8px}.folderlist li>a{border-radius:9px;margin:3px 0}.messagelist td.subject{padding-top:14px!important;padding-bottom:14px!important}}
@media(max-width:767px){body.task-login #layout-content{display:flex!important;flex-direction:column;justify-content:flex-start;align-items:center;gap:22px;width:100%!important;min-height:100svh!important;padding:26px 20px 30px!important}.sep-hero{width:100%;max-width:420px;text-align:center}.sep-brand{justify-content:center;height:44px;margin-bottom:0}.sep-symbol{width:54px;height:54px}.sep-wordmark{width:146px}.sep-cloud-scene{width:280px;height:112px;margin:10px auto 8px;overflow:hidden}.sep-cloud{width:160px;height:56px}.sep-cloud:before{width:78px;height:78px;top:-44px;left:30px}.sep-cloud:after{width:56px;height:56px;top:-28px;right:12px}.sep-cloud.one{top:52px;left:36px}.sep-cloud.two{top:63px;left:145px;transform:scale(.5)}.sep-orbit{width:9px;height:9px;top:17px;left:166px}.sep-hero h1{font-size:29px;line-height:1.18;letter-spacing:-.7px;margin:0}.sep-hero h1 br{display:none}.sep-hero h1 span{display:block}.sep-hero p,.sep-chips,.sep-eyebrow{display:none}body.task-login #login-form{max-width:420px!important;padding:26px 24px!important;border-radius:23px}.sep-form-heading{margin-bottom:22px}.sep-form-heading h2{font-size:26px}.sep-form-heading p{font-size:14px}body.task-login #login-form .input-group{margin-bottom:17px!important}body.task-login #login-footer{margin-top:18px!important}.sep-profile-overlay{padding:12px}.sep-profile-card{max-height:calc(100dvh - 24px);padding:22px;border-radius:22px}.header,.toolbar{flex-shrink:0}.sep-profile-button{margin:8px auto}input.form-control,textarea.form-control,select.form-control{font-size:16px!important}}
@media(max-width:380px){body.task-login #layout-content{padding:20px 14px!important;gap:18px}.sep-cloud-scene{height:94px;margin-top:4px}.sep-hero h1{font-size:25px}body.task-login #login-form{padding:24px 20px!important}.sep-form-heading h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.sep-cloud,.sep-orbit{animation:none!important}}
