/* Customer workspace. The canvas editor keeps its existing layout. */
.customer-shell,
.login,
.boot,
#dialog {
  --bg: #f7f7f4;
  --surface: #fff;
  --ink: #222a2c;
  --muted: #69716f;
  --line: #e4e6df;
  --accent: #c95033;
  --soft: #f9eee8;
  --green: #357258;
  --font: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
}

.customer-shell {
  min-height: 100dvh;
  background: var(--bg);
  font-size: 14px;
  line-height: 1.55;
}

.customer-shell h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.1px;
}

.customer-shell h2 { font-size: 22px; letter-spacing: -.6px; }
.customer-shell h3 { font-size: 16px; letter-spacing: -.25px; }
.customer-shell .eyebrow { font-size: 11px; letter-spacing: .1em; }
.customer-shell svg { width: 19px; height: 19px; }

.customer-shell .btn,
.login .btn,
#dialog .btn {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #dce0d8;
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 1px 2px #222a2c04;
}

.customer-shell .btn:hover:not(:disabled),
.login .btn:hover:not(:disabled),
#dialog .btn:hover:not(:disabled) { background: #f7f7f4; border-color: #bdc4ba; }

.customer-shell .btn.dark,
.login .btn.dark,
#dialog .btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }

.customer-shell .btn.dark:hover:not(:disabled),
.login .btn.dark:hover:not(:disabled),
#dialog .btn.dark:hover:not(:disabled) { background: #39433f; border-color: #39433f; }

.customer-shell .btn.accent,
.login .btn.accent,
#dialog .btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }

.customer-shell .btn.accent:hover:not(:disabled),
.login .btn.accent:hover:not(:disabled),
#dialog .btn.accent:hover:not(:disabled) { background: #b34228; border-color: #b34228; }

