:root{
  --blue:#2f9cf4;
  --blue2:#1687ea;
  --bg:#f4f7fb;
  --card:#ffffff;
  --text:#172033;
  --muted:#7b8798;
  --line:#e8eef6;
  --shadow:0 18px 44px rgba(30,65,110,.08);
  --radius:28px;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
body{margin:0;background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",Arial,sans-serif;color:var(--text);font-weight:650}
a{text-decoration:none;color:inherit}.page-shell{min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:280px;background:#fff;border-right:1px solid var(--line);z-index:50;box-shadow:10px 0 30px rgba(50,70,100,.04)}.sidebar-inner{height:100%;overflow:auto;padding:22px 18px calc(22px + env(safe-area-inset-bottom))}.brand{display:flex;align-items:center;gap:12px;margin:2px 0 24px}.brand-logo{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900}.brand strong{font-size:18px}.brand span{display:block;color:var(--muted);font-size:12px;margin-top:3px}.menu{display:flex;flex-direction:column;gap:8px}.menu-link,.menu-parent{width:100%;border:0;background:transparent;display:flex;align-items:center;justify-content:space-between;border-radius:18px;padding:14px 14px;font-size:15px;font-weight:800;color:#445166;cursor:pointer}.menu-link>span,.menu-parent>span{display:flex;align-items:center;gap:10px;min-width:0}.menu-icon{width:32px;height:32px;border-radius:12px;background:#f4f8fd;display:inline-flex;align-items:center;justify-content:center;font-size:17px;line-height:1;flex:0 0 32px}.menu-link.active,.submenu-link.active,.menu-parent:hover,.menu-link:hover{background:#eef7ff;color:var(--blue2)}.submenu{display:none;padding:4px 0 8px 42px}.menu-group.open .submenu{display:flex;flex-direction:column;gap:4px}.submenu-link{border-radius:14px;padding:11px 12px;color:#66758a;font-size:14px;font-weight:760}.main{margin-left:280px;min-height:100vh}.topbar{height:74px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40;display:flex;align-items:center;padding:0 28px;gap:18px}.hamburger{display:none;border:0;background:#eef7ff;color:var(--blue2);width:42px;height:42px;border-radius:14px;font-size:22px}.top-title{font-size:22px;font-weight:850;color:#647289}.top-user{margin-left:auto;display:flex;align-items:center;gap:10px;background:#f6f8fc;border-radius:999px;padding:6px 12px 6px 6px}.top-user img{width:36px;height:36px;border-radius:50%;object-fit:cover}.top-user span{max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-user a{font-size:13px;color:var(--blue2)}.content{padding:28px;max-width:1180px;margin:0 auto}.card-white,.panel,.hero-card,.stat-card,.form-card,.table-card{background:#fff!important;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.hero-card{padding:34px;margin-bottom:24px;position:relative;overflow:hidden}.hero-card:after{content:"";position:absolute;right:-70px;top:-70px;width:220px;height:220px;border-radius:50%;background:linear-gradient(135deg,rgba(47,156,244,.12),rgba(47,156,244,0));pointer-events:none}.hero-badge{display:inline-flex;background:#eef7ff;color:var(--blue2);border-radius:999px;padding:7px 14px;font-size:12px;letter-spacing:2px;font-weight:900;margin-bottom:14px}.hero-card h1{margin:0;font-size:32px;line-height:1.25}.hero-card p{margin:14px 0 0;color:#738196;line-height:1.8;font-size:16px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.stat-card{padding:24px}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.stat-card span{display:block;color:var(--muted);font-size:14px;font-weight:800}.stat-card strong{display:block;margin-top:10px;font-size:30px;line-height:1.1}.stat-icon{width:38px;height:38px;border-radius:14px;background:#eef7ff;color:var(--blue2);display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-style:normal;line-height:1;flex:0 0 38px}.dashboard-stat{min-height:132px}.form-card,.table-card,.panel{padding:28px;margin-bottom:24px}.section-title{font-size:24px;line-height:1.3;margin:0 0 8px;font-weight:900}.section-desc{color:#7b8798;margin:0 0 22px;line-height:1.75}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{margin-bottom:20px}.field label{display:block;font-size:16px;margin-bottom:10px;font-weight:850}.input,.select,textarea{width:100%;border:1px solid #dce5ef;background:#fff;border-radius:18px;padding:0 18px;height:58px;font-size:16px;color:var(--text);font-weight:650;outline:none;transition:.2s}textarea{height:120px;padding-top:16px;resize:vertical}.input:focus,.select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(47,156,244,.10)}.select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23172033' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center;padding-right:48px}.btn-row{display:flex;gap:14px;flex-wrap:wrap}.btn{height:58px;border-radius:18px;padding:0 24px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;font-size:16px;font-weight:900;cursor:pointer;transition:.2s;min-width:138px}.btn-primary{background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;box-shadow:0 12px 26px rgba(47,156,244,.22)}.btn-secondary{background:#fff;color:var(--blue2);border-color:#bfe0fb}.btn-danger{background:#fff1f3;color:#ef4960;border-color:#f8c7d0}.btn:active{transform:scale(.985)}.switch{display:inline-flex;align-items:center;gap:10px}.switch input{display:none}.switch span{width:70px;height:36px;background:#e9eef6;border-radius:999px;position:relative;transition:.2s}.switch span:before{content:"";position:absolute;width:28px;height:28px;background:#fff;border-radius:50%;left:4px;top:4px;box-shadow:0 4px 12px rgba(20,30,50,.18);transition:.2s}.switch input:checked+span{background:linear-gradient(135deg,var(--blue),var(--blue2))}.switch input:checked+span:before{left:38px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:720px}.table th{background:#f7f9fc;color:#68758a;text-align:left;font-size:14px;padding:16px;border-bottom:1px solid var(--line)}.table td{padding:16px;border-bottom:1px solid var(--line);font-weight:650;color:#2c3445}.tag{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;font-size:13px;font-weight:900}.tag-blue{background:#eef7ff;color:var(--blue2)}.tag-green{background:#ecfff5;color:#20a464}.tag-gray{background:#f1f4f8;color:#6b778a}.tag-red{background:#fff1f3;color:#ef4960}.avatar{width:52px;height:52px;border-radius:50%;object-fit:cover}.member-card{display:flex;align-items:center;gap:16px;padding:20px;border:1px solid var(--line);border-radius:24px;background:#fff!important;margin-bottom:14px;cursor:pointer;transition:.2s}.member-card:hover{border-color:#bfe0fb;box-shadow:0 12px 28px rgba(30,80,130,.08)}.member-card .avatar{width:70px;height:70px}.member-info{flex:1;min-width:0}.member-info h3{margin:0 0 8px;font-size:20px}.muted{color:var(--muted)}.upload-box{display:flex;align-items:center;gap:24px;border:1px dashed #bfe0fb;background:#fff;border-radius:24px;padding:22px}.upload-box img{width:92px;height:92px;border-radius:50%;object-fit:cover;background:#eef7ff}.upload-actions{flex:1}.permission-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.permission-group{border:1px solid var(--line);background:#fff!important;border-radius:22px;margin-bottom:14px;overflow:hidden}.permission-head{width:100%;border:0;background:#fff;min-height:68px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;font-weight:900;font-size:16px;cursor:pointer}.permission-head:active{background:#f5fbff}.permission-count{background:#eef7ff;color:var(--blue2);border-radius:999px;padding:8px 13px}.permission-body{display:none;padding:0 18px 18px;border-top:1px solid var(--line)}.permission-group.open .permission-body{display:block}.check-row{display:flex;align-items:center;gap:12px;min-height:54px;border:1px solid var(--line);border-radius:16px;padding:0 14px;margin-top:12px;background:#fff}.check-row input{width:22px;height:22px;accent-color:var(--blue)}.flash{border-radius:18px;padding:16px 18px;margin-bottom:20px;font-weight:800}.flash.success{background:#ecfff5;color:#138b53}.flash.error{background:#fff1f3;color:#ef4960}.modal-mask{position:fixed;inset:0;background:rgba(26,34,48,.48);display:none;align-items:center;justify-content:center;z-index:100;padding:22px}.modal-mask.show{display:flex;animation:fade .15s ease}.modal{width:min(520px,100%);background:#fff;border-radius:28px;box-shadow:0 28px 80px rgba(0,0,0,.22);padding:26px}.modal h3{margin:0 0 12px;font-size:24px}.modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.overlay{display:none}.empty{padding:36px;text-align:center;color:var(--muted)}@keyframes fade{from{opacity:0}to{opacity:1}}
@media(max-width:860px){.sidebar{transform:translateX(-100%);transition:.22s;width:72vw;max-width:320px}.sidebar.show{transform:translateX(0)}.overlay.show{display:block;position:fixed;inset:0;background:rgba(31,42,60,.48);z-index:45}.main{margin-left:0}.hamburger{display:block}.topbar{height:72px;padding:0 16px}.top-title{font-size:20px}.top-user span,.top-user a{display:none}.content{padding:20px 14px 80px}.hero-card{padding:28px}.hero-card h1{font-size:28px}.hero-card p{font-size:15px}.grid{grid-template-columns:1fr 1fr;gap:12px}.dashboard-stat{min-height:116px;padding:20px}.stat-card span{font-size:13px}.stat-card strong{font-size:28px}.stat-icon{width:34px;height:34px;border-radius:12px;font-size:16px}.menu-link,.menu-parent{font-size:15px;padding:13px 14px}.menu-icon{width:30px;height:30px;font-size:16px}.form-grid{grid-template-columns:1fr}.form-card,.table-card,.panel{padding:22px;border-radius:26px}.btn-row{flex-direction:column}.btn{width:100%}.member-card{align-items:flex-start}.member-card .avatar{width:64px;height:64px}.upload-box{gap:16px}.upload-box img{width:78px;height:78px}.permission-toolbar{justify-content:flex-end}.permission-toolbar .muted{display:none}.modal-actions{grid-template-columns:1fr}.table{min-width:640px}}


/* Sidebar menu readability fix */
.menu-link,.menu-parent{min-height:58px;gap:10px;line-height:1.2;white-space:nowrap;overflow:hidden}
.menu-link>span,.menu-parent>span{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:12px;overflow:hidden}
.menu-title{display:block;min-width:0;flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:keep-all;line-height:1.2}
.menu-parent>i{flex:0 0 auto;margin-left:8px;font-style:normal;color:#7d8a9d;font-size:16px;line-height:1}
.sidebar .menu-icon{width:34px;height:34px;flex:0 0 34px;font-size:18px;border-radius:13px;line-height:1}
@media(max-width:860px){
  .sidebar{width:74vw;max-width:330px}
  .sidebar-inner{padding:20px 16px calc(20px + env(safe-area-inset-bottom))}
  .brand{gap:12px;margin:2px 0 26px}
  .brand-logo{width:48px;height:48px;flex:0 0 48px}
  .brand strong{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:210px}
  .brand span{font-size:12px;white-space:nowrap}
  .menu{gap:9px}
  .menu-link,.menu-parent{min-height:58px;padding:13px 14px;font-size:16px;border-radius:18px}
  .sidebar .menu-icon{width:34px;height:34px;flex-basis:34px;font-size:18px}
  .submenu{padding-left:52px}
  .submenu-link{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

/* Sidebar spacing final fix: keep parent menu title close to icon */
.sidebar .menu-link,
.sidebar .menu-parent{
  justify-content:flex-start!important;
}
.sidebar .menu-link>span,
.sidebar .menu-parent>span{
  flex:0 1 auto!important;
  width:auto!important;
  max-width:calc(100% - 34px)!important;
  justify-content:flex-start!important;
  gap:12px!important;
}
.sidebar .menu-title{
  flex:0 1 auto!important;
  width:auto!important;
  max-width:150px!important;
  text-align:left!important;
  margin:0!important;
}
.sidebar .menu-parent>i{
  margin-left:auto!important;
}
@media(max-width:860px){
  .sidebar .menu-link>span,
  .sidebar .menu-parent>span{
    max-width:calc(100% - 34px)!important;
    gap:12px!important;
  }
  .sidebar .menu-title{
    max-width:145px!important;
    text-align:left!important;
  }
  .sidebar .menu-link,
  .sidebar .menu-parent{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}


/* Sidebar accordion + spacing polish */
.sidebar .menu{
  gap:7px!important;
}
.sidebar .menu-link,
.sidebar .menu-parent{
  min-height:58px!important;
  padding-top:13px!important;
  padding-bottom:13px!important;
}
.sidebar .menu-link>span,
.sidebar .menu-parent>span{
  gap:12px!important;
}
.sidebar .submenu{
  padding:4px 0 8px 52px!important;
  gap:5px!important;
}
.sidebar .submenu-link{
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  padding:9px 12px!important;
}
@media(max-width:860px){
  .sidebar .menu{gap:7px!important;}
  .sidebar .menu-link,
  .sidebar .menu-parent{
    min-height:58px!important;
    padding-top:13px!important;
    padding-bottom:13px!important;
  }
  .sidebar .submenu{
    padding-left:52px!important;
    padding-top:4px!important;
    padding-bottom:8px!important;
  }
  .sidebar .submenu-link{
    min-height:42px!important;
    padding-top:9px!important;
    padding-bottom:9px!important;
  }
}

/* Patch update page file input and mobile record polish */
.patch-file-field{margin-bottom:22px}
.file-picker-box{
  min-height:58px;
  width:100%;
  border:1px solid #dce5ef;
  background:#fff;
  border-radius:18px;
  padding:10px 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  cursor:pointer;
  transition:.2s;
}
.file-picker-box:hover{border-color:#bfe0fb;background:#fbfdff}
.file-picker-box:active{transform:scale(.995)}
.file-picker-box input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.file-picker-action{
  height:34px;
  min-width:94px;
  padding:0 16px;
  border-radius:999px;
  background:#eef7ff;
  color:var(--blue2);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:14px;
  flex:0 0 auto;
}
.file-picker-box strong{
  min-width:0;
  max-width:60%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#172033;
  font-size:16px;
  font-weight:900;
  line-height:1.2;
}
.patch-table{min-width:1040px}
.patch-name-cell{min-width:190px;max-width:260px;white-space:normal;word-break:break-word;line-height:1.6}
.patch-message-cell{min-width:320px;max-width:460px;white-space:normal;word-break:break-word;line-height:1.7}
.patch-time-cell{min-width:138px;white-space:nowrap;line-height:1.45}
.patch-record-cards{display:none}
.patch-record-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  margin-top:14px;
  box-shadow:0 10px 26px rgba(30,65,110,.045);
}
.patch-record-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.patch-record-head strong{min-width:0;font-size:16px;line-height:1.5;font-weight:900;word-break:break-word}
.patch-record-message{color:#445166;line-height:1.75;font-weight:760;margin-bottom:14px;word-break:break-word}
.patch-record-meta{display:grid;gap:8px;color:#7b8798;font-size:14px;font-weight:760;margin-bottom:14px}
.patch-record-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.patch-record-actions .btn{height:42px;min-width:112px;border-radius:14px;font-size:14px;padding:0 14px;width:auto}
@media(max-width:860px){
  .file-picker-box{justify-content:center;gap:12px;padding:10px 12px}
  .file-picker-action{height:32px;min-width:88px;font-size:13px}
  .file-picker-box strong{font-size:15px;max-width:58%}
  .patch-record-table{display:none}
  .patch-record-cards{display:block}
  .patch-record-section .section-title{margin-bottom:14px}
}

/* Header user dropdown + personal center */
.top-user{position:relative;margin-left:auto;display:flex;align-items:center;gap:0;background:transparent!important;border-radius:0;padding:0;z-index:70}
.top-user-toggle{border:0;background:#f6f8fc;border-radius:999px;padding:6px 12px 6px 6px;display:flex;align-items:center;gap:10px;min-height:48px;max-width:210px;cursor:pointer;color:#647289;font:inherit;font-weight:900;transition:.2s}
.top-user-toggle:hover,.top-user.open .top-user-toggle{background:#eef4fb}
.top-user-toggle img{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#eef7ff;flex:0 0 38px}
.top-user-name{display:block;min-width:0;max-width:118px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}
.top-user-caret{font-style:normal;color:#647289;font-size:16px;line-height:1;transition:.18s;flex:0 0 auto}
.top-user.open .top-user-caret{transform:rotate(180deg)}
.top-user-dropdown{position:absolute;right:0;top:calc(100% + 12px);width:176px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 44px rgba(30,65,110,.14);padding:8px 0;display:none;overflow:visible;z-index:90}
.top-user.open .top-user-dropdown{display:block;animation:fade .15s ease}
.top-user-dropdown:before{content:"";position:absolute;right:34px;top:-8px;width:16px;height:16px;background:#fff;border-left:1px solid var(--line);border-top:1px solid var(--line);transform:rotate(45deg)}
.top-user-dropdown a{position:relative;display:block;padding:16px 22px;color:#445166;font-size:16px;font-weight:850;background:#fff;line-height:1.2}
.top-user-dropdown a+a{border-top:1px solid var(--line)}
.top-user-dropdown a:hover{background:#f7fbff;color:var(--blue2)}
.profile-summary,.profile-editor{padding:34px;margin-bottom:24px;overflow:hidden}
.profile-summary h1,.profile-editor h1{margin:0;font-size:34px;line-height:1.25;font-weight:950;color:#111a2c}
.profile-summary-avatar{display:flex;justify-content:center;padding:42px 0 34px}
.profile-summary-avatar img{width:190px;height:190px;border-radius:50%;object-fit:cover;background:#f3f9ff;box-shadow:0 0 0 16px rgba(47,156,244,.04)}
.profile-info-list{border-top:1px solid var(--line);margin:0 36px}
.profile-info-row{min-height:84px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:22px;font-size:18px}
.profile-info-row span{color:#647289;font-weight:900;display:flex;align-items:center;gap:10px}
.profile-info-row i{font-style:normal;width:26px;text-align:center}
.profile-info-row strong{font-size:20px;text-align:right;color:#111a2c;word-break:break-word}
.profile-tabs{display:flex;align-items:center;gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:28px -34px 0;padding:0 34px;background:#fff}
.profile-tab{position:relative;min-height:74px;display:flex;align-items:center;padding:0 34px 0 0;margin-right:28px;color:#111a2c;font-size:18px;font-weight:950}
.profile-tab.active{color:var(--blue)}
.profile-tab.active:after{content:"";position:absolute;left:0;right:34px;bottom:0;height:5px;background:var(--blue);border-radius:5px 5px 0 0}
.profile-form{padding:28px 30px 8px}
.profile-avatar-field{margin-bottom:28px}
.profile-avatar-field>label{display:block;font-size:18px;margin-bottom:18px;font-weight:900;color:#344157}
.profile-avatar-edit{display:flex;align-items:center;gap:24px}
.profile-avatar-edit img{width:120px;height:120px;border-radius:50%;object-fit:cover;background:#eef7ff;border:3px solid #e8f3ff}
.profile-avatar-button{min-height:58px;border:1px solid #cfe7fb;background:#eef7ff;color:var(--blue2);border-radius:999px;padding:0 28px;display:inline-flex;align-items:center;justify-content:center;font-size:17px;font-weight:950;cursor:pointer;transition:.2s}
.profile-avatar-button:active{transform:scale(.985)}
.required{color:#ef4960;margin-right:4px}
.profile-submit{width:100%;margin-top:4px;height:68px;border-radius:22px;font-size:20px}
@media(max-width:860px){
  .top-user-toggle{min-height:44px;max-width:168px;padding:5px 10px 5px 5px;gap:8px}
  .top-user-toggle img{width:34px;height:34px;flex-basis:34px}
  .top-user .top-user-name{display:block!important;max-width:78px;font-size:16px}
  .top-user .top-user-caret{display:block!important;font-size:15px}
  .top-user .top-user-dropdown a{display:block!important}
  .top-user-dropdown{width:158px;top:calc(100% + 10px);border-radius:15px}
  .top-user-dropdown a{font-size:15px;padding:15px 18px}
  .profile-summary,.profile-editor{padding:28px 28px 34px;border-radius:28px;margin-bottom:18px}
  .profile-summary h1,.profile-editor h1{font-size:30px}
  .profile-summary-avatar{padding:38px 0 32px}
  .profile-summary-avatar img{width:160px;height:160px}
  .profile-info-list{margin:0}
  .profile-info-row{min-height:78px;font-size:16px;gap:14px}
  .profile-info-row strong{font-size:18px;max-width:46%}
  .profile-tabs{margin:26px -28px 0;padding:0 28px}
  .profile-tab{min-height:70px;font-size:17px;margin-right:24px;padding-right:26px}
  .profile-tab.active:after{right:26px;height:4px}
  .profile-form{padding:26px 0 0}
  .profile-avatar-edit{gap:20px;flex-wrap:wrap}
  .profile-avatar-edit img{width:96px;height:96px}
  .profile-avatar-button{min-height:50px;padding:0 22px;font-size:16px}
  .profile-submit{height:64px;font-size:19px;margin-top:8px}
}

/* login page redesign */
body.login-page{
  margin:0;
  min-height:100vh;
  background:linear-gradient(180deg,#e7f4ff 0%,#e7f4ff 76%,#f7f9fc 76%,#f7f9fc 100%);
  color:var(--text);
  overflow-x:hidden;
}
.login-shell{
  min-height:100vh;
  min-height:100svh;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:112px 28px 80px;
  box-sizing:border-box;
}
.login-panel{
  width:min(100%,740px);
}
.login-brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
  margin-bottom:40px;
  text-align:center;
}
.login-logo{
  width:108px;
  height:108px;
  border-radius:30px;
  object-fit:cover;
  display:block;
  background:#fff;
  box-shadow:0 10px 28px rgba(47,156,244,.08);
}
.login-title{
  font-size:25px;
  line-height:1.2;
  font-weight:950;
  letter-spacing:8px;
  color:#7d8b9d;
  padding-left:8px;
}
.login-card{
  width:100%;
  background:#fff;
  border:1px solid #e5edf6;
  border-radius:36px;
  box-shadow:0 22px 58px rgba(32,78,124,.07);
  padding:48px 46px 44px;
  box-sizing:border-box;
}
.login-field{
  margin-bottom:30px;
}
.login-field label{
  display:block;
  margin-bottom:16px;
  font-size:22px;
  line-height:1.2;
  font-weight:950;
  color:#172033;
}
.login-input{
  width:100%;
  height:74px;
  border:1px solid #d8e3ef;
  background:#fff;
  border-radius:24px;
  padding:0 28px;
  box-sizing:border-box;
  font-size:22px;
  font-weight:650;
  color:#172033;
  outline:none;
  transition:border-color .18s, box-shadow .18s;
  -webkit-appearance:none;
  appearance:none;
}
.login-input:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 5px rgba(47,156,244,.11);
}
.remember-password{
  display:inline-flex;
  align-items:center;
  gap:14px;
  margin:2px 0 34px;
  color:#637187;
  font-size:21px;
  line-height:1;
  font-weight:850;
  cursor:pointer;
  user-select:none;
}
.remember-password input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.remember-box{
  width:34px;
  height:34px;
  border-radius:10px;
  border:2px solid #c8d8ea;
  background:#fff;
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:border-color .18s, background .18s;
  flex:0 0 34px;
}
.remember-box:after{
  content:"";
  width:14px;
  height:8px;
  border-left:4px solid #fff;
  border-bottom:4px solid #fff;
  transform:rotate(-45deg) translate(1px,-1px);
  opacity:0;
}
.remember-password input:checked+.remember-box{
  border-color:#3aa5f7;
  background:#3aa5f7;
}
.remember-password input:checked+.remember-box:after{
  opacity:1;
}
.login-input::placeholder{
  color:#a7b3c3;
  font-weight:650;
}
.login-submit{
  width:100%;
}
.login-flash{
  margin:0 0 22px;
  border-radius:22px;
  padding:18px 22px;
  font-size:18px;
}
@media(max-width:700px){
  .login-page{
    background:linear-gradient(180deg,#e7f4ff 0%,#e7f4ff 77%,#f7f9fc 77%,#f7f9fc 100%);
  }
  .login-shell{
    padding:128px 15px 70px;
  }
  .login-panel{
    width:100%;
  }
  .login-brand{
    gap:18px;
    margin-bottom:38px;
  }
  .login-logo{
    width:96px;
    height:96px;
    border-radius:28px;
    box-shadow:none;
  }
  .login-title{
    font-size:20px;
    letter-spacing:6px;
    padding-left:6px;
  }
  .login-card{
    border-radius:32px;
    padding:28px 19px 24px;
  }
  .login-field{
    margin-bottom:22px;
  }
  .login-field label{
    font-size:20px;
    margin-bottom:12px;
  }
  .login-input{
    height:52px;
    border-radius:18px;
    padding:0 18px;
    font-size:20px;
  }
  .remember-password{
    font-size:18px;
    gap:12px;
    margin:0 0 26px;
  }
  .remember-box{
    width:28px;
    height:28px;
    border-radius:8px;
    flex-basis:28px;
  }
  .remember-box:after{
    width:11px;
    height:6px;
    border-left-width:3px;
    border-bottom-width:3px;
  }
  .login-flash{
    font-size:16px;
    padding:15px 17px;
  }
}
@media(max-width:380px){
  .login-shell{
    padding-left:14px;
    padding-right:14px;
  }
  .login-card{
    padding-left:18px;
    padding-right:18px;
  }
  .login-title{
    font-size:18px;
    letter-spacing:4px;
  }
  .login-input{
    font-size:19px;
  }
}
