button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
button:focus-visible, input:focus-visible, textarea:focus-visible, .success:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.grow-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; padding-block: 66px 80px; align-items: start; }
.grow-intro h1 { font-size: clamp(46px, 5vw, 68px); letter-spacing: -2.5px; margin-block: 28px 22px; }
.grow-intro .intro { max-width: 360px; }
/* The sizes of the garden pictures (create.html, mijn-paddenstoelen.html)
   follow this layout: 1px where the garden is hidden, so the smallest copy. */
.grow-garden { display: block; position: relative; margin-top: 0; }
.grow-garden img { display: block; width: 100%; height: auto; }
/* At night the moon hangs where the sun was (1055, 90 of 1200 × 900). */
.grow-garden::after { content: ''; display: var(--if-night); position: absolute; left: 87.9%; top: 9.9%; width: 9.4%; aspect-ratio: 1; transform: translate(-50%, -50%); background: url(/assets/moon.webp) center / contain no-repeat; filter: drop-shadow(0 0 14px var(--moon-halo)); }
/* The same night as the homepage garden: glowing spots and a few fireflies
   (styles.css). Nothing of it loads by day. */
.grow-garden .garden-glow { display: var(--if-night); position: absolute; inset: 0; }
.grow-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 32px; box-shadow: 0 8px 24px var(--card-shadow); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset:disabled { opacity: .65; }
.field-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.field-heading h2, .field-heading label { font: 600 17px var(--sans); letter-spacing: 0; margin: 0; }
.field-number { display: grid; place-items: center; width: 34px; height: 34px; background: var(--soft); border-radius: 50%; font: 14px var(--serif); }
.drop-zone { border: 1px dashed var(--drop-edge); border-radius: 7px; padding: 26px 15px 20px; text-align: center; background: var(--paper); }
.drop-zone.drag-over { background: var(--soft); outline: 2px solid var(--ink); outline-offset: 3px; }
.drop-zone.selected { border-style: solid; background: var(--picked); }
.folder-icon { width: 46px; height: 36px; margin: 0 auto 8px; }
#folder-title { font-size: 15px; font-weight: 600; margin: 8px 0; overflow-wrap: anywhere; }
#folder-details { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 8px 0 16px; }
.choose-folder, .text-button { color: var(--red); background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; font-size: 13px; padding: 8px; }
.field-hint { font-size: 12px; color: var(--muted); line-height: 1.75; margin: 12px 0 0; overflow-wrap: anywhere; }
.selection-note { font-size: 12px; line-height: 1.6; margin: 10px 0 0; }
.selection-note:empty { display: none; }
.email-field { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 24px; }
input[type="email"], #site, #site-url, #slug-words { display: block; width: 100%; min-width: 0; border: 1px solid var(--input-edge); border-radius: 5px; background: var(--input); color: var(--ink); padding: 14px 13px; font-size: 16px; }
input::placeholder { color: var(--placeholder); }
.publish-button { margin-top: 24px; width: 100%; border: 0; justify-content: center; font-size: 15px; }
.privacy-note { font-size: 11px; text-align: center; line-height: 1.7; color: var(--muted); margin: 14px 6px 0; }
#progress-area { margin-top: 20px; font-size: 13px; line-height: 1.7; }
progress { width: 100%; accent-color: var(--ink); margin-top: 10px; }
.form-error a { color: inherit; text-underline-offset: 3px; }
.form-error { color: var(--error-text); font-size: 13px; line-height: 1.7; padding: 14px; background: var(--error-bg); border-left: 3px solid var(--red); border-radius: 3px; }
.success-mark { display: grid; place-items: center; width: 54px; height: 54px; background: var(--ink); color: var(--on-ink); border-radius: 50%; font-size: 27px; margin-bottom: 25px; }
.success h2 { font-size: 37px; }
.success > p:not(.eyebrow) { font-size: 13px; line-height: 1.8; }
.success label { display: block; font-size: 12px; margin: 25px 0 9px; }
#site-url { font-family: monospace; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; resize: vertical; }
.success-actions { display: flex; gap: 12px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.success-actions .button { gap: 6px; padding-inline: 14px; font-size: 13px; }
.success-actions .button span { font-size: inherit; white-space: nowrap; }
.new-tab-note { font-size: 11px; opacity: .85; white-space: nowrap; }
#start-over { margin: 18px 0 8px; padding-left: 0; }
#copy-status:empty { display: none; }
.update-note { font-size: 13px; line-height: 1.7; margin: 0 0 22px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; }
.update-link { font-size: 12px; margin: 22px 0 0; }
.preview-details { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 0; }
.preview-details summary { font-size: 12px; padding-block: 18px 0; }
.preview-details[open] summary { padding-bottom: 18px; }
.preview-details > p { font-size: 12px; margin-right: 0; }
@media (max-width: 1100px) { .grow-layout { gap: 38px; } .grow-card { padding: 25px; } .grow-intro h1 { font-size: 53px; } }
@media (max-width: 800px) {
  .grow-layout { grid-template-columns: 1fr; max-width: 590px; gap: 28px; padding-block: 35px 45px; }
  .grow-intro h1 { font-size: 53px; margin-top: 20px; }
  .grow-intro h1 br { display: none; }
  .grow-intro .intro { max-width: none; margin-bottom: 0; }
  .grow-garden { display: none; }
  .grow-card { padding: 23px; }
}
@media (max-width: 390px) { .grow-card { padding: 18px; } .grow-intro h1 { font-size: 44px; } .success h2 { font-size: 31px; } }

/* Two ways in: upload here, or let an AI agent do it (create.js). */
.grow-tabs { display: flex; margin: -32px -32px 30px; border-bottom: 1px solid var(--line); background: var(--paper); border-radius: 12px 12px 0 0; overflow: hidden; }
.grow-tabs button { flex: 1; margin-bottom: -1px; padding: 18px 12px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-size: 15px; }
.grow-tabs button + button { border-left: 1px solid var(--line); }
.grow-tabs [aria-selected="true"] { color: var(--ink); font-weight: 600; background: var(--card); border-bottom-color: var(--red); }
.grow-tabs button:focus-visible { outline-offset: -4px; }
.choose-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
#folder-details { font-size: 14px; }
.where-folder { margin-top: 14px; border-bottom: 0; }
.where-folder summary { justify-content: flex-start; gap: 10px; padding: 6px 0; font-size: 14px; }
/* Decorate only the label: an underline on summary also paints on the
   rotating icon, even if the icon resets its own text-decoration. */
.where-folder summary > .where-folder-label { font-size: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); transform: none; }
.where-folder summary > [aria-hidden] { font-size: 16px; color: var(--red); }
.where-folder ul { display: grid; gap: 10px; margin: 0; padding: 4px 0 0; list-style: none; }
.where-folder li { padding-left: 14px; border-left: 2px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--muted); }
.where-folder strong { display: block; color: var(--ink); }
.new-address { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.address-label { margin: 0; font-weight: 600; font-size: 17px; }
.custom-address { border: 0; }
.custom-address summary { justify-content: flex-start; gap: 6px; padding: 12px 0; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.custom-address summary > span { font-size: 12px; color: var(--muted); transform: none; }
.custom-address[open] summary > span { transform: none; }
.custom-address label { display: block; margin: 4px 0 8px; font-size: 14px; }
.custom-address .field-hint { margin: 10px 0 0; }
#slug-words[aria-invalid="true"] { border-color: var(--error-text); }
#slug-count { font-variant-numeric: tabular-nums; }
#slug-count[data-near-limit="true"] { font-weight: 600; }
#slug-count[data-over-limit="true"] { color: var(--over-limit); }
.new-address .link-preview { margin-top: 12px; }
.link-preview { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; padding: 12px 14px; background: var(--soft); border-radius: 5px; font-size: 13px; color: var(--muted); }
.link-preview[hidden] { display: none; }
.link-preview code { font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.agent-panel { margin-top: 24px; padding-top: 6px; border-top: 1px solid var(--line); }
.grow-tabs:not([hidden]) ~ .agent-panel { margin-top: 0; padding-top: 0; border-top: 0; }
.agent-panel h2 { font-size: 26px; margin: 16px 0 8px; }
.agent-panel > p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.agent-action { padding: 20px; border: 1px solid var(--red); border-radius: 8px; background: var(--soft); }
.agent-action label { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 600; }
.agent-action .agent-prompt { padding: 16px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 5px; background: var(--card); font-size: 18px; line-height: 1.65; }
.agent-action .button { justify-content: center; width: 100%; min-height: 48px; padding: 14px 12px; border: 0; font-size: 16px; }
.agent-action .agent-copy-status { margin: 12px 0 0; }
.grow-mini-steps { display: grid; gap: 12px; margin: 28px 0 32px; padding: 0; list-style: none; }
.grow-mini-steps li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.grow-mini-steps span { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: var(--paper); font: italic 16px var(--serif); }
.grow-mini-steps p { margin: 0; }
@media (max-width: 1100px) { .grow-tabs { margin: -25px -25px 26px; } }
@media (max-width: 800px) { .grow-tabs { margin: -23px -23px 24px; } .grow-mini-steps { margin-bottom: 8px; } }
@media (max-width: 390px) { .grow-tabs { margin: -18px -18px 22px; } }

/* A reversible upload selection, not a local-file deletion interface. */
.upload-review { margin: 1rem 0 1.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: .75rem; }
.upload-review .selection-note, .upload-review .mine-upload-status { margin: 0; font-size: .85rem; line-height: 1.6; }
.upload-review .upload-notice, .upload-local, .upload-document-note, .upload-website-note { font-size: .78rem; line-height: 1.65; color: var(--muted); margin: .65rem 0; }
.upload-sensitive { font-size: .8rem; line-height: 1.6; margin: .8rem 0; padding: .6rem .75rem; background: var(--soft); border-left: 2px solid var(--line); }
.upload-group { border: 0; border-top: 1px solid var(--line); margin: .6rem 0 0; }
.upload-group summary { cursor: pointer; min-height: 44px; display: flex; justify-content: flex-start; gap: .5rem; padding: .65rem 0; overflow-wrap: anywhere; font: 600 .9rem var(--sans); }
.upload-group summary::before { content: '▸'; flex: 0 0 auto; }
.upload-group[open] summary::before { content: '▾'; }
.upload-group ul { margin: 0; padding: 0; list-style: none; }
.upload-group li { border-top: 1px solid var(--line); }
.upload-file-row { display: block; min-height: 44px; padding: .7rem 0; }
.upload-choice { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); align-items: start; gap: .65rem; cursor: pointer; }
.upload-file-content { display: block; min-width: 0; }
.upload-file-path { display: block; overflow-wrap: anywhere; font-family: monospace; font-size: .82rem; line-height: 1.5; }
.upload-file-size, .upload-file-state { display: block; font-size: .76rem; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.upload-file-state:empty { display: none; }
.upload-choice input[type=checkbox] { margin: .15rem 0 0; width: 1.25rem; height: 1.25rem; accent-color: var(--red); }
.upload-choice:focus-within, .upload-group summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.upload-notice { overflow-wrap: anywhere; }
.mine-upload-message { margin: .8rem 0; font-size: .85rem; line-height: 1.6; }