.customer-shell .btn.small,
#dialog .btn.small { min-height: 44px; padding: 9px 12px; font-size: 13px; }
.customer-shell .btn.icon { width: 44px; height: 44px; padding: 11px; }
.customer-shell .btn.soft { background: var(--soft); border-color: #efdace; color: #a9422c; }
.customer-shell .btn.danger,
#dialog .btn.danger { color: #ae422e; }
.customer-shell .link { font-size: 13px; color: #626c67; }

.customer-shell .badge,
#dialog .badge {
  padding: 4px 8px;
  border-radius: 5px;
  border-color: var(--line);
  background: #f7f7f4;
  color: var(--muted);
  font-size: 11px;
}

.customer-shell .badge.green { color: #32684d; background: #edf5ed; border-color: #dceadc; }
.customer-shell .badge.red { color: #a54d32; background: #fcf0e9; border-color: #f1ddcf; }
.customer-shell .badge.green:before { background: #357258; }

/* Navigation and workspace frame. */
.customer-shell .demo-strip {
  min-height: 30px;
  height: auto;
  padding: 5px 16px;
  background: #f3eee5;
  border-color: #e9e1d4;
  color: #766a58;
  font-size: 11px;
}

.customer-shell .sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 216px;
  padding: 27px 15px 21px;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.customer-shell .demo-strip ~ .sidebar { top: 30px; }
.customer-shell .brand { padding: 0 9px; gap: 10px; color: var(--ink); font-size: 22px; letter-spacing: -.85px; }
.customer-shell .brand img { width: 32px; height: 32px; }
.customer-shell .brand small { margin-left: 4px; font-size: 17px; font-weight: 400; letter-spacing: -.45px; color: #69726c; }
.customer-shell .workspace-label { margin: 27px 10px 0; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.customer-shell .nav { margin-top: 16px; gap: 4px; }
.customer-shell .nav button { min-height: 44px; padding: 11px 12px; gap: 12px; border-radius: 7px; color: var(--muted); font-size: 14px; font-weight: 450; }
.customer-shell .nav button:hover { background: #f7f7f4; color: var(--ink); }
.customer-shell .nav button.active { background: #f9eee8; color: #ac432c; font-weight: 600; }
.customer-shell .nav button.active svg { color: #c95033; }
.customer-shell .nav svg { width: 19px; height: 19px; }
.customer-shell .navlabel { margin: 26px 12px 8px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.customer-shell .nav .badge { background: #f7f7f4; color: var(--muted); border: 0; font-size: 10px; padding: 3px 6px; }
.customer-shell .support-link { gap: 9px; padding: 11px 10px; color: var(--muted); font-size: 12px; margin-bottom: 15px; }
.customer-shell .support-link:hover { color: var(--ink); }
.customer-shell .support-link svg { width: 17px; height: 17px; }
.customer-shell .account { padding: 19px 9px 0; border-color: var(--line); gap: 11px; }
.customer-shell .account strong { color: var(--ink); font-size: 13px; font-weight: 600; }
.customer-shell .account .link { color: var(--muted); font-size: 12px; }
.customer-shell .avatar { width: 35px; height: 35px; background: #efeee6; border: 1px solid #e2e3d8; border-radius: 50%; color: #697561; font-size: 11px; }
.customer-shell .main { margin-left: 216px; min-height: 100dvh; background: var(--bg); }
.customer-shell .topbar { min-height: 68px; height: 68px; padding: 0 36px; border-color: var(--line); background: #fff; }
.customer-shell .workspace-breadcrumb { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 14px; color: var(--muted); }
.customer-shell .workspace-breadcrumb svg { width: 15px; height: 15px; color: #b4b9af; transform: rotate(-90deg); }
.customer-shell .workspace-breadcrumb strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 500; }
.customer-shell .workspace-actions { display: flex; align-items: center; flex-shrink: 0; gap: 12px; }
.customer-shell .profile-menu { position: relative; }
.customer-shell .profile-menu > summary { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; list-style: none; cursor: pointer; border-radius: 7px; }
.customer-shell .profile-menu > summary::-webkit-details-marker { display: none; }
.customer-shell .profile-menu > summary:hover .avatar { border-color: #bdc4ba; }
.customer-shell .profile-menu > div { position: absolute; right: 0; top: calc(100% + 11px); width: 205px; z-index: 30; display: grid; gap: 3px; padding: 7px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 10px 30px #222a2c14; }
.customer-shell .profile-menu .btn { border: 0; justify-content: flex-start; min-height: 44px; font-size: 14px; box-shadow: none; }
.customer-shell .crumb { color: var(--muted); font-size: 13px; }
.customer-shell .crumb strong { color: var(--ink); font-weight: 500; }
.customer-shell .content { max-width: 1410px; padding: 36px 36px 52px; margin: 0 auto; }

/* Shared headings, filters and project cards. */
.customer-shell .workspace-heading,
.customer-shell .welcome { align-items: center; margin-bottom: 27px; gap: 20px; }
.customer-shell .workspace-heading p,
.customer-shell .welcome > div > p:not(.eyebrow) { margin-top: 9px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.customer-shell .welcome .eyebrow { margin-bottom: 9px; color: #9a6553; }
.customer-shell .workspace-summary { gap: 0; margin-bottom: 27px; font-size: 13px; color: var(--muted); }
.customer-shell .workspace-summary > span + span { margin-left: 20px; padding-left: 20px; border-left: 1px solid var(--line); }
.customer-shell .workspace-summary strong { color: var(--ink); margin-right: 5px; font-weight: 600; }
.customer-shell .toolbar { min-height: 52px; margin-bottom: 25px; border-color: var(--line); }
.customer-shell .toolbar > .row { gap: 24px; }
.customer-shell .pill { min-height: 47px; padding: 12px 1px; color: var(--muted); font-size: 14px; }
.customer-shell .pill.active { border-color: var(--accent); color: var(--ink); font-weight: 600; }
.customer-shell .search { min-height: 44px; width: 254px; padding: 10px 12px; margin-bottom: 9px; gap: 9px; border-color: var(--line); border-radius: 7px; }
.customer-shell .search svg { width: 16px; height: 16px; color: var(--muted); }
.customer-shell .search input { width: 100%; max-width: none; min-width: 0; color: var(--ink); font-size: 14px; }
.customer-shell .search:focus-within { border-color: #a6b1a0; outline: 2px solid #dfe8d6; outline-offset: 1px; }
.customer-shell .search input::placeholder { color: var(--muted); }
.customer-shell .sites { grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 24px; }
.customer-shell .site-card { border-color: var(--line); border-radius: 10px; background: #fff; box-shadow: 0 2px 5px #29342603; transition: border-color .15s, box-shadow .15s; }
.customer-shell .site-card:hover { border-color: #c8cebf; box-shadow: 0 5px 20px #29342608; }
.customer-shell .site-art,
.customer-shell .site-card .actual-preview { height: 234px; border-color: var(--line); background: #e8eae1; }
.customer-shell .project-preview-label { position: absolute; top: 13px; left: 13px; padding: 5px 9px; border: 1px solid #ffffffb3; border-radius: 5px; background: #fffffff0; color: #586351; font-size: 10px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.customer-shell .preview-open { bottom: 14px; right: 14px; padding: 9px 12px; font-size: 12px; border-color: var(--line); border-radius: 6px; }
.customer-shell .card-body { padding: 21px 22px 18px; }
.customer-shell .card-body h3,
.customer-shell .project-name { font-size: 17px; font-weight: 600; color: var(--ink); }
.customer-shell .project-site-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.customer-shell .card-body .url { font-size: 12px; color: var(--muted); margin: 7px 0 20px; }
.customer-shell .card-foot { padding-top: 16px; border-color: var(--line); color: var(--muted); font-size: 12px; }
.customer-shell .card-actions { gap: 6px; }
.customer-shell .card-actions .btn { color: var(--ink); border-color: var(--line); }
.customer-shell .new-card { min-height: 338px; gap: 7px; border: 1px solid var(--line); background: #f7f7f4; border-radius: 10px; font-size: 13px; color: var(--muted); }
.customer-shell .new-card span { width: 42px; height: 42px; border-radius: 50%; background: #fff; border-color: var(--line); color: #bda993; font-size: 24px; margin-bottom: 12px; }
.customer-shell .new-card strong { color: var(--ink); font-size: 15px; font-weight: 500; }
.customer-shell .new-card small { font-size: 12px; }
.customer-shell .new-card:hover { background: #fbf5ef; border-color: #c8cebf; }
.customer-shell .workspace-note { margin-top: 29px; gap: 9px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.customer-shell .workspace-note svg { width: 15px; height: 15px; }

/* A customer with one website gets a useful overview of that project. */
.customer-shell .project-home { min-width: 0; }
.customer-shell .project-feature { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(290px, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.customer-shell .project-feature .site-art { height: 100%; min-height: 390px; border: 0; border-right: 1px solid var(--line); background: #eeefe9; }
.customer-shell .project-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 29px 28px; }
.customer-shell .project-info > .eyebrow { margin-bottom: 9px; color: var(--muted); }
.customer-shell .project-info h2 { font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -.75px; overflow-wrap: anywhere; }
.customer-shell .project-info .badge { align-self: flex-start; width: fit-content; margin-top: 13px; }
.customer-shell .project-address { margin-top: 21px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.customer-shell .project-updated { margin-top: 6px; color: var(--muted); font-size: 12px; }
.customer-shell .project-info > .btn { align-self: flex-start; margin-top: 23px; }
.customer-shell .project-info > a { align-self: flex-start; margin-top: 13px; font-size: 13px; }
.customer-shell .project-info > .btn + .btn { margin-top: 11px; }
.customer-shell .project-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 23px; }
.customer-shell .project-shortcut { display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 94px; padding: 18px; text-align: left; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; transition: border-color .15s, background .15s; }
.customer-shell .project-shortcut:hover { border-color: #c8cebf; background: #fcfcf9; }
.customer-shell .project-shortcut > svg:first-child { width: 40px; height: 40px; padding: 10px; border-radius: 8px; color: #788276; background: #f3f4ee; }
.customer-shell .project-shortcut > svg:last-child { width: 16px; height: 16px; color: #a2aaa1; transform: rotate(-90deg); }
.customer-shell .project-shortcut > span:not(.badge) { min-width: 0; flex: 1; }
.customer-shell .project-shortcut strong { display: block; font-size: 14px; font-weight: 600; }
.customer-shell .project-shortcut small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.customer-shell .project-shortcut .badge { margin-left: 7px; vertical-align: 1px; font-size: 10px; }

/* Image library. Images are the visual focus, with quiet file information. */
.customer-shell .library-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 32px; }
.customer-shell .library-heading .eyebrow { margin-bottom: 9px; color: #a17260; }
.customer-shell .library-heading p:not(.eyebrow) { margin-top: 11px; color: var(--muted); max-width: 540px; font-size: 14px; line-height: 1.6; }
.customer-shell .library-heading > .btn { flex-shrink: 0; }
.customer-shell .library-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.customer-shell .library-toolbar > .row { gap: 24px; }
.customer-shell .library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.customer-shell .library-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.customer-shell .library-card:hover { border-color: #c8cebf; box-shadow: 0 5px 20px #29342606; }
.customer-shell .library-photo { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; background: #e8eae1; overflow: hidden; }
.customer-shell .library-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.customer-shell .library-photo:focus-visible { outline-offset: -4px; }
.customer-shell .library-source { position: absolute; top: 11px; left: 11px; padding: 4px 7px; border: 1px solid #ffffffa6; border-radius: 4px; color: #56615a; background: #fffffff0; font-size: 10px; font-weight: 500; pointer-events: none; }
.customer-shell .library-card-body { padding: 17px 18px 16px; }
.customer-shell .library-card-body h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 14px; font-weight: 600; }
.customer-shell .library-meta { display: flex; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 13px; margin-top: 5px; }
.customer-shell .library-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0 0; margin-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.customer-shell .library-footer .btn { border: 0; background: transparent; color: var(--ink); min-height: 44px; padding: 8px 0 8px 8px; font-size: 13px; box-shadow: none; }
.customer-shell .library-footer .btn:hover:not(:disabled) { background: none; color: var(--accent); }
.customer-shell .library-footer svg { width: 15px; height: 15px; }
.customer-shell .library-demo-note { display: flex; align-items: center; gap: 8px; padding: 0; margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.customer-shell .library-demo-note svg { width: 15px; height: 15px; color: var(--muted); }
.customer-shell .library-storage { margin-top: 34px; padding-top: 23px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 12px; }
.customer-shell .library-storage > span { display: flex; align-items: center; gap: 8px; }
.customer-shell .library-storage > span svg { flex-shrink: 0; }
.customer-shell .library-storage strong { color: var(--ink); font-weight: 500; }
.customer-shell .library-storage progress { width: 146px; height: 4px; border: 0; border-radius: 4px; overflow: hidden; accent-color: #8b9f78; }
.customer-shell .library-storage progress::-webkit-progress-bar { background: #e8eae1; }
.customer-shell .library-storage progress::-webkit-progress-value { background: #8b9f78; }
.customer-shell .library-storage progress::-moz-progress-bar { background: #8b9f78; }
.customer-shell .library-storage-meter { width: 146px; height: 4px; border-radius: 4px; background: #e8eae1; overflow: hidden; }
.customer-shell .library-storage-meter > span { display: block; height: 100%; background: #8b9f78; }

.customer-shell .empty,
.customer-shell .library-empty,
.customer-shell .inbox-empty {
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
  background: #fff;
  text-align: left;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.customer-shell .empty { max-width: 800px; }
.customer-shell .empty h2,
.customer-shell .library-empty h2,
.customer-shell .inbox-empty h2 { font-size: 21px; letter-spacing: -.5px; }
.customer-shell .empty p,
.customer-shell .library-empty p,
.customer-shell .inbox-empty p { max-width: 490px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.customer-shell .empty > svg { width: 26px; height: 26px; color: #bda993; margin-bottom: 4px; }
.customer-shell .library-empty,
.customer-shell .inbox-empty { display: flex; align-items: center; gap: 27px; padding: 36px; }
.customer-shell .inbox-empty { max-width: 900px; }
.customer-shell .inbox-empty .empty-copy { flex: 1; min-width: 0; }
.customer-shell .inbox-empty > .btn { flex-shrink: 0; }
.customer-shell .library-empty .empty-icon,
.customer-shell .inbox-empty .empty-icon { display: grid; place-items: center; width: 78px; height: 78px; border: 1px solid #e0e6d5; border-radius: 15px; background: #f7f7f4; flex-shrink: 0; }
.customer-shell .library-empty .empty-icon svg,
.customer-shell .inbox-empty .empty-icon svg { width: 31px; height: 31px; color: #bda993; }
.customer-shell .library-empty .btn { margin-top: 18px; }
.customer-shell .library-empty p,
.customer-shell .inbox-empty p { margin-top: 7px; }

/* Supporting screens share the same readable form and card language. */
.customer-shell .settings-page { max-width: 770px; padding: 28px 30px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.customer-shell .settings-page h2 { margin-bottom: 24px; }
.customer-shell .field,
.login .field,
#dialog .field { font-size: 13px; font-weight: 500; color: var(--ink); gap: 8px; margin-bottom: 21px; }
.customer-shell .field input,
.customer-shell .field textarea,
.customer-shell .field select,
.login .field input,
#dialog .field input,
#dialog .field textarea,
#dialog .field select { padding: 11px 12px; min-height: 44px; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 14px; }
.customer-shell .field input:focus,
.customer-shell .field textarea:focus,
.customer-shell .field select:focus,
.login .field input:focus,
#dialog .field input:focus,
#dialog .field textarea:focus,
#dialog .field select:focus { border-color: #aab89d; box-shadow: 0 0 0 3px #eff4e7; }
.customer-shell .help,
#dialog .help { font-size: 12px; line-height: 1.6; color: var(--muted); }
.customer-shell .group { border-color: var(--line); padding-top: 25px; }
.customer-shell .group h3 { margin-bottom: 8px; }
.customer-shell .group > p { font-size: 14px; line-height: 1.6; margin-bottom: 17px; }
.customer-shell .settings-page .row { flex-wrap: wrap; }
.customer-shell .settings-page .two { gap: 20px; }
.customer-shell .billing-card { max-width: 690px; border-color: var(--line); border-radius: 10px; padding: 30px; box-shadow: 0 2px 6px #27312203; }
.customer-shell .billing-card .price { font-size: 26px; letter-spacing: -.5px; font-weight: 500; margin: 24px 0 21px; }
.customer-shell .billing-card ul { padding-left: 19px; font-size: 14px; color: #687760; line-height: 1.8; margin-bottom: 25px; }
.customer-shell .billing-card li { padding: 4px 0; }
.customer-shell .billing-card > p:last-child { font-size: 12px !important; line-height: 1.6; }
.customer-shell .notice { background: #faf6ed; border-color: #ebe2cf; color: #80715b; padding: 14px 16px; border-radius: 6px; font-size: 13px; line-height: 1.7; }
.customer-shell .message { padding: 25px 27px; border-color: var(--line); border-radius: 9px; margin-bottom: 17px; max-width: 900px; }
.customer-shell .message.unread { border-left: 3px solid var(--accent); }
.customer-shell .message h3 { font-size: 16px; }
.customer-shell .message a { font-size: 13px; color: var(--muted); text-decoration: none; }
.customer-shell .message a:hover { text-decoration: underline; }
.customer-shell .message p { font-size: 14px; line-height: 1.8; margin: 23px 0; color: var(--ink); }
.customer-shell .message small { font-size: 12px; color: var(--muted); }
.customer-shell .version { max-width: 900px; padding: 22px 25px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; background: #fff; align-items: center; }
.customer-shell .version strong { font-size: 14px; font-weight: 500; }
.customer-shell .version small { color: var(--muted); font-size: 12px; margin-top: 5px; }
.customer-shell .setup-grid { gap: 20px; margin-bottom: 22px; }
.customer-shell .setup-card { padding: 25px; border-color: var(--line); border-radius: 9px; }
.customer-shell .setup-card p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.customer-shell .code { color: var(--ink); background: #f7f7f4; border-color: var(--line); border-radius: 6px; font-size: 12px; }
.customer-shell .error,
.login .error,
#dialog .error { font-size: 13px; line-height: 1.5; color: #b74630; }

.customer-shell .demo-account { max-width: 800px; padding: 29px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.customer-shell .demo-account .empty-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 17px; border-radius: 8px; color: #85917a; background: #f5f7ee; }
.customer-shell .demo-account h2 { font-size: 22px; }
.customer-shell .demo-account p { max-width: 570px; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.customer-shell .demo-account > .btn { margin-top: 22px; }
.customer-shell .chatgpt-card { max-width: 800px; padding: 27px 29px; margin-top: 24px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.customer-shell .chatgpt-card h2 { font-size: 22px; }
.customer-shell .chatgpt-card h3 { font-size: 17px; }
.customer-shell .chatgpt-card > p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.customer-shell .chatgpt-card .row { flex-wrap: wrap; gap: 12px; }
.customer-shell .chatgpt-card .btn { min-height: 44px; }
.customer-shell .chatgpt-card > .row:not(:first-child) { margin-top: 19px; }
.customer-shell .chatgpt-card .help { font-size: 12px; }

/* Review the actual imported website before creating customer access. */
.customer-shell .delivery-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr); align-items: start; gap: 25px; }
.customer-shell .delivery-preview { position: relative; display: block; width: 100%; height: 420px; border: 1px solid var(--line); border-radius: 10px; padding: 0; overflow: hidden; background: #fff; }
.customer-shell .delivery-preview iframe { position: absolute; inset: 0 auto auto 0; width: 1000px; height: 900px; border: 0; background: #fff; transform-origin: top left; pointer-events: none; }
.customer-shell .delivery-details { min-width: 0; padding: 27px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.customer-shell .delivery-details h2 { font-size: 25px; line-height: 1.25; letter-spacing: -.7px; overflow-wrap: anywhere; }
.customer-shell .delivery-details > .badge { margin-top: 12px; }
.customer-shell .delivery-details > p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.customer-shell .delivery-details dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 14px; margin: 23px 0; font-size: 13px; }
.customer-shell .delivery-details dl > div { grid-column: 1 / -1; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
.customer-shell .delivery-details dt { color: var(--muted); }
.customer-shell .delivery-details dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.customer-shell .delivery-checklist { padding: 0; margin: 23px 0 0; list-style: none; border-top: 1px solid var(--line); }
.customer-shell .delivery-checklist li { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.customer-shell .delivery-checklist li > span:not(.badge) { flex: 1; min-width: 0; }
.customer-shell .delivery-checklist strong { display: block; font-size: 13px; font-weight: 500; }
.customer-shell .delivery-checklist small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.customer-shell .delivery-checklist svg { width: 17px; height: 17px; color: #8c9587; }
.customer-shell .delivery-checklist .ready > svg,
.customer-shell .delivery-checklist .done > svg { color: var(--green); }
.customer-shell .delivery-checklist .blocked > svg { color: #ad4d34; }
.customer-shell .delivery-report { margin-top: 25px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.customer-shell .delivery-report h3 { font-size: 16px; margin-bottom: 9px; }
.customer-shell .delivery-report h3:not(:first-child) { margin-top: 24px; }
.customer-shell .delivery-report p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.customer-shell .delivery-report ul { padding-left: 19px; margin: 10px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.customer-shell .delivery-report li { padding: 4px 0; overflow-wrap: anywhere; }
.customer-shell .delivery-access { margin-top: 25px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.customer-shell .delivery-access h3 { font-size: 18px; margin-bottom: 8px; }
.customer-shell .delivery-access > p { color: var(--muted); font-size: 13px; line-height: 1.7; margin-bottom: 21px; }
.customer-shell .delivery-access .field { margin-bottom: 18px; }
.customer-shell .delivery-access .btn { min-height: 44px; }
.customer-shell .delivery-access .row { flex-wrap: wrap; }
.customer-shell .delivery-details .delivery-access { padding: 23px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.customer-shell .notice.blocking,
#dialog .notice.blocking { background: #fcf4ef; border-color: #eddbce; color: #934a34; font-size: 13px; line-height: 1.7; }

/* Native dialogs, including the detailed asset view and editor picker. */
#dialog { border-color: var(--line); border-radius: 12px; padding: 28px; box-shadow: 0 24px 100px #23301b26; background: #fff; }
#dialog::backdrop { background: #25301f5c; }
#dialog h2 { font-size: 23px; letter-spacing: -.6px; font-weight: 600; }
#dialog p.muted { color: var(--muted); font-size: 14px; line-height: 1.7; }
#dialog:has(.asset-detail-grid) { width: 870px; }
#dialog:has(.asset-picker-grid) { width: 720px; }
#dialog .asset-detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(240px, 1fr); gap: 28px; margin-top: 23px; }
#dialog .asset-detail-preview { display: grid; place-items: center; min-height: 275px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: #f7f7f4; }
#dialog .asset-detail-preview img { display: block; max-height: 400px; width: 100%; object-fit: contain; border-radius: 4px; }
#dialog .asset-detail-info { min-width: 0; }
#dialog .asset-detail-info h3 { font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; margin-bottom: 7px; }
#dialog .asset-detail-info .library-meta { color: var(--muted); font-size: 12px; margin-bottom: 23px; }
#dialog .asset-usage { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; }
#dialog .asset-usage h3 { font-size: 14px; margin-bottom: 11px; }
#dialog .asset-usage > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
#dialog .asset-usage > .row { padding: 9px 0; border-bottom: 1px solid var(--line); align-items: flex-start; gap: 8px; color: var(--ink); font-size: 13px; }
#dialog .asset-usage svg { width: 16px; height: 16px; margin-top: 2px; }
#dialog .asset-target-select { width: 100%; margin: 7px 0 16px; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: #fff; font-size: 13px; }
#dialog .asset-picker-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 20px; }
#dialog .asset-picker-card { min-width: 0; text-align: left; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; color: var(--ink); }
#dialog .asset-picker-card:hover { border-color: #c8cebf; background: #f7f7f4; }
#dialog .asset-picker-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
#dialog .asset-picker-card > span { display: block; padding: 10px 11px; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#dialog .dialog-actions { flex-wrap: wrap; gap: 9px; margin-top: 27px; }
#dialog .section-option { border-color: var(--line); border-radius: 7px; }
#dialog .section-option:hover { background: #f7f7f4; border-color: #c8cebf; }
#dialog .section-option svg { color: var(--muted); }
#dialog .templates label:has(input:checked) { background: #faf0e8; border-color: var(--accent); }
#dialog:has(.import-preview) { width: 920px; }
#dialog .import-drop { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 22px; margin: 21px 0; border: 1px solid var(--line); border-radius: 8px; background: #f8f8f4; color: var(--ink); font-size: 14px; }
#dialog .import-drop > svg { width: 23px; height: 23px; color: #87917f; }
#dialog .import-drop strong { display: block; font-size: 14px; font-weight: 500; }
#dialog .import-drop small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
#dialog .import-drop input[type=file] { min-width: 0; max-width: 100%; font-size: 13px; color: var(--muted); }
#dialog .import-drop input[type=file]::file-selector-button { min-height: 44px; padding: 9px 14px; margin-right: 13px; border: 1px solid #d5dace; border-radius: 6px; color: var(--ink); background: #fff; font: inherit; cursor: pointer; }
#dialog .import-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 17px; margin: 20px 0; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
#dialog .import-summary strong { display: block; margin-bottom: 4px; font-size: 23px; font-weight: 500; line-height: 1.2; color: var(--ink); }
#dialog .import-preview { position: relative; height: 300px; max-height: 300px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
#dialog .import-preview iframe { position: absolute; inset: 0 auto auto 0; width: 1000px; height: 600px; border: 0; transform-origin: top left; pointer-events: none; background: #fff; }
#dialog .import-notes { margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }
#dialog .import-notes h3 { color: var(--ink); font-size: 14px; margin-bottom: 8px; }
#dialog .import-notes h3:not(:first-child) { margin-top: 18px; }
#dialog .import-notes ul { padding-left: 18px; margin: 0; }
#dialog .import-notes li { padding: 3px 0; overflow-wrap: anywhere; }
#dialog .import-notes.blocking { padding: 15px 17px; border: 1px solid #eddbce; border-radius: 7px; color: #934a34; background: #fcf4ef; }
#dialog .import-notes.blocking h3 { color: #934a34; }
#dialog .import-slug { margin-top: 23px; }
#dialog:has(.import-preview) .dialog-actions .btn { min-height: 44px; }

/* Entry screen. Editor rules live together in workspace.css. */
.login { background: #f7f7f4; padding: 40px 24px; }
.login-inner { width: 420px; padding: 38px; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 40px #29352007; }
.login-inner > .brand { gap: 11px; color: var(--ink); font-size: 24px; letter-spacing: -.8px; }
.login-inner .brand img { width: 35px; height: 35px; }
.login-inner .brand small { font-size: 17px; color: var(--muted); letter-spacing: -.3px; }
.login-inner h2 { font-size: 30px; font-weight: 600; letter-spacing: -.9px; }
.login-inner > p { font-size: 14px; line-height: 1.6; }
.login-tabs { gap: 23px; margin: 25px 0; border-color: var(--line); }
.login-tabs button { font-size: 14px; padding-bottom: 12px; color: var(--muted); }
.login-tabs button.active { color: var(--ink); border-color: var(--accent); }
.login-note { color: var(--muted); font-size: 12px !important; margin: 22px 0 !important; }
.login-demo { border-color: var(--line); padding-top: 22px; }
.login-footer { font-size: 12px; color: var(--muted); margin-top: 23px; }

@media (max-width: 1100px) {
  .customer-shell .content { padding: 35px 30px 48px; }
  .customer-shell .topbar { padding: 0 30px; }
  .customer-shell .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .customer-shell .site-art,
  .customer-shell .site-card .actual-preview { height: 213px; }
}

@media (max-width: 900px) {
  .customer-shell .delivery-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .customer-shell .delivery-preview { height: 350px; }
  .customer-shell .project-feature { grid-template-columns: minmax(0, 1fr); }
  .customer-shell .project-feature .site-art { height: 320px; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .customer-shell .project-info { padding: 27px 30px; }
  .customer-shell .project-shortcuts { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 19px; }
  .customer-shell .project-shortcut { min-height: 84px; padding: 17px 20px; }
  .customer-shell .inbox-empty { flex-wrap: wrap; }
  .customer-shell .inbox-empty .empty-copy { flex: 1 1 calc(100% - 105px); }
  .customer-shell .inbox-empty > .btn { margin-left: 105px; }
}

@media (max-width: 800px) {
  .customer-shell .sidebar { position: static !important; inset: auto !important; width: auto; padding: 21px 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .customer-shell .brand { padding: 0; font-size: 22px; }
  .customer-shell .brand img { width: 32px; height: 32px; }
  .customer-shell .brand small { font-size: 17px; }
  .customer-shell .workspace-label { display: none; }
  .customer-shell .nav { display: flex; gap: 6px; margin: 16px -7px 0; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
  .customer-shell .nav::-webkit-scrollbar { display: none; }
  .customer-shell .nav button { white-space: nowrap; min-height: 44px; padding: 10px 11px; font-size: 14px; }
  .customer-shell .navlabel,
  .customer-shell .nav .badge,
  .customer-shell .sidebar-bottom { display: none; }
  .customer-shell .main { margin-left: 0; }
  .customer-shell .topbar { min-height: 65px; height: 65px; padding: 0 24px; }
  .customer-shell .content { padding: 32px 24px 45px; }
  .customer-shell .setup-grid { grid-template-columns: 1fr; }
  .customer-shell .library-heading { gap: 20px; }
  .customer-shell .site-art,
  .customer-shell .site-card .actual-preview { height: 218px; }
}

@media (max-width: 600px) {
  .customer-shell .demo-strip { font-size: 10px; padding: 5px 10px; }
  .customer-shell .sidebar { padding: 19px 20px 0; }
  .customer-shell .nav { gap: 4px; }
  .customer-shell .nav button { gap: 8px; padding: 9px 10px; }
  .customer-shell .nav svg { width: 17px; height: 17px; }
  .customer-shell .nav button[data-action="billing"],
  .customer-shell .nav button[data-action="account"] { display: none; }
  .customer-shell .profile-menu .btn { min-height: 44px; }
  .customer-shell .topbar { min-height: 59px; height: 59px; padding: 0 20px; gap: 12px; }
  .customer-shell .workspace-breadcrumb { gap: 8px; min-width: 0; flex: 1; font-size: 14px; }
  .customer-shell .workspace-breadcrumb > span:first-child { display: none; }
  .customer-shell .workspace-breadcrumb > svg { display: none; }
  .customer-shell .workspace-actions { gap: 8px; }
  .customer-shell .workspace-actions > .badge { display: none; }
  .customer-shell .workspace-actions .btn.small { font-size: 12px; padding: 7px 9px; }
  .customer-shell .workspace-actions .btn svg { width: 16px; height: 16px; }
  .customer-shell .content { padding: 29px 20px 40px; }
  .customer-shell h1 { font-size: 30px; }
  .customer-shell .workspace-heading,
  .customer-shell .welcome,
  .customer-shell .library-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 25px; }
  .customer-shell .workspace-heading p,
  .customer-shell .welcome > div > p:not(.eyebrow),
  .customer-shell .library-heading p:not(.eyebrow) { font-size: 14px; }
  .customer-shell .workspace-summary { flex-wrap: wrap; row-gap: 8px; font-size: 12px; }
  .customer-shell .workspace-summary > span + span { margin-left: 12px; padding-left: 12px; }
  .customer-shell .toolbar,
  .customer-shell .library-toolbar { flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
  .customer-shell .toolbar > .row,
  .customer-shell .library-toolbar > .row { gap: 23px; }
  .customer-shell .pill { min-height: 43px; font-size: 13px; padding: 10px 0; }
  .customer-shell .search,
  .customer-shell .toolbar .search { width: 100%; margin: 0 0 13px; }
  .customer-shell .sites { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .customer-shell .site-art,
  .customer-shell .site-card .actual-preview { height: 233px; }
  .customer-shell .card-body { padding: 20px; }
  .customer-shell .card-foot { font-size: 12px; }
  .customer-shell .new-card { min-height: 215px; }
  .customer-shell .project-feature .site-art { height: 245px; }
  .customer-shell .project-info { padding: 25px 23px; }
  .customer-shell .project-info h2 { font-size: 25px; }
  .customer-shell .project-shortcut { padding: 17px; gap: 12px; }
  .customer-shell .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .customer-shell .library-card-body { padding: 13px 12px 12px; }
  .customer-shell .library-card-body h3 { font-size: 14px; }
  .customer-shell .library-meta { font-size: 12px; gap: 4px; }
  .customer-shell .library-footer { flex-wrap: wrap; gap: 5px; padding: 9px 0 0; font-size: 12px; }
  .customer-shell .library-footer .btn { font-size: 13px; min-height: 44px; padding-left: 0; }
  .customer-shell .library-storage { flex-wrap: wrap; gap: 10px; font-size: 11px; margin-top: 26px; padding-top: 20px; }
  .customer-shell .library-storage progress,
  .customer-shell .library-storage-meter { width: 90px; }
  .customer-shell .empty,
  .customer-shell .library-empty,
  .customer-shell .inbox-empty { padding: 25px; }
  .customer-shell .library-empty,
  .customer-shell .inbox-empty { flex-direction: column; align-items: flex-start; gap: 20px; }
  .customer-shell .inbox-empty .empty-copy { flex: initial; }
  .customer-shell .inbox-empty > .btn { margin-left: 0; }
  .customer-shell .library-empty .empty-icon,
  .customer-shell .inbox-empty .empty-icon { width: 60px; height: 60px; border-radius: 12px; }
  .customer-shell .settings-page,
  .customer-shell .billing-card { padding: 23px 20px; }
  .customer-shell .settings-page .two { grid-template-columns: 1fr; gap: 0; }
  .customer-shell .billing-card .row { flex-wrap: wrap; }
  .customer-shell .billing-card .price { font-size: 23px; }
  .customer-shell .message { padding: 22px 20px; }
  .customer-shell .message > .row { flex-wrap: wrap; gap: 14px; }
  .customer-shell .message .row .row { flex-wrap: wrap; }
  .customer-shell .version { flex-direction: column; align-items: flex-start; gap: 15px; padding: 20px; }
  .customer-shell .delivery-preview { height: 275px; }
  .customer-shell .delivery-details { padding: 23px; }
  .customer-shell .delivery-report,
  .customer-shell .delivery-access { padding: 23px; margin-top: 20px; }
  .customer-shell .chatgpt-card,
  .customer-shell .demo-account { padding: 23px; }
  .customer-shell .delivery-details dl,
  .customer-shell .delivery-details dl > div { grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
  .login-inner { padding: 30px 26px; width: 370px; }
  #dialog { max-width: calc(100% - 24px); padding: 24px 20px; }
  #dialog .asset-detail-grid { grid-template-columns: 1fr; gap: 23px; }
  #dialog .asset-detail-preview { min-height: 180px; }
  #dialog .asset-detail-preview img { max-height: 260px; }
  #dialog .asset-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  #dialog .import-drop { padding: 18px; }
  #dialog .import-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
  #dialog .import-preview { height: 235px; }
  #dialog:has(.import-preview) .dialog-actions { justify-content: stretch; }
  #dialog:has(.import-preview) .dialog-actions .btn { flex: 1 1 auto; }
}
