/* Company identity. The supplied logo is displayed at its original aspect ratio. */
.account-expiry-info { display: inline-flex !important; flex-wrap: wrap; align-items: center; gap: 8px; padding-left: 0 !important; font-weight: normal; }
.account-status { display: inline-block; padding: 2px 9px; border-radius: 12px; font-size: 12px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.account-status.status-active { background: #e6f5ed; color: #15633d; border: 1px solid #b9e0ca; }
.account-status.status-permanent { background: #eaf2fc; color: #245da5; border: 1px solid #c4d9f4; }
.account-status.status-expired { background: #fff0f0; color: #ac2634; border: 1px solid #edc3c8; }
.account-expiry-label { font-size: 12px; line-height: 1.7; color: #536173; }
.company-tradewar .account-expiry-label { color: #d3e5f1; }
/* Keep the teacher empty-state artwork entirely below the member selector. */
.company-teacher-members { background-position: center bottom; background-size: auto 340px; }
@media (max-width: 1024px) {
    .company-teacher-members { min-height: 0; background-size: 100% auto; }
    .company-teacher-members .yonghu { height: 280px; line-height: normal; }
}
@media (max-width: 600px) {
    .company-teacher-members .yonghu { height: 180px; }
}
.top_inner a.company-brand {
    position: relative; left: auto; top: auto; display: inline-flex;
    height: 94px; align-items: center; gap: 14px; color: #222;
    max-width: calc(100% - 190px); vertical-align: top;
}
.company-brand .company-logo {
    width: 72px; height: 72px; max-width: none !important;
    margin: 0 !important; float: none !important; object-fit: contain;
    flex: 0 0 72px;
}
.company-brand span { display: block; min-width: 0; }
.company-brand strong { display: block; font-size: 25px; font-weight: 600; line-height: 1.4; }
.company-brand small { display: block; font-size: 13px; line-height: 1.7; color: #666; }
.skin-tradewar .top_inner a.company-brand, .skin-tradewar .company-brand small { color: #fff; }
/* One compact product identity and a separate, accessible action group. */
html.company-workspace:not(.company-tradewar) { background: #f1f2f4; }
.company-workspace #top, .company-workspace #top * {
    font-family: "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.company-workspace .wrap-content #top.workspace-header {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
    box-sizing: border-box; height: auto; min-height: 90px; padding: 14px 20px;
    margin: 16px 0 14px; line-height: normal; overflow: visible;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
    box-shadow: 0 3px 12px rgba(31,41,55,.035);
}
.company-workspace #top.workspace-header > a#Logo {
    float: none; display: inline-flex; align-items: center; gap: 14px;
    min-width: 0; max-width: 100%; box-sizing: border-box;
    padding: 0; margin: 0; background: none; color: #242b36;
}
.workspace-brand-logo { display: block; width: 56px; height: 56px; flex: 0 0 56px; object-fit: contain; }
.workspace-brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.workspace-brand-copy strong { display: block; font-size: 22px; font-weight: 600; line-height: 1.35; white-space: nowrap; letter-spacing: .2px; }
.workspace-mode { display: inline-block; padding: 2px 7px; margin-left: -3px; border-radius: 4px; background: #f4f5f7; color: #737b87; font-size: 12px; line-height: 1.5; white-space: nowrap; }
.company-workspace #top.workspace-header div.fr {
    float: none; position: static; top: auto; clear: none;
    margin-left: auto; line-height: 1.5; min-width: 0; max-width: 100%;
}
.company-workspace #top.workspace-header .menu {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 5px 8px;
}
.company-workspace #top.workspace-header .menu a {
    display: inline-flex; align-items: center; min-height: 36px; box-sizing: border-box;
    margin: 0; padding: 8px 10px 8px 32px; border-radius: 6px;
    font-size: 13px; font-weight: 500; line-height: 20px; color: #596375;
    background-position: 10px center; background-repeat: no-repeat; background-size: 16px 16px;
    white-space: nowrap; transition: color .15s, background-color .15s;
}
.company-workspace #top.workspace-header .menu a.nth-1 { background-image: url(../images/icon-1.png); }
.company-workspace #top.workspace-header .menu a.nth-2 { background-image: url(../images/icon-3.png); }
.company-workspace #top.workspace-header .menu a.nth-3 { background-image: url(../images/icon-4.png); }
.company-workspace #top.workspace-header .menu a:hover { color: #c51526; background-color: #fff3f4; }
.company-workspace #top.workspace-header .menu a.workspace-help { padding-left: 10px; gap: 7px; background-image: none; }
.workspace-help-icon { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border: 1px solid #b9bec7; border-radius: 50%; font-size: 11px; line-height: 1; font-weight: 600; }
.company-workspace #top.workspace-header .menu a.nth-3 { border-left: 1px solid #edf0f3; margin-left: 4px; border-radius: 0 6px 6px 0; }
@media (max-width: 1100px) {
    .company-workspace #top.workspace-header div.fr { flex-basis: 100%; }
    .company-workspace #top.workspace-header .menu { justify-content: flex-start; }
}
@media (max-width: 600px) {
    .company-workspace .wrap-content #top.workspace-header { padding: 12px; gap: 12px; margin-top: 12px; border-radius: 10px; }
    .company-workspace #top.workspace-header > a#Logo { gap: 10px; }
    .workspace-brand-logo { width: 46px; height: 46px; flex-basis: 46px; }
    .workspace-brand-copy strong { font-size: 18px; letter-spacing: 0; }
    .workspace-mode { font-size: 11px; }
    .company-workspace #top.workspace-header .menu { gap: 4px; border-top: 1px solid #f0f1f4; padding-top: 8px; }
    .company-workspace #top.workspace-header .menu a { min-height: 40px; }
}
.company-info .register { max-width: calc(100% - 32px); }
.company-info .register_inner { box-sizing: border-box; padding: 32px !important; }
.company-info .company-heading { font-size: 22px; line-height: 1.6; color: #b60000; margin-bottom: 12px; }
.company-info .company-english { font-size: 13px; line-height: 1.7; color: #666; margin-bottom: 20px; }
.company-info .company-copy { font-size: 15px; line-height: 1.9; color: #555; }
.company-info .company-copy p { margin: 0 0 16px; }
.company-info .company-copy a { color: #074da0; overflow-wrap: anywhere; }
.company-info .company-details { margin-top: 12px; }
.company-info .company-details li { margin: 0 0 14px; line-height: 1.9; overflow-wrap: anywhere; }
.company-info .company-note { color: #777; margin-top: 24px; }
.company-info .help-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 20px; }
.company-info .help-section { scroll-margin-top: 16px; margin-bottom: 24px; }
.company-info .help-section h2 { font-size: 18px; color: #333; margin-bottom: 8px; }
.company-info #footer { height: auto; min-height: 40px; line-height: 1.8; padding: 14px 12px; box-sizing: border-box; }
.code_inner .codeimg {
    left: 50%; top: 60px; transform: translateX(-50%);
    width: 207px; height: 207px; max-width: calc(100% - 48px);
    object-fit: contain; padding: 12px; background: #fff;
}
.company-wechat { margin-top: 24px; }
.company-wechat img { width: 207px; height: auto; max-width: calc(100% - 24px); padding: 12px; background: #fff; object-fit: contain; }
.company-wechat p { font-size: 13px; }
/* Public copyright display: thumbnail on entry pages, original only on request. */
.company-copyright-strip {
    display: flex; align-items: center; gap: 12px; width: 358px;
    box-sizing: border-box; margin: 16px 0 0 650px; padding: 12px 15px;
    border: 1px solid #e4d4d5; border-radius: 6px; background: rgba(255,255,255,.96);
    color: #393939; box-shadow: 0 3px 12px rgba(69,36,36,.035);
}
.company-copyright-strip img { display: block; flex: 0 0 42px; object-fit: contain; background: #fff; }
.company-copyright-strip > span { min-width: 0; }
.company-copyright-strip strong { display: block; font-size: 14px; line-height: 1.7; font-weight: 600; }
.company-copyright-strip small { display: block; font-size: 11px; line-height: 1.8; color: #777; }
.company-copyright-strip .company-copyright-action { margin-left: auto; white-space: nowrap; font-size: 12px; }
.company-copyright-action { display: block; color: #b90012; font-size: 13px; line-height: 1.8; }
.company-copyright-strip:hover, .company-copyright-card:hover { border-color: #c78388; }
.skin-tradewar .main_inner { position: relative; display: flow-root; min-height: 565px; }
.skin-tradewar .company-copyright-strip { margin: 446px 0 0 740px; width: 356px; }
.skin-tradewar .main_inner { overflow: visible; }
.company-admin-hero .medium1-bottom {
    position: relative; overflow: hidden; margin: 0; min-height: 340px;
    background: #f7f7f6 url(../Images/Manage/beijing.jpg) no-repeat left center;
    background-size: contain;
}
.company-admin-hero .company-copyright-card {
    position: absolute; right: 28px; top: 50%; transform: translateY(-50%);
    display: block; width: 312px; padding: 20px; box-sizing: border-box;
    border: 1px solid #e5d8d8; border-radius: 8px; background: rgba(255,255,255,.97);
    box-shadow: 0 7px 22px rgba(77,49,49,.07); color: #333;
}
.company-copyright-tag { display: block; margin-bottom: 16px; color: #a90c1b; font-size: 15px; font-weight: 600; letter-spacing: .5px; }
.company-copyright-card-body { display: flex; align-items: center; gap: 14px; }
.company-copyright-card-body > img { display: block; flex: 0 0 92px; object-fit: contain; background: #fff; }
.company-copyright-card-body > span { min-width: 0; }
.company-copyright-card-body strong { display: block; font-size: 15px; line-height: 1.6; }
.company-copyright-card-body small { display: block; color: #777; font-size: 11px; line-height: 1.7; margin-top: 6px; }
.company-copyright-card-body .company-copyright-action { margin-top: 10px; }
.company-copyright-about { display: flex; align-items: center; gap: 28px; padding: 24px; margin: 24px 0; border: 1px solid #e5d8d8; border-radius: 8px; background: #fffafa; }
.company-copyright-thumbnail { flex: 0 0 140px; }
.company-copyright-thumbnail img { display: block; max-width: 100%; height: auto; box-shadow: 0 4px 14px rgba(56,28,28,.1); }
.company-copyright-about h2 { color: #a90c1b; font-size: 18px; margin-bottom: 12px; }
.company-copyright-details { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; font-size: 13px; line-height: 1.8; }
.company-copyright-details dt { color: #777; }
.company-copyright-details dd { color: #444; overflow-wrap: anywhere; }
.company-info .company-copy a.company-copyright-link { display: inline-block; color: #b90012; margin-top: 14px; font-size: 14px; }
.company-certificate-page .company-certificate-toolbar { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 22px 0; font-size: 14px; }
.company-certificate-original { display: block; background: #f5f3ef; }
.company-certificate-original img { display: block; width: 100%; height: auto; }
@media (min-width: 1025px) and (max-width: 1365px) {
    .skin-tradewar .login_box { margin-left: calc(50vw - 38px); }
    .skin-tradewar .company-copyright-strip { margin-left: calc(50vw + 57px); }
}
@media (max-width: 1024px) {
    .wrap-content #top { max-width: calc(100vw - 24px); }
    body.mobile-login .company-copyright-strip { width: calc(100% - 24px); max-width: 358px; margin: 16px auto 28px; }
    body.skin-tradewar .login_box { position: relative; height: auto; min-height: 418px; background: #4e43a3; }
    body.skin-tradewar .login_inner { padding: 24px 23px 0; }
    body.skin-tradewar .login_box .code { padding: 0 23px; font-size: 14px; }
    body.skin-tradewar .login_box .code img { right: 0; top: 0; }
    body.skin-tradewar .login_box .title { height: 32px; }
    body.skin-tradewar .code_box { left: 0; width: 100%; }
    body.skin-tradewar #main { height: auto; }
    .company-admin-hero .company-copyright-card { right: 20px; }
}
@media (max-width: 600px) {
    .top_inner { display: flex; flex-wrap: wrap; align-items: center; height: auto; min-height: 130px; }
    .top_inner a.company-brand { flex: 0 0 100%; height: auto; min-height: 98px; max-width: 100%; gap: 10px; padding: 10px 8px; box-sizing: border-box; }
    .company-brand .company-logo { width: 58px; height: 58px; flex-basis: 58px; }
    .company-brand strong { font-size: 19px; }
    .company-brand small { font-size: 12px; }
    .top_inner .about, .top_inner .us { position: static; margin-bottom: 12px; }
    .top_inner .about { margin-left: auto; margin-right: 28px; }
    .top_inner .us { margin-right: 20px; }
    .company-info .register { width: calc(100% - 24px); max-width: none; margin: 12px auto; }
    .company-info .register_inner { padding: 22px 18px !important; }
    .company-info .company-heading { font-size: 20px; }
    .company-registration .register { max-width: calc(100% - 24px); }
    .company-admin-hero .medium1-bottom { min-height: 0; padding: 18px 0; background-image: none; }
    .company-admin-hero .medium1-bottom .yonghu { display: none; }
    .company-admin-hero .company-copyright-card { position: relative; right: auto; top: auto; transform: none; width: calc(100% - 28px); max-width: 360px; margin: 0 auto; }
    .company-copyright-about { flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px 16px; }
    .company-copyright-thumbnail { flex-basis: auto; width: 118px; }
    .company-copyright-details { grid-template-columns: 64px minmax(0, 1fr); gap: 6px 8px; }
    .company-copyright-strip { gap: 8px; padding: 12px 10px; }
    .company-copyright-strip strong { font-size: 13px; }
}
