.admin-body { margin: 0; background: #FAFAF5; color: #591414; font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
.admin-body *, .admin-body *::before, .admin-body *::after { box-sizing: border-box; }
.admin-body [hidden] { display: none !important; }
.admin-body button, .admin-body input, .admin-body textarea, .admin-body select { font: inherit; }
.admin-body button, .admin-body a { -webkit-tap-highlight-color: transparent; }
.admin-body a { color: inherit; text-underline-offset: 4px; }
.admin-body button { cursor: pointer; }
.admin-body button:disabled { cursor: progress; opacity: .6; }
.admin-body :focus-visible { outline: 3px solid #168C5B; outline-offset: 4px; }
.admin-shell { max-width: 1280px; padding: 0 48px; margin: 0 auto; }
.admin-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 2px solid #591414; }
.admin-brand { font-weight: 900; font-size: 25px; letter-spacing: -1.2px; text-decoration: none; white-space: nowrap; }
.admin-brand > span:first-child { font-family: Georgia, serif; font-style: italic; font-weight: 600; color: #168C5B; }
.admin-brand-dot { font-size: 13px; letter-spacing: -.2px; margin-left: 2px; }
.admin-header-actions { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 700; }
.admin-intro { position: relative; padding: 43px 0 32px; }
.admin-body .eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 1.7px; line-height: 1.5; margin: 0 0 17px; }
.admin-intro h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(48px, 6.5vw, 80px); line-height: .98; letter-spacing: -3px; margin: 0 0 22px; }
.admin-intro h1 span { font-style: italic; }
.admin-intro > p:not(.eyebrow):not(.connection) { max-width: 470px; font-size: 15px; margin: 0 0 20px; }
.admin-body .connection { display: inline-flex; align-items: center; gap: 9px; margin: 0; border: 1px solid #591414; border-radius: 20px; padding: 7px 12px; font-size: 11px; background: #fff; }
.connection::before { content: ''; width: 7px; height: 7px; flex-shrink: 0; background: #168C5B; border-radius: 50%; }
.connection.is-error::before { background: #591414; }
.editor-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid #591414; margin-bottom: 25px; }
.editor-tabs button { background: transparent; border: 0; border-right: 2px solid #591414; color: #591414; text-align: left; padding: 17px 22px; font-size: 11px; font-weight: 800; display: flex; gap: 15px; align-items: center; }
.editor-tabs button:last-child { border-right: 0; }
.editor-tabs button span { font-size: 17px; letter-spacing: -.4px; }
.editor-tabs button[aria-pressed="true"] { background: #5CACF2; }
.editor-tabs button:hover { background: #79BAF2; }
.editor-layout { display: grid; grid-template-columns: minmax(240px, .85fr) minmax(0, 2fr); gap: 28px; align-items: start; }
.editor-layout > * { min-width: 0; }
.entry-list { min-width: 0; max-width: 100%; }
.entry-library { padding: 20px 0; }
.library-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 11px; }
.admin-body h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 30px; font-weight: 400; letter-spacing: -1px; line-height: 1.15; margin: 0; }
.library-heading h2 { font-size: 24px; }
.entry-library > .help { margin: 0 0 20px; }
.entry-list { display: grid; gap: 10px; max-height: 650px; overflow-y: auto; padding: 3px; }
.entry-button { text-align: left; background: transparent; color: #591414; padding: 16px 13px; border: 1px solid #591414; width: 100%; }
.entry-button:hover, .entry-button.selected { background: #e0effb; }
.entry-button.selected { box-shadow: 3px 3px 0 #591414; }
.entry-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 9px; }
.entry-date { font-size: 10px; }
.status-badge { border: 1px solid #591414; font-size: 9px; text-transform: uppercase; letter-spacing: .8px; font-weight: 700; padding: 2px 6px; }
.status-published { background: #c4e8d4; }
.status-draft { background: #ffdbc2; }
.status-archived, .status-closed { background: #eee9e1; }
.entry-button strong { display: block; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.entry-detail { display: block; font-size: 12px; margin-top: 4px; }
.empty-library { font-size: 13px; line-height: 1.7; border: 1px dashed #591414; padding: 18px; margin: 0; }
.editor-card { background: #fff; border: 2px solid #591414; box-shadow: 6px 6px 0 #5CACF2; padding: 30px; margin-bottom: 35px; }
.editor-card > h2 { font-size: 40px; margin-bottom: 28px; }
.editor-card > .eyebrow { margin-bottom: 9px; }
.admin-body fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.admin-body label { display: block; font-size: 12px; font-weight: 800; margin: 18px 0 7px; }
.admin-body fieldset > label:first-of-type { margin-top: 0; }
.admin-body .required, .admin-body .optional { font-size: 10px; font-weight: 400; margin-left: 5px; }
.admin-body input, .admin-body textarea, .admin-body select { width: 100%; border: 1px solid #591414; color: #591414; border-radius: 0; background: #FAFAF5; padding: 11px 12px; min-height: 46px; font-size: 16px; box-shadow: none; }
.admin-body input::placeholder, .admin-body textarea::placeholder { color: #8e6e68; opacity: 1; }
.admin-body textarea { resize: vertical; line-height: 1.6; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-body .help { font-size: 11px; line-height: 1.6; color: #79504c; margin: 7px 0 0; }
.admin-body .admin-button, .admin-body .secondary-button, .admin-body .small-button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; padding: 11px 17px; color: #591414; border: 1px solid #591414; border-radius: 0; background: #5CACF2; font-size: 12px; font-weight: 800; min-height: 44px; text-decoration: none; }
.admin-body .admin-button:hover { background: #79BAF2; }
.admin-body .secondary-button { background: #FAFAF5; }
.admin-body .secondary-button:hover { background: #e0effb; }
.admin-body .small-button { padding: 6px 11px; min-height: 36px; font-size: 11px; white-space: nowrap; }
.admin-body .quiet-button, .admin-body .text-button { background: none; border: 0; border-radius: 0; padding: 5px 0; min-height: 30px; font-size: 11px; color: #591414; text-decoration: underline; text-underline-offset: 4px; }
.admin-body .quiet-button { font-size: 13px; font-weight: 700; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 27px; }
.existing-actions { border-top: 1px solid #e7d9d3; margin-top: 22px; padding-top: 12px; display: flex; gap: 24px; flex-wrap: wrap; }
.admin-body .form-message { font-size: 12px; line-height: 1.65; color: #168C5B; margin: 14px 0 0; overflow-wrap: anywhere; }
.form-message:empty { margin: 0; }
.admin-body .is-error { color: #9b2424; }
.content-preview { background: #FAFAF5; border: 1px dashed #591414; margin-top: 25px; padding: 22px; overflow-wrap: anywhere; }
.poll-responses { border-top: 1px solid #591414; padding-top: 22px; margin-top: 28px; }
.poll-responses h3 { font-size: 20px; margin: 0 0 5px; }
.poll-response { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid #e7d9d3; overflow-wrap: anywhere; font-size: 13px; }
.poll-response time { font-size: 10px; color: #79504c; }
.content-preview h3 { font-family: Georgia, serif; font-weight: 400; font-size: 29px; letter-spacing: -.7px; margin: 7px 0; }
.content-preview p { font-size: 13px; }
.content-preview .preview-rating { font-weight: 800; color: #168C5B; }
.content-preview .preview-score { font-family: Georgia, serif; font-size: 44px; margin: 10px 0; }
.preview-notes { white-space: pre-wrap; }
.preview-options { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.preview-options li { border: 1px solid #591414; padding: 10px 14px; font-size: 13px; }
.preview-options li::before { content: '○'; margin-right: 12px; }
.login-card { background: #fff; border: 2px solid #591414; box-shadow: 6px 6px 0 #5CACF2; padding: 30px; max-width: 540px; margin-bottom: 60px; }
.login-card h2 { font-size: 40px; margin-bottom: 20px; }
.login-card > p:not(.eyebrow) { font-size: 13px; }
.login-card .admin-button { margin-top: 18px; width: 100%; }
.login-card > .help { margin-top: 24px; }
.unsaved-dialog { width: min(460px, calc(100% - 36px)); padding: 28px; border: 2px solid #591414; color: #591414; background: #FAFAF5; box-shadow: 6px 6px 0 #5CACF2; }
.unsaved-dialog::backdrop { background: #59141480; }
.unsaved-dialog p { font-size: 14px; line-height: 1.6; }
.admin-footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0; margin-top: 45px; border-top: 2px solid #591414; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-width: 1000px) { .admin-intro .connection { position: absolute; right: 0; bottom: 38px; max-width: 40%; } }
@media (max-width: 850px) { .admin-shell { padding: 0 25px; } .editor-layout { grid-template-columns: 1fr; gap: 22px; } .entry-library { padding: 0; } .entry-list { display: flex; max-height: none; overflow-x: auto; padding: 3px 3px 8px; } .entry-button { min-width: 220px; max-width: 280px; flex: 0 0 230px; } .empty-library { width: 100%; } .editor-card { margin-bottom: 20px; } }
@media (max-width: 520px) { .admin-shell { padding: 0 18px; } .admin-header { min-height: 80px; gap: 12px; } .admin-brand { font-size: 19px; letter-spacing: -.9px; } .admin-brand-dot { font-size: 10px; } .admin-header-actions { gap: 10px; font-size: 10px; } .admin-body .quiet-button { font-size: 10px; } .admin-intro { padding: 30px 0 27px; } .admin-intro h1 { font-size: 58px; letter-spacing: -2.5px; } .admin-intro > p:not(.eyebrow):not(.connection) { font-size: 13px; } .admin-body .connection { border-radius: 0; font-size: 10px; } .editor-tabs { margin-bottom: 22px; } .editor-tabs button { display: block; padding: 11px 9px; font-size: 9px; } .editor-tabs button span { display: block; font-size: 13px; margin-top: 2px; letter-spacing: -.2px; } .editor-card, .login-card { padding: 22px 18px; box-shadow: 4px 4px 0 #5CACF2; } .editor-card > h2 { font-size: 35px; margin-bottom: 24px; } .field-pair { grid-template-columns: 1fr; gap: 0; } .form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; } .form-actions .admin-button { grid-column: 1 / -1; } .admin-footer { flex-direction: column; gap: 10px; margin-top: 30px; } .admin-body .eyebrow { font-size: 9px; letter-spacing: 1.3px; } }
@media (prefers-reduced-motion: reduce) { .admin-body * { scroll-behavior: auto !important; } }
.poll-response-identity { display:flex; align-items:center; gap:10px; }
.poll-response-identity .profile-avatar { display:block; width:42px; height:42px; }
