:root { --ink: #182329; --muted: #637178; --paper: #ffffff; --line: #d9e0dc; --teal: #0f766e; --teal-dark: #095b56; --orange: #e36b3d; --soft: #eef5f1; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #edf3ef; font: 15px/1.55 'DM Sans', sans-serif; }
.shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
aside { padding: 30px 20px; background: var(--ink); color: white; }
.brand { padding: 0 12px 32px; border-bottom: 1px solid #ffffff25; }
.brand h1 { margin: 0; font: 700 25px/1.15 'Libre Baskerville', serif; }
.brand p { margin: 9px 0 0; color: #b8cbc4; font-size: 13px; }
nav { padding-top: 24px; }
.nav-label { margin: 0 12px 9px; color: #91aba2; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nav-link { display: flex; align-items: center; width: 100%; padding: 12px; border: 0; border-radius: 6px; color: #dbe8e3; background: transparent; font: 600 14px 'DM Sans', sans-serif; text-align: left; text-decoration: none; cursor: pointer; }
.nav-link:hover, .nav-link.active { background: #ffffff14; color: white; }
main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 70px; }
header { margin-bottom: 32px; }
header h2 { margin: 0; font: 700 clamp(27px, 4vw, 42px)/1.15 'Libre Baskerville', serif; }
header p { max-width: 470px; margin: 8px 0 0; color: var(--muted); }
.section-title { margin: 32px 0 12px; font: 700 14px 'DM Sans', sans-serif; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.card { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 22px; box-shadow: 0 12px 30px #17342b0b; }
.card h3 { margin: 0 0 6px; font: 700 18px 'Libre Baskerville', serif; }
.card p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.field { margin: 14px 0; }
label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #49615e; }
input[type="text"], input[type="number"], textarea, select { width: 100%; border: 1px solid #cbd7d1; border-radius: 5px; background: white; color: var(--ink); padding: 10px 11px; font: inherit; outline: none; }
input:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px #0f766e1c; }
textarea { min-height: 80px; resize: vertical; }
.upload-box { border: 2px dashed #cbd7d1; border-radius: 8px; padding: 24px; text-align: center; background: #f8faf9; cursor: pointer; transition: border-color .2s, background .2s; position: relative; }
.upload-box:hover { border-color: var(--teal); background: #f3f9f6; }
.upload-box.has-file { border-style: solid; border-color: var(--teal); background: #f3f9f6; }
.upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-preview { max-width: 100%; max-height: 160px; margin-top: 12px; border-radius: 6px; border: 1px solid #e5ece8; display: none; }
.upload-hint { color: var(--muted); font-size: 12px; margin-top: 8px; }
.file-list { margin-top: 12px; }
.file-item { display: flex; align-items: center; gap: 10px; padding: 10px; background: #f8faf9; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 8px; }
.file-item img { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.file-info { flex: 1; }
.file-name { font-weight: 600; font-size: 13px; }
.file-meta { color: var(--muted); font-size: 11px; }
.file-actions { display: flex; gap: 6px; }
.btn-sm { padding: 6px 10px; font-size: 11px; border-radius: 4px; cursor: pointer; border: 0; }
.btn-view { background: var(--soft); color: var(--teal-dark); }
.btn-delete { background: #fff0eb; color: #b44826; }
.actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
button { border: 0; border-radius: 5px; cursor: pointer; padding: 11px 16px; font: 700 13px 'DM Sans', sans-serif; }
.primary { background: var(--teal); color: white; }
.primary:hover { background: var(--teal-dark); }
.secondary { background: #dfece7; color: var(--teal-dark); }
.danger { background: #fff0eb; color: #b44826; }
.status { margin-top: 12px; color: var(--teal); font-size: 12px; min-height: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 900px) { .shell { grid-template-columns: 1fr; } aside { padding: 22px 18px; } nav { display: flex; flex-wrap: wrap; gap: 3px; } .nav-link { width: auto; } main { width: min(100% - 30px, 1180px); } .form-grid { grid-template-columns: 1fr; } }
@media print { body { background: white; } aside, .actions { display: none; } main { width: 100%; padding: 0; } .card { box-shadow: none; border: 0; } }
