/* css/website-import.css
   "Bring your current website" (2026-10-27): entry card on the Website tab's
   Design step, the resume row, and the Taylor pop-up (chat left, live preview
   right). Coral header band like the other Ascent pop-ups; coral only, teal
   just for "done" checks. */

/* entry card (Design step) */
.wi-entry { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; border: 1px solid var(--coral-200, #F9B8A6); background: var(--coral-50, #FDE7E2); border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; }
.wi-entry-ic { width: 40px; height: 40px; border-radius: 11px; background: #fff; color: var(--coral-500, #D85A30); display: grid; place-items: center; }
.wi-entry-ic .aw-ic { width: 20px; height: 20px; }
.wi-entry-t strong { display: block; font-size: 14px; color: #111114; }
.wi-entry-t span { display: block; font-size: 14px; color: #404048; margin-top: 2px; }
.wi-entry-f { display: flex; gap: 8px; align-items: center; }
.wi-entry-f input { font: inherit; font-size: 14px; border: 1px solid var(--border, #d8d8dc); border-radius: 9px; padding: 9px 12px; width: 230px; background: #fff; color: #111114; }
.wi-entry-f input:focus { outline: 2px solid var(--coral-300, #F38A6E); outline-offset: 1px; }

/* resume row (Review / Manage) */
.wi-resume { display: grid; grid-template-columns: auto minmax(0, 1fr) 120px auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--hair, #ececef); background: #fffaf8; }
.wi-resume-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--coral-500, #D85A30); color: #fff; display: grid; place-items: center; }
.wi-resume-ic .aw-ic { width: 16px; height: 16px; }
.wi-resume-t strong { display: block; font-size: 14px; color: #111114; }
.wi-resume-t span { display: block; font-size: 14px; color: #6d6d76; }
.wi-resume-bar { height: 8px; border-radius: 4px; background: #f0f0f3; overflow: hidden; }
.wi-resume-bar i { display: block; height: 100%; background: var(--coral-500, #D85A30); border-radius: 4px; }
.aw-card > .wi-resume:first-child { border-radius: 12px 12px 0 0; }

/* pop-up */
.wi-overlay { position: fixed; inset: 0; z-index: 1200; background: rgba(17, 17, 20, .45); display: flex; align-items: center; justify-content: center; padding: 20px; }
.wi-modal { background: #fff; border-radius: 16px; width: 100%; max-width: 1180px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 80px rgba(17, 17, 20, .3); font-family: inherit; color: #111114; }
.wi-head { display: flex; align-items: center; gap: 14px; background: var(--coral-200, #F9B8A6); border-bottom: 1px solid var(--coral-300, #F38A6E); padding: 14px 20px; }
.wi-head-ic { width: 40px; height: 40px; border-radius: 11px; background: #fff; display: grid; place-items: center; color: var(--coral-500, #D85A30); flex: none; }
.wi-head-ic .aw-ic { width: 20px; height: 20px; }
.wi-head h3 { margin: 0; font-size: 17px; }
.wi-head p { margin: 1px 0 0; font-size: 14px; color: var(--ink, #111114); }
.wi-grow { flex: 1; min-width: 0; }
.wi-x { width: 34px; height: 34px; border-radius: 9px; border: 0; background: #fff; font-size: 15px; cursor: pointer; flex: none; color: #111114; }
.wi-body { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); min-height: 0; flex: 1; }
.wi-chat { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--hair, #ececef); background: #fff; }
.wi-log { flex: 1; overflow-y: auto; padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 4px; min-height: 360px; max-height: calc(100vh - 230px); }
/* Classic chat (Mark, 2026-10-27): Taylor left in grey, the agent right in coral. */
.wi-msg { display: flex; align-items: flex-end; gap: 8px; }
.wi-msg.wi-turn, .wi-card.wi-turn, .wi-quick { margin-top: 10px; }
.wi-av, .wi-av-gap { width: 28px; height: 28px; flex: none; }
.wi-av { border-radius: 50%; background: var(--coral-500, #D85A30); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.wi-bub { max-width: 80%; background: #F1F1F4; color: #111114; border-radius: 4px 16px 16px 4px; padding: 9px 13px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; min-width: 0; }
.wi-msg.t.first .wi-bub { border-top-left-radius: 16px; }
.wi-msg.t.last .wi-bub { border-bottom-left-radius: 4px; }
.wi-msg.t.first.last .wi-bub { border-radius: 16px 16px 16px 4px; }
.wi-msg.me { justify-content: flex-end; }
.wi-msg.me .wi-bub { max-width: 78%; background: #B9461F; color: #fff; border-radius: 16px 16px 4px 16px; }
.wi-msg.me .wi-bub a { color: #fff; }
.wi-card { margin: 6px 0 0 36px; background: #fff; border: 1px solid #E4E4E9; border-radius: 12px; padding: 11px 14px; font-size: 14px; line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
.wi-card-t { font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5C5C66; margin-bottom: 4px; }
.wi-card ul { margin: 0; padding: 0; }
.wi-card.muted .wi-gap li { color: #404048; }
.wi-typing { display: flex; gap: 4px; align-items: center; padding: 12px 14px; }
.wi-typing i { width: 6px; height: 6px; border-radius: 50%; background: #8A8A94; animation: wi-dot 1.2s infinite ease-in-out; }
.wi-typing i:nth-child(2) { animation-delay: .15s; } .wi-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes wi-dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .wi-typing i { animation: none; } }
.wi-bub p { margin: 6px 0 0; }
.wi-bub ul, .wi-bub ol { margin: 8px 0 0; padding: 0; }
.wi-ol { padding-left: 18px !important; }
.wi-ol li { margin: 4px 0; }
.wi-ol small { display: block; color: #6d6d76; font-size: 13.5px; margin-top: 4px; }
.wi-prog, .wi-got, .wi-steps, .wi-before { list-style: none; }
.wi-prog li, .wi-got li, .wi-steps li, .wi-before li { display: flex; align-items: flex-start; gap: 8px; padding: 3px 0; font-size: 14px; }
.wi-prog .aw-ic, .wi-got .aw-ic, .wi-steps .aw-ic, .wi-before .aw-ic { width: 15px; height: 15px; color: var(--teal, #009580); flex: none; margin-top: 1px; }
.wi-prog li i, .wi-steps li i, .wi-before li i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #e2e2e6; flex: none; margin-top: 2px; }
.wi-prog li.run { color: var(--coral-500, #D85A30); font-weight: 700; }
.wi-prog li.run i { border-color: var(--coral-200, #F9B8A6); border-top-color: var(--coral-500, #D85A30); animation: wi-spin .9s linear infinite; }
.wi-prog li.wait, .wi-steps li:not(.done) { color: #6d6d76; }
@keyframes wi-spin { to { transform: rotate(360deg); } }
.wi-gap { list-style: disc; padding-left: 18px !important; }
.wi-gap li { font-size: 14px; margin: 3px 0; color: #404048; }
.wi-gap b { color: #111114; }
.wi-sw { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.wi-sw span { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: #404048; }
.wi-sw i { width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, .08); }
.wi-dns { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 8px; align-items: center; margin-top: 6px; background: #fff; border: 1px solid var(--hair, #ececef); border-radius: 8px; padding: 8px 10px; }
.wi-dns span { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6d6d76; }
.wi-dns code { font-size: 14px; overflow-wrap: anywhere; }
.wi-date { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.wi-date input { font: inherit; font-size: 14px; border: 1px solid var(--border, #d8d8dc); border-radius: 8px; padding: 6px 9px; }
.wi-quick { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding-left: 36px; }
.wi-quick button { font: inherit; font-size: 14px; font-weight: 700; border: 1px solid var(--coral-300, #F38A6E); color: #B9461F; background: #fff; border-radius: 999px; min-height: 36px; padding: 0 14px; cursor: pointer; }
.wi-quick button.p { background: #B9461F; border-color: #B9461F; color: #fff; }
.wi-quick button:hover { filter: brightness(.97); }
.wi-quick button:focus-visible, .wi-x:focus-visible { outline: 3px solid var(--coral-200, #F9B8A6); outline-offset: 2px; }
.wi-send { display: flex; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--hair, #ececef); background: #fff; }
.wi-send input { flex: 1; min-width: 0; font: inherit; font-size: 14px; border: 1.5px solid var(--coral-300, #F38A6E); border-radius: 999px; padding: 0 16px; min-height: 42px; box-shadow: 0 0 0 3px var(--coral-50, #FDE7E2); color: #111114; }
.wi-send .aw-btn { border-radius: 999px; min-height: 42px; }
.wi-send .aw-btn-primary { background: #B9461F; border-color: #B9461F; }
.wi-send input:focus { outline: none; border-color: var(--coral-500, #D85A30); }
.wi-preview { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; }
.wi-cap { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; }
.wi-cap small { font-weight: 500; color: #6d6d76; }
.wi-cap { align-items: center; }
.wi-cap small { margin-left: auto; }
.wi-full { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; }
.wi-full .aw-ic { width: 13px; height: 13px; }
.wi-frame { flex: 1; min-height: 420px; border: 1px solid var(--border, #d8d8dc); border-radius: 10px; overflow: hidden; background: #fff; }
.wi-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.wi-skel { flex: 1; min-height: 420px; border: 1px solid var(--border, #d8d8dc); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.wi-skel .b { border-radius: 6px; background: #eef0f3; }
.wi-skel.on .b { background: linear-gradient(90deg, #eceef1 0%, #f6f7f9 50%, #eceef1 100%); background-size: 200% 100%; animation: wi-shimmer 1.4s ease-in-out infinite; }
.wi-skel .nav { height: 26px; }
.wi-skel .hero { height: 170px; }
.wi-skel .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wi-skel .row .b { height: 70px; }
.wi-skel .l { height: 10px; width: 80%; }
.wi-skel .l.s { width: 55%; }
@keyframes wi-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.wi-note { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 14px; color: #404048; }
.wi-note .aw-ic { width: 14px; height: 14px; color: var(--teal, #009580); flex: none; }
.wi-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 20px; border-top: 1px solid var(--hair, #ececef); background: #fcfcfd; }
.wi-step { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #404048; }
.wi-step .aw-ic { width: 14px; height: 14px; color: var(--coral-500, #D85A30); }

@media (max-width: 900px) {
  .wi-body { grid-template-columns: 1fr; overflow-y: auto; }
  .wi-chat { border-right: 0; border-bottom: 1px solid var(--hair, #ececef); }
  .wi-log { max-height: none; min-height: 0; }
  .wi-entry { grid-template-columns: auto minmax(0, 1fr); }
  .wi-entry-f { grid-column: 1 / -1; }
  .wi-entry-f input { flex: 1; width: auto; min-width: 0; }
  .wi-resume { grid-template-columns: auto minmax(0, 1fr); }
  .wi-resume-bar { display: none; }
  .wi-resume .aw-btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 520px) { .wi-overlay { padding: 0; } .wi-modal { border-radius: 0; max-height: 100vh; height: 100%; } }
@media (prefers-reduced-motion: reduce) { .wi-prog li.run i, .wi-skel.on .b { animation: none; } }

/* own-design rebuild (2026-10-27) */
.wi-page { font: inherit; font-size: 14px; border: 1px solid var(--border, #d8d8dc); border-radius: 7px; padding: 4px 8px; max-width: 220px; background: #fff; color: #111114; }
.wi-prog li.fail { color: #b42318; }
.wi-prog li.fail i { border-color: #f3b4ac; }
.wd-panel { border: 1px solid var(--hair, #ececef); border-radius: 12px; padding: 14px 16px; margin-top: 14px; background: #fff; }
.wd-panel-h { display: flex; gap: 10px; align-items: center; }
.wd-panel-h .aw-ic { width: 18px; height: 18px; color: var(--coral-500, #D85A30); }
.wd-panel-h strong { display: block; font-size: 14px; }
.wd-panel-h span { display: block; font-size: 14px; color: #6d6d76; }
.wd-panel p { font-size: 14px; color: #404048; margin: 10px 0; }
.wd-tip { margin: 8px 0 12px !important; }
.wd-group { font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5C5C66; margin: 12px 0 4px; }
.wd-pages { list-style: none; margin: 0 0 4px; padding: 0; border: 1px solid var(--hair, #ececef); border-radius: 10px; overflow: hidden; }
.wd-pages li + li { border-top: 1px solid var(--hair, #ececef); }
.wd-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 40px; padding: 8px 12px; border: 0; background: #fff; font: inherit; text-align: left; cursor: pointer; color: #111114; }
.wd-row:hover { background: #fafafb; }
.wd-row:focus-visible { outline: 3px solid var(--coral-200, #F9B8A6); outline-offset: -3px; }
.wd-row.on { background: var(--coral-50, #FDE7E2); }
.wd-row.on .wd-row-t { color: #B9461F; }
.wd-row-t { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-row-p { flex: 0 1 auto; max-width: 45%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; color: #6d6d76; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-pages li.sub .wd-row { padding-left: 30px; }
.wd-pages li.sub .wd-row-t::before { content: "\21B3"; color: #9a9aa3; margin-right: 6px; font-weight: 400; }
.wd-note { font-size: 14px !important; color: #6d6d76 !important; }

.wi-cap { flex-wrap: wrap; row-gap: 6px; }
@media (max-width: 520px) { .wi-cap small { order: 3; width: 100%; margin-left: 0; } .wi-page { margin-left: auto; } }

/* the look choice, shown in the preview area until picked (2026-10-27) */
.wi-choice { flex: 1; min-height: 420px; border: 1px dashed var(--coral-300, #F38A6E); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; background: #fffaf8; }
.wi-choice h4 { margin: 0 0 4px; font-size: 18px; color: #111114; }
.wi-choice-opt { text-align: left; font: inherit; border: 1.5px solid var(--coral-300, #F38A6E); background: #fff; border-radius: 12px; padding: 16px 18px; cursor: pointer; color: #111114; }
.wi-choice-opt strong { display: block; font-size: 15px; }
.wi-choice-opt span { display: block; font-size: 14px; color: #404048; margin-top: 3px; }
.wi-choice-opt.p { border-color: var(--coral-500, #D85A30); box-shadow: 0 0 0 3px var(--coral-50, #FDE7E2); }
.wi-choice-opt:hover { background: var(--coral-50, #FDE7E2); }
.wi-choice-opt:focus-visible { outline: 3px solid var(--coral-200, #F9B8A6); outline-offset: 2px; }
