:root { --ink:#0d2633; --navy:#123947; --gold:#d3a04b; --cream:#f8f4eb; --line:rgba(13,38,51,.14); --danger:#a83d3d; font-family:Poppins,system-ui,sans-serif; color:var(--ink); background:var(--cream); }
* { box-sizing:border-box; } body { margin:0; } button,input,select { font:inherit; } button { cursor:pointer; }
.admin-shell { width:min(1180px,calc(100% - 32px)); margin:0 auto; padding:48px 0 72px; }.login-card { width:min(460px,100%); margin:8vh auto; padding:38px; background:#fff; border:1px solid var(--line); border-radius:24px; box-shadow:0 24px 70px rgba(13,38,51,.1); }.login-card h1,.dashboard h1,.panel-heading h2 { margin:4px 0; }.login-card p { color:#52646b; }.login-card form { display:grid; gap:16px; margin:28px 0 18px; }.login-back-link { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 16px; border:1px solid rgba(13,38,51,.16); border-radius:10px; color:var(--navy); background:#fff; font-size:.82rem; font-weight:800; text-decoration:none; transition:background .2s ease,border-color .2s ease,transform .2s ease; }.login-back-link:hover { border-color:var(--gold); background:#fffaf0; transform:translateY(-1px); }.eyebrow { margin:0; color:#a47020!important; font-size:.7rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
label { display:grid; gap:7px; font-size:.82rem; font-weight:700; } input,select { width:100%; min-height:44px; border:1px solid var(--line); border-radius:10px; padding:0 12px; background:#fff; color:var(--ink); }.button { min-height:42px; border:0; border-radius:10px; padding:0 16px; font-weight:800; }.button-primary { background:var(--gold); color:#102a34; }.button-secondary { background:#e8eceb; color:var(--ink); }.button-danger { background:#f8e5e4; color:#8d2e2e; }.form-message { min-height:22px; margin:0; color:#6a3b1e; font-size:.8rem; font-weight:600; }
.dashboard-header,.panel-heading,.header-actions,.form-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; }.dashboard-header { margin-bottom:28px; }.header-actions { font-size:.85rem; }.header-actions a { color:var(--navy); font-weight:700; }.dashboard-grid { display:grid; grid-template-columns:360px minmax(0,1fr); gap:24px; align-items:start; }.animals-list-panel,.editor-panel { background:#fff; border:1px solid var(--line); border-radius:20px; padding:22px; }.panel-heading { margin-bottom:18px; }.panel-heading p { margin:0; color:#66787d; font-size:.78rem; }.animals-list { display:grid; gap:8px; max-height:70vh; overflow:auto; }.animal-row { width:100%; padding:9px; border:1px solid transparent; border-radius:12px; background:#fafafa; display:grid; grid-template-columns:48px 1fr auto; gap:11px; text-align:left; align-items:center; }.animal-row:hover,.animal-row.is-selected { border-color:var(--gold); background:#fffcf6; }.animal-row img { width:48px; height:48px; object-fit:cover; border-radius:9px; }.animal-row strong,.animal-row small { display:block; }.animal-row small { color:#66787d; font-size:.72rem; }.status { width:8px; height:8px; border-radius:50%; background:#aeb8b9; }.status.is-active { background:#3d9b63; }
.editor-panel form { display:grid; gap:22px; }.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }.full-width { grid-column:1 / -1; }.toggle { display:flex; align-items:center; gap:10px; }.toggle input { width:18px; min-height:18px; }.photo-fieldset { margin:0; padding:18px; border:1px solid var(--line); border-radius:14px; }.photo-fieldset legend { padding:0 5px; font-weight:800; }.photo-fieldset p { margin:0 0 14px; color:#66787d; font-size:.78rem; }.cropper { margin-top:18px; }.cropper canvas { display:block; width:min(100%,520px); aspect-ratio:1 / .86; border-radius:12px; background:#eef0ef; cursor:grab; touch-action:none; }.cropper canvas:active { cursor:grabbing; }.cropper label { margin-top:12px; }.current-photo img { width:120px; height:104px; margin-top:14px; object-fit:cover; border-radius:10px; }.form-actions { justify-content:flex-start; }
@media(max-width:820px){.admin-shell{width:min(100% - 24px,680px);padding-top:24px}.dashboard-grid{grid-template-columns:1fr}.animals-list{max-height:300px}.dashboard-header{align-items:flex-start;flex-direction:column}.form-grid{grid-template-columns:1fr}.full-width{grid-column:auto}.login-card{padding:26px}}
