* { box-sizing: border-box; } body { margin: 0; color: #2f2926; background: #f6f0ea; font-family: Arial, Helvetica, sans-serif; line-height: 1.5; } a { color: #7d3f45; } button, .button { border: 0; border-radius: 8px; background: #7d3f45; color: white; padding: .72rem .95rem; text-decoration: none; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; } .button.secondary, .link-button { background: transparent; color: #7d3f45; box-shadow: inset 0 0 0 1px #7d3f45; } .danger { background: #9b2f2f; } input, textarea, select { width: 100%; border: 1px solid rgba(47,41,38,.22); border-radius: 8px; padding: .7rem .8rem; font: inherit; background: white; } label { display: grid; gap: .35rem; font-weight: 800; } .checkbox { display: flex; gap: .55rem; align-items: flex-start; } .checkbox input { width: auto; margin-top: .35rem; } a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #7a8f73; outline-offset: 2px; } .skip-link { position: absolute; top: -100px; left: 1rem; background: #7d3f45; color: white; padding: .75rem 1rem; z-index: 20; } .skip-link:focus { top: 1rem; } .admin-sidebar { position: fixed; inset: 0 auto 0 0; width: 260px; overflow: auto; padding: 1rem; background: #2f2926; color: white; } .admin-sidebar a { color: white; } .admin-brand { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; text-decoration: none; margin-bottom: 1rem; } .admin-brand span { font-family: Arial, Helvetica, sans-serif; font-size: .9rem; opacity: .8; } .admin-sidebar nav { display: grid; gap: .25rem; margin-bottom: 1rem; } .admin-sidebar nav a, .admin-sidebar > a, .link-button { border-radius: 8px; padding: .58rem .7rem; text-decoration: none; text-align: left; } .admin-sidebar nav a.active { background: rgba(255,255,255,.16); } .admin-main { margin-left: 260px; padding: clamp(1rem, 4vw, 2rem); } .admin-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; } .eyebrow { color: #7a8f73; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; font-size: .75rem; } h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.12; letter-spacing: 0; } h1 { margin: .2rem 0; font-size: clamp(2rem, 5vw, 3.5rem); } .panel, .table-list article, .stats-grid article, .auth-card, .section-editor { background: white; border: 1px solid rgba(47,41,38,.12); border-radius: 8px; padding: 1rem; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; } .stats-grid strong { display: block; font-size: 1.8rem; color: #7d3f45; } .quick-actions, .toolbar { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; align-items: center; } .two-column { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; } .table-list { display: grid; gap: 1rem; } .editor-form { display: grid; gap: 1rem; max-width: 940px; } .editor-form.nested { margin-top: 1rem; max-width: none; } .inline-form, .inline-grid { display: grid; gap: .75rem; margin: 1rem 0; } .inline-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; } .section-editor { margin: .75rem 0; } .section-editor summary { cursor: pointer; font-weight: 900; } .media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 1rem 0; } .media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #efe3da; } .media-card { background: white; border-radius: 8px; padding: .75rem; display: grid; gap: .4rem; } .message-detail pre { white-space: pre-wrap; background: #f6f0ea; padding: 1rem; border-radius: 8px; } .auth-page { min-height: 100vh; display: grid; place-items: center; padding: 1rem; } .auth-card { width: min(100%, 460px); } .auth-card form { display: grid; gap: 1rem; } @media (max-width: 860px) { .admin-sidebar { position: static; width: auto; } .admin-main { margin-left: 0; } .admin-sidebar nav { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }