@font-face { font-family: Inter; src: url('/public/inter.ttf'); }
* { box-sizing: border-box; }
body { margin: 0; color: #000; background: #fff; font: 14px/1.5 Inter, system-ui, sans-serif; }
header { display: flex; justify-content: space-between; align-items: center; padding: 22px 4vw; border-bottom: 1px solid #000; background: #fff; }
.brand { color: #000; text-decoration: none; font-weight: 600; }
.brand span { font-weight: 400; color: #555; }
main { max-width: 1440px; padding: 40px 4vw 80px; margin: auto; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 36px; line-height: 1.15; letter-spacing: -1px; font-weight: 600; margin-bottom: 16px; }
h2 { font-size: 23px; line-height: 1.3; letter-spacing: -.4px; }
h3 { font-size: 17px; }
.eyebrow { font-size: 11px; letter-spacing: 1px; font-weight: 600; color: #555; margin-bottom: 10px; }
button, .upload-button { font: inherit; font-weight: 600; color: #fff; background: #000; border: 1px solid #000; border-radius: 0; padding: 11px 16px; cursor: pointer; }
button:hover, .upload-button:hover { color: #000; background: #fff; }
button:disabled { opacity: .5; cursor: wait; }
a { color: #000; text-underline-offset: 3px; }
input, textarea { display: block; width: 100%; font: inherit; color: #000; background: #fff; border: 1px solid #888; border-radius: 0; padding: 10px 11px; resize: vertical; margin-top: 6px; }
label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 20px; }
input:focus, textarea:focus, button:focus-visible, a:focus-visible, .upload-button:focus-within { outline: 2px solid #000; outline-offset: 3px; }
.login { max-width: 440px; margin: 7vh auto; }
.login > p { color: #555; }
.login form { margin-top: 32px; }
.login button { margin-top: 18px; width: 100%; }
.page-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.draft-note { color: #555; font-size: 12px; text-align: right; }
.layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; }
aside { border-right: 1px solid #ccc; padding-right: 22px; }
#roles { display: grid; gap: 4px; }
#roles button { text-align: left; padding: 12px; border: 1px solid transparent; border-radius: 0; color: #000; background: #fff; font-weight: 400; }
#roles button:hover { border-color: #888; }
#roles button[aria-current=true] { border-color: #000; background: #f4f4f4; }
#roles strong, #roles small { display: block; }
#roles strong { font-size: 14px; }
#roles small { color: #555; font-size: 12px; line-height: 1.4; margin-top: 4px; }
.muted { color: #555; font-size: 12px; }
.editor-title { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.editor-title h2 { margin: 0; }
.badge { border: 1px solid #000; color: #000; background: #fff; border-radius: 0; padding: 4px 8px; height: fit-content; font-size: 10px; letter-spacing: 1px; font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; }
.save-row { display: flex; align-items: center; gap: 16px; }
.password-section { margin-top: 30px; padding-top: 24px; border-top: 1px solid #aaa; }
.password-section h3 { margin-bottom: 16px; }
.password-section label { margin-bottom: 0; }
.password-controls { display: flex; gap: 8px; margin: 6px 0 16px; }
.password-controls input { margin: 0; flex: 1; min-width: 0; font-family: ui-monospace, monospace; }
.password-controls button { background: #fff; color: #000; }
.password-controls button:hover { background: #000; color: #fff; }
.hint { font-size: 12px; color: #555; }
.password-section .hint { margin: 14px 0 0; }
.resume { margin-top: 30px; padding: 22px; border: 1px solid #aaa; border-radius: 0; background: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.resume h3 { margin-bottom: 5px; }
.resume > div:first-child { flex: 1; }
.resume p { margin-bottom: 0; }
.resume .hint { flex-basis: 100%; font-size: 12px; color: #555; }
.upload-button { position: relative; margin: 0; overflow: hidden; }
.upload-button input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
#resume-actions { display: flex; align-items: center; gap: 16px; width: 100%; }
.quiet { color: #555; background: #fff; border: 0; padding: 7px; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.quiet:hover { color: #000; background: #fff; }
.preview { padding: 28px; border: 1px solid #aaa; border-radius: 0; margin-top: 24px; background: #fff; }
#preview-role { font-size: 12px; color: #555; }
#preview-headline { font-size: 28px; max-width: 740px; line-height: 1.2; }
#preview-body { max-width: 720px; color: #333; }
#preview-link { font-size: 13px; border-bottom: 1px solid #000; }
#message { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); margin: 0; max-width: 90vw; color: #fff; background: #000; border: 1px solid #000; border-radius: 0; padding: 13px 20px; }
#message:empty { display: none; }
[hidden] { display: none !important; }
@media (max-width: 820px) {
 main { padding-top: 26px; }
 .layout { grid-template-columns: 1fr; gap: 24px; }
 aside { border-right: 0; border-bottom: 1px solid #ccc; padding: 0 0 20px; }
 #roles { max-height: 260px; overflow: auto; grid-template-columns: 1fr 1fr; }
 .page-title { display: block; }
 .draft-note { text-align: left; }
 .two { grid-template-columns: 1fr; }
 .preview { padding: 20px; }
 h1 { font-size: 30px; }
 .brand span { display: block; font-size: 12px; }
 #preview-headline { font-size: 24px; }
}
.manager-tabs { display: flex; gap: 0; margin-bottom: 36px; border-bottom: 1px solid #000; }
.manager-tabs button { color: #000; background: #fff; border-bottom: 0; padding: 12px 22px; }
.manager-tabs button + button { border-left: 0; }
.manager-tabs button[aria-current=page] { color: #fff; background: #000; }
.secondary { color: #000; background: #fff; }
.secondary:hover { color: #fff; background: #000; }
.role-projects { margin: 20px 0; padding: 0; list-style: none; border-top: 1px solid #aaa; }
.role-projects li { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #ccc; padding: 10px 0; }
.role-projects label { display: flex; align-items: center; gap: 12px; margin: 0; flex: 1; }
.role-projects li[data-enabled=false] label { color: #666; }
.role-projects input[type=checkbox], .checkbox-label input { width: 17px; height: 17px; margin: 0; accent-color: #000; flex-shrink: 0; }
.role-projects button { padding: 5px 12px; }
.checkbox-label { display: flex; align-items: center; gap: 10px; }
.publish-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; margin-top: 16px; border-bottom: 1px solid #aaa; }
.publish-bar h3 { margin-bottom: 6px; }
.publish-bar p { margin: 0; max-width: 620px; }
#project-list { display: grid; gap: 4px; }
#project-list button { width: 100%; text-align: left; padding: 12px; border: 1px solid transparent; color: #000; background: #fff; font-weight: 400; }
#project-list button:hover { border-color: #888; }
#project-list button[aria-current=true] { background: #f4f4f4; border-color: #000; }
#project-list strong, #project-list small { display: block; }
#project-list small { color: #555; font-size: 12px; margin-top: 4px; }
#project-list button.project-child { padding-left: calc(12px + var(--depth) * 15px); }
.project-text-section { border: 1px solid #aaa; margin: 24px 0; padding: 18px; }
.project-text-section legend { padding: 0 6px; font-size: 12px; }
.project-text-section label { margin-bottom: 14px; }
.project-link-fields { margin-top: 24px; }
.project-assets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.project-assets figure { margin: 0; border: 1px solid #ccc; background: #fff; }
.project-assets img, .project-assets video { width: 100%; max-height: 240px; object-fit: contain; display: block; }
.presentation-download { grid-column: 1 / -1; margin: 8px 0; }
@media (max-width: 820px) { #project-list { max-height: 300px; overflow: auto; } .publish-bar .save-row { flex-wrap: wrap; } }

select { display: block; width: 100%; font: inherit; color: #000; background: #fff; border: 1px solid #888; border-radius: 0; padding: 10px; margin-top: 6px; }
.project-image-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.project-image-fields img { display: block; object-fit: contain; border: 1px solid #ccc; background: #f4f4f4; margin-bottom: 16px; }
.icon-preview { width: 72px; height: 72px; }
.cover-preview { width: 100%; height: 160px; }
.project-image-fields .upload-button { display: inline-block; }
#project-copy-preview > .icon-preview { margin-bottom: 20px; }
@media (max-width: 820px) { .project-image-fields { grid-template-columns: 1fr; } }

.application-actions { display: flex; align-items: center; gap: 24px; }
.application-actions .draft-note { margin: 0; }
.new-application { border: 1px solid #000; padding: 24px; margin-bottom: 36px; }
@media (max-width: 820px) { .application-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 20px; } }
