/* Academia Editing premium redesign — stable grid, laptop navigation, and chat */
:root{--premium-navy:#0c2d4d;--premium-gold:#bd8a27;--premium-paper:#fbfaf7}
.site-header{background:#fff;box-shadow:0 2px 15px rgba(12,45,77,.06)}
.header-inner{min-height:84px;height:auto;gap:24px}.brand-logo{flex-shrink:0}.brand-logo img{display:block;width:clamp(190px,21vw,280px);height:auto;max-width:100%;object-fit:contain}
.main-nav{gap:clamp(12px,1.35vw,23px);font-size:14px}.main-nav>a:not(.nav-submit){white-space:nowrap}.nav-submit,.ink-button{background:var(--premium-gold);border-color:var(--premium-gold);color:#fff;border-radius:6px;font-weight:700}.nav-submit:hover,.ink-button:hover{background:#986c19;border-color:#986c19}
.premium-hero{background:linear-gradient(90deg,rgba(7,35,65,.96),rgba(7,35,65,.84) 48%,rgba(7,35,65,.24)),url('/images/editorial-hero.jpg') center/cover no-repeat;background-color:#0a2947;color:#fff;padding:100px 0 106px}
.premium-hero .hero-editorial-grid{display:block}.premium-hero .hero-main{max-width:740px}.premium-hero .overline{color:#e8bd67;font-size:14px}.premium-hero h1{font:700 clamp(42px,4.9vw,70px)/1.08 Georgia,'Times New Roman',serif;letter-spacing:-.03em;color:#fff;margin:0}.premium-hero .hero-intro{font:400 clamp(16px,1.6vw,20px)/1.65 Arial,sans-serif;color:#e6edf4;margin:24px 0 28px;max-width:650px}.premium-hero .underlink{color:#fff;font-size:15px}.premium-hero-foot{margin:26px 0 0;font-size:13px;color:#e1e7eb}
.premium-services{background:var(--premium-paper)}.premium-section-heading{text-align:center;margin:0 auto 42px;max-width:760px}.premium-section-heading h2{font:400 clamp(33px,4vw,48px)/1.18 Georgia,serif;color:var(--premium-navy);margin:0 0 12px}.premium-section-heading>p:last-child{color:#53687a;font-size:16px}.premium-section-heading .overline{color:var(--premium-gold)}
.premium-services .service-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;border:0;align-items:stretch}
.premium-services .service-row{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:13px;min-width:0;min-height:235px;padding:30px!important;border:1px solid #e2e7e9!important;border-top:3px solid var(--premium-gold)!important;border-radius:12px;background:#fff;box-shadow:0 10px 28px rgba(12,45,77,.07)}
.premium-services .service-row h3{font:600 24px/1.22 Georgia,serif;color:var(--premium-navy);margin:0;overflow-wrap:anywhere}.premium-services .service-row p{grid-column:auto!important;font-size:15px!important;line-height:1.65!important;color:#506476;max-width:none;margin:0;overflow-wrap:anywhere}.premium-services .service-action{display:block!important;margin-top:auto;font-size:13px;text-align:left;color:#0d416a;text-transform:none;letter-spacing:0;font-weight:700}
@media(max-width:1180px){.main-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;flex-direction:column;align-items:stretch;padding:20px 28px;box-shadow:0 12px 25px #122b4122}.main-nav.is-open{display:flex}.mobile-menu{display:block;flex-shrink:0}.header-inner{min-height:76px}.main-nav>a:not(.nav-submit){padding:8px 0}.premium-services .service-index{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ae-wrap{width:calc(100% - 34px)}.premium-hero{padding:65px 0 70px}.premium-hero h1{font-size:clamp(39px,10vw,53px)}.premium-services .service-index{grid-template-columns:1fr}.premium-services .service-row{min-height:0;padding:24px!important}.premium-hero .hero-links{gap:20px}.brand-logo img{width:205px}}
/* Single-scrolling chat: the human enquiry form replaces conversation area. */
.ae-chat{z-index:10000!important;right:20px;bottom:18px}.ae-chat-panel{position:absolute;display:flex;flex-direction:column;overflow:hidden;width:min(390px,calc(100vw - 30px));height:min(610px,calc(100dvh - 110px));min-height:0;border-radius:15px;right:0;bottom:68px;background:#fff}.ae-chat-panel[hidden],.ae-chat-intro[hidden],.ae-chat-active[hidden],#ae-chat-handoff[hidden]{display:none!important}
.ae-chat-panel header{flex:0 0 auto;background:#0d3454;color:#fff}.ae-chat-disclosure{flex:0 0 auto;margin:0;padding:10px 16px;font-size:12px;line-height:1.45}.ae-chat-active{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden;padding:12px 14px;gap:10px}.ae-chat-messages{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}.ae-chat-active #ae-chat-form{display:flex;flex:0 0 auto;gap:8px;margin:0}.ae-chat-active #ae-chat-form input{min-width:0;flex:1}.ae-chat-active #ae-chat-human{flex:0 0 auto}.ae-chat-status,.ae-chat-error{flex:0 0 auto;max-height:65px;overflow-y:auto;padding:0 14px;margin:3px 0;font-size:12px}
.ae-chat-active.is-handoff .ae-chat-messages,.ae-chat-active.is-handoff #ae-chat-form,.ae-chat-active.is-handoff #ae-chat-human{display:none!important}
.ae-chat-active #ae-chat-handoff:not([hidden]){display:flex!important;flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto;flex-direction:column;gap:10px;padding:8px 4px 12px;border:0;background:#fff}.ae-chat-active #ae-chat-handoff label{display:block;font-weight:600;font-size:13px;color:#193a53}.ae-chat-active #ae-chat-handoff input,.ae-chat-active #ae-chat-handoff textarea{display:block;width:100%;box-sizing:border-box;min-height:43px;margin-top:5px;border:1px solid #bac9d4;border-radius:7px;padding:10px;background:#fff}.ae-chat-active #ae-chat-handoff textarea{min-height:95px;resize:vertical}.ae-chat-form-title{font:600 17px Georgia,serif;color:#0d3454;margin:0}.ae-chat-active #ae-chat-handoff .ae-chat-back{align-self:flex-start;background:transparent;color:#0d3454;padding:5px 0;text-decoration:underline}.ae-chat-active #ae-chat-handoff button[type=submit]{min-height:44px;flex-shrink:0}
@media(max-width:600px){.ae-chat{right:10px;bottom:10px}.ae-chat-panel{position:fixed;inset:auto 8px 72px 8px;width:auto;height:min(610px,calc(100dvh - 94px));max-height:calc(100dvh - 94px)}}

/* Final premium header, hero and footer fixes — loaded after Vite CSS. */
:root{--premium-navy:#102e4b;--premium-gold:#b88727}
.site-header{background:#fff!important;box-shadow:0 3px 18px rgba(12,37,62,.08)}
.header-inner{min-height:94px!important;height:auto!important;display:flex;align-items:center;gap:clamp(14px,2vw,32px)}
.brand-logo{flex:0 0 auto!important}.site-header .brand-logo img{width:clamp(205px,21vw,285px)!important;height:auto!important}
.main-nav{display:flex;align-items:center;gap:clamp(15px,1.8vw,30px)!important;font-size:clamp(15px,1.1vw,17px)!important;font-weight:600!important;margin-left:auto;white-space:nowrap}
.main-nav>a:not(.nav-submit){padding:20px 0!important;color:#183752;white-space:nowrap}.main-nav>a:not(.nav-submit):hover{color:#ae791c;border-color:#ae791c}
.main-nav .nav-submit{font-size:15px!important;padding:13px 19px!important;white-space:nowrap;border-radius:6px!important;background:#b88727!important;border-color:#b88727!important;color:#fff!important}
.premium-hero,.editorial-hero.premium-hero{background:linear-gradient(105deg,#082745 0%,#113e60 57%,#1d4662 100%)!important;color:#fff!important;padding:100px 0 105px!important;border:0!important}
.premium-hero .hero-editorial-grid{display:block!important}.premium-hero .hero-main{max-width:810px!important}
.premium-hero .hero-main h1{color:#fff!important;font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(43px,5.3vw,75px)!important;line-height:1.09!important;font-weight:700!important;letter-spacing:-.035em!important}
.premium-hero .hero-intro{color:#e6eef5!important;font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(17px,1.5vw,20px)!important;line-height:1.7!important;max-width:680px!important;margin:27px 0 32px!important}
.premium-hero .overline{color:#f1c773!important;font-size:13px!important;letter-spacing:.12em!important}
.premium-hero .underlink{color:#fff!important;font-size:16px!important;border-bottom-color:#fff!important}
.premium-hero .premium-hero-foot{color:#e0eaf1!important;font-size:14px!important;margin-top:24px!important}
.premium-hero .ink-button{background:#c18d28!important;border-color:#c18d28!important;color:#fff!important;font-size:15px!important;padding:15px 24px!important}
.site-footer{background:#142f49!important;color:#fff!important}.site-footer .footer-rule{border-color:#526679!important}.site-footer .footer-grid p{color:#dce5eb!important;font-family:Arial,Helvetica,sans-serif!important;font-size:15px!important;line-height:1.7!important}.site-footer .footer-grid b{font-size:12px!important;color:#e2bd73!important}.site-footer .footer-grid a{color:#fff!important;font-size:14px!important}.site-footer .footer-grid a:hover{color:#f1c773!important}
.site-footer .footer-brand{display:inline-flex!important;background:#fff!important;border-radius:8px!important;padding:13px 17px!important;max-width:100%!important;line-height:1!important}.site-footer .footer-brand img{width:245px!important;max-width:100%!important;height:auto!important;filter:none!important;opacity:1!important}
.site-footer .footer-bottom{color:#cdd9e2!important}
@media(min-width:1051px){.mobile-menu{display:none!important}.main-nav{display:flex!important;position:static!important;flex-direction:row!important;background:transparent!important;box-shadow:none!important;padding:0!important}}
@media(max-width:1050px){.mobile-menu{display:block!important;margin-left:auto}.main-nav{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;background:#fff!important;flex-direction:column!important;align-items:stretch!important;padding:18px 28px!important;box-shadow:0 16px 28px #102e4b24!important;white-space:normal!important}.main-nav.is-open{display:flex!important}.main-nav>a:not(.nav-submit){padding:10px 0!important}.header-inner{min-height:78px!important}}
@media(max-width:700px){.premium-hero,.editorial-hero.premium-hero{padding:65px 0 75px!important}.premium-hero .hero-main h1{font-size:clamp(40px,10vw,55px)!important}.site-header .brand-logo img{width:205px!important}.site-footer .footer-brand img{width:210px!important}}

/* 2026-11-19: Quote readability and exclusive payment selection */
.quote-breakdown > div {display:flex;align-items:baseline;justify-content:space-between;gap:1.25rem;flex-wrap:wrap;margin:.65rem 0;}
.quote-breakdown > div > span {margin-right:1rem;}
.quote-breakdown > div > strong {white-space:nowrap;}
.ae-payment-options {display:grid;gap:12px;margin:16px 0;}
.ae-payment-options form {margin:0;}
.ae-payment-options button {width:100%;display:flex;justify-content:center;align-items:center;gap:12px;}
.ae-payment-options .is-selected {outline:3px solid #168346;outline-offset:2px;}
.payment-check {display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#168346;color:#fff;font-weight:800;}
.ae-payment-options label {cursor:pointer;display:block;}
.ae-payment-options label input {position:absolute;opacity:0;width:1px;height:1px;}
.ae-payment-options label > span {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 18px;border:2px solid #b5c5cd;border-radius:8px;}
.ae-payment-options label b {display:none;background:#168346;color:#fff;border-radius:50%;width:24px;height:24px;text-align:center;line-height:24px;}
.ae-payment-options label input:checked + span {border-color:#168346;background:#eaf7ee;}
.ae-payment-options label input:checked + span b {display:inline-block;}
.ae-payment-options label input:focus-visible + span {outline:3px solid #168346;outline-offset:2px;}

/* Academia Editing - submission layout improvements */

.ae-turnaround-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    border: 1px solid #dce3e8;
    border-radius: 10px;
}

.ae-turnaround-option input {
    margin-top: 4px;
    flex-shrink: 0;
}

.ae-turnaround-option strong {
    display: block;
    margin-bottom: 5px;
}

.ae-turnaround-option small {
    display: block;
    margin-top: 5px;
    color: #536477;
    line-height: 1.5;
}

.ae-quote-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 8px 0;
    border-bottom: 1px solid #e8edf0;
}

.ae-quote-row > :last-child {
    font-weight: 600;
    text-align: right;
}

.ae-quote-row:last-child {
    border-bottom: 0;
}


/* Academia Editing - submission spacing correction */

/* Editing turnaround */
.turnaround-options {
    display: grid;
    gap: 14px;
    margin-top: 14px;
    margin-bottom: 22px;
}

.turnaround-options label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid #dce4ea;
    border-radius: 10px;
    cursor: pointer;
}

.turnaround-options label input[type="radio"] {
    flex: 0 0 auto;
    margin: 4px 0 0;
}

.turnaround-options label > span {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
    min-width: 0;
}

.turnaround-options label strong {
    display: block;
    line-height: 1.5;
}

.turnaround-options label small {
    display: block;
    color: #536477;
    font-size: 13px;
    line-height: 1.6;
}

/* Live manuscript quote */
.live-quote .quote-breakdown {
    display: grid;
    gap: 0;
    margin-top: 18px;
}

.live-quote .quote-breakdown[hidden] {
    display: none !important;
}

.live-quote .quote-breakdown > div:not([hidden]) {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 12px 0;
    border-bottom: 1px solid #e5eaf0;
}

.live-quote .quote-breakdown > div[hidden] {
    display: none !important;
}

.live-quote .quote-breakdown span {
    flex: 1;
    min-width: 0;
    line-height: 1.5;
}

.live-quote .quote-breakdown strong {
    flex: 0 1 auto;
    text-align: right;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.live-quote .quote-breakdown .quote-total {
    font-size: 17px;
    font-weight: 700;
    border-bottom: none;
    padding-top: 18px;
}

@media (max-width: 480px) {
    .live-quote .quote-breakdown > div:not([hidden]) {
        gap: 12px;
    }

    .turnaround-options label {
        padding: 12px;
    }
}

/* Academia Editing - login information spacing */
.auth-copy .auth-note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
}

.auth-copy .auth-note strong {
    display: block;
    font-weight: 700;
    line-height: 1.5;
}

.auth-copy .auth-note span {
    display: block;
    line-height: 1.8;
}
