:root { font-family: Inter, "Segoe UI", Arial, sans-serif; color: #102342; background: #f5f7fb; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 3rem); color: white; background: #06162e; }
header a { display: inline-flex; align-items: center; gap: .65rem; color: white; text-decoration: none; font-weight: 800; }
header img { border-radius: .5rem; }
header span { font-size: .85rem; }
main { width: min(58rem, calc(100% - 2rem)); margin: 2rem auto; }
.panel { padding: clamp(1.2rem, 4vw, 2rem); border: 1px solid #dce5f2; border-radius: 1.3rem; background: white; box-shadow: 0 .8rem 2rem #081c3d0d; }
h1 { margin: 0 0 .45rem; font-size: clamp(1.7rem, 4vw, 2.2rem); }
h2 { margin: 0 0 .4rem; font-size: 1.2rem; }
p { color: #536782; line-height: 1.5; }
form { display: grid; gap: 1rem; }
label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 700; }
input, textarea { width: 100%; padding: .8rem .9rem; border: 1px solid #b9c9df; border-radius: .65rem; color: #102342; font: inherit; }
textarea { min-height: 6rem; resize: vertical; }
button { justify-self: start; min-height: 2.8rem; padding: .7rem 1.15rem; border: 0; border-radius: .65rem; background: #3275f5; color: white; font: inherit; font-weight: 750; cursor: pointer; }
button.secondary { background: #e9f2ff; color: #173c82; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #8db5ff; outline-offset: 2px; }
.panel-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.content-section { display: grid; gap: .8rem; margin: 1rem 0; padding: 1rem; border: 1px solid #dce5f2; border-radius: 1rem; }
.content-section h2 { margin: 0; }
.section-head, .row-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.add-button { min-height: 2.4rem; padding: .45rem .75rem; background: #e9f2ff; color: #173c82; }
.product-editor-list { display: grid; gap: .75rem; }
.product-editor-row { display: grid; gap: .7rem; padding: .85rem; border: 1px solid #dce5f2; border-radius: .85rem; }
.product-editor-row h3 { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.icon-button { display: inline-grid; place-items: center; min-width: 2.5rem; min-height: 2.5rem; padding: .5rem; background: #fff1f1; color: #9b2530; }
.icon-button:hover { background: #ffe1e4; }
.icon-button svg { display: block; width: 1.2rem; height: 1.2rem; }
.inbox { margin-top: 2rem; border-top: 1px solid #dce5f2; padding-top: 1.5rem; }
.inbox article { margin: 1rem 0; padding: 1rem; border: 1px solid #dce5f2; border-radius: .85rem; overflow-wrap: anywhere; }
.inbox article.priority { border-color: #e8ae5e; background: #fffaf2; }
.inbox article p { white-space: pre-wrap; }
#admin-status { min-height: 1.5rem; font-weight: 700; }
[hidden] { display: none !important; }
@media (max-width: 400px) { .panel-head { flex-direction: column; } .section-head { align-items: start; flex-direction: column; } main { margin: 1rem auto; } }
