.copy-ca {
  box-sizing: border-box;
  width: 100%;
  max-width: 680px;
  padding: 20px;
  background: #f1f1f1;
  color: #262626;
  font: 16px/1.45 Arial, sans-serif;
}
.copy-ca-native-hidden { display: none !important; }
.copy-ca-active #ConfigurationSelect,
.copy-ca-active > .variants-tooltip { display: none !important; }
.copy-ca[hidden] { display: none !important; }
.copy-ca *, .copy-ca *::before, .copy-ca *::after { box-sizing: border-box; }
.copy-ca-head {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 14px;
}
.copy-ca-index {
  display: inline-grid;
  place-items: center;
  flex: none;
  min-width: 46px;
  min-height: 38px;
  padding: 0 6px;
  border-radius: 4px;
  color: #fff;
  background: #c21a63;
  font-weight: 700;
}
.copy-ca-title { margin: 0; font-size: 18px; line-height: 1.25; }
.copy-ca-content { padding: 12px 0; }
.copy-ca-section { padding: 16px 0; border-top: 1px solid #d8d8d8; }
.copy-ca-section[hidden] { display: none !important; }
.copy-ca-section[data-animating] > :not(:first-child) { visibility: hidden; pointer-events: none; }
#copy-covers-ahead #options_cancel { display: none !important; }
.copy-ca-help { margin: 12px 0; }
.copy-ca-help summary { color: #b71960; cursor: pointer; font-weight: 700; }
.copy-ca-incomplete .copy-ca-check { display: none; }
.copy-ca-copy { margin: 14px 0; }
#copy-covers-ahead .SelectAttributeVariant[aria-pressed="true"] img { outline: 2px solid #c52167; outline-offset: 2px; }
.copy-ca-choices { display: flex; gap: 8px; margin: 12px 0; }
#copy-covers-ahead .copy-ca-editor-button { display:flex;flex-direction:row;align-items:center;gap:12px;box-sizing:border-box;width:100%;min-width:0;min-height:74px;margin:14px 0 0;padding:12px;border:1px solid #d6d6d6!important;border-radius:6px;background:#fff;color:#242424;text-align:left;cursor:pointer;box-shadow:none;opacity:1; }
#copy-covers-ahead .copy-ca-editor-button:hover { border-color:#c52167!important;background:#fff7fa; }
.copy-ca .thesis-upload-icon { flex:0 0 36px;width:36px;color:#c52167;font-size:25px;text-align:center; }
.copy-ca .thesis-upload-copy { display:flex;flex-direction:column;min-width:0;line-height:1.3; }
.copy-ca .thesis-upload-copy strong { font-size:15px;font-weight:700;color:#242424; }
.copy-ca .thesis-upload-copy small { margin-top:3px;font-size:12px;color:#666; }
.copy-ca .copy-ca-editor-button:focus-visible { outline:2px solid #c52167;outline-offset:3px; }
.copy-ca .copy-ca-editor-button:disabled { opacity:.6;cursor:wait; }
.copy-ca-choice {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  padding: 10px;
  border: 1px solid #d3d6d8;
  border-radius: 4px;
  background: #fff;
  color: #252525;
  font: inherit;
  cursor: pointer;
}
.copy-ca-choice.is-selected { border-color: #bf1b61; box-shadow: inset 0 0 0 1px #bf1b61; }
.copy-ca-choice:focus-visible, .copy-ca-edit:focus-visible { outline: 3px solid #1b78ba; outline-offset: 2px; }
.copy-ca-choice:disabled { opacity: .65; cursor: wait; }
.copy-ca-label { display: grid; gap: 6px; margin: 12px 0; font-weight: 700; }
.copy-ca-input {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #9da5a9;
  border-radius: 4px;
  background: #fff;
  color: #222;
  font: inherit;
}
#copy-covers-ahead select.copy-ca-input{appearance:none!important;-webkit-appearance:none!important;border:1px solid #86939b!important;padding-right:38px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%23262626' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center/20px!important;cursor:pointer}
.copy-ca-calculator .copy-ca-choice{width:100%}
.copy-ca-range-warning{padding:10px 12px;border-left:3px solid #b71960;background:#fff;color:#333}
.copy-ca-row { display: flex; align-items: start; gap: 8px; padding: 9px 0; border-bottom: 1px solid #ddd; }
.copy-ca-check { color: #16814b; font-weight: 700; }
.copy-ca-row-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.copy-ca-edit { border: 0; background: none; color: #aa1858; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.copy-ca-error { color: #b01640; font-weight: 700; }
.copy-ca-busy, .copy-ca-note { color: #5c6266; }
.copy-ca-footer { display: flex; gap: 8px; margin-top: 8px; }
.copy-ca-footer .copy-ca-choice { flex: 0 1 auto; min-width: 130px; }
.copy-ca-footer .copy-ca-choice:last-child { color: #fff; background: #c21a63; border-color: #c21a63; font-weight: 700; }
@media (max-width: 460px) {
  .copy-ca { padding: 16px; }
  .copy-ca-choices { flex-direction: column; }
  .copy-ca-row { flex-wrap: wrap; }
  .copy-ca-edit { margin-left: 24px; }
}
.copy-ca-editor-dialog {
  width: min(96vw, 1280px);
  height: min(94dvh, 900px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid #d0d4d7;
  border-radius: 4px;
  color: #24292c;
}
.copy-ca-editor-dialog::backdrop { background: rgb(0 0 0 / 65%); }
.copy-ca-editor-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 16px; }
.copy-ca-editor-close { padding: 7px 12px; border: 1px solid #d0d4d7; border-radius: 4px; background: #fff; color: #222; cursor: pointer; }
.copy-ca-editor-close:disabled { opacity: .5; cursor: wait; }
.copy-ca-editor-status { min-height: 24px; margin: 0; padding: 0 16px; }
#copy-covers-ahead { font:inherit;font-size:13px;line-height:1.45;background:#f1f1f1; }
#copy-covers-ahead [hidden] { display:none!important; }
#copy-covers-ahead .copy-ca-section { margin:12px 0 0;padding:0;border:0; }
#copy-covers-ahead .copy-ca-section.is-confirmed { margin:6px 0 0; }
#copy-covers-ahead .copy-ca-copy { margin:12px 0 6px; }
#copy-covers-ahead .copy-ca-disclaimer { font-size:12px;color:#666; }
#copy-covers-ahead .copy-ca-counting { margin:8px 0 12px;padding-left:10px;border-left:3px solid #c52167; }
#copy-covers-ahead .copy-ca-counting p { margin:7px 0; }
#copy-covers-ahead .copy-ca-choices { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:6px 0 0; }
#copy-covers-ahead .copy-ca-choice { width:100%;min-height:42px;padding:7px 9px;border:1px solid #d1d1d1;border-radius:5px;background:#fff;color:#2a2a2a;font:inherit;line-height:1.25;text-align:center;white-space:normal;cursor:pointer; }
#copy-covers-ahead .copy-ca-choice:hover { border-color:#c52167;background:#fff7fa; }
#copy-covers-ahead .copy-ca-choice[aria-pressed="true"] { border-color:#c52167;background:#fff0f5;color:#9f1c51;font-weight:700; }
#copy-covers-ahead .copy-ca-choice-price { display:block;margin-top:3px;color:#a51953;font-size:11px;font-weight:600;line-height:1.25; }
#copy-covers-ahead .copy-ca-row { display:grid;grid-template-columns:19px minmax(0,1fr) 174px;align-items:start;gap:2px 9px;margin:0;padding:0;border:0;font-size:13px;line-height:1.45; }
#copy-covers-ahead .copy-ca-check { display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#e7f5ec;color:#287c4b;font-size:12px; }
#copy-covers-ahead .copy-ca-edit { width:174px;margin:0;padding:0;border:0;background:none;color:#2f3439;font:inherit;font-weight:400;text-align:right;text-decoration:none;text-underline-offset:2px;cursor:default; }
#copy-covers-ahead .copy-ca-edit:disabled { opacity:1; }
#copy-covers-ahead .copy-ca-edit { display:grid;justify-items:end; }
#copy-covers-ahead .copy-ca-edit-label { display:inline-grid;max-width:100%;text-align:left; }
#copy-covers-ahead .copy-ca-edit-label::before { content:attr(data-caption);visibility:hidden;grid-area:1/1;padding-right:4px; }
#copy-covers-ahead .copy-ca-edit-text { grid-area:1/1;min-width:0; }
#copy-covers-ahead .copy-ca-edit.is-link-ready { font-weight:700;text-decoration:underline; }
#copy-covers-ahead .copy-ca-edit.is-link-colored { color:#a51953;cursor:pointer; }
#copy-covers-ahead [data-typing="true"]::after { content:"";display:inline-block;width:1px;height:1em;margin-left:3px;background:#c52167;vertical-align:-2px;animation:copy-ca-caret .8s steps(1) infinite; }
@keyframes copy-ca-caret { 50% { opacity:0; } }
@media(max-width:520px) {
  body:has(#copy-covers-ahead) .ScrollToTop { display:none!important; }
  #copy-covers-ahead .copy-ca-row { grid-template-columns:19px minmax(0,1fr); }
  #copy-covers-ahead .copy-ca-edit { grid-column:2;width:auto;text-align:left;justify-items:start; }
}
@media(prefers-reduced-motion:reduce) { #copy-covers-ahead [data-typing="true"]::after { animation:none; } }
.copy-ca-editor-frame { display: block; width: 100%; height: calc(100% - 80px); border: 0; }
.copy-ca-active .AddToCartButton[hidden] { display:none!important; }
.copy-ca-calculator .copy-ca-sides { margin:12px 0; }
.copy-ca-preview-active .pd-pics-in > :not(.copy-ca-product-preview) { display:none!important; }
.copy-ca-product-preview { width:min(100%,500px);margin:0 auto 24px;padding:10px 24px 20px; }
.copy-ca-preview-book { position:relative;width:70.7%;margin:0 auto;box-shadow:0 5px 12px #0002; }
.copy-ca-preview-book::after { content:'';position:absolute;inset:0 auto 0 0;width:4%;background:linear-gradient(90deg,#0002,transparent 35%,#0002 65%,transparent);pointer-events:none; }
.copy-ca-preview-book > img { display:block;width:100%;height:auto; }
.copy-ca-preview-spine { display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;gap:8px;width:100%;margin:18px 0 0;padding:0 5.05%;line-height:1.2;box-shadow:0 3px 7px #0002; }
.copy-ca-preview-spine > span { min-width:0;overflow:hidden;white-space:nowrap; }
.copy-ca-preview-spine > span:nth-child(2) { text-align:center; }
.copy-ca-preview-spine > span:last-child { text-align:right; }
@media (max-width: 680px) {
  .copy-ca-editor-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; }
  .copy-ca-editor-frame { height: calc(100% - 80px); }
}
.copy-ca-pages-input{max-width:230px;min-height:54px!important;border:2px solid #75828b!important;background:#fff!important;font-size:22px!important;font-weight:700;text-align:center;border-radius:4px!important}
.copy-ca-pages-input::placeholder{font-size:17px;font-weight:400;color:#69747c;opacity:1}
.copy-ca-label select.copy-ca-input{appearance:auto!important;background:#fff!important;border:2px solid #75828b!important;min-height:48px;cursor:pointer;padding-right:30px}
.copy-ca-editor-status.is-saving{display:flex;align-items:center;gap:12px;color:#24282b;background:#fff4f8;padding:18px;margin:0}
.copy-ca-editor-status.is-saving:before{content:'';flex:none;width:24px;height:24px;border:3px solid #e9bfd0;border-top-color:#a61954;border-radius:50%;animation:copy-ca-saving-spin .8s linear infinite}
@keyframes copy-ca-saving-spin{to{transform:rotate(360deg)}}
.copy-ca-active:has(#copy-reprint) #snippet--pricesAjax{display:none!important}
.copy-ca-choice[data-action="sheet-method"] small,.copy-ca-choice[data-action="estimate"] small{color:#55616a;font-weight:400}
