        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            background-color: #f0f8f0;
            color: #1e3e1e;
        }

        .menu {
            background-color: #ffffff;
            width: 100%;
            padding: 15px 20px;
            border-bottom: 2px solid #4CAF50;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .menu-icon {
            color: #4CAF50;
            font-size: 24px;
            font-weight: bold;
            width: 48px;
            height: 48px;
        }

                .menu-title {
            color: #1e3e1e;
            font-size: 18px;
            font-weight: bold;
        }

        .admin-link {
            margin-left: auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border: 1px solid #4CAF50;
            border-radius: 4px;
            color: #1e3e1e;
            text-decoration: none;
            transition: background-color 0.3s, color 0.3s;
        }

        .admin-link:hover,
        .admin-link:focus {
            background-color: #4CAF50;
            color: #ffffff;
            outline: none;
        }

        .admin-link-icon {
            font-size: 28px;
            font-weight: bold;
            line-height: 1;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .message {
            padding: 15px;
            margin: 20px 0;
            border-radius: 5px;
            font-weight: bold;
        }

        .success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        .form-section {
            background-color: white;
            padding: 25px;
            margin: 20px 0;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            border-left: 4px solid #4CAF50;
        }

        h2 {
            color: #1e3e1e;
            margin-bottom: 20px;
            border-bottom: 2px solid #4CAF50;
            padding-bottom: 10px;
        }

        .form-group {
            margin-bottom: 15px;
        }

        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #1e3e1e;
        }

                input,
        select,
        textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #4CAF50;
            border-radius: 4px;
            font-size: 14px;
            font-family: inherit;
            background-color: #ffffff;
            color: #1e3e1e;
        }

        textarea {
            min-height: 160px;
            resize: vertical;
            line-height: 1.5;
        }

        input:focus,
        select:focus,
        textarea:focus {
            outline: none;
            border-color: #1e3e1e;
            box-shadow: 0 0 5px rgba(30, 62, 30, 0.3);
        }

        .btn {
            background-color: #4CAF50;
            color: white;
            padding: 12px 25px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            font-weight: bold;
            transition: background-color 0.3s;
        }

        .btn:hover {
            background-color: #45a049;
        }

        .btn-edit {
            background-color: #ffc107;
        }

        .btn-edit:hover {
            background-color: #e0a800;
        }

        .btn-danger {
            background-color: #dc3545;
        }

                .btn-danger:hover {
            background-color: #c82333;
        }

        .cancel-edit {
            margin-left: 10px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            background-color: white;
        }

        th,
        td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #4CAF50;
        }

        th {
            background-color: #4CAF50;
            color: white;
        }

        tr:hover {
            background-color: #f1f8e9;
        }

        .empty-table {
            text-align: center;
            color: #666;
            font-style: italic;
            padding: 20px;
        }

        .small-text {
            font-size: 12px;
            color: #666;
            margin-top: 5px;
        }

        .example-text {
            font-size: 12px;
            color: #4CAF50;
            margin-top: 5px;
            font-style: italic;
        }

        .action-buttons {
            display: flex;
            gap: 5px;
        }

        .icon-btn {
            padding: 8px 12px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            color: white;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 35px;
            height: 35px;
        }

        .edit-mode {
            background-color: #fff3cd;
            border-left: 4px solid #ffc107;
        }

                .edit-notice {
            background-color: #fff3cd;
            color: #856404;
            padding: 10px;
            border-radius: 4px;
            margin-bottom: 15px;
            border-left: 4px solid #ffc107;
        }

        .tabs { display: flex; gap: 8px; margin-top: 20px; }
        .tabs [role="tab"] { border: 1px solid #4CAF50; border-radius: 4px; background: #fff; color: #1e3e1e; cursor: pointer; font: inherit; font-weight: bold; padding: 10px 16px; }
        .tabs [role="tab"][aria-selected="true"] { background: #4CAF50; color: #fff; }
        .counter { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; border-radius: 50%; background: #4CAF50; color: #fff; font-size: 14px; }
        .has-errors { border-color: #dc3545; background: #fff5f5; }
        .error-text { color: #721c24; }
        .request-actions { position: sticky; bottom: 12px; z-index: 2; padding-top: 12px; }
        .btn-sticky { box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
        .clear-list-form { margin-top: 12px; }
        dialog { position: fixed; inset: 0; width: min(560px, calc(100% - 32px)); height: fit-content; max-height: calc(100dvh - 32px); margin: auto; overflow-y: auto; border: 0; border-radius: 8px; padding: 24px; box-shadow: 0 16px 50px rgba(0, 0, 0, .3); }
        dialog::backdrop { background: rgba(0, 0, 0, .45); }
        .preview-list { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin: 18px 0; }
        .preview-list dt { font-weight: bold; }
        .preview-list dd { margin: 0; overflow-wrap: anywhere; }
        .warning { color: #856404; font-weight: bold; }
        .access-denied { align-items: center; display: flex; justify-content: center; min-height: 80dvh; }
        .access-denied .form-section { max-width: 560px; text-align: center; width: 100%; }
        .access-denied-icon { color: #4caf50; font-size: 56px; margin-bottom: 16px; }
        .access-denied h1 { border: 0; margin-bottom: 12px; }
        .access-denied .btn { display: inline-block; margin-top: 16px; }
        .dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

        @media (max-width: 680px) {
            .container { padding: 12px; }
            .form-section { padding: 16px; }
            .menu-title { font-size: 14px; }
            table, tbody, tr, td { display: block; }
            table { margin: 12px 0; }
            thead { display: none; }
            tr { border: 1px solid #4CAF50; border-radius: 4px; margin-bottom: 10px; padding: 6px; }
            td { display: flex; justify-content: space-between; gap: 16px; border: 0; padding: 7px; text-align: right; }
            td::before { content: attr(data-label); font-weight: bold; text-align: left; }
            td:last-child::before { content: 'Действия'; }
            .action-buttons { margin-left: auto; }
        }