* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f7fb;
    color: #152238;
    font-family: Arial, sans-serif;
}

a {
    color: inherit;
}


/* ============================================================
   LOGIN
============================================================ */

.acp-login-body {
    min-height: 100vh;
}

.acp-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.acp-login-card {
    width: 100%;
    max-width: 430px;
    padding: 42px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(20, 40, 80, 0.08);
}

.acp-login-brand {
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: 700;
}

.acp-login-brand span {
    color: #2f73ff;
}

.acp-login-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #2f73ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.acp-login-card h1 {
    margin: 0 0 10px;
    font-size: 30px;
}

.acp-login-intro {
    margin: 0 0 28px;
    color: #6b778b;
    line-height: 1.6;
}

.acp-login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* ============================================================
   FORMS
============================================================ */

.acp-form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.acp-form-field label {
    font-size: 13px;
    font-weight: 600;
}

.acp-form-field input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d8e0eb;
    border-radius: 10px;
    font: inherit;
    outline: none;
}

.acp-form-field input:focus {
    border-color: #2f73ff;
}

.acp-editor-form .acp-form-field {
    margin-bottom: 18px;
}
/* ============================================================
   FORMULARFELDER
============================================================ */

.acp-editor-form .acp-form-field input[type="text"],
.acp-editor-form .acp-form-field input[type="number"],
.acp-editor-form .acp-form-field input[type="email"],
.acp-editor-form .acp-form-field input[type="url"],
.acp-editor-form .acp-form-field select,
.acp-editor-form .acp-form-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;

    border: 1px solid #d8e0eb;
    border-radius: 10px;

    background: #fff;
    color: #152238;

    font: inherit;
    font-size: 13px;

    outline: none;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.acp-editor-form .acp-form-field input:focus,
.acp-editor-form .acp-form-field select:focus,
.acp-editor-form .acp-form-field textarea:focus {
    border-color: #2f73ff;
    box-shadow: 0 0 0 3px rgba(47, 115, 255, 0.10);
}

.acp-editor-form .acp-form-field textarea {
    min-height: auto;
    resize: vertical;
}


/* ============================================================
   SELECT
============================================================ */

.acp-editor-form .acp-form-field select {
    appearance: none;
    -webkit-appearance: none;

    padding-right: 42px;

    background-color: #fff;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237b8798' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 16px;

    cursor: pointer;
}


/* ============================================================
   LABEL
============================================================ */

.acp-editor-form .acp-form-field label {
    color: #152238;
    font-size: 12px;
    font-weight: 600;
}


/* ============================================================
   HILFSTEXT
============================================================ */

.acp-editor-form .acp-form-field > small {
    margin-top: 2px;
    color: #8994a5;
    font-size: 10px;
    line-height: 1.4;
}

.acp-editor-form textarea {
    resize: vertical;
}

.acp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}


/* ============================================================
   BUTTONS
============================================================ */

.acp-button-primary {
    padding: 14px 20px;
    border: 0;
    border-radius: 10px;
    background: #2f73ff;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.acp-button-danger {
    margin-left: auto;
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid #efcaca;
    border-radius: 9px;
    background: #fff3f3;
    color: #b12d2d;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.acp-button-export {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #f9fafb;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.acp-button-export:hover {
    background: #f3f4f6;
}

.acp-editor-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}


/* ============================================================
   ALERTS
============================================================ */

.acp-alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 13px;
}

.acp-alert-error {
    background: #fff1f1;
    color: #a32c2c;
    border: 1px solid #ffd2d2;
}

.acp-alert-success {
    margin-top: 20px;
    background: #eaf8ef;
    color: #247647;
    border: 1px solid #ccebd7;
}


/* ============================================================
   APP
============================================================ */

.acp-app {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
}

.acp-main {
    min-width: 0;
}


/* ============================================================
   SIDEBAR
============================================================ */

.acp-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 26px 18px;
    background: #10192b;
    color: #fff;
}

.acp-sidebar-brand {
    display: flex;
    flex-direction: column;
    padding: 0 10px 28px;
}

.acp-sidebar-brand a {
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    text-decoration: none;
}

.acp-sidebar-brand a span {
    color: #6093ff;
}

.acp-sidebar-brand small {
    margin-top: 4px;
    color: #8793a8;
    font-size: 10px;
}

.acp-navigation,
.acp-navigation-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.acp-navigation-section {
    margin-top: 25px;
}

