.author-page { max-width: 1160px; padding-block: clamp(24px, 5vw, 62px); }
.author-page :where(h1, h2, h3, p, li, dd) { overflow-wrap: anywhere; }
.author-page h1 { font-size: clamp(2rem, 5vw, 3.65rem); line-height: 1.04; }
.author-page h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.author-page h3 { font-size: 1.1rem; }
.author-page-head, .author-row-head, .author-actions {
    display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px 18px;
}
.author-page-head, .author-row-head { justify-content: space-between; }
.author-page-head { margin-block: 8px 20px; align-items: center; }
.author-page-head > div, .author-row-head > div { min-width: 0; }
.author-page-head p, .author-row-head p { margin-top: 5px; color: var(--muted); }
.author-page-head .button { white-space: nowrap; }
.author-panel {
    display: grid; align-content: start; gap: 14px; min-width: 0; margin-block: 14px;
    padding: clamp(15px, 3vw, 30px); background: white; border: 1px solid var(--line); border-radius: 10px;
}
.author-access { max-width: 520px; }
.author-avatar-edit {
    display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 20px;
    --avatar-size: 72px;
}
.author-avatar-edit .author-avatar { font-size: 1.4rem; }
.author-avatar-edit .author-form { flex: 1 1 260px; min-width: 0; max-width: 460px; }
.author-form { display: grid; gap: 8px; }
.author-form > :is(header, h2, h3) { margin-bottom: 3px; }
.author-form > p, .author-form label > span:not(:only-child) { color: var(--muted); }
.author-form > label + :is(input:not([type="hidden"]), select, textarea) { margin-bottom: 7px; }
.author-form label { display: block; color: var(--espresso); font-size: .94rem; font-weight: 700; }
.author-form label > span { font-size: .84rem; font-weight: 500; }
.author-form label > span:not(:first-child) { margin-inline-start: 5px; }
.author-form :where(input:not([type="checkbox"], [type="hidden"]), select, textarea) {
    width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px;
    border: 1px solid #cfc2ad; border-radius: 5px; background: white; color: var(--espresso); font: inherit;
}
.author-form :where(label + input, label + select, label + textarea) { margin-top: 3px; }
.author-form textarea { resize: vertical; }
.author-form > .button { justify-self: start; margin-top: 6px; }
.author-form-row {
    display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
}
.author-form .author-check {
    display: flex; align-items: flex-start; gap: 9px; min-height: 44px; padding-block: 7px; cursor: pointer;
}
.author-check input { accent-color: var(--espresso); inline-size: 19px; block-size: 19px; flex: none; margin-block: 2px 0; }
.author-form .author-check span { margin-inline-start: 0; font-size: .92rem; color: var(--espresso); }
.author-actions { align-items: center; }
.author-actions:empty, .author-items:empty, .author-photos:empty { display: none; }
.author-tabs { display: flex; flex-wrap: wrap; gap: 3px 12px; border-bottom: 1px solid var(--line); }
.author-tabs a { display: flex; align-items: center; min-height: 44px; padding: 5px 9px; border-bottom: 2px solid transparent; }
.author-tabs [aria-current="page"] { border-color: #795414; color: var(--espresso); font-weight: 750; }
.author-notice {
    margin-block: 10px; padding: 10px 14px; background: var(--cream);
    border-inline-start: 3px solid #a2751d; border-radius: 3px; color: var(--espresso);
}
.author-note { white-space: pre-line; overflow-wrap: anywhere; }
.author-stats, .author-facts { display: flex; gap: 10px; margin: 0; flex-wrap: wrap; }
.author-stats > div {
    display: grid; gap: 4px; flex: 1 1 132px; padding: 12px 15px;
    background: white; border: 1px solid var(--line); border-radius: 8px;
}
.author-stats dt, .author-facts dt { color: var(--muted); font-size: .82rem; }
.author-stats dd, .author-facts dd { margin: 0; font-weight: 760; }
.author-stats dd { font-size: 1.45rem; line-height: 1.15; }
.author-facts { column-gap: 25px; }
.author-facts > div { min-width: 0; }
.author-items { display: grid; gap: 10px; }
.author-entry { display: grid; gap: 8px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 7px; }
.author-status {
    display: inline-flex; align-items: center; border-radius: 5px; background: var(--cream); color: #634918;
    padding: 4px 8px; font-size: .81rem; font-weight: 700; line-height: 1.3;
}
.author-status:is([data-state="Published"], [data-state="published"], [data-state="paid"]) { background: #e4efe5; color: #26512e; }
.author-status:is([data-state="ChangesRequested"], [data-state="check"], [data-state="failed"], [data-state="blocked"]) {
    background: #f8e9e4; color: #6c2e24;
}
.author-photos, .author-public-recipes, .author-draft-copy { display: grid; gap: 14px; }
.author-photos, .author-public-recipes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr)); }
.author-public-recipes { margin-top: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.author-draft-copy { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.author-draft-copy :is(ol, ul) { margin: 5px 0; padding-inline-start: 1.4rem; }
.author-photo { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.author-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.author-photo figcaption { display: grid; align-content: start; gap: 4px; padding: 10px; }
.author-upload { border-top: 1px solid var(--line); padding-top: 14px; }
