/* GENERATED FILE - DO NOT EDIT.
   Source: shared/profile-edit.css - run `npm run sync:shared` after editing. */

/* Edit profile, tidied (owner 2026-11-24, mock https://claude.ai/artifact/MBGFNhhp3B6b6rTo6U9q68): one short page —
   photo, name, bio; a row each for Channels, Websites, Travel vlogs, Discount codes, Your look; Private profile — and
   each part in its own small editor (the app: its own page with ‹ Edit profile / Done; the website: the row opens in
   place). App: src/app/app/03-journal-host.js youEditPageHtml; website: account.html ac-pe. Colours are variables, so
   the app's dark mode (mobile/www/css/app-dark.css) swaps them. */
.pe {
  --pe-bg: #f4eee3;
  --pe-card: #fff;
  --pe-field: #fff;
  --pe-line: #e3ddd1;
  --pe-line-soft: #efe9de;
  --pe-ink: #1c1f1d;
  --pe-soft: #5b625d;
  --pe-kicker: #8a6a1f;
  --pe-accent: #1e3a2f;
  --pe-accent-ink: #fff;
  --pe-ico-bg: #e5f1e8;
  --pe-ico: #1e5a3d;
  --pe-gold-bg: #f7ecd2;
  --pe-gold: #8a6a1f;
  --pe-link: #1e5a3d;
  --pe-switch-off: #d8d2c6;
  color: var(--pe-ink);
  font-family: "DM Sans", var(--sans, system-ui), sans-serif;
}
.pe [hidden] { display: none !important; }

/* the bar (app) */
.pe-bar { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; margin: 0 -16px 18px; padding: 10px 16px; border-bottom: 1px solid var(--pe-line); background: var(--pe-bg); }
.pe-bar h2 { margin: 0; text-align: center; font: 600 19px/1.2 "Playfair Display", Georgia, serif; color: var(--pe-ink); }
.pe-bar-l { justify-self: start; }
.pe-bar-r { justify-self: end; }
.pe-text-btn { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--pe-soft); font: 600 15px/1 inherit; font-family: inherit; cursor: pointer; }
.pe-go { min-height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--pe-accent); color: var(--pe-accent-ink); font: 700 14px/1 inherit; font-family: inherit; cursor: pointer; }
.pe[data-pe-view="main"] .pe-only-part,
.pe:not([data-pe-view="main"]) .pe-only-main { display: none !important; }

/* you: photo, name, bio */
.pe-me { display: flex; align-items: center; gap: 16px; }
.pe-photo { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pe-photo-btn { position: relative; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.pe-photo-btn .you-cam { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--pe-bg); border-radius: 50%; background: var(--pe-accent); color: var(--pe-accent-ink); }
.pe-photo-btn .you-cam svg { width: 15px; height: 15px; }
.pe-photo-clear { padding: 0; border: 0; background: none; color: var(--pe-soft); font: 600 12px/1.3 inherit; font-family: inherit; text-decoration: underline; cursor: pointer; }
.pe-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pe-me .pe-field { flex: 1; }
.pe-label { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pe-soft); }
.pe-label small { font-weight: 500; letter-spacing: 0; text-transform: none; }
.pe :is(input[type="text"], input[type="url"], input:not([type]), textarea, select) { box-sizing: border-box; width: 100%; border: 1px solid var(--pe-line); border-radius: 12px; background: var(--pe-field); color: var(--pe-ink); font: 400 15px/1.45 "DM Sans", system-ui, sans-serif; }
.pe :is(input[type="text"], input[type="url"], input:not([type]), select) { min-height: 46px; padding: 0 14px; }
.pe textarea { padding: 11px 14px; resize: vertical; }
.pe :is(input, textarea, select):focus { outline: none; border-color: var(--pe-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pe-accent) 22%, transparent); }
.pe :is(input, textarea)::placeholder { color: color-mix(in srgb, var(--pe-soft) 80%, transparent); }
.pe-bio { margin-top: 16px; }

