:root{color:#161616;background:radial-gradient(circle at 8% 0%,rgba(236,251,224,.9),transparent 30%),linear-gradient(180deg,#f8fbf4,#f4f6f1);font-family:Lexend,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}.page{min-height:100vh;padding:28px}.shell{width:min(100%,1280px);margin:0 auto}.header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.brand{display:flex;align-items:center;gap:12px}.brand img{width:128px;height:auto}.card{border:1px solid rgba(5,66,4,.12);border-radius:24px;background:#fff;box-shadow:0 18px 50px #16161614}.login-card{width:min(100%,440px);margin:96px auto 0;padding:32px}.editor-card{overflow:hidden;padding:0}.title{margin:0;font-size:28px;line-height:36px;font-weight:700}.muted{margin:8px 0 0;color:#616161;font-size:14px;line-height:22px}.field{display:grid;gap:8px}.field label{font-size:12px;font-weight:600;line-height:18px;color:#5c6658;text-transform:uppercase;letter-spacing:.02em}.field input,.field textarea{width:100%;border:1px solid #e2e7dc;border-radius:14px;background:#fff;color:#161616;padding:13px 15px;outline:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.field input:focus,.field textarea:focus{border-color:#054204;box-shadow:0 0 0 3px #05420414}textarea{min-height:96px;resize:vertical;font-size:14px;line-height:22px}input[type=number]{max-width:160px}.content-form{display:grid;gap:22px}.section-panel{overflow:hidden;scroll-margin-top:112px;border:1px solid #e2e7dc;border-radius:22px;background:#fff}.section-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;color:#161616;font-size:20px;font-weight:700;cursor:pointer;list-style:none;border-bottom:1px solid transparent}.section-panel>summary::-webkit-details-marker{display:none}.section-panel>summary:after{content:"⌄";color:#41493d;font-size:18px}.section-panel[open]>summary:after{transform:rotate(180deg)}.section-panel[open]>summary{border-bottom-color:#eef2e8}.section-body{display:grid;gap:18px;padding:22px;background:#fcfdf9}.grid-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field.full{grid-column:1 / -1}.array-list{display:grid;gap:16px}.array-item{display:grid;gap:16px;border:1px solid #e9eee4;border-radius:18px;background:#fff;padding:18px;box-shadow:0 8px 24px #1616160a}.array-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.array-item-title{display:flex;align-items:center;gap:10px;color:#161616;font-weight:700}.array-item-title:before{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:#ecfbe0;color:#054204;font-size:12px;content:attr(data-index)}.admin-layout{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:70vh}.section-nav{position:sticky;top:24px;align-self:start;display:grid;gap:6px;border-right:1px solid #eef2e8;background:#fbfcf7;padding:22px 16px}.nav-title{margin:0 0 10px;color:#616161;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.section-nav button{display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;border-radius:12px;background:transparent;color:#41493d;padding:11px 12px;text-align:left;font-size:14px;font-weight:650;cursor:pointer}.section-nav button:hover{background:#ecfbe0;color:#054204}.editor-main{min-width:0;padding:22px}.editor-toolbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-22px -22px 22px;border-bottom:1px solid #eef2e8;background:#ffffffe0;padding:18px 22px;backdrop-filter:blur(18px)}.editor-toolbar h2{margin:0;font-size:18px;line-height:26px}.editor-toolbar .actions{margin-top:0}.image-uploader{display:grid;grid-template-columns:140px minmax(0,1fr);gap:18px;margin-bottom:22px;border:1px solid #e2e7dc;border-radius:22px;background:#fff;padding:18px}.image-preview{display:flex;min-height:120px;align-items:center;justify-content:center;overflow:hidden;border:1px dashed #bed0b4;border-radius:18px;background:#f8fbf4;color:#7a8375;font-size:13px;text-align:center}.image-preview img{height:100%;width:100%;object-fit:cover}.uploader-body{display:grid;gap:14px}.uploader-title{margin:0;font-size:18px;line-height:26px;font-weight:700}.uploader-result{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px}.btn-small{min-height:36px;border-radius:10px;padding:8px 12px;font-size:13px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:0;border-radius:12px;padding:10px 18px;font-weight:700;cursor:pointer}.btn-primary{background:#054204;color:#fff}.btn-ghost{background:#ecfbe0;color:#054204}.btn-danger{background:#f3f3f3;color:#404040}.status{min-height:24px;margin-top:16px;font-size:14px;line-height:22px}.status.error{color:#c62828}.status.success{color:#054204}.hidden{display:none!important}@media(max-width:768px){.page{padding:16px}.header{align-items:flex-start;flex-direction:column}.login-card,.editor-main{padding:20px}.admin-layout{grid-template-columns:1fr}.section-nav{position:static;grid-auto-flow:column;grid-auto-columns:max-content;overflow-x:auto;border-right:0;border-bottom:1px solid #eef2e8;padding:14px}.nav-title{display:none}.editor-toolbar{position:static;align-items:flex-start;flex-direction:column;margin:-20px -20px 20px;padding:18px 20px}.image-uploader,.uploader-result,.grid-fields{grid-template-columns:1fr}}