.acp-navigation-heading {
    padding: 0 12px 8px;
    color: #69768d;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.acp-navigation-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border-radius: 10px;
    color: #b7c0d0;
    font-size: 13px;
    text-decoration: none;
}

.acp-navigation-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.acp-navigation-item.is-active {
    background: #2f73ff;
    color: #fff;
}

.acp-navigation-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acp-navigation-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.acp-sidebar-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    padding: 20px 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.acp-sidebar-footer span {
    font-size: 12px;
    font-weight: 600;
}

.acp-sidebar-footer small {
    margin-top: 4px;
    color: #768197;
}


/* ============================================================
   HEADER
============================================================ */

.acp-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 0 30px;
    background: #fff;
    border-bottom: 1px solid #e3e8ef;
}

.acp-header-title {
    display: flex;
    flex-direction: column;
}

.acp-header-title > span {
    font-weight: 700;
}

.acp-header-title small {
    margin-top: 3px;
    color: #7b8798;
}

.acp-header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.acp-current-location {
    display: flex;
    flex-direction: column;
    font-size: 11px;
}

.acp-current-location span {
    color: #8a95a5;
}

.acp-location-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.acp-location-switcher label {
    color: #8a95a5;
    font-size: 11px;
}

.acp-location-switcher select {
    padding: 8px 10px;
    border: 1px solid #dce2eb;
    border-radius: 8px;
    background: #fff;
}

.acp-user-menu {
    display: flex;
    align-items: center;
    gap: 11px;
}

.acp-user-avatar {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf1ff;
    color: #2f73ff;
    font-size: 11px;
    font-weight: 700;
}

.acp-user-details {
    display: flex;
    flex-direction: column;
    font-size: 11px;
}

.acp-user-details span {
    color: #8a95a5;
}

.acp-logout {
    margin-left: 10px;
    color: #7a8697;
    font-size: 11px;
    text-decoration: none;
}


/* ============================================================
   PAGE
============================================================ */

.acp-page {
    width: min(1350px, calc(100% - 60px));
    margin: 0 auto;
    padding: 38px 0 60px;
}

.acp-page-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
}

.acp-page-intro h1 {
    margin: 5px 0 8px;
    font-size: 30px;
}

.acp-page-intro p {
    margin: 0;
    color: #778398;
}

.acp-eyebrow {
    color: #2f73ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.acp-back-link {
    display: inline-block;
    margin-bottom: 18px;
    color: #7c899c;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.acp-page-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}


/* ============================================================
   STATS
============================================================ */

.acp-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.acp-stat-card {
    padding: 22px;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 15px;
}

.acp-stat-card > span {
    display: block;
    color: #7b8798;
    font-size: 11px;
}

.acp-stat-card strong {
    display: block;
    margin: 8px 0 5px;
    font-size: 30px;
}

.acp-stat-card small {
    color: #8994a5;
}

.acp-stat-text {
    font-size: 18px !important;
}


/* ============================================================
   PANEL
============================================================ */

.acp-panel {
    margin-top: 25px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 15px;
}

.acp-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.acp-panel-header h2 {
    margin: 5px 0 0;
    font-size: 18px;
}

.acp-panel-header > a {
    color: #2f73ff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}


/* ============================================================
   TABLE
============================================================ */

.acp-table-wrapper {
    overflow-x: auto;
}

.acp-table {
    width: 100%;
    border-collapse: collapse;
}

.acp-table th,
.acp-table td {
    padding: 13px 10px;
    border-bottom: 1px solid #edf0f4;
    text-align: left;
    font-size: 11px;
}

.acp-table th {
    color: #8994a5;
    font-size: 9px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.acp-table-subline {
    margin-top: 4px;
    color: #8994a5;
    font-size: 10px;
}

.acp-table-action {
    color: #2f73ff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.acp-table-action:hover {
    text-decoration: underline;
}

.acp-empty-state {
    padding: 25px;
    color: #8994a5;
    text-align: center;
}


/* ============================================================
   FILTER
============================================================ */

.acp-filter-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.acp-filter-form .acp-form-field {
    min-width: 180px;
}

.acp-filter-form .acp-form-field:first-child {
    min-width: 280px;
    flex: 1;
}

.acp-filter-form select {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #dce2eb;
    border-radius: 9px;
    background: #fff;
    font: inherit;
}


/* ============================================================
   DETAIL GRID
============================================================ */

.acp-detail-grid {
    display: grid;
    grid-template-columns: minmax(500px, 1.8fr) minmax(300px, 0.9fr);
    gap: 20px;
    margin-top: 25px;
    align-items: start;
}

.acp-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.acp-detail-grid > .acp-detail-sidebar {
    margin-top: 25px;
}

.acp-detail-sidebar .acp-panel {
    margin-top: 0;
}

.acp-detail-list {
    display: flex;
    flex-direction: column;
}

.acp-detail-list > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #edf0f4;
}

.acp-detail-list > div:first-child {
    padding-top: 0;
}

.acp-detail-list > div:last-child {
    border-bottom: 0;
}

.acp-detail-list span {
    color: #8994a5;
    font-size: 11px;
}

.acp-detail-list strong {
    max-width: 60%;
    text-align: right;
    font-size: 12px;
}

.acp-detail-list a {
    color: #2f73ff;
    text-decoration: none;
}


/* ============================================================
   EDITOR GRID
============================================================ */

.acp-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    margin-top: 25px;
    align-items: start;
}

.acp-editor-grid > .acp-panel {
    min-width: 0;
    margin-top: 0;
}

.acp-editor-grid > .acp-detail-sidebar {
    min-width: 0;
    width: 100%;
    margin-top: 0;
}

.acp-editor-grid > .acp-detail-sidebar .acp-panel {
    width: 100%;
    margin-top: 0;
}


/* ============================================================
   CHECKBOXES
============================================================ */

.acp-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acp-checkbox-list label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
}

