:root {
  --navy: #0c2f4f;
  --navy-deep: #071f36;
  --navy-soft: #173f60;
  --gold: #eea72c;
  --gold-dark: #cf8210;
  --cream: #f6f1e7;
  --paper: #fcfaf5;
  --ink: #172536;
  --muted: #64717d;
  --line: #dfe2df;
  --white: #ffffff;
  --success: #377957;
  --danger: #b4483c;
  --shadow: 0 20px 60px rgba(20, 35, 49, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.sr-only, .sr-only:not(:focus):not(:active) { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-dark); font-size: 11px; font-weight: 800; letter-spacing: .16em; line-height: 1; text-transform: uppercase; }
.eyebrow.light { color: #f7b94e; }
.button { border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 23px; border-radius: 3px; cursor: pointer; font-size: 13px; font-weight: 800; letter-spacing: .015em; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.button-gold { background: var(--gold); color: #10263a; }
.button-gold:hover { background: #f6b542; }
.button-navy { background: var(--navy); color: white; }
.button-navy:hover { background: var(--navy-soft); }
.button-outline { background: transparent; border-color: #9ba4aa; color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; padding-bottom: 5px; border-bottom: 1px solid #80909e; }
.light-link { border-color: rgba(255,255,255,.5); color: white; }
.back-link { align-items: center; color: var(--muted); display: inline-flex; font-size: 13px; font-weight: 700; gap: 8px; }

/* Header */
.site-header { background: rgba(252,250,245,.96); border-bottom: 1px solid rgba(14,48,77,.12); position: relative; z-index: 50; }
.header-inner { align-items: center; display: flex; height: 82px; justify-content: space-between; }
.brand { align-items: center; display: flex; height: 60px; overflow: hidden; width: 176px; }
.brand img { height: 92px; object-fit: contain; object-position: left center; width: 176px; }
.desktop-nav { align-items: stretch; align-self: stretch; display: flex; gap: 36px; }
.desktop-nav a { align-items: center; color: #3f4e5c; display: flex; font-size: 13px; font-weight: 700; position: relative; }
.desktop-nav a:after { background: var(--gold); bottom: 0; content: ""; height: 2px; left: 50%; position: absolute; transform: translateX(-50%) scaleX(0); transition: transform .2s; width: 100%; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--navy); }
.desktop-nav a.active:after { transform: translateX(-50%) scaleX(1); }
.header-actions { align-items: center; display: flex; gap: 4px; }
.icon-button { align-items: center; background: transparent; border: 0; border-radius: 50%; cursor: pointer; display: flex; height: 42px; justify-content: center; position: relative; width: 42px; }
.icon-button:hover { background: #eef0ec; }
.account-button { align-items: center; background: var(--navy); border: 1px solid var(--navy); border-radius: 3px; color: white; display: inline-flex; font-size: 11px; font-weight: 800; gap: 8px; height: 42px; margin-left: 7px; padding: 0 16px; transition: background .2s ease, transform .2s ease; }
.account-button:hover { background: var(--navy-soft); transform: translateY(-1px); }
.cart-count { align-items: center; background: var(--gold); border: 2px solid var(--paper); border-radius: 20px; display: flex; font-size: 9px; font-weight: 900; height: 18px; justify-content: center; position: absolute; right: 1px; top: 1px; width: 18px; }
.mobile-menu-button, .mobile-nav { display: none; }

/* Home hero */
.hero { background: var(--navy); color: white; min-height: 690px; overflow: hidden; padding-top: 83px; position: relative; }
.hero:after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent); bottom: 0; content: ""; height: 1px; left: 0; right: 0; }
.hero-orbit { border: 1px solid rgba(255,255,255,.06); border-radius: 50%; pointer-events: none; position: absolute; }
.hero-orbit-one { height: 800px; right: -240px; top: -290px; width: 800px; }
.hero-orbit-two { height: 580px; right: -130px; top: -180px; width: 580px; }
.hero-grid { display: grid; grid-template-columns: .97fr 1.03fr; min-height: 510px; position: relative; z-index: 2; }
.hero-copy { padding-top: 12px; }
.hero-copy h1 { font-size: clamp(60px, 6vw, 86px); line-height: .96; margin: 24px 0 27px; }
.hero-copy h1 em, .page-hero h1 em, .editorial-copy h2 em { color: var(--gold); font-weight: 400; }
.hero-copy > p { color: #cbd8e1; font-family: Georgia, serif; font-size: 18px; line-height: 1.75; max-width: 540px; }
.hero-actions { align-items: center; display: flex; gap: 30px; margin-top: 34px; }
.hero-proof { border-top: 1px solid rgba(255,255,255,.16); display: flex; gap: 46px; margin-top: 55px; padding-top: 23px; width: max-content; }
.hero-proof div { display: flex; flex-direction: column; gap: 4px; }
.hero-proof strong { font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.hero-proof span { color: #aebfcb; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.hero-books { min-height: 510px; position: relative; }
.hero-sun { background: var(--gold); border-radius: 50%; filter: blur(.1px); height: 340px; opacity: .93; position: absolute; right: 50px; top: 40px; width: 340px; }
.hero-book { position: absolute; transition: transform .3s; }
.hero-book .book-cover-detail { height: 397px; width: 278px; }
.hero-book-back { left: 78px; top: 45px; transform: rotate(-12deg) scale(.82); }
.hero-book-mid { right: 38px; top: 38px; transform: rotate(8deg) scale(.87); }
.hero-book-front { left: 195px; top: 30px; transform: rotate(-1deg); z-index: 3; }
.hero-book:hover { z-index: 5; }
.hero-book-front:hover { transform: rotate(-1deg) translateY(-7px); }
.hero-book-mid:hover { transform: rotate(8deg) scale(.87) translateY(-7px); }
.hero-book-back:hover { transform: rotate(-12deg) scale(.82) translateY(-7px); }
.hero-note { background: var(--paper); bottom: 28px; color: var(--ink); display: flex; flex-direction: column; padding: 14px 18px 13px 23px; position: absolute; right: 0; width: 173px; z-index: 6; }
.hero-note:before { background: var(--gold); bottom: 0; content: ""; left: 0; position: absolute; top: 0; width: 5px; }
.hero-note span { color: var(--gold-dark); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero-note strong { font-family: Georgia, serif; font-size: 16px; margin-top: 3px; }
.hero-note small { color: var(--muted); font-size: 10px; margin-top: 4px; }
.hero-bottom { align-items: center; border-top: 1px solid rgba(255,255,255,.13); color: #b9c8d2; display: flex; font-size: 10px; gap: 22px; letter-spacing: .1em; min-height: 86px; text-transform: uppercase; }
.hero-bottom > span { color: #7f96a6; margin-right: 10px; }
.hero-bottom i { color: var(--gold); font-style: normal; }

/* Shared section and books */
.featured-section { background: var(--paper); }
.section-heading { max-width: 650px; }
.section-heading h2 { font-size: clamp(38px, 4vw, 53px); line-height: 1.08; margin: 14px 0 14px; }
.section-heading p { color: var(--muted); font-family: Georgia, serif; font-size: 16px; line-height: 1.65; margin-bottom: 0; }
.section-heading-center { margin-inline: auto; text-align: center; }
.section-heading-row { align-items: end; display: flex; justify-content: space-between; margin-bottom: 48px; }
.book-grid { display: grid; gap: 29px; grid-template-columns: repeat(4, 1fr); }
.book-card { min-width: 0; }
.book-card-visual { align-items: center; background: #e9e5dc; display: flex; height: 367px; justify-content: center; overflow: hidden; position: relative; }
.book-card:nth-child(2n) .book-card-visual { background: #e6ebed; }
.book-card:nth-child(3n) .book-card-visual { background: #e7e4e0; }
.book-card-visual > a { display: block; transition: transform .3s ease; }
.book-card:hover .book-card-visual > a { transform: translateY(-5px); }
.book-tag { background: var(--navy); color: white; font-size: 9px; font-weight: 900; left: 14px; letter-spacing: .1em; padding: 7px 9px; position: absolute; text-transform: uppercase; top: 14px; z-index: 5; }
.heart-button { align-items: center; background: rgba(255,255,255,.85); border: 0; border-radius: 50%; cursor: pointer; display: flex; height: 35px; justify-content: center; position: absolute; right: 13px; top: 13px; width: 35px; z-index: 5; }
.quick-add { align-items: center; background: var(--navy); border: 0; bottom: -48px; color: white; cursor: pointer; display: flex; font-size: 11px; font-weight: 800; gap: 7px; height: 45px; justify-content: center; left: 12px; position: absolute; right: 12px; transition: bottom .25s ease; z-index: 6; }
.book-card:hover .quick-add, .quick-add:focus { bottom: 12px; }
.quick-add:disabled { background: #7c858c; }
.book-card-info { padding-top: 18px; }
.book-meta { align-items: center; color: var(--gold-dark); display: flex; font-size: 9px; font-weight: 800; justify-content: space-between; letter-spacing: .08em; text-transform: uppercase; }
.book-meta span:last-child { align-items: center; color: #a96b0c; display: flex; gap: 4px; }
.book-card-info h3 { font-family: Georgia, serif; font-size: 20px; font-weight: 600; line-height: 1.22; margin: 9px 0 6px; }
.book-card-info h3 a:hover { color: var(--gold-dark); }
.book-card-info > p { color: var(--muted); font-size: 12px; line-height: 1.4; margin-bottom: 13px; min-height: 17px; }
.price-line { align-items: center; display: flex; gap: 9px; }
.price-line strong { font-family: Georgia, serif; font-size: 17px; }
.price-line del { color: #8e969a; font-size: 12px; }
.book-cover { background: var(--cover-accent); box-shadow: 4px 10px 20px rgba(17,31,44,.2); flex: none; overflow: hidden; position: relative; }
.book-cover-card { height: 278px; width: 195px; }
.book-cover-detail { height: 510px; width: 360px; }
.book-cover-mini { height: 120px; width: 84px; }
.real-cover img { object-fit: cover; }
.generated-cover { background: linear-gradient(145deg, color-mix(in srgb, var(--cover-accent), white 8%), color-mix(in srgb, var(--cover-accent), black 18%)); color: white; display: flex; flex-direction: column; padding: 25px 20px 21px; }
.generated-cover:after { border: 1px solid rgba(255,255,255,.28); bottom: 10px; content: ""; left: 10px; pointer-events: none; position: absolute; right: 10px; top: 10px; }
.generated-cover .cover-mark { color: rgba(255,255,255,.2); font-family: Georgia, serif; font-size: 68px; line-height: .9; }
.cover-rule { background: var(--gold); height: 3px; margin: 12px 0 18px; width: 36px; }
.generated-cover strong { font-family: Georgia, serif; font-size: 22px; line-height: 1.05; position: relative; z-index: 2; }
.generated-cover small { color: rgba(255,255,255,.76); font-family: Georgia, serif; font-size: 9px; line-height: 1.3; margin-top: 8px; }
.generated-cover em { font-size: 7px; font-style: normal; line-height: 1.4; margin-top: auto; text-transform: uppercase; }
.cover-publisher { font-size: 5px; font-weight: 900; letter-spacing: .18em; margin-top: 13px; }
.book-cover-mini.generated-cover { padding: 11px 8px; }
.book-cover-mini .cover-mark { font-size: 27px; }
.book-cover-mini .cover-rule { height: 1px; margin: 4px 0 7px; width: 16px; }
.book-cover-mini.generated-cover strong { font-size: 9px; }
.book-cover-mini.generated-cover small, .book-cover-mini.generated-cover em { display: none; }

/* Editorial and disciplines */
.editorial-panel { background: var(--cream); padding: 0; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 625px; width: min(1320px, 100%); }
.editorial-image { min-height: 590px; overflow: hidden; position: relative; }
.editorial-image > img { object-fit: cover; transform: scale(1.12); }
.image-caption { align-items: center; background: white; bottom: 0; display: flex; gap: 13px; left: 0; padding: 16px 24px; position: absolute; }
.image-caption svg { color: var(--gold-dark); }
.image-caption span { color: var(--muted); display: flex; flex-direction: column; font-family: Georgia, serif; font-size: 11px; }
.image-caption strong { color: var(--ink); font-family: Arial, sans-serif; font-size: 9px; letter-spacing: .1em; margin-bottom: 3px; text-transform: uppercase; }
.editorial-copy { align-self: center; max-width: 505px; padding: 65px 20px 65px 75px; }
.editorial-copy h2 { font-size: clamp(42px, 4.5vw, 61px); line-height: 1.02; margin: 17px 0 25px; }
.editorial-copy > p { color: var(--muted); font-family: Georgia, serif; font-size: 16px; line-height: 1.7; }
.check-list { list-style: none; margin: 27px 0 32px; padding: 0; }
.check-list li { align-items: center; border-bottom: 1px solid #d8d9d3; display: flex; font-size: 13px; gap: 12px; padding: 12px 0; }
.check-list svg { color: var(--gold-dark); flex: none; }
.disciplines-section { background: var(--paper); }
.discipline-grid { display: grid; gap: 15px; grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
.discipline-card { align-items: center; display: grid; gap: 22px; grid-template-columns: 62px 1fr 24px; min-height: 158px; overflow: hidden; padding: 25px 29px; position: relative; }
.discipline-card > span { align-items: center; background: rgba(255,255,255,.52); border-radius: 50%; display: flex; height: 58px; justify-content: center; width: 58px; }
.discipline-card > svg { transition: transform .2s; }
.discipline-card:hover > svg { transform: translateX(5px); }
.discipline-card small { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.discipline-card h3 { font-family: Georgia, serif; font-size: 25px; margin: 5px 0 6px; }
.discipline-card p { font-size: 12px; margin: 0; opacity: .7; }
.tone-green { background: #dce6d9; color: #27463d; }
.tone-blue { background: #dce6eb; color: #21445e; }
.tone-gold { background: #f0e1bf; color: #654e22; }
.tone-rust { background: #eadbd5; color: #603c33; }
.process-section { background: #f0eee8; }
.process-grid { border-top: 1px solid #cbd0ce; display: grid; grid-template-columns: repeat(3, 1fr); }
.process-step { border-right: 1px solid #cbd0ce; padding: 38px 45px 5px 0; position: relative; }
.process-step + .process-step { padding-left: 45px; }
.process-step:last-child { border: 0; }
.process-step > span { color: #9c9f9b; font-family: Georgia, serif; font-size: 13px; position: absolute; right: 21px; top: 21px; }
.process-icon { align-items: center; background: var(--navy); border-radius: 50%; color: var(--gold); display: flex; height: 52px; justify-content: center; margin-bottom: 23px; width: 52px; }
.process-step h3 { font-family: Georgia, serif; font-size: 23px; margin-bottom: 10px; }
.process-step p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.newsletter { align-items: center; background: var(--navy); color: white; display: grid; gap: 70px; grid-template-columns: 1fr 1fr; margin-bottom: 110px; margin-top: 110px; min-height: 275px; overflow: hidden; padding: 45px 60px; position: relative; }
.newsletter:after { border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; height: 380px; position: absolute; right: -100px; top: -210px; width: 380px; }
.newsletter h2 { font-size: 35px; margin: 12px 0 8px; }
.newsletter p { color: #bfcdd7; font-family: Georgia, serif; font-size: 14px; margin: 0; }
.newsletter form { display: flex; position: relative; z-index: 2; }
.newsletter input { background: white; border: 0; height: 54px; min-width: 0; padding: 0 18px; width: 100%; }
.newsletter button { align-items: center; background: var(--gold); border: 0; cursor: pointer; display: flex; font-size: 12px; font-weight: 800; gap: 8px; padding: 0 22px; }

/* Public page heroes and catalogue */
.page-hero { background: var(--navy); color: white; min-height: 440px; overflow: hidden; padding: 95px 0 80px; position: relative; }
.page-hero:before { border: 1px solid rgba(255,255,255,.07); border-radius: 50%; content: ""; height: 580px; position: absolute; right: -100px; top: -330px; width: 580px; }
.page-hero.compact { min-height: 395px; }
.page-hero h1 { font-size: clamp(54px, 6vw, 76px); line-height: .99; margin: 18px 0 23px; }
.page-hero p { color: #c5d1da; font-family: Georgia, serif; font-size: 17px; line-height: 1.65; max-width: 600px; }
.catalogue-section { padding-top: 62px; }
.catalogue-toolbar { align-items: center; display: flex; justify-content: space-between; }
.search-field { align-items: center; border-bottom: 1px solid #a7afb3; display: flex; max-width: 480px; padding: 3px 0; width: 100%; }
.search-field svg { color: #687681; }
.search-field input { background: transparent; border: 0; color: var(--ink); height: 43px; outline: none; padding: 0 13px; width: 100%; }
.search-field button { background: transparent; border: 0; cursor: pointer; }
.sort-field { align-items: center; border: 1px solid #cfd3d1; display: flex; gap: 8px; padding: 0 12px; }
.sort-field select { background: transparent; border: 0; height: 44px; outline: none; }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.category-pills button { background: transparent; border: 1px solid #cbd0ce; border-radius: 30px; cursor: pointer; font-size: 11px; font-weight: 700; padding: 10px 16px; }
.category-pills button:hover, .category-pills button.active { background: var(--navy); border-color: var(--navy); color: white; }
.results-line { align-items: center; color: var(--muted); display: flex; font-size: 11px; gap: 5px; letter-spacing: .08em; margin: 43px 0 25px; text-transform: uppercase; }
.results-line span { background: #c5cac7; height: 1px; margin: 0 9px; width: 25px; }
.catalogue-grid { row-gap: 56px; }
.empty-state { border: 1px dashed #bdc5c4; padding: 70px 20px; text-align: center; }
.empty-state svg { color: var(--gold-dark); }
.empty-state h2 { font-size: 32px; margin: 13px 0 8px; }
.empty-state p { color: var(--muted); }

/* Book detail */
.book-detail-section { background: var(--cream); padding: 38px 0 78px; }
.book-detail-grid { align-items: center; display: grid; gap: 100px; grid-template-columns: 430px 1fr; margin-top: 38px; }
.detail-cover-stage { align-items: center; background: #e4e0d6; display: flex; justify-content: center; min-height: 590px; overflow: hidden; position: relative; }
.detail-cover-stage:before { border: 1px solid rgba(13,47,79,.12); border-radius: 50%; content: ""; height: 410px; position: absolute; width: 410px; }
.detail-cover-stage .book-cover { z-index: 2; }
.detail-cover-shadow { background: rgba(20,31,42,.22); border-radius: 50%; bottom: 24px; filter: blur(14px); height: 21px; position: absolute; width: 270px; }
.detail-labels { align-items: center; display: flex; gap: 12px; }
.detail-labels span, .detail-labels b { font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.detail-labels span { color: var(--gold-dark); }
.detail-labels b { background: var(--navy); color: white; padding: 6px 8px; }
.detail-copy h1 { font-size: clamp(44px, 4.6vw, 65px); line-height: 1.02; margin: 18px 0 8px; }
.detail-copy h2 { color: #52616c; font-size: 23px; font-style: italic; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 21px; }
.detail-authors { color: var(--muted); font-family: Georgia, serif; font-size: 15px; }
.detail-authors strong { color: var(--ink); }
.rating-line { align-items: center; display: flex; font-size: 12px; gap: 15px; margin: 21px 0; }
.rating-line span { align-items: center; color: #a76d14; display: flex; font-weight: 800; gap: 5px; }
.rating-line a { border-bottom: 1px solid #9ea6aa; color: var(--muted); }
.detail-description { color: #556470; font-family: Georgia, serif; font-size: 16px; line-height: 1.72; max-width: 620px; }
.detail-price { align-items: baseline; border-top: 1px solid #d2d3ce; display: flex; gap: 12px; margin-top: 25px; padding-top: 24px; }
.detail-price strong { font-family: Georgia, serif; font-size: 31px; }
.detail-price del { color: #8b9295; font-size: 14px; }
.detail-price span { color: var(--muted); font-size: 10px; margin-left: 6px; }
.purchase-row { display: grid; gap: 12px; grid-template-columns: 110px minmax(220px, 300px); margin-top: 21px; }
.quantity-control { align-items: center; border: 1px solid #cbd0cd; display: flex; height: 50px; justify-content: space-between; }
.quantity-control button { align-items: center; background: transparent; border: 0; cursor: pointer; display: flex; justify-content: center; padding: 11px; }
.quantity-control svg { height: 14px; width: 14px; }
.quantity-control span { font-size: 13px; font-weight: 800; }
.add-large { min-width: 230px; }
.purchase-row > p { font-size: 10px; grid-column: 1 / -1; margin: 0; }
.in-stock { color: var(--success); }
.low-stock { color: var(--danger); }
.fulfilment-grid { border-top: 1px solid #d2d3ce; display: grid; gap: 13px; grid-template-columns: repeat(3, 1fr); margin-top: 27px; padding-top: 20px; }
.fulfilment-grid > div { align-items: center; display: flex; gap: 9px; }
.fulfilment-grid svg { color: var(--gold-dark); height: 20px; width: 20px; }
.fulfilment-grid span { color: var(--muted); display: flex; flex-direction: column; font-size: 8px; }
.fulfilment-grid strong { color: var(--ink); font-size: 9px; margin-bottom: 3px; }
.book-facts { background: var(--navy); color: white; }
.facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); min-height: 105px; }
.facts-grid div { border-right: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; justify-content: center; padding-left: 28px; }
.facts-grid div:first-child { border-left: 1px solid rgba(255,255,255,.14); }
.facts-grid small { color: #97adbc; font-size: 8px; letter-spacing: .13em; margin-bottom: 7px; text-transform: uppercase; }
.facts-grid strong { font-family: Georgia, serif; font-size: 14px; font-weight: 500; }
.book-links-grid { border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.book-links-grid a { align-items: center; border-left: 1px solid rgba(255,255,255,.14); color: white; display: flex; justify-content: space-between; min-height: 92px; padding: 18px 28px; text-decoration: none; transition: background .2s ease; }
.book-links-grid a:last-child { border-right: 1px solid rgba(255,255,255,.14); }
.book-links-grid a:hover { background: rgba(255,255,255,.06); }
.book-links-grid a span { display: flex; flex-direction: column; min-width: 0; }
.book-links-grid a small { color: var(--gold); font-size: 8px; letter-spacing: .13em; margin-bottom: 7px; text-transform: uppercase; }
.book-links-grid a strong { font-family: Georgia, serif; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.book-links-grid a svg { color: #97adbc; flex: none; height: 18px; margin-left: 20px; width: 18px; }
.about-book { background: var(--paper); }
.about-book-grid { display: grid; gap: 150px; grid-template-columns: 1fr 350px; }
.about-book-grid h2 { font-size: 42px; margin: 13px 0 20px; }
.about-book-grid > div > p { color: var(--muted); font-family: Georgia, serif; font-size: 16px; line-height: 1.75; }
.about-book-grid aside { align-self: start; background: var(--cream); border-top: 4px solid var(--gold); padding: 30px; }
.about-book-grid aside svg { color: var(--gold-dark); }
.about-book-grid aside h3 { font-family: Georgia, serif; font-size: 23px; margin: 16px 0 10px; }
.about-book-grid aside p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.about-book-grid aside a { color: var(--navy); font-size: 12px; font-weight: 800; }
.related-section { background: #efede7; }

/* Authors */
.page-hero-grid { align-items: center; display: grid; gap: 90px; grid-template-columns: 1fr 390px; }
.authors-hero blockquote { border-left: 1px solid rgba(255,255,255,.25); margin: 0; padding: 35px 0 35px 45px; }
.authors-hero blockquote svg { color: var(--gold); }
.authors-hero blockquote p { color: white; font-size: 24px; font-style: italic; line-height: 1.45; }
.authors-hero cite { color: #a9bdca; font-size: 10px; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.author-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
.author-card { background: white; border: 1px solid #e0e2df; display: grid; gap: 25px; grid-template-columns: 105px 1fr; padding: 28px; }
.author-avatar { align-items: center; color: white; display: flex; font-family: Georgia, serif; font-size: 30px; height: 105px; justify-content: center; letter-spacing: -.05em; position: relative; width: 105px; }
.author-avatar:after { border: 1px solid rgba(255,255,255,.42); bottom: 8px; content: ""; left: 8px; position: absolute; right: 8px; top: 8px; }
.author-card-copy > span { color: var(--gold-dark); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.author-card h2 { font-size: 25px; margin: 5px 0 4px; }
.author-card-copy > strong { color: var(--muted); font-size: 10px; font-weight: 600; }
.author-card-copy > p { color: #65727c; font-family: Georgia, serif; font-size: 13px; line-height: 1.55; margin: 14px 0; }
.author-card-copy > div { align-items: center; border-top: 1px solid #e1e3e0; display: flex; justify-content: space-between; padding-top: 13px; }
.author-card-copy small, .author-card-copy a { align-items: center; display: flex; font-size: 10px; gap: 6px; }
.author-card-copy small { color: var(--muted); }
.author-card-copy a { font-weight: 800; }
.author-cta, .services-cta { align-items: center; background: var(--navy); color: white; display: flex; justify-content: space-between; margin-bottom: 110px; padding: 55px 60px; }
.author-cta h2, .services-cta h2 { font-size: 38px; margin: 10px 0 0; max-width: 650px; }

/* Services */
.services-hero { min-height: 560px; }
.services-hero-grid { align-items: center; display: grid; gap: 120px; grid-template-columns: 1.2fr .8fr; }
.services-quote { border: 1px solid rgba(255,255,255,.19); padding: 37px; position: relative; }
.services-quote svg { color: var(--gold); }
.services-quote p { color: white; font-size: 21px; font-style: italic; }
.services-quote span { color: #9db1bf; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.services-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin-top: 55px; }
.service-card { background: white; border: 1px solid #e0e3e0; min-height: 290px; padding: 28px; transition: transform .2s, box-shadow .2s; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card > div { align-items: center; display: flex; justify-content: space-between; }
.service-card svg { color: var(--gold-dark); height: 27px; width: 27px; }
.service-card > div span { color: #a7aca9; font-family: Georgia, serif; font-size: 13px; }
.service-card h3 { font-family: Georgia, serif; font-size: 23px; margin: 35px 0 12px; }
.service-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.service-card a { align-items: center; display: flex; font-size: 10px; font-weight: 800; gap: 6px; margin-top: 20px; }
.process-detail { background: var(--navy); color: white; }
.process-detail .section-heading p { color: #a9bac6; }
.process-detail ol { list-style: none; margin: 55px 0 0; padding: 0; }
.process-detail li { align-items: start; border-top: 1px solid rgba(255,255,255,.15); display: grid; gap: 35px; grid-template-columns: 60px 1fr; padding: 26px 0; }
.process-detail li > span { align-items: center; background: var(--gold); border-radius: 50%; color: var(--navy); display: flex; font-family: Georgia, serif; height: 42px; justify-content: center; width: 42px; }
.process-detail li div { display: grid; gap: 30px; grid-template-columns: 145px 230px 1fr; }
.process-detail li small { color: #f4b84d; font-size: 9px; font-weight: 800; letter-spacing: .1em; padding-top: 7px; text-transform: uppercase; }
.process-detail li h3 { font-family: Georgia, serif; font-size: 21px; margin: 2px 0 0; }
.process-detail li p { color: #aebfca; font-family: Georgia, serif; font-size: 14px; line-height: 1.6; margin: 0; }
.fit-section { background: var(--cream); }
.fit-grid { display: grid; gap: 140px; grid-template-columns: 1fr 350px; }
.fit-grid h2 { font-size: 47px; margin: 15px 0 20px; }
.fit-grid > div > p { color: var(--muted); font-family: Georgia, serif; font-size: 16px; line-height: 1.7; }
.fit-grid .check-list svg { height: 17px; width: 17px; }
.fit-grid aside { align-self: center; background: white; border: 1px solid #e0e1dc; padding: 33px; }
.fit-grid aside > svg { color: var(--gold-dark); height: 32px; width: 32px; }
.fit-grid aside h3 { font-family: Georgia, serif; font-size: 25px; margin: 15px 0 10px; }
.fit-grid aside > p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.fit-grid aside > div { align-items: center; border-top: 1px solid #e2e4e1; display: flex; gap: 12px; margin-top: 20px; padding-top: 20px; }
.fit-grid aside > div svg { color: var(--success); }
.fit-grid aside span { color: var(--muted); display: flex; flex-direction: column; font-size: 10px; }
.fit-grid aside strong { color: var(--ink); font-size: 12px; }
.services-cta p { color: #b4c5d0; font-family: Georgia, serif; font-size: 14px; margin: 8px 0 0; }

/* Indexing */
.indexing-hero { min-height: 570px; }
.indexing-hero-grid { align-items: center; display: grid; gap: 110px; grid-template-columns: 1.2fr .8fr; }
.indexing-hero-grid > div > p { color: #b6c7d2; font-family: Georgia, serif; font-size: 17px; line-height: 1.75; max-width: 670px; }
.indexing-principle { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); padding: 38px; }
.indexing-principle > svg { color: var(--gold); height: 30px; width: 30px; }
.indexing-principle > span { color: #f0b54c; display: block; font-size: 9px; font-weight: 800; letter-spacing: .13em; margin-top: 25px; text-transform: uppercase; }
.indexing-principle h2 { font-size: 31px; line-height: 1.12; margin: 11px 0 15px; }
.indexing-principle p { color: #afc0cb; font-size: 12px; line-height: 1.7; margin: 0; }
.indexing-foundations { background: var(--paper); }
.indexing-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin-top: 55px; background: #dfe2df; border: 1px solid #dfe2df; }
.indexing-grid article { background: white; min-height: 230px; padding: 32px; }
.indexing-grid svg { color: var(--gold-dark); height: 27px; width: 27px; }
.indexing-grid h3 { font-family: Georgia, serif; font-size: 23px; margin: 27px 0 11px; }
.indexing-grid p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0; }
.indexing-process { background: var(--navy); color: white; }
.indexing-process-grid { display: grid; gap: 120px; grid-template-columns: .85fr 1.15fr; }
.indexing-process-grid > div h2 { font-size: 47px; line-height: 1.06; margin: 16px 0 20px; }
.indexing-process-grid > div p { color: #aebfca; font-family: Georgia, serif; font-size: 15px; line-height: 1.75; }
.indexing-process ol { list-style: none; margin: 0; padding: 0; }
.indexing-process li { border-top: 1px solid rgba(255,255,255,.16); display: grid; gap: 22px; grid-template-columns: 48px 1fr; padding: 24px 0; }
.indexing-process li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.indexing-process li > span { color: var(--gold); font-family: Georgia, serif; font-size: 14px; padding-top: 4px; }
.indexing-process h3 { font-family: Georgia, serif; font-size: 21px; margin: 0 0 7px; }
.indexing-process li p { color: #9fb3c0; font-size: 12px; line-height: 1.65; margin: 0; }
.indexing-cta { align-items: center; background: #163f5f; color: white; display: grid; gap: 25px 55px; grid-template-columns: 1fr auto; margin-bottom: 110px; margin-top: 110px; padding: 52px 60px; }
.indexing-cta h2 { font-size: 38px; margin: 10px 0 7px; max-width: 720px; }
.indexing-cta p { color: #b7c7d1; font-family: Georgia, serif; font-size: 14px; margin: 0; }
.indexing-cta ul { border-top: 1px solid rgba(255,255,255,.16); display: flex; gap: 28px; grid-column: 1 / -1; list-style: none; margin: 0; padding: 22px 0 0; }
.indexing-cta li { align-items: center; color: #b7c7d1; display: flex; font-size: 10px; gap: 7px; }
.indexing-cta li svg { color: var(--gold); height: 15px; width: 15px; }

/* Submission */
.submit-hero { min-height: 420px; }
.submission-section { background: var(--cream); }
.submission-grid { align-items: start; display: grid; gap: 90px; grid-template-columns: 370px 1fr; }
.submission-grid aside { padding-top: 15px; }
.submission-grid aside h2 { font-size: 42px; margin: 13px 0 18px; }
.submission-grid aside > p { color: var(--muted); font-family: Georgia, serif; font-size: 15px; line-height: 1.7; }
.submission-points { margin-top: 35px; }
.submission-points > div { align-items: start; border-top: 1px solid #d8dad5; display: flex; gap: 15px; padding: 18px 0; }
.submission-points svg { color: var(--gold-dark); flex: none; height: 20px; width: 20px; }
.submission-points span { color: var(--muted); display: flex; flex-direction: column; font-size: 11px; line-height: 1.5; }
.submission-points strong { color: var(--ink); font-size: 12px; margin-bottom: 3px; }
.submission-note { align-items: start; background: #e6e6de; display: flex; gap: 10px; margin-top: 25px; padding: 16px; }
.submission-note svg { color: var(--success); flex: none; height: 16px; width: 16px; }
.submission-note p { color: #59666e; font-size: 10px; line-height: 1.5; margin: 0; }
.submission-form, .submission-success { background: white; box-shadow: 0 14px 45px rgba(21,38,51,.07); padding: 42px; }
.form-heading { align-items: center; border-bottom: 1px solid #e1e3df; display: flex; justify-content: space-between; margin-bottom: 27px; padding-bottom: 17px; }
.form-heading span { font-family: Georgia, serif; font-size: 22px; }
.form-heading small { color: var(--muted); font-size: 9px; }
.submission-form > label, .form-row label { color: #43515c; display: flex; flex-direction: column; font-size: 10px; font-weight: 800; gap: 8px; letter-spacing: .035em; margin-bottom: 18px; }
.form-row { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.submission-form input, .submission-form select, .submission-form textarea { background: #fbfaf7; border: 1px solid #d7dbd8; border-radius: 2px; color: var(--ink); outline: none; padding: 13px; width: 100%; }
.submission-form input:focus, .submission-form select:focus, .submission-form textarea:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 2px rgba(238,167,44,.12); }
.submission-form textarea { resize: vertical; }
.file-drop { align-items: center !important; border: 1px dashed #abb5b7 !important; cursor: pointer; flex-direction: row !important; gap: 15px !important; min-height: 92px; padding: 18px !important; position: relative; }
.file-drop input { display: none; }
.file-drop > svg { color: var(--gold-dark); }
.file-drop > span { display: flex; flex: 1; flex-direction: column; gap: 5px; }
.file-drop strong { color: var(--ink); font-size: 11px; }
.file-drop small { color: var(--muted); font-size: 9px; font-weight: 500; }
.file-drop button { background: transparent; border: 0; cursor: pointer; }
.file-drop button svg { height: 17px; width: 17px; }
.file-drop.has-file { background: #f1f6f1; border-color: #83a38d !important; }
.checkbox-label { align-items: start !important; flex-direction: row !important; font-weight: 500 !important; line-height: 1.45; }
.checkbox-label input { margin-top: 1px; width: auto; }
.form-submit { width: 100%; }
.form-error { background: #fff0ee; color: var(--danger); font-size: 11px; padding: 12px; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.submission-success { min-height: 520px; padding-top: 90px; text-align: center; }
.submission-success > svg { color: var(--success); height: 58px; margin-bottom: 24px; width: 58px; }
.submission-success h2 { font-size: 40px; margin: 15px auto; max-width: 520px; }
.submission-success p { color: var(--muted); font-family: Georgia, serif; line-height: 1.7; margin: 0 auto 28px; max-width: 520px; }

/* Cart */
.empty-cart { align-items: center; background: var(--cream); display: flex; flex-direction: column; min-height: 650px; padding: 115px 25px; text-align: center; }
.empty-cart > svg { color: var(--gold-dark); height: 42px; margin-bottom: 21px; width: 42px; }
.empty-cart h1 { font-size: 48px; margin: 16px 0; max-width: 650px; }
.empty-cart p { color: var(--muted); font-family: Georgia, serif; margin-bottom: 28px; }
.cart-section { background: var(--cream); }
.cart-heading { margin: 35px 0 42px; }
.cart-heading h1 { font-size: 53px; margin: 9px 0 7px; }
.cart-heading p { color: var(--muted); font-size: 12px; }
.cart-grid { align-items: start; display: grid; gap: 50px; grid-template-columns: 1fr 350px; }
.cart-items { border-top: 1px solid #cfd2ce; }
.cart-item { align-items: center; border-bottom: 1px solid #cfd2ce; display: grid; gap: 23px; grid-template-columns: 84px minmax(0,1fr) 104px 90px 28px; padding: 24px 0; }
.cart-item .book-cover { box-shadow: 2px 4px 9px rgba(0,0,0,.14); }
.cart-item-main > span { color: var(--gold-dark); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cart-item-main h2 { font-size: 20px; margin: 5px 0; }
.cart-item-main p { color: var(--muted); font-size: 11px; margin-bottom: 8px; }
.cart-item-main small { color: #8b9499; font-size: 8px; }
.cart-line-price { font-family: Georgia, serif; font-size: 16px; text-align: right; }
.cart-mobile-price { display: none; }
.remove-item { background: transparent; border: 0; color: #8c9599; cursor: pointer; }
.remove-item svg { height: 17px; width: 17px; }
.order-summary { background: white; box-shadow: 0 12px 40px rgba(20,36,48,.08); padding: 29px; position: sticky; top: 20px; }
.order-summary h2 { border-bottom: 1px solid #e1e3df; font-size: 26px; margin-bottom: 21px; padding-bottom: 17px; }
.order-summary > div { display: flex; font-size: 12px; justify-content: space-between; margin: 14px 0; }
.order-summary > div strong { font-family: Georgia, serif; font-weight: 600; }
.order-summary .summary-total { border-top: 1px solid #d8dbd7; font-size: 16px; margin-top: 23px; padding-top: 20px; }
.summary-total strong { font-size: 23px; }
.checkout-button { margin-top: 10px; width: 100%; }
.secure-note { align-items: center; color: var(--muted); display: flex; font-size: 9px; gap: 6px; justify-content: center; margin: 12px 0 24px; }
.secure-note svg { height: 12px; width: 12px; }
.order-summary .delivery-note { align-items: center; background: var(--cream); gap: 10px; margin: 0; padding: 13px; }
.delivery-note svg { color: var(--gold-dark); height: 19px; width: 19px; }
.delivery-note span { color: var(--muted); display: flex; flex-direction: column; font-size: 9px; }
.delivery-note strong { color: var(--ink); font-family: Arial, sans-serif !important; font-size: 10px; margin-bottom: 2px; }
.order-summary .shipping-progress { display: block; margin: 20px 0; }
.shipping-progress { background: #e3e5e1; height: 4px; position: relative; }
.shipping-progress > span { background: var(--gold); display: block; height: 100%; }
.shipping-progress p { color: var(--muted); font-size: 9px; margin-top: 8px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #d3dde4; padding-top: 70px; }
.footer-main { display: grid; gap: 45px; grid-template-columns: 1.65fr .8fr .95fr 1.35fr; padding-bottom: 55px; }
.footer-brand img { filter: brightness(0) invert(1); height: 80px; object-fit: contain; object-position: left center; width: 150px; }
.footer-brand p { color: #98acba; font-family: Georgia, serif; font-size: 13px; line-height: 1.6; max-width: 240px; }
.footer-socials { display: flex; gap: 8px; margin-top: 21px; }
.footer-socials a { align-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: flex; height: 34px; justify-content: center; width: 34px; }
.footer-main h3 { color: white; font-size: 10px; letter-spacing: .13em; margin-bottom: 21px; text-transform: uppercase; }
.footer-main > div:not(.footer-brand) > a { color: #9fb1bd; display: block; font-size: 11px; margin: 13px 0; }
.footer-main a:hover { color: var(--gold); }
.footer-contact > a, .footer-contact > p { align-items: center; display: flex !important; gap: 8px; }
.footer-contact p { color: #9fb1bd; font-size: 11px; }
.footer-contact .footer-cta { align-items: center; border-bottom: 1px solid #6b7e8b; color: white !important; display: inline-flex !important; font-weight: 800; margin-top: 16px !important; padding-bottom: 6px; }
.footer-bottom { align-items: center; border-top: 1px solid rgba(255,255,255,.12); color: #718896; display: flex; font-size: 9px; justify-content: space-between; min-height: 65px; }
.footer-bottom div { display: flex; gap: 23px; }

@media (max-width: 1020px) {
  .desktop-nav { gap: 18px; }
  .account-button { border-radius: 50%; justify-content: center; padding: 0; width: 42px; }
  .account-button span { display: none; }
  .hero-grid { grid-template-columns: 1fr .8fr; }
  .hero-book-back { display: none; }
  .hero-book-front { left: 30px; }
  .hero-book-mid { right: -40px; }
  .book-grid { grid-template-columns: repeat(3, 1fr); }
  .editorial-copy { padding-left: 45px; }
  .book-detail-grid { gap: 55px; grid-template-columns: 390px 1fr; }
  .detail-cover-stage { min-height: 550px; }
  .services-hero-grid, .submission-grid { gap: 60px; }
  .indexing-hero-grid, .indexing-process-grid { gap: 60px; }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .site-header .header-inner { gap: 12px; height: 70px; }
  .site-header .brand { flex: 1 1 150px; max-width: 150px; min-width: 0; width: auto; }
  .site-header .brand img { max-width: 100%; width: 150px; }
  .site-header .desktop-nav { display: none; }
  .site-header .header-actions { flex: 0 0 auto; }
  .site-header .icon-button { flex: 0 0 44px; height: 44px; width: 44px; }
  .site-header .mobile-menu-button { display: flex; }
  .site-header .mobile-nav { background: var(--paper); border-top: 1px solid var(--line); display: flex; flex-direction: column; left: 0; max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain; padding: 12px 22px 24px; position: absolute; right: 0; top: 70px; }
  .site-header .mobile-nav a { align-items: center; border-bottom: 1px solid #e4e6e2; display: flex; font-family: Georgia, serif; font-size: 18px; min-height: 52px; padding: 0; }
  .site-header .account-button { display: none; }
  .site-header .mobile-nav .mobile-account-link { align-items: center; background: var(--navy); border: 0; border-radius: 3px; color: white; display: flex; font-family: Arial, sans-serif; font-size: 12px; font-weight: 800; gap: 9px; justify-content: center; margin-top: 14px; padding: 15px; }
}

@media (max-width: 800px) {
  .container { width: min(100% - 30px, 680px); }
  .section { padding: 76px 0; }
  .hero { min-height: 910px; padding-top: 64px; }
  .hero-grid { display: block; }
  .hero-copy h1 { font-size: 58px; }
  .hero-proof { gap: 22px; }
  .hero-books { margin-top: 28px; min-height: 390px; }
  .hero-book .book-cover-detail { height: 330px; width: 232px; }
  .hero-book-front { left: calc(50% - 140px); }
  .hero-book-mid { right: calc(50% - 180px); }
  .hero-sun { height: 270px; right: calc(50% - 170px); width: 270px; }
  .hero-note { bottom: 7px; right: 0; }
  .hero-bottom { display: none; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 24px; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial-grid { display: block; }
  .editorial-image { min-height: 430px; }
  .editorial-copy { max-width: none; padding: 70px 25px; }
  .discipline-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { border-bottom: 1px solid #cbd0ce; border-right: 0; padding: 30px 0; }
  .newsletter { gap: 30px; grid-template-columns: 1fr; margin-bottom: 75px; margin-top: 75px; padding: 40px; }
  .page-hero { min-height: 390px; padding-top: 75px; }
  .catalogue-toolbar { align-items: stretch; flex-direction: column; gap: 18px; }
  .search-field { max-width: none; }
  .sort-field { width: max-content; }
  .book-detail-grid { grid-template-columns: 1fr; }
  .detail-cover-stage { margin-inline: auto; max-width: 480px; width: 100%; }
  .facts-grid { grid-template-columns: repeat(3, 1fr); }
  .facts-grid div { border-bottom: 1px solid rgba(255,255,255,.14); min-height: 85px; }
  .about-book-grid, .fit-grid { gap: 50px; grid-template-columns: 1fr; }
  .page-hero-grid, .services-hero-grid, .indexing-hero-grid, .indexing-process-grid { gap: 40px; grid-template-columns: 1fr; }
  .authors-hero blockquote { display: none; }
  .author-grid { grid-template-columns: 1fr; }
  .author-cta, .services-cta { align-items: start; flex-direction: column; gap: 27px; padding: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .indexing-grid { grid-template-columns: repeat(2, 1fr); }
  .indexing-cta { align-items: start; grid-template-columns: 1fr; padding: 40px; }
  .indexing-cta ul { grid-column: auto; flex-wrap: wrap; }
  .process-detail li div { gap: 10px; grid-template-columns: 1fr; }
  .submission-grid { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 28px); }
  .site-header .container.header-inner { width: calc(100% - 24px); }
  .site-header .header-inner { gap: 8px; }
  .site-header .header-actions { gap: 2px; }
  .hero-copy h1 { font-size: 49px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 20px; }
  .hero-proof { gap: 15px; justify-content: space-between; width: 100%; }
  .hero-proof strong { font-size: 20px; }
  .hero-proof span { font-size: 8px; }
  .hero-book-mid { display: none; }
  .hero-book-front { left: calc(50% - 116px); }
  .hero-note { right: 7px; }
  .book-grid { gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-card-visual { height: 260px; }
  .book-cover-card { height: 205px; width: 144px; }
  .generated-cover { padding: 16px 13px; }
  .generated-cover .cover-mark { font-size: 42px; }
  .generated-cover strong { font-size: 16px; }
  .book-card-info h3 { font-size: 16px; }
  .book-card-info > p { font-size: 10px; }
  .editorial-image { min-height: 330px; }
  .discipline-card { gap: 15px; grid-template-columns: 50px 1fr 18px; padding: 20px; }
  .discipline-card > span { height: 46px; width: 46px; }
  .newsletter { padding: 32px 22px; }
  .newsletter form { flex-direction: column; }
  .newsletter button { height: 50px; justify-content: center; }
  .page-hero h1 { font-size: 47px; }
  .detail-cover-stage { min-height: 455px; }
  .book-cover-detail { height: 400px; width: 282px; }
  .detail-copy h1 { font-size: 42px; }
  .purchase-row { grid-template-columns: 92px 1fr; }
  .fulfilment-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .book-links-grid { grid-template-columns: 1fr; }
  .book-links-grid a { border-right: 1px solid rgba(255,255,255,.14); }
  .book-links-grid a + a { border-top: 1px solid rgba(255,255,255,.14); }
  .about-book-grid h2 { font-size: 35px; }
  .author-card { grid-template-columns: 1fr; }
  .author-cta, .services-cta { margin-bottom: 70px; padding: 32px 25px; }
  .services-grid { grid-template-columns: 1fr; }
  .indexing-grid { grid-template-columns: 1fr; }
  .indexing-principle { padding: 28px; }
  .indexing-process-grid > div h2 { font-size: 39px; }
  .indexing-cta { margin-bottom: 70px; margin-top: 70px; padding: 32px 25px; }
  .indexing-cta h2 { font-size: 32px; }
  .indexing-cta ul { align-items: start; flex-direction: column; gap: 12px; }
  .process-detail li { gap: 18px; grid-template-columns: 42px 1fr; }
  .submission-form, .submission-success { padding: 25px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-heading { align-items: start; flex-direction: column; gap: 7px; }
  .cart-item { align-items: start; gap: 14px; grid-template-columns: 68px 1fr 25px; }
  .cart-item .book-cover-mini { height: 98px; width: 68px; }
  .cart-item .quantity-control { grid-column: 2; height: 38px; width: 100px; }
  .cart-line-price { display: none; }
  .cart-mobile-price { display: block; font-family: Georgia, serif; margin-top: 8px; }
  .remove-item { grid-column: 3; grid-row: 1; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
  .footer-bottom { align-items: start; flex-direction: column; justify-content: center; gap: 10px; }
}

/* Public site visual refresh */
.public-site {
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 12px 35px rgba(15, 39, 59, .08);
  --shadow-lift: 0 24px 65px rgba(11, 36, 56, .15);
  background: var(--paper);
  min-height: 100vh;
}
.public-site main { overflow: clip; }
.public-site ::selection { background: var(--gold); color: var(--navy-deep); }
.public-site :is(a, button, input, select, textarea):focus-visible { outline: 3px solid rgba(238,167,44,.52); outline-offset: 3px; }
.public-site h1, .public-site h2 { text-wrap: balance; }
.public-site .site-header { backdrop-filter: blur(18px); background: linear-gradient(105deg, rgba(255,250,238,.96) 0%, rgba(235,246,249,.95) 52%, rgba(255,242,211,.95) 100%); border-bottom: 1px solid rgba(12,47,79,.13); box-shadow: 0 9px 32px rgba(8,31,54,.08), inset 0 -2px rgba(238,167,44,.45); position: sticky; top: 0; }
.public-site .header-inner { transition: height .25s ease; }
.public-site .brand img { filter: drop-shadow(0 5px 10px rgba(12,47,79,.12)); }
.public-site .desktop-nav a { transition: color .2s ease, transform .2s ease; }
.public-site .desktop-nav a:hover { color: #a96508; transform: translateY(-1px); }
.public-site .desktop-nav a:active { color: var(--gold-dark); transform: translateY(1px) scale(.97); }
.public-site .desktop-nav a.active { color: var(--navy); }
.public-site .icon-button, .public-site .account-button { cursor: pointer; transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease; }
.public-site .icon-button:hover { background: white; box-shadow: 0 7px 20px rgba(13,47,79,.1); color: var(--gold-dark); transform: translateY(-2px); }
.public-site .header-actions .search-button { background: #e3f1f6; color: #176483; }
.public-site .header-actions .cart-button { background: #fff0cb; color: #a86404; }
.public-site .header-actions .search-button:hover { background: #176483; color: white; }
.public-site .header-actions .cart-button:hover { background: var(--gold); color: var(--navy-deep); }
.public-site .header-actions .search-button:active { background: var(--navy-deep); color: white; transform: translateY(1px) scale(.92); }
.public-site .header-actions .cart-button:active { background: #c97809; color: white; transform: translateY(1px) scale(.92); }
.public-site .header-actions .mobile-menu-button { background: linear-gradient(135deg, #0c2f4f, #1d5278); color: white; }
.public-site .header-actions .mobile-menu-button:hover, .public-site .header-actions .mobile-menu-button[aria-expanded="true"] { background: linear-gradient(135deg, var(--gold), #f7bd55); color: var(--navy-deep); }
.public-site .header-actions .mobile-menu-button:active { background: #c97809; color: white; transform: translateY(1px) scale(.92); }
.public-site .account-button { background: linear-gradient(135deg, var(--navy), #1a5279); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-sm); box-shadow: 0 8px 20px rgba(12,47,79,.2); }
.public-site .account-button:hover { background: linear-gradient(135deg, #174768, #0c2f4f); box-shadow: 0 12px 25px rgba(12,47,79,.26); }
.public-site .account-button:active { background: linear-gradient(135deg, var(--gold), #f5ba50); color: var(--navy-deep); transform: translateY(1px) scale(.96); }
.public-site .cart-count { background: linear-gradient(135deg, #ffc95d, var(--gold)); border-color: white; color: var(--navy-deep); }
.public-site .mobile-nav { background: linear-gradient(180deg, #fffdf8, #eef6f7); box-shadow: 0 22px 45px rgba(8,31,54,.16); }
.public-site .mobile-nav a { border-radius: 8px; cursor: pointer; padding-inline: 10px; transition: background .2s ease, color .2s ease, padding-left .2s ease; }
.public-site .mobile-nav a:hover { background: rgba(23,100,131,.1); color: #176483; padding-left: 16px; }
.public-site .mobile-nav a:active { background: var(--navy); color: white; }
.public-site .mobile-nav .mobile-account-link { background: linear-gradient(135deg, var(--gold), #f7bb4e); color: var(--navy-deep); }
.public-site .mobile-nav .mobile-account-link:hover { background: linear-gradient(135deg, var(--navy), #1d5278); color: white; padding-left: 15px; }
.public-site .mobile-nav .mobile-account-link:active { background: var(--navy-deep); transform: scale(.98); }
.public-site .button { border-radius: var(--radius-sm); box-shadow: 0 8px 20px rgba(10,35,54,.1); overflow: hidden; position: relative; }
.public-site .button:hover { box-shadow: 0 14px 28px rgba(10,35,54,.16); transform: translateY(-3px); }
.public-site .button svg, .public-site .text-link svg { transition: transform .2s ease; }
.public-site .button:hover svg, .public-site .text-link:hover svg { transform: translateX(4px); }
.public-site .button-outline { background: rgba(255,255,255,.35); }
.public-site .text-link { transition: border-color .2s ease, color .2s ease; }
.public-site .text-link:hover { border-color: var(--gold); color: var(--gold-dark); }

.public-site .hero { background: radial-gradient(circle at 74% 20%, rgba(38,88,125,.72), transparent 34%), radial-gradient(circle at 13% 90%, rgba(238,167,44,.08), transparent 28%), linear-gradient(135deg, #071f36 0%, #0c3557 55%, #08253f 100%); }
.public-site .hero:before { background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; content: ""; inset: 0; mask-image: linear-gradient(90deg, transparent, black 45%, black); pointer-events: none; position: absolute; }
.public-site .hero-copy h1 { text-shadow: 0 12px 42px rgba(0,0,0,.16); }
.public-site .hero-copy > p { color: #d5e0e7; }
.public-site .hero-sun { background: radial-gradient(circle at 32% 28%, #ffd276, var(--gold) 54%, #d58a12); box-shadow: 0 35px 90px rgba(238,167,44,.22); }
.public-site .hero-note { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; box-shadow: var(--shadow-lift); }
.public-site .hero-proof { border-color: rgba(255,255,255,.22); }

.public-site .featured-section { background: radial-gradient(circle at 8% 10%, rgba(238,167,44,.08), transparent 24%), var(--paper); }
.public-site .section-heading h2 { color: #112a40; }
.public-site .book-card { background: rgba(255,255,255,.9); border: 1px solid rgba(19,55,82,.1); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.public-site .book-card:hover { border-color: rgba(238,167,44,.5); box-shadow: var(--shadow-lift); transform: translateY(-7px); }
.public-site .book-card-visual { background: linear-gradient(145deg, #eeeae1, #e4dfd4); }
.public-site .book-card:nth-child(2n) .book-card-visual { background: linear-gradient(145deg, #edf2f3, #dfe8eb); }
.public-site .book-card:nth-child(3n) .book-card-visual { background: linear-gradient(145deg, #eeeae6, #e2ddd8); }
.public-site .book-card-info { padding: 19px 20px 22px; }
.public-site .book-card-visual > a { filter: drop-shadow(0 15px 18px rgba(13,34,51,.12)); }
.public-site .heart-button { backdrop-filter: blur(8px); box-shadow: 0 5px 14px rgba(16,39,56,.1); transition: color .2s ease, transform .2s ease; }
.public-site .heart-button:hover { color: #b84941; transform: scale(1.08); }
.public-site .quick-add { border-radius: var(--radius-sm); box-shadow: 0 9px 24px rgba(8,31,54,.24); }

.public-site .editorial-panel { background: linear-gradient(135deg, #eee8dc, #f8f3e9); padding: 88px 24px; }
.public-site .editorial-grid { background: var(--cream); border: 1px solid rgba(19,55,82,.1); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); overflow: hidden; }
.public-site .image-caption { border-radius: 0 var(--radius-sm) 0 0; box-shadow: 10px -10px 35px rgba(10,35,54,.1); }
.public-site .disciplines-section { background: linear-gradient(180deg, var(--paper), #f4f0e7); }
.public-site .discipline-card { border: 1px solid rgba(255,255,255,.72); border-radius: var(--radius-md); box-shadow: 0 10px 26px rgba(20,45,62,.07); transition: box-shadow .25s ease, transform .25s ease; }
.public-site .discipline-card:hover { box-shadow: 0 20px 38px rgba(20,45,62,.13); transform: translateY(-5px); }
.public-site .discipline-card > span { box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.public-site .process-section { background: linear-gradient(180deg, #f1efe9, #ebe8df); }
.public-site .process-grid { border: 0; gap: 18px; }
.public-site .process-step, .public-site .process-step + .process-step { background: rgba(255,255,255,.72); border: 1px solid rgba(18,53,80,.09); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 32px; }
.public-site .process-step:hover .process-icon { transform: rotate(-6deg) scale(1.06); }
.public-site .process-icon { box-shadow: 0 10px 24px rgba(12,47,79,.2); transition: transform .25s ease; }
.public-site .newsletter { background: radial-gradient(circle at 85% 0%, rgba(238,167,44,.22), transparent 34%), linear-gradient(135deg, var(--navy), #071f36); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.public-site .newsletter input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.public-site .newsletter button { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.public-site .page-hero { background: radial-gradient(circle at 78% 18%, rgba(45,94,129,.6), transparent 35%), linear-gradient(135deg, #071f36, #0c3659 58%, #092740); }
.public-site .page-hero:after { background: linear-gradient(110deg, transparent 48%, rgba(238,167,44,.08) 48%, rgba(238,167,44,.08) 48.3%, transparent 48.3%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.public-site .page-hero > .container { position: relative; z-index: 1; }
.public-site .catalogue-toolbar { background: white; border: 1px solid rgba(17,51,77,.1); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); gap: 22px; padding: 18px; }
.public-site .search-field { background: #f8f8f5; border: 1px solid #d8dcda; border-radius: var(--radius-sm); max-width: 560px; padding: 0 13px; }
.public-site .search-field:focus-within { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(238,167,44,.1); }
.public-site .sort-field { border-radius: var(--radius-sm); min-height: 45px; }
.public-site .category-pills button { transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.public-site .category-pills button:hover { transform: translateY(-2px); }
.public-site .empty-state { background: white; border-radius: var(--radius-md); }

.public-site .book-detail-section { background: radial-gradient(circle at 88% 12%, rgba(238,167,44,.1), transparent 26%), linear-gradient(145deg, var(--cream), #f3eee3); }
.public-site .detail-cover-stage { background: linear-gradient(145deg, #ebe6db, #ddd7ca); border: 1px solid rgba(17,51,77,.1); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.public-site .detail-cover-stage .book-cover { box-shadow: 12px 25px 50px rgba(17,31,44,.25); }
.public-site .detail-labels span, .public-site .detail-labels b { border-radius: 30px; }
.public-site .fulfilment-grid div { background: rgba(255,255,255,.5); border-radius: var(--radius-sm); padding: 14px; }
.public-site .book-facts { background: linear-gradient(135deg, #071f36, #103c5f); }
.public-site .about-book-grid aside, .public-site .fit-grid aside { border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }

.public-site .author-card, .public-site .service-card, .public-site .indexing-grid article { border-radius: var(--radius-md); box-shadow: var(--shadow-soft); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.public-site .author-card:hover, .public-site .service-card:hover, .public-site .indexing-grid article:hover { border-color: rgba(238,167,44,.45); box-shadow: var(--shadow-lift); transform: translateY(-5px); }
.public-site .author-avatar { border-radius: var(--radius-sm); overflow: hidden; }
.public-site .author-avatar:after { border-radius: 6px; }
.public-site .service-card > div > svg { background: #fff4df; border-radius: 50%; height: 48px; padding: 10px; width: 48px; }
.public-site .indexing-grid { background: transparent; border: 0; gap: 16px; }
.public-site .indexing-grid article { border: 1px solid rgba(17,51,77,.1); }
.public-site .author-cta, .public-site .services-cta, .public-site .indexing-cta { background: radial-gradient(circle at 84% 0%, rgba(238,167,44,.22), transparent 31%), linear-gradient(135deg, var(--navy), #08243c); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.public-site .services-quote, .public-site .indexing-principle { backdrop-filter: blur(8px); border-radius: var(--radius-md); box-shadow: 0 18px 50px rgba(0,0,0,.13); }

.public-site .submission-form, .public-site .submission-success, .public-site .order-summary { border: 1px solid rgba(17,51,77,.09); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.public-site .submission-form :is(input, select, textarea), .public-site .customer-settings-form input, .public-site .customer-address-modal input { border-radius: 8px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.public-site .file-drop, .public-site .submission-note { border-radius: var(--radius-sm); }
.public-site .cart-item { transition: background .2s ease; }
.public-site .cart-item:hover { background: rgba(255,255,255,.42); }
.public-site .customer-auth-layout { border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); overflow: hidden; }
.public-site .customer-auth-card { box-shadow: none; }
.public-site .customer-auth-form label > span { border-radius: var(--radius-sm); }
.public-site .customer-account-sidebar, .public-site .customer-account-content, .public-site .customer-panel, .public-site .customer-address-card, .public-site .customer-order-card { border-radius: var(--radius-md); box-shadow: var(--shadow-soft); overflow: hidden; }

.public-site .site-footer { background: radial-gradient(circle at 10% 0%, rgba(29,72,104,.45), transparent 30%), var(--navy-deep); border-top: 4px solid var(--gold); }
.public-site .footer-socials a { transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.public-site .footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); transform: translateY(-3px); }

@media (hover: none) {
  .public-site .quick-add { bottom: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  .public-site .hero-copy { animation: penora-rise .65s ease-out both; }
  .public-site .hero-books { animation: penora-rise .8s .12s ease-out both; }
  @keyframes penora-rise { from { opacity: 0; transform: translateY(20px); } }
}

@media (max-width: 800px) {
  .public-site .editorial-panel { padding: 42px 15px; }
  .public-site .editorial-grid { border-radius: 18px; }
  .public-site .process-grid { gap: 14px; }
  .public-site .process-step, .public-site .process-step + .process-step { border: 1px solid rgba(18,53,80,.09); padding: 28px; }
  .public-site .catalogue-toolbar { padding: 14px; }
  .public-site .sort-field { width: 100%; }
  .public-site .sort-field select { flex: 1; }
  .public-site .customer-auth-layout { border-radius: 18px; }
}

@media (max-width: 520px) {
  .public-site .book-card { border-radius: 12px; }
  .public-site .book-card-info { padding: 14px; }
  .public-site .quick-add { bottom: 8px; left: 8px; right: 8px; }
  .public-site .editorial-panel { padding: 28px 12px; }
  .public-site .newsletter { border-radius: 18px; }
  .public-site .newsletter input, .public-site .newsletter button { border-radius: var(--radius-sm); }
  .public-site .newsletter form { gap: 8px; }
  .public-site .detail-cover-stage { border-radius: 18px; }
  .public-site .author-cta, .public-site .services-cta, .public-site .indexing-cta { border-radius: 18px; }
  .public-site .submission-form, .public-site .submission-success, .public-site .order-summary { border-radius: 16px; }
  .public-site .customer-auth-layout { border-radius: 14px; }
}

/* Publisher portal login */
.login-page { background: #f5f4ef; display: grid; grid-template-columns: minmax(430px, 1.05fr) minmax(500px, .95fr); min-height: 100vh; }
.login-brand-panel { background: var(--navy); color: white; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; overflow: hidden; padding: 45px 56px; position: relative; }
.login-brand-panel:before, .login-brand-panel:after { border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; position: absolute; }
.login-brand-panel:before { height: 700px; left: -360px; top: 60px; width: 700px; }
.login-brand-panel:after { height: 470px; right: -220px; top: -180px; width: 470px; }
.login-brand-top { align-items: center; display: flex; justify-content: space-between; position: relative; z-index: 2; }
.login-brand-top img { filter: brightness(0) invert(1); height: 80px; object-fit: contain; object-position: left; width: 150px; }
.login-brand-top a { align-items: center; color: #b3c4cf; display: flex; font-size: 11px; gap: 8px; }
.login-brand-top svg { height: 15px; width: 15px; }
.login-quote { max-width: 560px; position: relative; z-index: 2; }
.login-quote > svg { color: var(--gold); height: 24px; width: 24px; }
.login-quote h1 { font-size: clamp(55px, 6vw, 78px); line-height: .98; margin: 24px 0; }
.login-quote h1 em { color: var(--gold); font-weight: 400; }
.login-quote p { color: #b7c7d1; font-family: Georgia, serif; font-size: 17px; line-height: 1.7; max-width: 510px; }
.login-trust { border-top: 1px solid rgba(255,255,255,.15); display: flex; gap: 30px; padding-top: 24px; position: relative; z-index: 2; }
.login-trust span { align-items: center; color: #9eb1bd; display: flex; font-size: 9px; gap: 7px; letter-spacing: .08em; text-transform: uppercase; }
.login-trust svg { color: var(--gold); height: 15px; width: 15px; }
.login-form-panel { align-items: center; display: flex; justify-content: center; padding: 50px; }
.login-box { max-width: 420px; width: 100%; }
.admin-kicker { color: var(--gold-dark); display: inline-block; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.login-box h2 { font-size: 49px; margin: 12px 0 8px; }
.login-box > p { color: var(--muted); font-family: Georgia, serif; font-size: 15px; margin-bottom: 35px; }
.login-box form > label, .admin-modal > label, .order-drawer > label, .content-editor > label, .form-panel > label, .form-row > label, .publish-panel > label, .cover-panel > label { color: #45535e; display: flex; flex-direction: column; font-size: 9px; font-weight: 800; gap: 8px; letter-spacing: .05em; margin-bottom: 18px; text-transform: uppercase; }
.login-input { align-items: center; background: white; border: 1px solid #d8dcd9; display: flex; height: 52px; padding: 0 14px; }
.login-input:focus-within { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(238,167,44,.12); }
.login-input > svg { color: #88939a; height: 17px; width: 17px; }
.login-input input { background: transparent; border: 0; height: 100%; outline: none; padding: 0 11px; width: 100%; }
.login-input button { background: transparent; border: 0; color: #7b878e; cursor: pointer; }
.login-input button svg { height: 17px; width: 17px; }
.login-options { align-items: center; display: flex; font-size: 10px; justify-content: space-between; margin: 3px 0 23px; }
.login-options label { align-items: center; display: flex; gap: 7px; }
.login-options a { color: var(--navy); font-weight: 800; }
.login-box form > .button { width: 100%; }
.login-error { background: #fff0ee; color: var(--danger); font-size: 11px; margin-bottom: 14px; padding: 11px; }
.demo-credentials { background: #eaeae4; display: grid; gap: 5px; grid-template-columns: 1fr 1fr; margin-top: 28px; padding: 17px; }
.demo-credentials strong, .demo-credentials small { grid-column: 1 / -1; }
.demo-credentials strong { color: #53616b; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.demo-credentials span { background: rgba(255,255,255,.65); color: #344451; font-family: monospace; font-size: 10px; padding: 8px; }
.demo-credentials small { color: #77838a; font-size: 8px; line-height: 1.45; }

/* Admin shell */
.admin-app { background: #f2f4f5; min-height: 100vh; }
.admin-sidebar { background: var(--navy-deep); bottom: 0; color: #c2d0d9; display: flex; flex-direction: column; left: 0; overflow-y: auto; position: fixed; top: 0; width: 245px; z-index: 70; }
.admin-logo { align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; height: 84px; padding: 0 25px; }
.admin-logo img { filter: brightness(0) invert(1); height: 75px; object-fit: contain; object-position: left; width: 145px; }
.admin-logo button { display: none; }
.workspace-label, .sidebar-lower > span { color: #607b8c; font-size: 8px; font-weight: 900; letter-spacing: .15em; padding: 24px 25px 10px; text-transform: uppercase; }
.admin-sidebar nav, .sidebar-lower { display: flex; flex-direction: column; padding: 0 12px; }
.admin-sidebar nav a, .sidebar-lower a { align-items: center; border-radius: 3px; display: flex; font-size: 11px; font-weight: 700; gap: 12px; margin: 2px 0; min-height: 43px; padding: 0 13px; }
.admin-sidebar nav a svg, .sidebar-lower a svg { height: 17px; width: 17px; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active, .sidebar-lower a:hover, .sidebar-lower a.active { background: rgba(255,255,255,.09); color: white; }
.admin-sidebar nav a.active { box-shadow: inset 3px 0 0 var(--gold); }
.admin-sidebar nav a b { align-items: center; background: var(--gold); border-radius: 20px; color: var(--navy); display: flex; font-size: 8px; height: 18px; justify-content: center; margin-left: auto; width: 18px; }
.sidebar-lower { border-top: 1px solid rgba(255,255,255,.1); margin-top: 20px; padding-top: 8px; }
.sidebar-lower > span { padding-left: 13px; }
.sidebar-profile { align-items: center; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 9px; grid-template-columns: 34px 1fr 24px; margin-top: auto; padding: 18px 18px; }
.profile-avatar { align-items: center; background: var(--gold); border-radius: 50%; color: var(--navy); display: flex; font-size: 10px; font-weight: 900; height: 34px; justify-content: center; width: 34px; }
.sidebar-profile > span { display: flex; flex-direction: column; min-width: 0; }
.sidebar-profile strong { color: white; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-profile small { color: #7891a1; font-size: 8px; margin-top: 3px; }
.sidebar-profile button { background: transparent; border: 0; color: #7891a1; cursor: pointer; }
.sidebar-profile button svg { height: 16px; width: 16px; }
.admin-main { margin-left: 245px; min-height: 100vh; }
.admin-topbar { align-items: center; background: white; border-bottom: 1px solid #e1e5e5; display: flex; height: 70px; justify-content: space-between; padding: 0 34px; }
.admin-menu { display: none; }
.admin-topbar > label { align-items: center; color: #88939a; display: flex; gap: 9px; }
.admin-topbar > label svg { height: 17px; width: 17px; }
.admin-topbar > label input { border: 0; font-size: 11px; outline: none; width: 260px; }
.admin-topbar > div { align-items: center; display: flex; gap: 13px; }
.admin-topbar > div > a { color: #52616d; font-size: 10px; font-weight: 800; margin-right: 12px; }
.admin-topbar button { background: transparent; border: 0; cursor: pointer; }
.admin-bell { color: #67757e; position: relative; }
.admin-bell svg { height: 18px; width: 18px; }
.admin-bell b { background: var(--gold); border: 2px solid white; border-radius: 50%; height: 8px; position: absolute; right: 1px; top: 0; width: 8px; }
.top-profile { align-items: center; display: flex; gap: 7px; }
.top-profile > span { align-items: center; background: var(--navy); border-radius: 50%; color: white; display: flex; font-size: 9px; font-weight: 800; height: 31px; justify-content: center; width: 31px; }
.top-profile svg { color: #829099; height: 13px; width: 13px; }
.admin-content { margin-inline: auto; max-width: 1500px; padding: 34px 35px 60px; }
.admin-page-header { align-items: end; display: flex; justify-content: space-between; margin-bottom: 27px; }
.admin-page-header > div > span { color: var(--gold-dark); font-size: 8px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.admin-page-header h1 { font-family: Arial, sans-serif; font-size: 26px; font-weight: 750; letter-spacing: -.025em; margin: 7px 0 5px; }
.admin-page-header p { color: #738089; font-size: 11px; margin: 0; }
.admin-primary-action, .admin-secondary-action { align-items: center; border-radius: 3px; cursor: pointer; display: inline-flex; font-size: 10px; font-weight: 800; gap: 8px; justify-content: center; min-height: 40px; padding: 0 16px; }
.admin-primary-action { background: var(--navy); border: 1px solid var(--navy); color: white; }
.admin-primary-action:hover { background: var(--navy-soft); }
.admin-secondary-action { background: white; border: 1px solid #d5dada; color: #46545e; }
.admin-primary-action svg, .admin-secondary-action svg { height: 15px; width: 15px; }
.admin-secondary-action.mini { min-height: 30px; padding: 0 10px; }
.admin-panel { background: white; border: 1px solid #e0e4e4; border-radius: 4px; }

/* Dashboard */
.metric-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; }
.metric-grid article { background: white; border: 1px solid #e0e4e4; border-radius: 4px; display: grid; gap: 5px; grid-template-columns: 43px 1fr; padding: 18px; }
.metric-icon { align-items: center; border-radius: 4px; display: flex; grid-row: 1 / 4; height: 39px; justify-content: center; margin-right: 6px; width: 39px; }
.metric-icon svg { height: 18px; width: 18px; }
.metric-gold { background: #fff1d5; color: #b97510; }
.metric-blue { background: #e4eff5; color: #316887; }
.metric-green { background: #e3f1e9; color: #347756; }
.metric-purple { background: #eee9f5; color: #715e89; }
.metric-grid article > span { color: #77838b; font-size: 9px; letter-spacing: .03em; }
.metric-grid article > strong { font-family: Georgia, serif; font-size: 24px; font-weight: 600; }
.metric-grid article > small { align-items: center; display: flex; font-size: 8px; gap: 3px; }
.metric-grid article > small svg { height: 11px; width: 11px; }
.metric-grid article > small i { color: #9aa2a7; font-style: normal; margin-left: 3px; }
.trend-up { color: var(--success); }
.trend-down { color: #927746; }
.dashboard-grid { display: grid; gap: 18px; grid-template-columns: 1.65fr 1fr; margin-bottom: 18px; }
.revenue-panel, .order-status-panel, .recent-orders, .alert-panel { padding: 20px 21px; }
.panel-heading { align-items: center; display: flex; justify-content: space-between; }
.panel-heading > div > span { color: #9a7a41; font-size: 7px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.panel-heading h2 { font-family: Arial, sans-serif; font-size: 14px; font-weight: 800; letter-spacing: -.01em; margin: 4px 0 0; }
.panel-heading select { background: white; border: 1px solid #d9dddd; font-size: 9px; height: 32px; padding: 0 8px; }
.panel-heading > a { align-items: center; color: var(--navy); display: flex; font-size: 9px; font-weight: 800; gap: 5px; }
.panel-heading > a svg { height: 12px; width: 12px; }
.chart-total { align-items: center; display: flex; gap: 12px; margin: 22px 0 6px; }
.chart-total strong { font-family: Georgia, serif; font-size: 25px; }
.chart-total span { align-items: center; background: #e9f4ee; border-radius: 15px; color: var(--success); display: flex; font-size: 8px; gap: 2px; padding: 5px 7px; }
.chart-total svg { height: 10px; width: 10px; }
.bar-chart { align-items: end; border-bottom: 1px solid #e2e5e4; display: flex; gap: 9px; height: 155px; padding: 0 5px; }
.bar-chart > div { align-items: center; display: flex; flex: 1; height: 100%; justify-content: end; position: relative; }
.bar-chart > div > span { background: #c7d4dc; border-radius: 2px 2px 0 0; min-height: 8px; transition: height .3s; width: 100%; }
.bar-chart > div > span.active { background: var(--gold); }
.bar-chart small { bottom: -19px; color: #89949b; font-size: 7px; position: absolute; }
.donut-wrap { align-items: center; display: flex; gap: 25px; justify-content: center; min-height: 220px; }
.donut { align-items: center; background: conic-gradient(#4e8b75 0 42%, #4f7d9c 42% 68%, #e3a634 68% 87%, #c8ced0 87%); border-radius: 50%; display: flex; height: 135px; justify-content: center; width: 135px; }
.donut:before { background: white; border-radius: 50%; content: ""; height: 88px; position: absolute; width: 88px; }
.donut > span { align-items: center; color: #879198; display: flex; flex-direction: column; font-size: 8px; position: relative; }
.donut strong { color: var(--ink); font-family: Georgia, serif; font-size: 22px; }
.donut-legend { min-width: 105px; }
.donut-legend > div { align-items: center; display: grid; font-size: 8px; gap: 7px; grid-template-columns: 7px 1fr 24px; margin: 12px 0; }
.donut-legend i { border-radius: 50%; height: 7px; width: 7px; }
.legend-delivered { background: #4e8b75; }.legend-shipped { background: #4f7d9c; }.legend-processing { background: #e3a634; }.legend-pending { background: #c8ced0; }
.donut-legend span { color: #66737c; }.donut-legend strong { text-align: right; }
.dashboard-lower { align-items: start; display: grid; gap: 18px; grid-template-columns: 1.65fr 1fr; }
.dashboard-side-stack { display: grid; gap: 18px; }
.recent-orders .panel-heading { margin-bottom: 13px; }
.alert-panel .panel-heading > svg { color: #be7d1b; height: 18px; width: 18px; }
.inventory-row { align-items: center; border-bottom: 1px solid #eceeed; display: grid; gap: 10px; grid-template-columns: 38px 1fr auto; padding: 12px 0; }
.inventory-cover { align-items: center; color: white; display: flex; height: 38px; justify-content: center; width: 29px; }
.inventory-cover svg { height: 15px; width: 15px; }
.inventory-row > span { display: flex; flex-direction: column; min-width: 0; }
.inventory-row strong { font-family: Georgia, serif; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inventory-row small { color: #8a959b; font-size: 7px; margin-top: 3px; }
.inventory-row > b { color: var(--danger); font-size: 8px; }
.alert-panel > a { align-items: center; display: flex; font-size: 9px; font-weight: 800; gap: 5px; margin-top: 15px; }
.alert-panel > a svg { height: 12px; width: 12px; }
.quick-actions { background: white; border: 1px solid #e0e4e4; }
.quick-actions > a { align-items: center; border-bottom: 1px solid #eceeee; display: grid; gap: 12px; grid-template-columns: 30px 1fr 16px; min-height: 64px; padding: 11px 16px; }
.quick-actions > a > svg:first-child { background: #e8eff3; border-radius: 3px; box-sizing: content-box; color: var(--navy); height: 16px; padding: 8px; width: 16px; }
.quick-actions > a > svg:last-child { color: #859199; height: 13px; width: 13px; }
.quick-actions span { display: flex; flex-direction: column; }
.quick-actions strong { font-size: 9px; }.quick-actions small { color: #8b969c; font-size: 7px; margin-top: 3px; }

/* Admin tables and collections */
.collection-panel { overflow: hidden; }
.collection-toolbar { align-items: center; border-bottom: 1px solid #e5e8e7; display: flex; gap: 15px; justify-content: space-between; min-height: 67px; padding: 12px 18px; }
.collection-toolbar > label { align-items: center; background: #f7f8f8; border: 1px solid #dce0df; display: flex; min-width: 280px; padding: 0 11px; }
.collection-toolbar > label svg { color: #89959b; height: 15px; width: 15px; }
.collection-toolbar > label input { background: transparent; border: 0; font-size: 9px; height: 36px; outline: none; padding: 0 9px; width: 100%; }
.segmented { background: #f3f5f5; display: flex; margin-left: auto; padding: 3px; }
.segmented button { background: transparent; border: 0; border-radius: 2px; color: #7c878d; cursor: pointer; font-size: 8px; font-weight: 700; padding: 8px 12px; }
.segmented button.active { background: white; box-shadow: 0 1px 4px rgba(20,30,40,.09); color: var(--navy); }
.filter-button { align-items: center; background: white; border: 1px solid #d8dddd; cursor: pointer; display: flex; font-size: 9px; font-weight: 700; gap: 7px; height: 35px; padding: 0 11px; }
.filter-button svg { height: 14px; width: 14px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { border-collapse: collapse; min-width: 700px; width: 100%; }
.admin-table th { background: #fafbfb; border-bottom: 1px solid #e4e7e7; color: #879198; font-size: 7px; font-weight: 900; letter-spacing: .1em; padding: 10px 13px; text-align: left; text-transform: uppercase; }
.admin-table td { border-bottom: 1px solid #eceeee; color: #55636c; font-size: 9px; padding: 11px 13px; vertical-align: middle; }
.admin-table tbody tr:hover { background: #fafbfa; }
.admin-table td > strong { color: var(--ink); font-size: 9px; }
.admin-table .customer-cell { align-items: center; display: flex; gap: 9px; }
.customer-cell > i { align-items: center; background: #e6edf1; border-radius: 50%; color: var(--navy); display: flex; flex: none; font-size: 7px; font-style: normal; font-weight: 900; height: 27px; justify-content: center; width: 27px; }
.customer-cell > span { display: flex; flex-direction: column; gap: 3px; }
.customer-cell small { color: #929ca1; font-size: 7px; }
.status-badge { align-items: center; border-radius: 20px; display: inline-flex; font-size: 7px; font-weight: 800; gap: 3px; padding: 5px 8px; white-space: nowrap; }
.status-badge svg { height: 9px; width: 9px; }
.status-delivered, .status-paid, .status-published, .status-accepted, .status-active { background: #e3f2e9; color: #347756; }
.status-shipped, .status-under-review { background: #e5eef5; color: #376984; }
.status-processing, .status-screening, .status-new { background: #fff1d7; color: #a16913; }
.status-pending, .status-received, .status-draft { background: #eff0ef; color: #68737a; }
.status-refunded, .status-cancelled, .status-declined, .status-archived { background: #f8e6e3; color: #a54f45; }
.status-revision-requested { background: #f2e9f7; color: #77558c; }
.collection-footer { align-items: center; color: #879299; display: flex; font-size: 8px; justify-content: space-between; min-height: 52px; padding: 0 18px; }
.collection-footer > div { display: flex; gap: 3px; }
.collection-footer button { background: white; border: 1px solid #dde1e0; font-size: 8px; height: 25px; width: 25px; }
.collection-footer button.active { background: var(--navy); color: white; }
.table-empty { color: #829097; font-family: Georgia, serif; padding: 55px; text-align: center; }
.admin-book-cell { align-items: center; display: flex; gap: 10px; min-width: 245px; position: relative; }
.admin-book-cell > div { align-items: center; box-shadow: 1px 3px 6px rgba(20,30,40,.15); color: white; display: flex; flex: none; height: 48px; justify-content: center; overflow: hidden; width: 34px; }
.admin-book-cell > div img { height: 100%; object-fit: cover; width: 100%; }
.admin-book-cell > div svg { height: 15px; width: 15px; }
.admin-book-cell > span { display: flex; flex-direction: column; max-width: 200px; }
.admin-book-cell strong { color: var(--ink); font-family: Georgia, serif; font-size: 10px; line-height: 1.3; }
.admin-book-cell small { color: #8c979d; font-size: 7px; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-book-cell > svg { color: var(--gold-dark); height: 11px; width: 11px; }
.mono-cell { font-family: monospace; font-size: 8px !important; }
.stock-good, .stock-low, .stock-out { align-items: center; display: flex; font-size: 8px; gap: 6px; white-space: nowrap; }
.stock-good i, .stock-low i, .stock-out i { border-radius: 50%; height: 6px; width: 6px; }
.stock-good i { background: #4a906b; }.stock-low { color: #9f711f; }.stock-low i { background: var(--gold); }.stock-out { color: var(--danger); }.stock-out i { background: var(--danger); }
.row-actions { align-items: center; display: flex; gap: 2px; }
.row-actions a, .row-actions button, .table-more { align-items: center; background: transparent; border: 0; color: #829097; cursor: pointer; display: flex; height: 27px; justify-content: center; width: 27px; }
.row-actions svg, .table-more svg { height: 13px; width: 13px; }
.row-actions button:hover { color: var(--danger); }
.hidden-trigger { display: none; }

/* Book form */
.book-admin-form { align-items: start; display: grid; gap: 18px; grid-template-columns: 1fr 285px; }
.book-form-main, .book-form-side { display: grid; gap: 18px; }
.form-panel, .publish-panel, .cover-panel { padding: 23px; }
.form-panel-heading { align-items: center; border-bottom: 1px solid #e5e8e7; display: flex; gap: 13px; margin-bottom: 23px; padding-bottom: 17px; }
.form-panel-heading > span { align-items: center; background: var(--navy); border-radius: 50%; color: white; display: flex; font-family: Georgia, serif; font-size: 10px; height: 32px; justify-content: center; width: 32px; }
.form-panel-heading h2, .publish-panel h2, .cover-panel h2 { font-family: Arial, sans-serif; font-size: 14px; font-weight: 800; margin: 0 0 4px; }
.form-panel-heading p { color: #8a959c; font-size: 8px; margin: 0; }
.form-panel input, .form-panel select, .form-panel textarea, .publish-panel select, .cover-panel input, .admin-modal input, .admin-modal select, .admin-modal textarea, .order-drawer input, .order-drawer select, .order-drawer textarea, .content-editor input, .content-editor textarea { background: #fafbfa; border: 1px solid #d9dddd; border-radius: 2px; color: var(--ink); outline: none; padding: 10px 11px; text-transform: none; width: 100%; }
.form-panel textarea, .admin-modal textarea, .order-drawer textarea, .content-editor textarea { resize: vertical; }
.form-panel input:focus, .form-panel select:focus, .form-panel textarea:focus, .admin-modal input:focus, .admin-modal select:focus, .admin-modal textarea:focus, .order-drawer input:focus, .order-drawer select:focus, .order-drawer textarea:focus, .content-editor input:focus, .content-editor textarea:focus { border-color: #bd8a31; box-shadow: 0 0 0 2px rgba(238,167,44,.1); }
.form-row.thirds { grid-template-columns: repeat(3, 1fr); }
.publish-panel > label select { margin-top: 3px; }
.switch-row { align-items: center !important; border-top: 1px solid #e6e8e7; flex-direction: row !important; justify-content: space-between; padding-top: 15px; text-transform: none !important; }
.switch-row > span { display: flex; flex-direction: column; }
.switch-row strong { color: var(--ink); font-size: 9px; }.switch-row small { color: #8b969c; font-size: 7px; margin-top: 3px; }
.switch-row input { accent-color: var(--navy); height: 16px; width: 28px; }
.publish-panel > .admin-primary-action { width: 100%; }
.publish-panel > a { align-items: center; color: #7d898f; display: flex; font-size: 8px; gap: 5px; justify-content: center; margin-top: 13px; }
.publish-panel > a svg { height: 11px; width: 11px; }
.cover-upload { align-items: center; background: #f5f6f5; border: 1px dashed #cbd1d0; display: flex; flex-direction: column; min-height: 170px; padding: 25px; text-align: center; }
.cover-upload > svg:first-child { color: var(--gold-dark); height: 27px; margin-bottom: 10px; width: 27px; }
.cover-upload strong { font-size: 9px; }.cover-upload span { color: #8b969c; font-size: 7px; line-height: 1.5; margin: 5px 0 12px; }
.cover-upload > svg:last-child { color: #78858c; height: 16px; width: 16px; }
.cover-panel label { margin-top: 16px; }
.cover-panel label input[type="color"] { height: 43px; padding: 4px; }
.cover-panel > small { align-items: center; color: #8b969c; display: flex; font-size: 7px; gap: 5px; line-height: 1.4; }
.cover-panel > small svg { color: var(--success); height: 11px; width: 11px; }
.sample-upload { align-items: center; background: #f5f6f5; border: 1px dashed #cbd1d0; color: #53656f; cursor: pointer; display: flex !important; flex-direction: row !important; gap: 8px; justify-content: center; padding: 10px; text-transform: none !important; }
.sample-upload input { display: none; }.sample-upload svg { height: 15px; width: 15px; }
.sample-download { margin-top: 12px; width: fit-content; }

/* Orders and drawers */
.order-summary-cards, .pipeline-row { display: grid; gap: 12px; grid-template-columns: repeat(5, 1fr); margin-bottom: 17px; }
.order-summary-cards button, .pipeline-row button { align-items: center; background: white; border: 1px solid #e0e4e4; border-radius: 3px; cursor: pointer; display: flex; justify-content: space-between; min-height: 58px; padding: 0 16px; text-align: left; }
.order-summary-cards button.active, .pipeline-row button.active { border-color: var(--navy); box-shadow: inset 3px 0 0 var(--navy); }
.order-summary-cards span, .pipeline-row span { color: #728087; font-size: 8px; font-weight: 700; }.order-summary-cards strong, .pipeline-row strong { font-family: Georgia, serif; font-size: 19px; }
.inline-status { background: transparent; border: 1px solid #d7dcdc; border-radius: 20px; color: #55636c; font-size: 7px; font-weight: 800; max-width: 105px; outline: none; padding: 5px 6px; }
.drawer-backdrop, .modal-backdrop { background: rgba(6,23,38,.45); bottom: 0; left: 0; position: fixed; right: 0; top: 0; z-index: 100; }
.order-drawer { background: white; bottom: 0; box-shadow: -15px 0 40px rgba(10,24,36,.18); overflow-y: auto; padding: 38px 32px; position: absolute; right: 0; top: 0; width: min(430px, 100%); }
.drawer-close, .modal-close { align-items: center; background: #f0f2f1; border: 0; border-radius: 50%; cursor: pointer; display: flex; font-size: 23px; height: 32px; justify-content: center; position: absolute; right: 23px; top: 23px; width: 32px; }
.drawer-close svg, .modal-close svg { height: 15px; width: 15px; }
.order-drawer h2 { font-size: 32px; margin: 9px 0 5px; }
.order-drawer > p { color: #7f8b91; font-family: Georgia, serif; font-size: 11px; }
.order-customer-card { align-items: center; background: #f3f5f5; display: flex; gap: 12px; margin: 25px 0 19px; padding: 15px; }
.order-customer-card > i { align-items: center; background: var(--navy); border-radius: 50%; color: white; display: flex; font-size: 9px; font-style: normal; font-weight: 900; height: 38px; justify-content: center; width: 38px; }
.order-customer-card span { display: flex; flex-direction: column; }.order-customer-card strong { font-size: 10px; }.order-customer-card small { color: #849097; font-size: 8px; margin-top: 3px; }
.drawer-facts { border-bottom: 1px solid #e2e5e4; display: grid; grid-template-columns: repeat(2, 1fr); margin-bottom: 23px; }
.drawer-facts > div { border-top: 1px solid #e2e5e4; display: flex; flex-direction: column; min-height: 71px; padding: 13px 8px; }
.drawer-facts > div:nth-child(odd) { border-right: 1px solid #e2e5e4; padding-left: 0; }
.drawer-facts span { color: #89949a; font-size: 7px; letter-spacing: .07em; margin-bottom: 7px; text-transform: uppercase; }
.drawer-facts strong { font-size: 9px; }
.order-drawer > .admin-primary-action, .order-drawer > .admin-secondary-action { margin-bottom: 10px; width: 100%; }
.tracking-confirm { align-items: center; background: #eaf4ee; color: var(--success); display: flex; gap: 10px; margin: 7px 0 13px; padding: 12px; }
.tracking-confirm > svg { height: 16px; width: 16px; }.tracking-confirm span { display: flex; flex-direction: column; font-size: 8px; }.tracking-confirm strong { font-size: 9px; }

/* Submissions, authors and customers */
.submission-title { align-items: center; display: flex; gap: 9px; min-width: 210px; }
.submission-title > svg { background: #e9eff2; box-sizing: content-box; color: var(--navy); height: 15px; padding: 8px; width: 15px; }
.submission-title span, .stacked-cell { display: flex; flex-direction: column; }
.submission-title strong, .stacked-cell strong { color: var(--ink); font-family: Georgia, serif; font-size: 9px; }.submission-title small, .stacked-cell small { color: #919ba0; font-size: 7px; margin-top: 3px; }
.file-link { align-items: center; background: transparent; border: 0; color: #53656f; cursor: pointer; display: flex; font-size: 7px; gap: 5px; max-width: 150px; overflow: hidden; padding: 0; text-overflow: ellipsis; white-space: nowrap; }
.file-link svg { flex: none; height: 11px; width: 11px; }.file-link svg:last-child { margin-left: auto; }
.manuscript-file { align-items: center; background: #f1f4f4; display: grid; gap: 12px; grid-template-columns: 36px 1fr auto; margin: 25px 0; padding: 14px; }
.manuscript-file > svg { color: var(--navy); }.manuscript-file span { display: flex; flex-direction: column; }.manuscript-file strong { font-size: 9px; }.manuscript-file small { color: #8d989e; font-size: 7px; margin-top: 3px; }
.manuscript-file button, .manuscript-file a { align-items: center; background: white; border: 1px solid #d6dcdc; color: #53656f; display: flex; font-size: 8px; gap: 5px; padding: 8px; }.manuscript-file button svg, .manuscript-file a svg { height: 12px; width: 12px; }
.submission-message { background: #f7f8f7; border-left: 3px solid var(--gold); margin: 0 0 22px; padding: 14px; }
.submission-message strong { font-size: 9px; }.submission-message p { color: #68777f; font-family: Georgia, serif; font-size: 10px; line-height: 1.6; margin: 6px 0 0; white-space: pre-wrap; }
.author-admin-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); }
.author-admin-grid article { align-items: start; border-bottom: 1px solid #e6e9e8; border-right: 1px solid #e6e9e8; display: grid; gap: 14px; grid-template-columns: 60px 1fr; min-height: 142px; padding: 22px; }
.admin-author-avatar { align-items: center; color: white; display: flex; font-family: Georgia, serif; font-size: 18px; height: 60px; justify-content: center; width: 60px; }
.admin-author-copy > span { color: var(--gold-dark); font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.admin-author-copy h2 { font-family: Arial, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: 0; margin: 5px 0 3px; }.admin-author-copy p { color: #7f8c93; font-size: 8px; }
.admin-author-copy > div { align-items: center; border-top: 1px solid #e7e9e8; display: flex; justify-content: space-between; padding-top: 10px; }
.admin-author-copy small { align-items: center; color: #78868d; display: flex; font-size: 7px; gap: 5px; }.admin-author-copy small svg { height: 10px; width: 10px; }.admin-author-copy button { background: transparent; border: 0; color: #829097; }.admin-author-copy button svg { height: 13px; width: 13px; }
.modal-backdrop { align-items: center; display: flex; justify-content: center; padding: 25px; }
.admin-modal { background: white; box-shadow: 0 20px 70px rgba(8,25,39,.3); max-height: calc(100vh - 40px); max-width: 520px; overflow-y: auto; padding: 35px; position: relative; width: 100%; }
.admin-modal h2 { font-size: 33px; margin: 8px 0; }.admin-modal > p { color: #7c888f; font-family: Georgia, serif; font-size: 11px; margin-bottom: 23px; }
.admin-modal > .admin-primary-action { width: 100%; }
.customer-metrics { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin-bottom: 17px; }
.customer-metrics > div { align-items: center; background: white; border: 1px solid #e0e4e4; display: flex; gap: 13px; min-height: 68px; padding: 14px 18px; }
.customer-metrics > div > svg { background: #e5eef3; box-sizing: content-box; color: var(--navy); height: 18px; padding: 10px; width: 18px; }
.customer-metrics span { color: #849097; display: flex; flex-direction: column; font-size: 8px; }.customer-metrics strong { color: var(--ink); font-family: Georgia, serif; font-size: 19px; }
.email-cell { align-items: center; display: flex; gap: 5px; }.email-cell svg, .last-active svg { height: 11px; width: 11px; }

/* Content and users */
.content-manager { align-items: start; display: grid; gap: 18px; grid-template-columns: 330px 1fr; }
.content-nav { background: white; border: 1px solid #e0e4e4; padding: 13px; }
.content-nav h2 { color: #879299; font-family: Arial, sans-serif; font-size: 7px; font-weight: 900; letter-spacing: .12em; margin: 13px 10px 8px; text-transform: uppercase; }
.content-nav button { align-items: center; background: transparent; border: 0; border-bottom: 1px solid #eef0ef; cursor: pointer; display: grid; gap: 9px; grid-template-columns: 25px 1fr auto 12px; min-height: 65px; padding: 8px 9px; text-align: left; width: 100%; }
.content-nav button.active { background: #eef2f3; box-shadow: inset 3px 0 0 var(--gold); }
.content-nav button > svg:first-child { color: #687984; height: 16px; width: 16px; }.content-nav button > svg:last-child { color: #9ba4a9; height: 12px; width: 12px; }
.content-nav button > span { display: flex; flex-direction: column; }.content-nav button strong { font-size: 9px; }.content-nav button small { color: #8b969c; font-size: 7px; line-height: 1.4; margin-top: 3px; }
.content-nav button > i { background: #e6f2eb; border-radius: 12px; color: var(--success); font-size: 6px; font-style: normal; font-weight: 800; padding: 4px 6px; }
.content-editor { padding: 25px; }
.content-editor-head { align-items: center; border-bottom: 1px solid #e3e6e5; display: flex; justify-content: space-between; margin-bottom: 25px; padding-bottom: 18px; }
.content-editor-head h2 { font-family: Arial, sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin: 5px 0 0; }
.content-editor textarea { font-family: Georgia, serif; font-size: 15px; line-height: 1.4; }
.content-editor .switch-row input { height: 16px; padding: 0; width: 28px; }
.content-placeholder { align-items: center; background: #f5f6f5; border: 1px dashed #cdd2d1; display: flex; flex-direction: column; min-height: 330px; justify-content: center; padding: 30px; text-align: center; }
.content-placeholder > svg { color: var(--gold-dark); height: 30px; width: 30px; }.content-placeholder h3 { font-family: Georgia, serif; font-size: 23px; margin: 14px 0 7px; }.content-placeholder p { color: #7d898f; font-size: 10px; line-height: 1.6; max-width: 420px; }
.content-publish-bar { align-items: center; border-top: 1px solid #e2e5e4; display: flex; justify-content: space-between; margin-top: 28px; padding-top: 18px; }
.content-publish-bar > span { align-items: center; color: #849097; display: flex; font-size: 8px; gap: 7px; }.live-dot { background: var(--success); border-radius: 50%; height: 6px; width: 6px; }
.users-panel { overflow: hidden; }
.permissions-note { align-items: center; background: #eef3f5; border-bottom: 1px solid #dae1e3; display: flex; gap: 15px; padding: 18px 22px; }
.permissions-note > svg { color: var(--navy); height: 25px; width: 25px; }.permissions-note h2 { font-family: Arial, sans-serif; font-size: 11px; font-weight: 800; margin: 0 0 4px; }.permissions-note p { color: #728087; font-size: 8px; line-height: 1.5; margin: 0; }
.role-badge { background: #e7edf2; border-radius: 20px; color: var(--navy); font-size: 7px; font-weight: 800; padding: 5px 8px; }.last-active { align-items: center; display: flex; gap: 5px; }
.role-explainer { align-items: center; background: #eef3f5; display: flex; gap: 11px; margin: 5px 0 20px; padding: 13px; }.role-explainer svg { color: var(--navy); flex: none; height: 18px; width: 18px; }.role-explainer span { color: #748189; display: flex; flex-direction: column; font-size: 8px; }.role-explainer strong { color: var(--ink); font-size: 9px; margin-bottom: 2px; }

@media (max-width: 1180px) {
  .admin-sidebar { width: 210px; }
  .admin-main { margin-left: 210px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .author-admin-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .login-page { grid-template-columns: 1fr; }
  .login-brand-panel { display: none; }
  .login-form-panel { min-height: 100vh; }
  .admin-sidebar { transform: translateX(-100%); transition: transform .25s; width: 245px; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-logo button { background: transparent; border: 0; color: #9fb2bf; display: block; margin-left: auto; }
  .admin-logo button svg { height: 18px; width: 18px; }
  .admin-overlay { background: rgba(5,20,33,.4); border: 0; bottom: 0; left: 0; position: fixed; right: 0; top: 0; z-index: 65; }
  .admin-main { margin-left: 0; }
  .admin-menu { display: block; }
  .admin-menu svg { height: 19px; width: 19px; }
  .dashboard-grid, .dashboard-lower { grid-template-columns: 1fr; }
  .book-admin-form { grid-template-columns: 1fr; }
  .book-form-side { grid-template-columns: repeat(2, 1fr); }
  .content-manager { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .admin-content { padding: 25px 15px 45px; }
  .admin-topbar { padding: 0 15px; }
  .admin-topbar > label { display: none; }
  .admin-topbar > div > a { display: none; }
  .admin-page-header { align-items: start; flex-direction: column; gap: 16px; }
  .metric-grid { grid-template-columns: 1fr; }
  .collection-toolbar { align-items: stretch; flex-direction: column; padding: 14px; }
  .collection-toolbar > label { min-width: 0; }
  .segmented { margin-left: 0; overflow-x: auto; }
  .order-summary-cards, .pipeline-row { grid-template-columns: repeat(2, 1fr); }
  .book-form-side, .form-row.thirds { grid-template-columns: 1fr; }
  .author-admin-grid { grid-template-columns: 1fr; }
  .customer-metrics { grid-template-columns: 1fr; }
  .content-publish-bar { align-items: start; flex-direction: column; gap: 13px; }
  .footer-main { grid-template-columns: 1fr; }
}

/* Customer authentication and account */
.customer-auth-page { background: #eef0eb; min-height: 760px; padding: 70px 0 90px; }
.customer-auth-layout { align-items: stretch; display: grid; grid-template-columns: .9fr 1.1fr; max-width: 1080px; padding: 0; }
.customer-auth-intro { background: var(--navy); color: white; overflow: hidden; padding: 72px 58px; position: relative; }
.customer-auth-intro:after { border: 1px solid rgba(255,255,255,.08); border-radius: 50%; bottom: -220px; content: ""; height: 470px; position: absolute; right: -210px; width: 470px; }
.customer-auth-intro h2 { font-size: 48px; line-height: 1.04; margin: 22px 0 24px; max-width: 440px; }
.customer-auth-intro > p { color: #c4d2dc; font-family: Georgia, serif; font-size: 16px; line-height: 1.7; max-width: 430px; }
.customer-auth-intro ul { border-top: 1px solid rgba(255,255,255,.15); list-style: none; margin: 42px 0 0; padding: 20px 0 0; position: relative; z-index: 2; }
.customer-auth-intro li { align-items: center; color: #d9e2e8; display: flex; font-size: 12px; gap: 14px; padding: 10px 0; }
.customer-auth-intro li span { color: var(--gold); font-family: Georgia, serif; font-size: 13px; }
.customer-auth-card { background: white; box-shadow: var(--shadow); padding: 45px 55px 50px; }
.customer-auth-tabs { border-bottom: 1px solid var(--line); display: flex; margin: -10px 0 35px; }
.customer-auth-tabs button { background: transparent; border: 0; color: #7a858d; cursor: pointer; font-size: 11px; font-weight: 800; padding: 14px 17px; position: relative; text-transform: uppercase; }
.customer-auth-tabs button:after { background: var(--gold); bottom: -1px; content: ""; height: 2px; left: 0; position: absolute; transform: scaleX(0); width: 100%; }
.customer-auth-tabs button.active { color: var(--navy); }
.customer-auth-tabs button.active:after { transform: scaleX(1); }
.customer-auth-heading h1 { font-size: 41px; line-height: 1.04; margin: 13px 0 12px; }
.customer-auth-heading p { color: var(--muted); font-family: Georgia, serif; font-size: 14px; line-height: 1.6; margin-bottom: 28px; }
.customer-auth-form, .customer-settings-form, .customer-address-modal { display: flex; flex-direction: column; }
.customer-auth-form > label, .customer-settings-form > label, .customer-form-row > label, .customer-address-modal > label { color: #45535e; display: flex; flex-direction: column; font-size: 9px; font-weight: 800; gap: 8px; letter-spacing: .05em; margin-bottom: 17px; text-transform: uppercase; }
.customer-auth-form > label > small, .customer-address-modal > label > small { color: #8b969c; float: right; font-weight: 600; }
.customer-auth-form label > span { align-items: center; background: #fafbfa; border: 1px solid #d8dddb; display: flex; height: 50px; }
.customer-auth-form label > span:focus-within { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(238,167,44,.1); }
.customer-auth-form label > span svg { color: #859097; flex: none; height: 17px; margin-left: 13px; width: 17px; }
.customer-auth-form input { background: transparent; border: 0; height: 100%; min-width: 0; outline: 0; padding: 0 12px; width: 100%; }
.customer-auth-form label > span button { background: transparent; border: 0; cursor: pointer; margin: 0 12px 0 0; padding: 0; }
.customer-auth-form label > span button svg { margin: 0; }
.customer-form-row { display: grid; gap: 15px; grid-template-columns: 1fr 1fr; }
.password-hint { color: var(--muted) !important; font-size: 9px; letter-spacing: 0; margin-top: -2px; text-transform: none; }
.customer-auth-form .customer-remember, .customer-default-check { align-items: center; color: #66737b; flex-direction: row; font-size: 10px; font-weight: 600; gap: 8px; letter-spacing: 0; margin: 2px 0 18px; text-transform: none; }
.customer-auth-form .customer-remember input, .customer-default-check input { height: auto; width: auto; }
.customer-login-options { align-items: center; display: flex; justify-content: space-between; margin: 2px 0 18px; }
.customer-login-options .customer-remember { margin: 0; }
.customer-login-options > a { color: var(--navy); font-size: 10px; font-weight: 800; text-decoration: none; }
.customer-login-options > a:hover { color: var(--gold-dark); text-decoration: underline; }
.customer-auth-submit { width: 100%; }
.customer-auth-switch { color: var(--muted); font-size: 11px; margin: 22px 0 0; text-align: center; }
.customer-auth-switch button { background: transparent; border: 0; color: var(--navy); cursor: pointer; font-weight: 800; padding: 0 2px; }
.customer-auth-switch a { align-items: center; color: var(--navy); display: inline-flex; font-weight: 800; gap: 5px; text-decoration: none; }
.customer-auth-switch a svg { height: 13px; width: 13px; }
.customer-form-message { border-left: 3px solid; font-size: 11px; line-height: 1.5; margin-bottom: 17px; padding: 11px 13px; }
.customer-form-message.error { background: #fff0ee; border-color: var(--danger); color: var(--danger); }
.customer-form-message.success { background: #edf7f1; border-color: var(--success); color: #256344; }

.customer-account-page { background: #f1f3f1; min-height: 700px; padding-bottom: 100px; }
.customer-account-hero { background: var(--navy); color: white; padding: 55px 0 125px; }
.customer-account-hero h1 { font-size: 48px; margin: 13px 0 10px; }
.customer-account-hero p { color: #bfd0da; font-family: Georgia, serif; margin: 0; }
.customer-account-grid { align-items: start; display: grid; gap: 24px; grid-template-columns: 250px 1fr; margin-top: -78px; }
.customer-account-sidebar, .customer-account-content { background: white; border: 1px solid #e0e4e2; }
.customer-account-sidebar { position: sticky; top: 18px; }
.customer-account-person { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 13px; padding: 22px 20px; }
.customer-account-person > span { align-items: center; background: var(--navy); border-radius: 50%; color: white; display: flex; font-family: Georgia, serif; height: 43px; justify-content: center; text-transform: uppercase; width: 43px; }
.customer-account-person div { display: flex; flex-direction: column; min-width: 0; }
.customer-account-person strong { font-size: 12px; }
.customer-account-person small { color: var(--muted); font-size: 9px; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-account-sidebar nav { display: flex; flex-direction: column; padding: 12px; }
.customer-account-sidebar nav button { align-items: center; background: transparent; border: 0; border-radius: 3px; color: #5c6972; cursor: pointer; display: flex; font-size: 11px; font-weight: 700; gap: 11px; min-height: 45px; padding: 0 11px; text-align: left; }
.customer-account-sidebar nav button > svg:first-child { height: 16px; width: 16px; }
.customer-account-sidebar nav button > svg:last-child { height: 14px; margin-left: auto; width: 14px; }
.customer-account-sidebar nav button:hover, .customer-account-sidebar nav button.active { background: #eef2f2; color: var(--navy); }
.customer-account-sidebar nav button.active { box-shadow: inset 3px 0 var(--gold); }
.customer-logout { align-items: center; background: transparent; border: 0; border-top: 1px solid var(--line); color: var(--danger); cursor: pointer; display: flex; font-size: 10px; font-weight: 800; gap: 9px; padding: 17px 23px; width: 100%; }
.customer-logout svg { height: 15px; width: 15px; }
.customer-account-content { min-height: 540px; padding: 34px; }
.customer-section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 26px; }
.customer-section-heading h2 { font-size: 34px; margin: 8px 0 4px; }
.customer-section-heading p { color: var(--muted); font-size: 11px; margin: 0; }
.customer-section-heading.row { gap: 20px; }
.customer-overview-cards { display: grid; gap: 13px; grid-template-columns: repeat(3, 1fr); }
.customer-overview-cards > * { align-items: center; background: #f7f8f6; border: 1px solid #e2e5e3; cursor: pointer; display: flex; gap: 12px; min-height: 94px; padding: 18px; text-align: left; }
.customer-overview-cards > div { cursor: default; }
.customer-overview-cards > * > svg:first-child { color: var(--gold-dark); height: 23px; width: 23px; }
.customer-overview-cards > * > svg:last-child { color: #8e989e; height: 15px; margin-left: auto; width: 15px; }
.customer-overview-cards span { display: flex; flex-direction: column; gap: 4px; }
.customer-overview-cards small { color: var(--muted); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.customer-overview-cards strong { font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.customer-overview-grid { display: grid; gap: 18px; grid-template-columns: 1.25fr .75fr; margin-top: 18px; }
.customer-panel { background: white; border: 1px solid #e1e5e3; padding: 22px; }
.customer-panel-title { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin-bottom: 4px; padding-bottom: 15px; }
.customer-panel-title > div { display: flex; flex-direction: column; }
.customer-panel-title span { color: var(--gold-dark); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.customer-panel-title h3 { font-family: Georgia, serif; font-size: 21px; font-weight: 500; margin: 5px 0 0; }
.customer-panel-title button { background: transparent; border: 0; color: var(--navy); cursor: pointer; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.customer-panel-title > svg { color: var(--gold-dark); height: 22px; width: 22px; }
.customer-recent-order { align-items: center; border-bottom: 1px solid #edf0ee; display: grid; gap: 10px; grid-template-columns: 1fr auto auto; padding: 15px 0; }
.customer-recent-order > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.customer-recent-order strong { font-size: 10px; }
.customer-recent-order small { color: var(--muted); font-size: 8px; }
.customer-panel address, .customer-address-card address { color: #66737b; display: flex; flex-direction: column; font-size: 11px; font-style: normal; gap: 6px; line-height: 1.45; padding-top: 17px; }
.customer-panel address strong { color: var(--ink); font-family: Georgia, serif; font-size: 16px; margin-bottom: 4px; }
.customer-empty { align-items: center; color: var(--muted); display: flex; gap: 11px; min-height: 100px; }
.customer-empty svg { color: var(--gold-dark); flex: none; height: 25px; width: 25px; }
.customer-empty p { font-size: 11px; line-height: 1.55; margin: 0; }
.customer-empty.large { align-items: center; flex-direction: column; grid-column: 1 / -1; justify-content: center; min-height: 300px; text-align: center; }
.customer-empty.large h3 { font-family: Georgia, serif; font-size: 25px; margin: 4px 0 0; }

.customer-orders-list { display: flex; flex-direction: column; gap: 10px; }
.customer-order-card { border: 1px solid #dee3e1; }
.customer-order-summary { align-items: center; background: white; border: 0; cursor: pointer; display: grid; gap: 15px; grid-template-columns: 1.1fr 1fr .8fr auto 20px; padding: 17px 20px; text-align: left; width: 100%; }
.customer-order-summary > span:not(.status-badge) { display: flex; flex-direction: column; gap: 4px; }
.customer-order-summary small, .customer-order-facts small { color: #8a949a; font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.customer-order-summary strong { font-size: 10px; }
.customer-order-summary > svg { height: 16px; transition: transform .2s; width: 16px; }
.customer-order-card.open .customer-order-summary > svg { transform: rotate(90deg); }
.customer-order-detail { background: #f7f9f8; border-top: 1px solid #e1e5e3; padding: 19px 20px 22px; }
.customer-order-facts { display: grid; gap: 1px; grid-template-columns: repeat(4, 1fr); }
.customer-order-facts div { background: white; display: flex; flex-direction: column; gap: 6px; padding: 12px; }
.customer-order-facts strong { font-size: 10px; }
.customer-tracking { align-items: center; background: #edf6f1; color: var(--success); display: flex; gap: 11px; margin-top: 12px; padding: 12px; }
.customer-tracking svg { height: 20px; width: 20px; }
.customer-tracking span { display: flex; flex-direction: column; font-size: 10px; gap: 3px; }
.customer-line-items { margin-top: 12px; }
.customer-line-items > div { align-items: center; border-bottom: 1px solid #e0e4e2; display: flex; justify-content: space-between; padding: 11px 2px; }
.customer-line-items span { display: flex; flex-direction: column; gap: 4px; }
.customer-line-items strong { font-size: 10px; }
.customer-line-items small, .customer-line-items p { color: var(--muted); font-size: 8px; }

.customer-address-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.customer-address-card { border: 1px solid #dfe3e1; min-height: 235px; padding: 22px; position: relative; }
.customer-address-card > svg { color: var(--gold-dark); height: 23px; width: 23px; }
.customer-address-card h3 { font-family: Georgia, serif; font-size: 22px; font-weight: 500; margin: 14px 0 0; }
.customer-address-card address { min-height: 96px; padding-top: 9px; }
.customer-address-card > div { border-top: 1px solid var(--line); display: flex; gap: 18px; padding-top: 13px; }
.customer-address-card > div button { align-items: center; background: transparent; border: 0; color: var(--navy); cursor: pointer; display: flex; font-size: 9px; font-weight: 800; gap: 5px; padding: 0; }
.customer-address-card > div button:last-child { color: var(--danger); }
.customer-address-card > div svg { height: 13px; width: 13px; }
.customer-default-badge { align-items: center; background: #edf6f1; color: var(--success); display: flex; font-size: 8px; font-weight: 900; gap: 4px; letter-spacing: .08em; padding: 7px 9px; position: absolute; right: 15px; text-transform: uppercase; top: 15px; }
.customer-default-badge svg { height: 11px; width: 11px; }
.customer-settings-grid { align-items: start; display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.customer-settings-form > label, .customer-address-modal > label { margin-top: 14px; }
.customer-settings-form input, .customer-address-modal input { background: #fafbfa; border: 1px solid #d8dddb; height: 43px; outline: 0; padding: 0 11px; width: 100%; }
.customer-settings-form input:focus, .customer-address-modal input:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 2px rgba(238,167,44,.1); }
.customer-settings-form input:disabled { color: #8b959b; }
.customer-settings-form label small { color: var(--muted); font-size: 8px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.customer-settings-form .button { align-self: start; margin-top: 5px; min-height: 43px; }

.customer-modal-backdrop { align-items: center; background: rgba(6,24,39,.72); display: flex; inset: 0; justify-content: center; padding: 25px; position: fixed; z-index: 120; }
.customer-address-modal { background: white; box-shadow: 0 30px 80px rgba(0,0,0,.25); max-height: calc(100vh - 50px); max-width: 570px; overflow-y: auto; padding: 35px 38px; position: relative; width: 100%; }
.customer-address-modal h2 { font-size: 32px; margin: 10px 0 14px; }
.customer-address-modal .button { width: 100%; }
.customer-modal-close { align-items: center; background: #eef1ef; border: 0; border-radius: 50%; cursor: pointer; display: flex; height: 33px; justify-content: center; position: absolute; right: 20px; top: 20px; width: 33px; }
.customer-modal-close svg { height: 16px; width: 16px; }

@media (max-width: 980px) {
  .customer-auth-layout { grid-template-columns: 1fr; max-width: 680px; }
  .customer-auth-intro { padding: 50px; }
  .customer-auth-intro h2 { font-size: 40px; }
  .customer-account-grid { grid-template-columns: 1fr; }
  .customer-account-sidebar { position: static; }
  .customer-account-sidebar nav { display: grid; grid-template-columns: repeat(4, 1fr); }
  .customer-account-sidebar nav button { justify-content: center; }
  .customer-account-sidebar nav button > svg:last-child { display: none; }
  .customer-logout { justify-content: center; }
}

@media (max-width: 720px) {
  .customer-auth-page { padding: 30px 0 50px; }
  .customer-auth-layout { width: min(100% - 28px, 680px); }
  .customer-auth-intro { padding: 40px 28px; }
  .customer-auth-intro h2 { font-size: 35px; }
  .customer-auth-card { padding: 38px 25px; }
  .customer-auth-heading h1 { font-size: 34px; }
  .customer-form-row, .customer-overview-cards, .customer-overview-grid, .customer-address-grid, .customer-settings-grid { grid-template-columns: 1fr; }
  .customer-account-hero { padding: 44px 0 100px; }
  .customer-account-hero h1 { font-size: 39px; }
  .customer-account-grid { margin-top: -60px; width: min(100% - 28px, 1180px); }
  .customer-account-sidebar nav { grid-template-columns: repeat(2, 1fr); }
  .customer-account-content { padding: 24px 18px; }
  .customer-section-heading.row { align-items: start; flex-direction: column; }
  .customer-overview-cards { gap: 8px; }
  .customer-order-summary { grid-template-columns: 1fr 1fr auto; }
  .customer-order-summary > span:nth-child(2), .customer-order-summary > span:nth-child(4) { display: none; }
  .customer-order-facts { grid-template-columns: repeat(2, 1fr); }
  .customer-address-modal { padding: 32px 22px; }
}
