body { font-size: 14px; line-height: 1.6; }
h1,h2,h3 { font-family: inherit; text-transform: none; letter-spacing: normal; }
.admin-top { min-height: 72px; position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 12px #173f3b15; }
.admin-shell aside { border-right: 1px solid #e1e9e5; position: sticky; top: 72px; max-height: calc(100vh - 72px); overflow-y: auto; align-self: flex-start; min-height: calc(100vh - 72px); }
.admin-shell main { width: 100%; max-width: 1400px; padding: 36px clamp(20px,3vw,48px); }
.admin-shell h1 { font-size: clamp(23px,2.5vw,30px); font-weight: 650; line-height: 1.3; margin: 0 0 12px; color: #173f3b; }
.admin-title { margin-bottom: 24px; }
.admin-title h1 { margin: 0; }
.admin-shell .btn { border-radius: 8px; text-transform: none; letter-spacing: normal; font-size: 14px; padding: 10px 18px; font-weight: 600; line-height: 1.5; }
.admin-shell .btn-sm { padding: 7px 12px; font-size: 13px; }
.admin-shell .table-responsive { border: 1px solid #dfe8e2; border-radius: 12px; background: #fff; box-shadow: 0 4px 18px #173f3b05; margin-bottom: 24px; }
.admin-shell .table { margin: 0; color: #344b40; }
.admin-shell .table th { background: #edf3ef; padding: 16px 20px; border-bottom: 1px solid #dfe8e2; font-size: 12px; font-weight: 700; white-space: nowrap; }
.admin-shell .table td { padding: 16px 20px; border-color: #edf1ee; line-height: 1.6; }
.admin-shell .table tr:last-child td { border-bottom: 0; }
.admin-shell .table tbody tr:hover { background: #f8fbf9; }
.admin-shell .table td:last-child { white-space: nowrap; }
.admin-form-heading { margin-bottom: 24px; }
.admin-form-heading > a { display: inline-block; margin-bottom: 16px; color: #2c736b; }
.admin-form-heading p { margin: 0; color: #65786e; }
.admin-edit { width: 100%; max-width: 1040px; padding: 0; border: 1px solid #dfe8e2; border-radius: 14px; box-shadow: 0 5px 20px #173f3b06; overflow: hidden; }
.admin-form-grid { padding: clamp(20px,3vw,32px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: start; }
.admin-field { min-width: 0; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-edit .form-label { position: static; display: block; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: #344b40; transform: none; }
.admin-edit .form-control,.admin-edit .form-select,.admin-auth .form-control { position: static; display: block; width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #cddbd2; border-radius: 8px; background-color: #fff; color: #243e35; font-size: 14px; line-height: 1.5; box-shadow: none; }
.admin-edit .form-control:focus,.admin-edit .form-select:focus,.html-editor:focus { border-color: #2c736b; outline: none; box-shadow: 0 0 0 3px #2c736b18; }
.admin-edit small { display: block; color: #6b7b72; margin-top: 8px; font-size: 12px; }
.admin-edit input[type=file] { background: #f7faf8; padding: 10px; }
.admin-edit input[type=file]::file-selector-button { background: #e7f0e9; border: 0; border-radius: 5px; padding: 7px 12px; margin-right: 12px; color: #245c53; }
.editor-toolbar { border-color: #cddbd2; border-radius: 8px 8px 0 0; background: #f7faf8; flex-wrap: wrap; }
.html-editor { border-color: #cddbd2; border-radius: 0 0 8px 8px; background: #fff; line-height: 1.8; min-height: 220px; }
.admin-field-error { color: #b42318; font-size: 12px; margin-top: 6px; }
.admin-form-actions { border-top: 1px solid #e5ece7; background: #f8fbf9; padding: 20px 32px; display: flex; gap: 12px; }
@media(max-width:767px) { .admin-top { position: static; flex-wrap: wrap; }.admin-shell aside { position: static; min-height: 0; max-height: none; border-right: 0; border-bottom: 1px solid #e1e9e5; }.admin-shell main { padding: 24px 16px; }.admin-form-grid { grid-template-columns: 1fr; gap: 20px; }.admin-form-actions { padding: 18px 20px; flex-wrap: wrap; }.admin-form-actions .btn { flex: 1; }.admin-shell .table td,.admin-shell .table th { padding: 12px 14px; } }