.acp-checkbox-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.acp-checkbox-feature > span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.acp-checkbox-feature small {
    color: #8994a5;
}


/* ============================================================
   REPORTS
============================================================ */

.acp-report-description {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #edf0f4;
}

.acp-report-description > span,
.acp-report-photo > span {
    display: block;
    margin-bottom: 10px;
    color: #8994a5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.acp-report-description p {
    margin: 0;
    line-height: 1.7;
}

.acp-report-photo {
    margin-top: 25px;
}

.acp-report-photo img {
    display: block;
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
}


/* ============================================================
   STATUS
============================================================ */

.acp-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.acp-status-new {
    background: #eaf1ff;
    color: #2f73ff;
}

.acp-status-in_progress {
    background: #fff5db;
    color: #9a6a00;
}

.acp-status-resolved {
    background: #e8f8ee;
    color: #21864b;
}

.acp-status-closed {
    background: #eef1f5;
    color: #657286;
}

.acp-status-active {
    background: #e8f8ee;
    color: #21864b;
}

.acp-status-inactive {
    background: #eef2f7;
    color: #657286;
}

.acp-status-revoked {
    background: #fff0f0;
    color: #b12d2d;
}

.acp-status-sent,
.acp-status-completed {
    background: #e8f8ee;
    color: #21864b;
}

.acp-status-pending,
.acp-status-sending {
    background: #fff5db;
    color: #9a6a00;
}

.acp-status-failed,
.acp-status-completed_with_errors {
    background: #fff0f0;
    color: #b12d2d;
}

.acp-error-message {
    color: #b12d2d;
    font-size: 10px;
}


/* ============================================================
   FEEDBACK
============================================================ */

.acp-rating,
.acp-feedback-stars {
    color: #f0a500;
    letter-spacing: 2px;
}

.acp-title-rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.acp-title-rating h1 {
    margin-bottom: 0;
}

.acp-feedback-stars {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #fff7df;
    border: 1px solid #f7df9b;
    border-radius: 999px;
    color: #f0a500;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
}


/* ============================================================
   QR
============================================================ */

.acp-qr-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 30px;
    overflow: hidden;
    background: #f5f7fb;
    border: 1px solid var(--acp-border, #e5e7eb);
    border-radius: 14px;
}

.acp-qr-preview img {
    display: block;
    width: min(100%, 300px);
    height: auto;
    aspect-ratio: 3 / 4;
    background: #fff;
    box-shadow: 0 16px 38px rgba(21, 32, 56, 0.12);
}

.acp-qr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}


/* ============================================================
   WEEK
============================================================ */

.acp-week-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.acp-week-current {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.acp-week-current span {
    color: #8994a5;
    font-size: 10px;
}


/* ============================================================
   TAGS
============================================================ */

.acp-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.acp-tag-list span {
    padding: 4px 7px;
    border-radius: 20px;
    background: #eef3f8;
    color: #657286;
    font-size: 9px;
}


/* ============================================================
   IMAGE PREVIEW
============================================================ */

.acp-image-preview {
    margin-bottom: 12px;
}

.acp-image-preview img {
    display: block;
    width: 100%;
    max-width: 420px;
    max-height: 260px;
    object-fit: cover;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
}


/* ============================================================
   ICON PICKER
============================================================ */

.acp-content-meta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: end;
}