/* the sections and rows */
.pe-sec { margin: 24px 2px 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pe-kicker); }
.pe-rows { overflow: hidden; border: 1px solid var(--pe-line); border-radius: 16px; background: var(--pe-card); }
.pe-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; box-sizing: border-box; padding: 10px 14px; border: 0; border-top: 1px solid var(--pe-line-soft); background: none; color: var(--pe-ink); text-align: left; font: inherit; cursor: pointer; }
.pe-rows > .pe-row:first-child, .pe-rows > :first-child > .pe-row { border-top: 0; }
.pe-ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--pe-ico-bg); color: var(--pe-ico); }
.pe-ico svg { width: 18px; height: 18px; }
.pe-ico.is-gold { background: var(--pe-gold-bg); color: var(--pe-gold); }
.pe-row-copy { flex: 1; min-width: 0; }
.pe-row-copy b { display: block; font-size: 15px; font-weight: 700; }
.pe-row-copy small { display: block; overflow: hidden; font-size: 13px; color: var(--pe-soft); text-overflow: ellipsis; white-space: nowrap; }
.pe-chev { flex: none; color: var(--pe-soft); font-size: 20px; line-height: 1; opacity: .7; }
.pe-private { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--pe-line); border-radius: 16px; background: var(--pe-card); }
.pe-private > span { flex: 1; }
.pe-private b { display: block; font-size: 15px; }
.pe-private small { font-size: 13px; color: var(--pe-soft); }
.pe-error { margin: 14px 2px 0; color: #b4442a; font-size: 14px; }

/* a part's own editor */
.pe-part-note { margin: 0 2px 12px; font-size: 14px; color: var(--pe-soft); }
.pe-chan { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; padding: 14px; border: 1px solid var(--pe-line); border-radius: 16px; background: var(--pe-card); }
.pe-chan-h { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.pe-chan-h svg { width: 20px; height: 20px; }
.pe-line-add { align-self: flex-start; padding: 2px 0; border: 0; background: none; color: var(--pe-link); font: 600 14px/1.3 inherit; font-family: inherit; cursor: pointer; }

/* the shared editors inside (websites, vlogs, codes) take the page's colours */
.pe :is(.sx-ed-site, .yl li, .lc-ed li, .lc-form) { border-color: var(--pe-line); background: var(--pe-card); color: var(--pe-ink); }
.pe :is(.sx-ed-site input, .sx-ed-site textarea, .yl-add input, .yl .yl-cap, .yl .yl-about, .lc-in, .lc-form select) { border-color: var(--pe-line); background: var(--pe-field); color: var(--pe-ink); }
.pe :is(.yl b, .lc-w b) { color: var(--pe-ink); }
.pe :is(.yl small, .lc-code, .lc-list-h, .yl-hint, .lc-hint) { color: var(--pe-soft); }
.pe :is(.sx-ed-x, .yl-first, .yl .yl-first, .lc-ed-word) { color: var(--pe-link); }
.pe .sx-ed-add, .pe .lc-add-open { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; box-sizing: border-box; border: 1.5px dashed var(--pe-line); border-radius: 16px; background: transparent; color: var(--pe-link); font: 700 15px/1 "DM Sans", system-ui, sans-serif; cursor: pointer; }
.pe :is(.yl button, .lc-ed button.lc-ed-x) { border-color: var(--pe-line); background: var(--pe-field); color: var(--pe-soft); }
.pe .yl-add .tg-btn { border-color: var(--pe-accent); background: var(--pe-field); color: var(--pe-link); }
.pe .lc-add { background: var(--pe-accent); color: var(--pe-accent-ink); }
.pe .lc-cancel { border: 1px solid var(--pe-line); background: var(--pe-field); color: var(--pe-ink); }

/* the codes: "+ Add a code" folds the form; "+ Link and a note" folds once more (shared/creator.js) */
.lc-add-box { margin-top: 12px; }
.lc-add-box > summary { list-style: none; }
.lc-add-box > summary::-webkit-details-marker { display: none; }
.lc-add-box[open] > .lc-add-open { margin-bottom: 10px; border-style: solid; }
.lc-more > summary { padding: 4px 0; color: var(--pe-link, #1e5a3d); font: 600 14px/1.3 "DM Sans", system-ui, sans-serif; list-style: none; cursor: pointer; }
.lc-more > summary::-webkit-details-marker { display: none; }
.lc-more[open] { display: grid; gap: 8px; }
.lc-more[open] > summary { display: none; }

/* the website: two columns (you | the parts), each part opens in place */
.ac-pe { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
/* two columns only when the panel itself is wide (the Account page puts it in a narrow column on most screens) */
.ac-panel-body:has(> .ac-pe) { container-type: inline-size; }
@container (min-width: 760px) {
  .ac-pe { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); align-items: start; }
}
.ac-pe-me { display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--pe-line); border-radius: 20px; background: var(--pe-card); }
.ac-pe-parts { display: flex; flex-direction: column; gap: 10px; }
.ac-pe-parts .pe-sec { margin-top: 0; }
.ac-pe-part { overflow: hidden; border: 1px solid var(--pe-line); border-radius: 18px; background: var(--pe-card); }
.ac-pe-part > summary { list-style: none; }
.ac-pe-part > summary::-webkit-details-marker { display: none; }
.ac-pe-part[open] { border-color: color-mix(in srgb, var(--pe-accent) 30%, var(--pe-line)); }
.ac-pe-part[open] .pe-chev { transform: rotate(90deg); }
.ac-pe-body { padding: 4px 18px 18px; }
.ac-pe-chans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ac-pe-chans .pe-chan { margin: 0; padding: 0; border: 0; background: none; }
.ac-pe-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 18px; }
/* the website's old channel-line style (indented under its label) gives way to the card's own */
.ac-pe .ac-chan-about { width: 100% !important; max-width: none; margin: 0 !important; }