.acp-content-icon-field {
    position: relative;
}

.acp-icon-picker {
    position: relative;
}

.acp-icon-picker-trigger {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid #d8dfeb;
    border-radius: 10px;
    background: #fff;
    color: #13223a;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.acp-icon-picker-trigger:hover {
    border-color: #b8c4d6;
    background: #fafbfe;
}

.acp-icon-picker-trigger:focus {
    outline: none;
    border-color: #2f73ff;
    box-shadow: 0 0 0 3px rgba(47, 115, 255, 0.12);
}

.acp-icon-picker-trigger-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f0f5ff;
    color: #2f73ff;
}

.acp-icon-picker-trigger-icon svg {
    width: 19px;
    height: 19px;
}

.acp-icon-picker-trigger-content {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.acp-icon-picker-trigger-content strong {
    font-size: 13px;
    line-height: 1.3;
    color: #13223a;
}

.acp-icon-picker-trigger-content small {
    font-size: 11px;
    color: #8a96a8;
}

.acp-icon-picker-trigger-chevron {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    color: #8a96a8;
}

.acp-icon-picker-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 100;
    width: min(620px, calc(100vw - 48px));
    padding: 18px;
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 14px;
    box-shadow:
        0 18px 50px rgba(20, 34, 58, 0.16),
        0 4px 14px rgba(20, 34, 58, 0.08);
}

.acp-icon-picker-popover-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.acp-icon-picker-popover-header > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.acp-icon-picker-popover-header strong {
    font-size: 16px;
    color: #13223a;
}

.acp-icon-picker-popover-header small {
    font-size: 12px;
    color: #7b889b;
}

.acp-icon-picker-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #718096;
    cursor: pointer;
}

.acp-icon-picker-close:hover {
    background: #f2f5f9;
    color: #13223a;
}

.acp-icon-picker-close svg {
    width: 17px;
    height: 17px;
}

.acp-icon-picker-search {
    position: relative;
    margin-bottom: 14px;
}

.acp-icon-picker-search svg {
    position: absolute;
    left: 13px;
    top: 50%;
    width: 17px;
    height: 17px;
    color: #8b97a8;
    transform: translateY(-50%);
    pointer-events: none;
}

.acp-icon-picker-search input {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 40px;
    border: 1px solid #d8dfeb;
    border-radius: 9px;
    background: #fff;
    color: #13223a;
}

.acp-icon-picker-search input:focus {
    outline: none;
    border-color: #2f73ff;
    box-shadow: 0 0 0 3px rgba(47, 115, 255, 0.1);
}

.acp-icon-picker-categories {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 16px;
    scrollbar-width: thin;
}

.acp-icon-category {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid #dce3ed;
    border-radius: 999px;
    background: #fff;
    color: #65748b;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.acp-icon-category:hover {
    background: #f5f7fb;
    color: #13223a;
}

.acp-icon-category.active {
    border-color: #2f73ff;
    background: #eef4ff;
    color: #2f73ff;
}

.acp-icon-picker-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    max-height: 330px;
    overflow-y: auto;
    padding: 2px;
}

.acp-icon-option {
    min-width: 0;
    min-height: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 5px;
    border: 1px solid #e1e6ee;
    border-radius: 10px;
    background: #fff;
    color: #536176;
    cursor: pointer;
    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}

.acp-icon-option:hover {
    border-color: #aebbd0;
    background: #f8faff;
    color: #13223a;
    transform: translateY(-1px);
}

.acp-icon-option.active {
    border-color: #2f73ff;
    background: #eef4ff;
    color: #2f73ff;
}

.acp-icon-option span {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acp-icon-option svg {
    width: 21px;
    height: 21px;
}

.acp-icon-option small {
    width: 100%;
    overflow: hidden;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.acp-icon-option[hidden] {
    display: none !important;
}

.acp-icon-picker-empty {
    padding: 28px 10px;
    color: #8a96a8;
    font-size: 13px;
    text-align: center;
}


/* ============================================================
   CONTENT EDITOR
============================================================ */

.acp-content-editor {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--acp-border, #dfe3e8);
    border-radius: 12px;
    background: #fff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.acp-content-editor:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.acp-content-editor-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--acp-border, #e5e7eb);
    background: #f8fafc;
}

.acp-editor-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #475569;
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.acp-editor-tool:hover {
    background: #e9eef5;
    color: #0f172a;
}

.acp-editor-tool:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.acp-editor-tool svg {
    width: 17px;
    height: 17px;
    stroke-width: 2;
}

.acp-editor-tool-divider {
    width: 1px;
    height: 22px;
    margin: 0 4px;
    background: #dfe3e8;
}

.acp-content-editor-textarea {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 320px;
    padding: 16px;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    resize: vertical;
    background: #fff;
    color: #1e293b;
    font: inherit;
    line-height: 1.65;
}

.acp-content-editor-textarea:focus {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}


/* ============================================================
   META
============================================================ */

.acp-meta-note {
    margin: 15px 0 0;
    color: #8994a5;
    font-size: 10px;
}


/* ============================================================
   FOOTER
============================================================ */

.acp-footer {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: auto;
    padding: 16px 30px;
    border-top: 1px solid #e0e6ef;
    background: rgba(255, 255, 255, 0.72);
    color: #7c899c;
    font-size: 11px;
}

.acp-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.acp-footer-brand strong {
    color: #172238;
    font-size: 14px;
    letter-spacing: -0.3px;
}

.acp-footer-brand strong span {
    color: #2f73ff;
}

.acp-footer-brand small {
    padding-left: 10px;
    border-left: 1px solid #dce2eb;
    color: #929daf;
    font-size: 10px;
}

.acp-footer-developer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.acp-footer-developer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background: #fff;
    color: #172238;
    font-weight: 600;
    text-decoration: none;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.acp-footer-developer-link img {
    display: block;
    width: auto;
    height: 19px;
    object-fit: contain;
}

.acp-footer-developer-link:hover {
    border-color: #b9cdfd;
    background: #f4f7ff;
    color: #2f73ff;
}

@media (max-width: 640px) {
    .acp-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 18px 20px;
    }

    .acp-footer-developer {
        max-width: 100%;
    }
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1100px) {

    .acp-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1050px) {

    .acp-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {

    .acp-editor-grid,
    .acp-form-grid {
        grid-template-columns: 1fr;
    }

    .acp-content-meta-row {
        grid-template-columns: 1fr;
    }

    .acp-week-navigation {
        flex-direction: column;
    }

    .acp-icon-picker-popover {
        left: 0;
        right: auto;
        width: min(100%, 620px);
    }

    .acp-icon-picker-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {

    .acp-app {
        display: block;
    }

    .acp-sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }

    .acp-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .acp-header-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .acp-page {
        width: calc(100% - 30px);
    }

    .acp-stat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .acp-page-actions {
        width: 100%;
    }

    .acp-page-actions a {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 640px) {

    .acp-content-editor-toolbar {
        flex-wrap: wrap;
    }

    .acp-editor-tool-divider {
        display: none;
    }
}

@media (max-width: 560px) {

    .acp-icon-picker-popover {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 80px;
        width: auto;
        max-height: calc(100vh - 100px);
        overflow: auto;
    }

    .acp-icon-picker-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


.acp-logout-form {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

button.acp-logout {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    cursor: pointer;
}

button.acp-logout svg {
    width: 17px;
    height: 17px;
    stroke-width: 2;
}

button.acp-logout:hover {
    text-decoration: underline;
}

.acp-app {
    min-height: 100vh;
}

.acp-main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.acp-page {
    flex: 1 0 auto;
}

.acp-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-top: 1px solid #e3e8f1;
    color: #738098;
    font-size: 14px;
}

.acp-pagination div {
    display: flex;
    gap: 10px;
}

.acp-pagination a {
    display: inline-flex;
    padding: 9px 13px;
    border: 1px solid #dce3ee;
    border-radius: 9px;
    background: #fff;
    color: #3478f6;
    font-weight: 700;
    text-decoration: none;
}

.acp-pagination a:hover {
    border-color: #3478f6;
    background: #f4f7ff;
}

@media (max-width: 640px) {
    .acp-pagination {
        align-items: flex-start;
        flex-direction: column;
    }
}

.acp-filter-search-wide {
    flex: 1 1 460px;
    min-width: 360px;
}

.acp-filter-search-wide input {
    width: 100%;
}

@media (max-width: 760px) {
    .acp-filter-search-wide {
        flex-basis: 100%;
        min-width: 0;
        width: 100%;
    }
}