
/* --- app/static/css/partials/partials.css --- */
/* WAI-Core: static/css/partials/partials.css */

:root {
  --wai-ui-scale: 0.95;
}

@import url("./wizard/structure.css");


/* --- app/static/css/partials/common/html-editor.css --- */
/* WAI-Core: src/app/static/css/partials/common/html-editor.css v2 */

.html-editor-container {
    width: 100%;
    height: 93%;
}

.html-editor {
    height: 100%;
    font-family: monospace;
    white-space: pre;
    overflow: auto;
}

.html-preview {
    position: relative;
    width: 100%; /* Full width */
    height: 100%; /* Full viewport height */
    overflow: auto; /* Enables scrolling if content overflows */
}

.html-preview-content {
    padding-top: 1rem;
}

.preview-close {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #d0d5dd;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    color: #1d2939;
    cursor: pointer;
    z-index: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.preview-close:hover,
.preview-close:focus {
    background: #1d2939;
    color: #ffffff;
}

/* Make fullscreen mode cover the entire viewport */
.html-editor-container.fullscreen {
    width: 80vw;
    max-width: 900px;
    height: 70vh;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    z-index: 10001;
    padding: 20px;
}

/* Make background darker when in fullscreen */
.html-editor-container.fullscreen::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: -1; /* Keeps it behind the editor */
}

/* Prevents textarea from shrinking */
.html-editor.fullscreen {
    flex: 1;
    height: 100%;
}

.fullscreen-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* Ensure it’s above everything */
}

.html-editor-actions {
    justify-content: center;
    display: flex;
    gap: 40px;
}

.html-preview .preview-edit-hover {
    outline: 1px dashed #888;
    cursor: pointer;
}

.html-preview textarea.inline-editor {
    width: 90%;
    font-family: monospace;
    min-height: 40px;
}


/* --- app/static/css/partials/common/modal.css --- */
/* WAI-Core: src/app/static/css/partials/common/modal.css v1 */

/* Website: WF RunWAI/src/app/static/css/partials/common/modal.css v1.1 */
/* Modal container */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 20280;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); /* Darker semi-transparent background */
}

/* Modal content */
.modal-content {
    background-color: #333; /* Dark background for the modal */
    margin: 10% auto; /* Centered vertically */
    padding: 20px;
    border-radius: 8px;
    width: min(90vw, 900px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Stronger shadow for contrast */
    color: #fff; /* Light text color */
}

/* Modal header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #555; /* Subtle border for separation */
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.modal-header h2 {
    margin: 0;
    color: #f1f1f1; /* Light color for the heading */
}

/* Modal close button */
.modal-header .modal-close {
    background: none;
    border: none;
    font-size: 19.2px;
    font-weight: bold;
    cursor: pointer;
    color: var(--brand-color-primary);
}

.modal-header .modal-close:hover {
    color: #fff; /* Brighter text on hover */
}

/* Modal body */
.modal-body {
    margin-bottom: 20px;
    color: #ddd; /* Softer light text for the body */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-body label {
    font-weight: bold;
}

.modal-body input,
.modal-body select,
.modal-body textarea {
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #555;
    background-color: #222;
    color: #fff;
}

/* Modal footer */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-footer button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: var(--brand-color-cta);
    color: var(--brand-color-primary);
}

.modal-footer .modal-cancel {
    background-color: #555;
    color: #fff;
}

.modal-footer button:hover {
    background-color: var(--brand-color-cta-hover);
    color: #fff;
}

/* Tutorial modal layout */
.tutorial-modal {
    display: flex;
    gap: 1.5rem;
}

.tutorial-progress {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tutorial-progress-header h3 {
    margin: 0;
    font-size: 0.84rem;
    color: #fff;
}

.tutorial-progress-header p {
    margin: 0;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.65);
}

.tutorial-progress-list,
.tutorial-progress-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tutorial-progress-section {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tutorial-progress-section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.tutorial-progress-section-title,
.tutorial-progress-step-title {
    display: inline-flex;
    align-items: center;
}

.tutorial-progress-step-title {
    flex: 1 1 auto;
}

.tutorial-progress-section.is-active .tutorial-progress-section-title {
    color: yellow;
}

.tutorial-progress-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tutorial-progress-check.is-complete {
    background: var(--brand-color-cta, #ffb347);
    border-color: var(--brand-color-cta, #ffb347);
    color: var(--brand-color-modal, #111);
    font-weight: 600;
}

.tutorial-progress-steps {
    margin-left: 1.75rem;
    gap: 0.4rem;
}

.tutorial-progress-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
}

.tutorial-progress-step.is-active .tutorial-progress-step-title {
    color: var(--brand-color-cta, #ffb347);
}

.tutorial-progress-step.is-complete .tutorial-progress-step-title {
    color: #fff;
}

.tutorial-progress-empty {
    margin: 0;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
}

.tutorial-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tutorial-content-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 17px 33px;
}

.tutorial-section-label {
    text-transform: uppercase;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
}

.tutorial-content-header h3 {
    margin: 0;
    color: #fff;
}

.tutorial-content-body {
    flex: 1 1 auto;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #ddd;
    font-size: 0.76rem;
    line-height: 1.6;
}

.tutorial-content-body p {
    margin: 0;
}

.tutorial-content-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.tutorial-content-actions button {
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tutorial-content-actions button:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--brand-color-cta, #ffb347);
}

.tutorial-content-actions .tutorial-skip-tutorial {
    border-color: var(--brand-color-cta, #ffb347);
    color: var(--brand-color-cta, #ffb347);
}

.tutorial-content-actions .tutorial-skip-tutorial:hover {
    background: var(--brand-color-cta, #ffb347);
    color: var(--brand-color-modal, #111);
}

@media (max-width: 900px) {
    .tutorial-modal {
        flex-direction: column;
    }

    .tutorial-progress {
        flex: 1 1 auto;
    }

    .tutorial-progress-steps {
        margin-left: 1.25rem;
    }
}

/* Overlay mode now floats above modals, so disable the RunWAi offset helpers
   to keep the core behaviour intact.
body.right-panel-open .modal {
    width: calc(100% - var(--right-panel-width));
    right: var(--right-panel-width);
}

body.right-panel-open .modal-content {
    width: min(calc(90vw - var(--right-panel-width)), 548px);
}
*/

/* Tutorial overlay */
.tutorial-overlay {
    position: fixed;
    inset: 0;
    z-index: 20500;
    pointer-events: none;
    font-family: inherit;
}

.tutorial-overlay-shroud {
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: auto;
    transition: all 0.25s ease;
}

.tutorial-overlay-highlight {
    position: fixed;
    border: 2px solid var(--brand-color-cta, #ffb347);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.45), 0 18px 48px rgba(0, 0, 0, 0.45);
    background: rgba(255, 180, 71, 0.08);
    pointer-events: none;
    transition: all 0.25s ease;
    opacity: 0;
}

.tutorial-overlay--has-target .tutorial-overlay-highlight {
    opacity: 1;
}

.tutorial-overlay-panel {
    position: fixed;
    box-sizing: border-box;
    width: min(420px, calc(100vw - 2rem));
    max-width: min(420px, calc(100vw - 2rem));
    padding: 1.25rem 1.4rem;
    border-radius: 14px;
    background: rgba(23, 24, 33, 0.95);
    color: #f7f7f7;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: auto;
    z-index: 20510;
}

.tutorial-overlay-panel:focus {
    outline: 2px solid var(--brand-color-cta, #ffb347);
    outline-offset: 4px;
}

.tutorial-overlay-panel::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background: inherit;
    transform: rotate(45deg);
    box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tutorial-overlay-panel--placement-right::after,
.tutorial-overlay-panel--placement-left::after,
.tutorial-overlay-panel--placement-top::after,
.tutorial-overlay-panel--placement-bottom::after {
    opacity: 1;
}

.tutorial-overlay-panel--placement-right::after {
    left: -8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 4px -4px 8px rgba(0, 0, 0, 0.25);
}

.tutorial-overlay-panel--placement-left::after {
    right: -8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.tutorial-overlay-panel--placement-top::after {
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}

.tutorial-overlay-panel--placement-bottom::after {
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.25);
}

.tutorial-overlay-panel--centered::after {
    display: none;
}

.tutorial-overlay-panel--manual::after {
    display: none;
}

.tutorial-overlay-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    cursor: grab;
    touch-action: none;
}

.tutorial-overlay-panel--is-dragging .tutorial-overlay-header {
    cursor: grabbing;
}

.tutorial-overlay-panel--is-dragging,
.tutorial-overlay-panel--is-dragging * {
    user-select: none;
}

.tutorial-overlay-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
}

.tutorial-overlay-section-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.tutorial-overlay-section {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.6rem;
    color: rgba(247, 247, 247, 0.65);
}

.tutorial-overlay-step-counter {
    margin: 0;
    font-weight: 600;
    color: #ffffff;
}

.tutorial-overlay-progress-summary {
    margin: 0;
    font-size: 0.68rem;
    color: rgba(247, 247, 247, 0.7);
}

.tutorial-overlay-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem;
    pointer-events: auto;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tutorial-overlay-close:hover,
.tutorial-overlay-close:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.tutorial-overlay-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tutorial-overlay-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
}

.tutorial-overlay-title {
    margin: 0;
    font-size: 1rem;
    color: #ffffff;
    flex: 1;
}

.tutorial-overlay-skip-page {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    cursor: pointer;
    pointer-events: auto;
    font-size: 0.68rem;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tutorial-overlay-skip-page:hover,
.tutorial-overlay-skip-page:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--brand-color-cta, #ffb347);
}

.tutorial-overlay-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(247, 247, 247, 0.85);
}

.tutorial-overlay-description p {
    margin: 0 0 0.75rem;
}

.tutorial-overlay-description p:last-child {
    margin-bottom: 0;
}

.tutorial-overlay-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.tutorial-overlay-actions button {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tutorial-overlay-actions button[disabled],
.tutorial-overlay-actions button[disabled]:hover,
.tutorial-overlay-actions button[disabled]:focus-visible {
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.16);
    cursor: not-allowed;
    pointer-events: none;
}

.tutorial-overlay-actions .tutorial-overlay-finish-link {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    pointer-events: auto;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tutorial-overlay-actions .tutorial-overlay-finish-link.tutorial-overlay-finish-link--visible {
    display: inline-flex;
}

.tutorial-overlay-actions button:hover,
.tutorial-overlay-actions button:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--brand-color-cta, #ffb347);
}

.tutorial-overlay-actions .tutorial-overlay-finish-link.tutorial-overlay-finish-link--visible:hover,
.tutorial-overlay-actions .tutorial-overlay-finish-link.tutorial-overlay-finish-link--visible:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--brand-color-cta, #ffb347);
}

.tutorial-overlay-actions .tutorial-overlay-prev-step,
.tutorial-overlay-actions .tutorial-overlay-next-step {
    width: 2.5rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.tutorial-overlay--no-target .tutorial-overlay-highlight {
    opacity: 0;
}

.tutorial-overlay--no-target .tutorial-overlay-shroud--top {
    background: rgba(0, 0, 0, 0.7);
}

@media (max-width: 640px) {
    .tutorial-overlay-panel {
        max-width: min(360px, 94vw);
        padding: 1rem 1.1rem;
        gap: 0.85rem;
    }

    .tutorial-overlay-title {
        font-size: 1rem;
    }

    .tutorial-overlay-description {
        font-size: 1rem;
    }

    .tutorial-overlay-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}


/* --- app/static/css/partials/attributes/attribute.css --- */
/* WAI-Core: src/app/static/css/partials/attributes/attribute.css v1 */

.attribute {
    display: grid; /* Use grid for consistent alignment */
    grid-template-columns: 150px 1fr; /* Fixed label width, flexible input */
    align-items: center; /* Center items vertically */
    gap: 10px;
    padding: 5px 0; /* Padding for better readability */
    border-bottom: 1px solid #555; /* Optional: add a divider line */
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    padding-right: 5px;
    opacity: 1;
}

.attribute-label {
    font-size: 0.64em;
    font-weight: bold; /* Make the label stand out */
    text-align: left;
    min-width: 140px; /* Align all labels */
}

.attribute-input {
    width: 100%;
}

.attribute-value-style {
    width: 100%;
    box-sizing: border-box;
}

.datatype {
    width: 100%;
}

.attribute-value {
    width: 100%;
}

.attribute-hidden {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    pointer-events: none;
    height: 0;
    padding: 0;
}

/* Restrict attribute textareas to vertical resizing only */
.attribute textarea {
    resize: vertical;
}

.attribute-value-container {
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
}

.attribute-value-half {
    width: 100%;
}


/* --- app/static/css/partials/attributes/comments.css --- */
/* WAI-Core: src/app/static/css/partials/attributes/comments.css v1.0 */

.attribute-comment-container {
    font-size: 8.8px;
    flex: 2;
    width: 100%;
}

/* Conversation thread container (full section) */
#conversation-thread {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
}

/* Scrollable comment history */
.comments-history {
    flex: 1 1 auto;
    overflow-y: auto;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    max-height: 171px;
}

/* Individual comment box */
.comment {
    padding: 8px 10px;
    margin: 5px 0;
    border-radius: 6px;
    border: 1px solid #ddd;
    background-color: #555588;
    text-align: left;
}

/* Alternate comment style (used for responses or different authors) */
.comment-alt {
    padding: 8px 10px;
    margin: 5px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #29650f;
}

/* System-generated comments (assignment, submission) */
.comment-system {
    font-size: 7.6px;
    font-style: italic;
    border: 1px solid #ccc;
    background-color: #222255;
}

/* User and timestamp formatting */
.comment-header {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    font-weight: bold;
    margin-bottom: 4px;
}

/* Adjust timestamp placement */
.comment-timestamp {
    font-size: 7.2px;
}

/* Comment text formatting */
.comment-text {
    font-size: 8px;
    line-height: 1.4;
}

.comment-system .comment-text {
    font-size: 8px;
}

/* Mention styling */
.mention {
    color: #ffeb3b;
    font-weight: bold;
}

.mention-suggestions {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #000;
    color: white;
    border: 1px solid #ccc;
    max-height: 120px;
    overflow-y: auto;
    z-index: 1000;
    font-size: 8px;
}

.mention-item {
    padding: 2px 6px;
    cursor: pointer;
}

.mention-item:hover {
    background-color: #eee;
}

/* Input textarea at bottom */
.conversation-input {
    flex: 0 0 auto;
    resize: vertical;
    min-height: 80px;
    font-size: 8.8px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}


/* --- app/static/css/partials/attributes/date.css --- */
/* WAI-Core: src/app/static/css/partials/attributes/date.css v1.0 */

::-webkit-calendar-picker-indicator {
    filter: invert(1); /* Makes the icon visible on dark backgrounds */
}


/* --- app/static/css/partials/attributes/description.css --- */
/* WAI-Core: src/app/static/css/partials/attributes/description.css v1.0 */

.description-typing-indicator {
    display: flex;
    align-items: center;
    margin-top: 8px;
    margin-left: 4px;
    height: 16px;
}

.description-typing-indicator .dot {
    height: 8px;
    width: 8px;
    background-color: #ffaa33;
    border-radius: 50%;
    margin-right: 4px;
    animation: typing 1s infinite;
}

.description-typing-indicator .dot:nth-child(1) {
    animation-delay: 0s;
}

.description-typing-indicator .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.description-typing-indicator .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0% {
        transform: translateY(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-3px);
        opacity: 1;
    }
    50% {
        transform: translateY(0);
        opacity: 0.3;
    }
    100% {
        transform: translateY(0);
        opacity: 0.3;
    }
}

/* Highlight when a file is dragged over the description textarea */
.attribute-value.drag-over {
    border: 2px dashed #ffaa33;
}


/* --- app/static/css/partials/attributes/follow-ups.css --- */
/* WAI-Core: src/app/static/css/partials/attributes/follow-ups.css v1.0 */

.property-follow-up-container {
    font-size: 8.8px;
    flex: 2;
    margin-left: 0px;
    padding-left: 0px;
}

.property-follow-up {
    font-size: 8px;
    width: 96.7%;
    margin-left: -3.7px;
    padding-right: 8.3px;
}

.follow-up-history {
    flex: 2;
    overflow-y: auto;
    max-height: 169px;
    margin-left: -3.7px;
    display: flex;
    flex-direction: column;
}

/* Individual follow-up box */
.follow-up {
    padding: 8px 10px;
    margin: 5px 0;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* System-generated follow-ups (automated actions) */
.follow-up-system {
    font-size: 7.6px;
    font-style: italic;
    border: 1px solid #ccc;
}

/* Follow-up header with method and timestamp */
.follow-up-header {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    font-weight: bold;
    margin-bottom: 4px;
}

/* Timestamp formatting */
.follow-up-timestamp {
    color: #777;
    font-size: 7.2px;
}

/* Follow-up text formatting */
.property-follow-up {
    font-size: 8px;
    width: 96.7%;
    margin-left: -3.7px;
    padding-right: 8.3px;
}

/* System-generated follow-up text */
.follow-up-system .follow-up-notes {
    padding: 5px;
    margin: 0px;
    font-size: 8px;
}


/* --- app/static/css/partials/attributes/html.css --- */
/* WAI-Core: src/app/static/css/partials/attributes/html.css v1.0 */

.html-editor {
    height: 100%;
    color: white;
    padding-left: 0px;
    padding-right: 0px;
    text-indent: 8px;  /* or your preferred value */
    font-family: monospace;
    white-space: pre;
    tab-size: 4;
    resize: vertical;
}


/* --- app/static/css/partials/attributes/images.css --- */
/* WAI-Core: src/app/static/css/partials/attributes/images.css v1.1 */

.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.image-preview-item {
    position: relative;
}

.attribute-image-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #555;
    border-radius: 4px;
    display: block;
}

.image-remove-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    line-height: 18px;
    padding: 0;
}

.image-remove-btn:hover,
.image-remove-btn:focus-visible {
    background: rgba(0, 0, 0, 0.9);
}


/* --- app/static/css/partials/attributes/json.css --- */
/* WAI-Core: src/app/static/css/partials/attributes/json.css v1.1 */

.json-tree-container {
    font-family: monospace;
    font-size: 11.2px;
    white-space: pre;
    overflow-x: auto;
}

.json-node {
}

.json-key {
    color: #4973a0;
}

.json-value {
    color: #a05d00;
}

.json-toggle {
    cursor: pointer;
    color: #006600;
    margin-right: 4px;
}

.json-children {
    margin-left: 16px;
    padding-left: 6px;
    border-left: 1px dotted #ccc;
}

.hidden {
    display: none;
}


/* --- app/static/css/partials/attributes/objects.css --- */
/* WAI-Core: src/app/static/css/partials/attributes/objects.css v1.0 */

.object-list {
    padding-left: 10px;
    list-style-type: none;
}

.object-list li {
    margin-bottom: 5px;
}

.object-link {
    text-decoration: none;
    color: #007bff;
}

.object-link:hover {
    text-decoration: underline;
}

.linked-objects .object {
    pointer-events: auto !important;
}


#context-list .object .object-actions {
    display: none !important;
}

.property-object {
    width: 100%;
}

.property-object .object-actions {
    display: none !important;
}

/* RunWAI: src/app/static/css/partials/attributes/objects.css */

.object-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.unlink-object-btn {
    background: none;
    border: none;
    color: #ff4d4d;
    font-size: 12.8px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.unlink-object-btn:hover {
    color: #ff0000;
}


/* --- app/static/css/partials/attributes/options.css --- */
/* WAI-Core: src/app/static/css/partials/attributes/options.css v1.0 */

.property select {
    /*max-width: 350px;*/
}


/* --- app/static/css/partials/attributes/pdf.css --- */
/* WAI-Core: src/app/static/css/partials/attributes/pdf.css v1.0 */

.pdf-preview-wrapper {
    width: 80vw;
    max-width: 900px;
    height: 80vh;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.pdf-preview-wrapper iframe {
    flex: 1;
    width: 100%;
    height: 100%;
}

.pdf-preview-wrapper .close-pdf-preview-btn {
    margin-top: 10px;
}


/* --- app/static/css/partials/attributes/percent.css --- */
/* WAI-Core: src/app/static/css/partials/attributes/percent.css v1.1 */

.percent-bar-container {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}

.percent-bar-track {
    flex: 1;
    background: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.percent-bar-fill {
    background: #4caf50;
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.percent-bar-input {
    width: 60px;
    text-align: right;
}


/* --- app/static/css/partials/attributes/status-index.css --- */
/* WAI-Core: src/app/static/css/partials/attributes/status-index.css v3.2 */

/* Status styling driven by status_index metadata */
.object {
    --status-fill-color: transparent;
    --status-outline-color: rgba(255, 255, 255, 0.2);
    --status-text-color: inherit;
    --status-darkening: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.32) 35%,
        rgba(0, 0, 0, 0.18) 65%,
        rgba(0, 0, 0, 0.08) 85%,
        rgba(0, 0, 0, 0) 100%
    );
    --status-surface: none;
    --status-glow: none;
}

#base-object-popup-container {
    --status-fill-color: transparent;
    --status-outline-color: rgba(255, 255, 255, 0.2);
    --status-text-color: inherit;
    --status-darkening: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.22) 3%,
        rgba(0, 0, 0, 0.32) 8%,
        rgba(0, 0, 0, 0.38) 50%,
        rgba(0, 0, 0, 0.32) 92%,
        rgba(0, 0, 0, 0.22) 97%,
        rgba(0, 0, 0, 0) 100%
    );
    --status-surface: none;
    --status-glow: none;
}

.object[data-status-visual] > .object-header,
#base-object-popup-container[data-status-visual] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--status-fill-color);
    background-image: var(--status-darkening), var(--status-surface);
    border: 1px solid var(--status-outline-color);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), var(--status-glow);
    /* color: var(--status-text-color); */
    transition: background-color 0.4s ease, box-shadow 0.4s ease, color 0.3s ease,
        border-color 0.3s ease;
}

.object[data-status-visual="draft"] > .object-header,
#base-object-popup-container[data-status-visual="draft"] {
    background: transparent;
    --status-darkening: none;
    --status-surface: none;
    border-style: dashed;
    border-color: var(--status-outline-color, #9ca3af);
    box-shadow: none;
}

.object[data-status-visual^="terminal-"] > .object-header,
#base-object-popup-container[data-status-visual^="terminal-"] {
    border-width: 1px;
}

.object[data-status-visual="terminal-waiting"] > .object-header,
#base-object-popup-container[data-status-visual="terminal-waiting"] {
    --status-surface: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)), none;
}

.object[data-status-visual="ongoing"] > .object-header,
#base-object-popup-container[data-status-visual="ongoing"] {
    --status-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 50%,
            transparent 100%);
}


/* --- app/static/css/partials/attributes/status.css --- */
/* WAI-Core: src/app/static/css/partials/attributes/status.css v2.0 */

/* Hue and grayscale styling flows from status_index metadata. */
.object[data-status-visual] > .object-header .object-title,
#base-object-popup-container[data-status-visual] .object-title {
    color: inherit;
}

.object[data-status-visual="draft"] > .object-header,
#base-object-popup-container[data-status-visual="draft"] {
    background-image: none;
    box-shadow: inset 0 0 0 1px var(--status-outline-color, #9ca3af);
}

.object[data-status-visual^="terminal-"] > .object-header,
#base-object-popup-container[data-status-visual^="terminal-"] {
    font-weight: 600;
}

.object[data-status-visual="terminal-waiting"] > .object-header,
#base-object-popup-container[data-status-visual="terminal-waiting"] {
    color: var(--status-text-color, #0f172a);
}


/* --- app/static/css/partials/actions/action.css --- */
/* WAI-Core: src/app/static/css/partials/actions/action.css v2 */

.action-button {
    padding: 5px 5px;
    margin: 5px;
    background-color: var(--brand-color-cta);
    border: none;
    color: var(--brand-color-primary);
    border-radius: var(--brand-border-radius);
    cursor: pointer;
    font-size: 1em;
    white-space: nowrap;
    transition: background-color 0.3s ease;

/*
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 10px 20px;
    width: 100%;
    height: auto;
    background-color: #186009;
    color: #ccc;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
*/
}

.action-button:hover {
    background-color: var(--brand-color-cta-hover);
}

/* Default Actions Container */
#object-default-actions, #group-default-actions {
    background-color: #2b3945; /* Muted teal/blue for default actions */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Slightly stronger shadow for depth */
    margin-bottom: 10px; /* Space between sections */
    border: 1px solid #3d4f5c; /* Subtle border for distinction */
}

#object-specific-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 columns of equal width */
    gap: 0px; /* adjust as needed */
}

#object-specific-actions.object-actions-hidden {
    display: none;
}

/*
#group-specific-actions {
    background-color: #3a2f4f;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border: 1px solid #4c3e65;
}
*/

/* Action Modal Styling */
.action-modal {
    display: none; /* Ensures it's hidden initially */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-modal-content {
    width: 80%;
    background: #333; /* Dark theme */
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.action-modal-close {
    color: white;
    cursor: pointer;
    font-size: 19.2px;
    float: right;
}

.action-modal-close:hover {
    color: #000;
}

.action-modal-nav {
    display: flex;
    justify-content: space-between;  /* Moves buttons to left and right */
    width: 100%;
    margin-top: 15px;
}

/* The right panel now overlays the UI on small viewports, so disable the
   RunWAi-specific offsets that were shrinking action modals.
body.right-panel-open .action-modal {
    width: calc(100% - var(--right-panel-width));
    right: var(--right-panel-width);
}

body.right-panel-open .action-modal-content {
    width: min(calc(80vw - var(--right-panel-width)), 900px);
}
*/

/* Async action error styling */
.action-error {
    background-color: #c00;
    position: relative;
}

.action-error:hover::after {
    content: attr(data-error-message);
    position: absolute;
    background: #c00;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 4px;
    z-index: 1000;
}

/* Async action success styling */
.action-success {
    background-color: #ffeb3b;
    color: #000;
}


/* --- app/static/css/partials/actions/connect.css --- */
/* WAI-Core: src/app/static/css/partials/actions/connect.css v2 */

.modal-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    text-align: left;
}

.modal-field label {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 11.2px;
}

.modal-field input,
.modal-field select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #555;
    background: #222;
    color: #fff;
    font-size: 11.2px;
}


/* --- app/static/css/partials/actions/context-menu.css --- */
/* WAI-Core: src/app/static/css/partials/actions/context-menu.css v2 */

.context-menu {
    position: fixed;
    background-color: #1e1e1e;
    color: #ffffff;
    border: 1px solid #333333;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    z-index: 999900;
    padding: 5px 0;
    min-width: 180px;
    font-family: 'Roboto Mono', monospace;
    font-size: 11.2px;
    display: none;
}

.context-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.context-menu li {
    padding: 10px 15px;
    cursor: pointer;
    white-space: nowrap;
    position: relative; /* For submenu positioning */
    transition: background-color 0.2s ease, color 0.2s ease;
}

.context-menu li:hover {
    background-color: #444444;
}

.submenu-arrow {
    position: absolute;
    right: 10px; /* Position the arrow on the right */
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
    font-size: 9.6px; /* Adjust size as needed */
}

.sub-context-menu {
    position: absolute;
    top: 0;
    left: 100%; /* Align to the right of the parent menu item */
    background-color: #2b2b2b;
    border: 1px solid #444;
    border-radius: 6px;
    z-index: 1100;
    padding: 5px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    min-width: 150px;
    display: none; /* Hidden by default */
}

.has-submenu:hover .sub-context-menu,
.has-submenu:focus-within .sub-context-menu {
    display: block;
}

.sub-context-menu li {
    padding: 8px 12px;
    cursor: pointer;
    white-space: nowrap;
}

.sub-context-menu li:hover {
    background-color: #555;
}

@media (max-width: 600px) {
    .context-menu,
    .sub-context-menu {
        font-size: 9.6px;
        min-width: 140px;
    }

    .context-menu li,
    .sub-context-menu li {
        padding: 8px 10px;
    }
}

.context-menu .tab-header {
    display: flex;
    border-bottom: 1px solid #444;
}

.context-menu .tab-header button {
    flex: 1;
    padding: 5px 8px;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
}

.context-menu .tab-header button.active {
    background-color: #333;
}

.context-menu .loading {
    text-align: center;
    padding: 10px;
}


/* --- app/static/css/partials/actions/platforms/ltw/campaign/new_post.css --- */
/* WAI-Core: src/app/static/css/partials/actions/platforms/ltw/campaign/new_post.css v1 */

/* Website: WF RunWAI/src/app/static/css/partials/actions/platforms/ltw/campaign/new_post.css v1.0 */

/* 🔹 Text Input Fields */
.post-input, .post-textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 11.2px;
    outline: none;
    transition: border 0.2s ease-in-out;
}

.post-input:focus, .post-textarea:focus, select:focus, input[type="datetime-local"]:focus {
    border-color: #007bff;
}

/* 🔹 Body Textarea */
.post-body-container {
    position: relative;
    width: 100%;
}

.post-textarea {
    height: 120px;
    resize: vertical;
}

#post-body {
    padding: 0px;
    background-color: black;
    color: white;
}

#post-topic {
    padding-left: 0px;
    padding-right: 0px;
}

/* 🔹 Toggle Preview Button */
#toggle-preview {
    margin-top: 5px;
    padding: 8px;
    width: 100%;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 11.2px;
    overflow-y: auto;
}

.post-preview {
    width: 100%;
    min-height: 120px;
    max-height: 400px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow-y: auto;
    font-size: 11.2px;
    text-align: left;
}

.hidden {
    display: none !important;
}

/* 🔹 Publish Time Selection */
#publish-time {
    cursor: pointer;
}

/* 🔹 Submit Button */
#submit-post {
    width: 100%;
    padding: 10px;
    border: none;
    color: white;
    font-size: 12.8px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.action-modal-nav-button {
    margin-top: 20px;
}


/* --- app/static/css/partials/objects/object.css --- */
/* WAI-Core: src/app/static/css/partials/objects/object.css v7 */

.object {
    cursor: pointer;
    padding-left: 20px;
    border-radius: 10px;
    z-index: 1999;
    font-size: 1rem;
    isolation: isolate;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.object.recording {
    position: relative;
}

.object-header.recording {
    position: relative;
    border-color: rgba(102, 204, 255, 0.6);
    animation: object-recording-pulse 1.2s ease-in-out infinite;
}

.object-header.recording::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 14px;
    pointer-events: none;
    animation: object-recording-glow 1.2s ease-in-out infinite;
}

.object-selected {
    box-shadow: 0 0 10px 3px gray;
}

.object-actioning {
    transform: scale(1.01);
    transition: transform 0.3s ease;
    z-index: 10;
}

/* Object Header Layout */
.object-header {
    color: white;
    display: flex;
    position: relative;
    justify-content: space-between; /* Spread title, indicators, and actions */
    align-items: center;
    margin-left: -20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border with slight transparency */
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); /* Soft shadow for slight depth */
    padding: 5px 10px; /* Adds a little padding to keep spacing clean */
    transition: background-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
    Overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* Object Title */
.object-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
    position: relative;
    margin: 0;
    font-size: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.object-title-tooltip {
    position: absolute;
    background: rgba(40, 40, 40, 0.95);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    max-width: 300px;
    word-wrap: break-word;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.object-title-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent rgba(40, 40, 40, 0.95) transparent;
}

/* Object Indicators */
.object-indicators {
    display: flex;
    padding-left: 20px;
    flex-grow: 1; /* Ensures it stays in place */
    white-space: nowrap;
}

.action-loading-indicator {
    display: none;
    margin-right: 6px;
    color: #ccc;
}

/* Hide subobjects by default */
.subobjects-hidden {
    display: none;
}

/* Add spacing below open subobjects */
.subobjects-container:not(.subobjects-hidden) {
    margin-bottom: 10px;
}

/* Object Actions - Initially Hidden */
.object-actions {
    display: none;
    align-items: center;    /* Vertically center buttons */
    gap: 8px;
    height: 21px;
}

.mobile-move-handle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    color: #dcdcdc;
    background: transparent;
}

.mobile-move-handle i {
    pointer-events: none;
}

/* Show actions only for the hovered or selected object */
.object:hover > .object-header > .object-actions,
.object-selected > .object-header > .object-actions {
    display: flex;
}

/* Object Action Buttons */
.object-actions button {
    background: transparent;
    border: none;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
    margin-right: 20px;
    height: 100%;
}

/* Change color on hover */
.object-actions button:hover {
    color: #eeeeee;
}

.compact-model .object .object-actions {
    display: none;
}

.compact-model .object .object-header {
    margin-bottom: 0px;
}

.compact-model .object:hover > .object-header > .object-actions,
.compact-model .object-selected > .object-header > .object-actions {
    display: none !important;
}

.object.touch-device .mobile-move-handle {
    display: inline-flex;
}

/*
.object.touch-device .object-actions {
    display: flex;
}
*/
.object-voice-button {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #e4e4e4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.object-voice-button:active {
    transform: scale(0.96);
}

.object-voice-button.recording {
    background: rgba(102, 204, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(102, 204, 255, 0.2);
    animation: object-recording-pulse 1.2s ease-in-out infinite;
}

.object-voice-button i {
    pointer-events: none;
}

/* Drag action label */
.drag-action-label {
    position: fixed;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 8px;
    margin-left: 5px;
    border-radius: 4px;
    font-size: 9.6px;
    z-index: 10000;
}

/* Success and error highlights for object actions */
.object-header.action-success {
    animation: action-success-glow 1.5s ease-in-out;
    animation-fill-mode: both;
}

@keyframes object-recording-pulse {
    0% {
        box-shadow: 0 0 0 rgba(102, 204, 255, 0.35);
    }
    50% {
        box-shadow: 0 0 12px rgba(102, 204, 255, 0.75);
    }
    100% {
        box-shadow: 0 0 0 rgba(102, 204, 255, 0.35);
    }
}

@keyframes object-recording-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 204, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(102, 204, 255, 0.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 204, 255, 0.2);
    }
}

@keyframes action-success-glow {
    0%, 100% {
        box-shadow: 0 0 0 rgba(255, 235, 59, 0);
    }
    50% {
        box-shadow: 0 0 8px rgba(255, 235, 59, 0.8);
        background-color: #ffeb3b;
        color: #000;
    }
}

.object-header.action-error {
    background-color: #c00;
    color: #fff;
}

.object-indicators .action-error-indicator {
    background-color: #c00;
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9.6px;
    margin-right: 6px;
    position: relative;
}

.object-indicators .action-error-indicator:hover::after {
    content: attr(data-error-message);
    position: absolute;
    background: #c00;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 4px;
    z-index: 10000; /* ensure tooltip sits above surrounding elements */
}


/* --- app/static/css/partials/objects/responsive.css --- */
/* WAI-Core: src/app/static/css/partials/objects/responsive.css v8 */

@media screen and (min-width: 1300px) {

    .object-title {
        font-size: 2rem;
    }

    .folder-icon {
        font-size: 2rem;
    }

}

@media screen and (min-width: 1800px) {

    .object-title {
        font-size: 3rem;
    }

    .folder-icon {
        font-size: 3rem;
    }

}


/* --- app/static/css/partials/objects/sort.css --- */
/* WAI-Core: src/app/static/css/partials/objects/sort.css v1 */

.sort-btn {
    white-space: nowrap;
}

/* Hide dropdown by default */
.sort-key-dropdown {
    font-size: 9.6px;
    z-index: 100;
    border: none;
    padding: 0px;
    margin: 0px;
    background: transparent;
    color: gray;
    text-align: right;
    max-width: 53px;
    white-space: nowrap;
}

.fa-sort {
    white-space: nowrap;
}


/* --- app/static/css/partials/objects/indicators.css --- */
/* WAI-Core: src/app/static/css/partials/objects/indicators.css v1 */

.ownership-indicator,
.creator-indicator {
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left: 10px;
    opacity: 0.8;
    flex-shrink: 0; /* prevent from shrinking in flex containers */
}

.connection-indicator {
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
}

.creator-indicator {
    background-color: #fff;
    color: #000;
}

.ownership-indicator {
    color: #fff;
    background-color: #000;
}


/* --- app/static/css/partials/objects/filter.css --- */
/* WAI-Core: src/app/static/css/partials/objects/filter.css v1 */


/* --- app/static/css/partials/objects/collaborating.css --- */
/* WAI-Core: src/app/static/css/partials/objects/collaborating.css v1 */

.object[data-collaborating="true"]:hover .collaborator-indicator {
    background-color: #eee;
}

.object[data-collaborating="true"] > .object-header {
    opacity: 0.618; /* Golden ratio transparency */
    border: 1px dashed rgba(255, 255, 255, 0.3);
    transition: opacity 0.3s ease, border 0.3s ease;
}

.object.object-selected[data-collaborating="true"] {
    opacity: 1;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ⬆ Restore full opacity on hover */
.object[data-collaborating="true"]:hover > .object-header {
    opacity: 1;
}


/* --- app/static/css/partials/objects/pagination.css --- */
/* WAI-Core: src/app/static/css/partials/objects/pagination.css v1 */

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.05); /* subtle transparency */
    border-radius: 8px;
    font-size: 0.76rem;
    color: var(--text-light);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.pagination-controls button {
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.08); /* transparent button */
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.pagination-controls button:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.15);
}

.pagination-controls button:disabled {
    background-color: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

.pagination-controls select {
    background-color: var(--brand-color-container-background);
    color: #fff;
    border: 1px solid var(--brand-color-primary);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.76rem;
}

.pagination-controls label {
    color: var(--text-light);
    font-weight: 500;
}


/* --- app/static/css/partials/objects/recenter.css --- */
/* WAI-Core: src/app/static/css/partials/objects/recenter.css v1 */


/* --- app/static/css/partials/section/structure.css --- */
/* Website: src/app/static/css/partials/section/structure.css v1.2 */

.partial-section {
  padding: 2.5rem;
  color: var(--brand-color-container-foreground-light, #f5f7fa);
  border: 1px solid rgba(46, 217, 231, 0.35);
  border-radius: 24px;
  margin: 3rem auto;
  max-width: 1100px;
  background: linear-gradient(
    90deg,
    rgba(7, 10, 13, 0.88) 0%,
    rgba(16, 22, 28, 0.72) 50%,
    rgba(7, 10, 13, 0.88) 100%
  );
}

.partial-section__inner {
  display: grid;
  gap: 1.5rem;
}

.partial-section__header {
  display: grid;
  gap: 0.5rem;
}

.partial-section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--brand-color-primary, #2ed9e7);
  margin: 0;
}

.partial-section__title {
  font-family: var(--brand-font-title, "Roboto", sans-serif);
  margin: 0;
  font-size: 2.2rem;
}

.partial-section__lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--brand-color-container-foreground-muted, rgba(245, 247, 250, 0.75));
}

.partial-section__body {
  font-family: var(--brand-font-body, "Roboto", sans-serif);
  line-height: 1.7;
}

.partial-section__media {
  display: flex;
  justify-content: flex-start;
}

.partial-section--circle {
  background: none;
  border: none;
  padding: 0;
  overflow: visible;
}

.partial-section--circle .partial-section__inner {
  background: linear-gradient(
    90deg,
    rgba(7, 10, 13, 0.88) 0%,
    rgba(16, 22, 28, 0.72) 50%,
    rgba(7, 10, 13, 0.88) 100%
  );
  border: 1px solid rgba(46, 217, 231, 0.35);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: visible;
}

.partial-section--circle .partial-section__media {
  justify-content: center;
}

.partial-section--circle .partial-section__media-card {
  border-radius: 999px;
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
}

.partial-section__media-card {
  background: rgba(46, 217, 231, 0.08);
  border-radius: 18px;
  padding: 2rem;
  min-height: 160px;
  width: 100%;
  border: 1px solid rgba(46, 217, 231, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partial-section__media-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-color-primary, #2ed9e7);
}

.partial-section__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.partial-section__button-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.partial-section__button {
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--brand-color-cta-button, #2ed9e7);
  color: #0b1014;
}

.partial-section__button.is-ghost {
  background: transparent;
  border: 1px solid var(--brand-color-primary, #2ed9e7);
  color: var(--brand-color-primary, #2ed9e7);
}

@media (min-width: 900px) {
  .partial-section__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .partial-section__header,
  .partial-section__body,
  .partial-section__actions {
    grid-column: 1 / 2;
  }

  .partial-section__media {
    grid-column: 2 / 3;
  }

  .partial-section--circle .partial-section__media {
    margin-left: -4rem;
  }

  .partial-section--circle .partial-section__media-card {
    width: clamp(360px, 40vw, 460px);
  }
}


/* --- app/static/css/partials/banner/structure.css --- */
/* Website: src/app/static/css/partials/banner/structure.css v1.1 */

.partial-banner {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin: 3rem calc(50% - 50vw);
  border-radius: 24px;
  padding: 0;
  max-width: none;
  background: linear-gradient(
    90deg,
    rgba(7, 10, 13, 0.88) 0%,
    rgba(16, 22, 28, 0.72) 50%,
    rgba(7, 10, 13, 0.88) 100%
  );
  border: 1px solid rgba(46, 217, 231, 0.35);
  color: #f5f7fa;
}

.partial-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem clamp(62px, 4vw, 3.5rem);
  display: grid;
  gap: 2rem;
}

.partial-banner__background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.partial-banner__glow {
  display: none;
}

.partial-banner__content {
  position: relative;
  display: grid;
  gap: 0.75rem;
}

.partial-banner__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--brand-color-primary, #2ed9e7);
  margin: 0;
}

.partial-banner__title {
  font-size: 2.2rem;
  margin: 0;
  font-family: var(--brand-font-title, "Roboto", sans-serif);
}

.partial-banner__copy {
  margin: 0;
  font-size: 1.1rem;
  color: rgba(245, 247, 250, 0.75);
}

.partial-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.partial-banner__button {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--brand-color-cta-button, #2ed9e7);
  color: #0b1014;
}

.partial-banner__button.is-ghost {
  background: transparent;
  color: var(--brand-color-primary, #2ed9e7);
  border: 1px solid var(--brand-color-primary, #2ed9e7);
}

.partial-banner__media {
  position: relative;
  display: flex;
  justify-content: center;
}

.partial-banner__media-card {
  width: min(420px, 100%);
  min-height: 220px;
  border-radius: 18px;
  border: 1px solid rgba(46, 217, 231, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 217, 231, 0.08);
  color: var(--brand-color-primary, #2ed9e7);
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .partial-banner__inner {
    align-items: start;
  }
}


/* --- app/static/css/partials/carousel/structure.css --- */
/* Website: src/app/static/css/partials/carousel/structure.css v1.0 */

.partial-carousel {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2.5rem;
  border-radius: 24px;
  background: linear-gradient(
    90deg,
    rgba(7, 10, 13, 0.88) 0%,
    rgba(16, 22, 28, 0.72) 50%,
    rgba(7, 10, 13, 0.88) 100%
  );
  border: 1px solid rgba(46, 217, 231, 0.4);
  color: #f5f7fa;
  display: grid;
  gap: 2rem;
}

.partial-carousel__header {
  display: grid;
  gap: 0.5rem;
}

.partial-carousel__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--brand-color-primary, #2ed9e7);
  margin: 0;
}

.partial-carousel__title {
  margin: 0;
  font-size: 2.2rem;
}

.partial-carousel__lead {
  margin: 0;
  color: rgba(245, 247, 250, 0.7);
}

.partial-carousel__viewport {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.partial-carousel__slides {
  position: relative;
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.partial-carousel__slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 2rem;
  border-radius: 18px;
  background: rgba(46, 217, 231, 0.08);
  border: 1px solid rgba(46, 217, 231, 0.35);
}

.partial-carousel__slide.is-active {
  display: block;
}

.partial-carousel__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.partial-carousel__button {
  border: 1px solid rgba(46, 217, 231, 0.6);
  background: transparent;
  color: var(--brand-color-primary, #2ed9e7);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
}

.partial-carousel__dots {
  display: flex;
  gap: 0.5rem;
}

.partial-carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(46, 217, 231, 0.6);
  background: transparent;
  cursor: pointer;
}

.partial-carousel__dot.is-active {
  background: var(--brand-color-primary, #2ed9e7);
}


/* --- app/static/css/partials/tile-grid/structure.css --- */
/* Website: src/app/static/css/partials/tile-grid/structure.css v1.0 */

.partial-tile-grid {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2.5rem;
  border-radius: 24px;
  background: linear-gradient(
    90deg,
    rgba(7, 10, 13, 0.88) 0%,
    rgba(16, 22, 28, 0.72) 50%,
    rgba(7, 10, 13, 0.88) 100%
  );
  border: 1px solid rgba(46, 217, 231, 0.35);
  color: #f5f7fa;
  display: grid;
  gap: 2rem;
}

.partial-tile-grid__header {
  display: grid;
  gap: 0.5rem;
}

.partial-tile-grid__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--brand-color-primary, #2ed9e7);
  margin: 0;
}

.partial-tile-grid__title {
  margin: 0;
  font-size: 2.2rem;
}

.partial-tile-grid__lead {
  margin: 0;
  color: rgba(245, 247, 250, 0.7);
}

.partial-tile-grid__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.partial-tile-grid__tile {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  perspective: 1000px;
  height: 220px;
  text-align: left;
}

.partial-tile-grid__tile-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  border-radius: 16px;
}

.partial-tile-grid--circles .partial-tile-grid__tile-inner {
  border-radius: 999px;
}

.partial-tile-grid__tile.is-flipped .partial-tile-grid__tile-inner {
  transform: rotateY(180deg);
}

.partial-tile-grid__tile-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 1.5rem;
  background: rgba(46, 217, 231, 0.08);
  border: 1px solid rgba(46, 217, 231, 0.35);
  display: grid;
  gap: 0.6rem;
}

.partial-tile-grid--circles .partial-tile-grid__tile-face {
  border-radius: 999px;
  text-align: center;
  align-content: center;
  justify-items: center;
  padding: 1.2rem;
}

.partial-tile-grid__tile-face--back {
  transform: rotateY(180deg);
  background: rgba(20, 26, 32, 0.9);
}

.partial-tile-grid__tile-face h3 {
  margin: 0;
  font-size: 1.3rem;
}

.partial-tile-grid__tile-face p {
  margin: 0;
  color: rgba(245, 247, 250, 0.75);
}


/* --- app/static/css/partials/collapsible-subsections/structure.css --- */
/* Website: src/app/static/css/partials/collapsible-subsections/structure.css v1.0 */

.partial-collapsible {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2.5rem;
  border-radius: 24px;
  background: linear-gradient(
    90deg,
    rgba(7, 10, 13, 0.88) 0%,
    rgba(16, 22, 28, 0.72) 50%,
    rgba(7, 10, 13, 0.88) 100%
  );
  border: 1px solid rgba(46, 217, 231, 0.35);
  color: #f5f7fa;
  display: grid;
  gap: 2rem;
}

.partial-collapsible__header {
  display: grid;
  gap: 0.5rem;
}

.partial-collapsible__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--brand-color-primary, #2ed9e7);
  margin: 0;
}

.partial-collapsible__title {
  margin: 0;
  font-size: 2.2rem;
}

.partial-collapsible__lead {
  margin: 0;
  color: rgba(245, 247, 250, 0.7);
}

.partial-collapsible__items {
  display: grid;
  gap: 1rem;
}

.partial-collapsible__item {
  border-radius: 16px;
  border: 1px solid rgba(46, 217, 231, 0.4);
  background: rgba(46, 217, 231, 0.08);
  overflow: hidden;
}

.partial-collapsible__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  color: #f5f7fa;
  font-size: 1.05rem;
  cursor: pointer;
  text-align: left;
}

.partial-collapsible__icon {
  font-size: 1.5rem;
  color: var(--brand-color-primary, #2ed9e7);
}

.partial-collapsible__content {
  padding: 0 1.5rem 1.5rem;
  color: rgba(245, 247, 250, 0.75);
}


/* --- app/static/css/partials/paged-form/structure.css --- */
/* Website: src/app/static/css/partials/paged-form/structure.css v1.1 */

.partial-paged-form {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(46, 217, 231, 0.35);
  background: linear-gradient(
    90deg,
    rgba(7, 10, 13, 0.88) 0%,
    rgba(16, 22, 28, 0.72) 50%,
    rgba(7, 10, 13, 0.88) 100%
  );
  color: var(--brand-color-container-foreground-light, #f5f7fa);
  display: grid;
  gap: 1.75rem;
}

.partial-paged-form__header {
  display: grid;
  gap: 0.5rem;
}

.partial-paged-form__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--brand-color-primary, #2ed9e7);
  margin: 0;
}

.partial-paged-form__title {
  margin: 0;
  font-size: 2.2rem;
  font-family: var(--brand-font-title, "Roboto", sans-serif);
}

.partial-paged-form__lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--brand-color-container-foreground-muted, rgba(245, 247, 250, 0.75));
}

.partial-paged-form__progress {
  padding: 1rem 1.5rem;
  border-radius: 18px;
  background: rgba(46, 217, 231, 0.08);
  border: 1px solid rgba(46, 217, 231, 0.35);
}

.partial-paged-form__steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.partial-paged-form__step {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 217, 231, 0.6);
  color: var(--brand-color-primary, #2ed9e7);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  background: transparent;
  cursor: pointer;
}

.partial-paged-form__step.active {
  background: var(--brand-color-primary, #2ed9e7);
  color: #0b1014;
}

.partial-paged-form__step.clickable {
  opacity: 1;
}

.partial-paged-form__step:not(.clickable):not(.active) {
  opacity: 0.5;
  cursor: default;
}

.partial-paged-form__form {
  display: grid;
  gap: 1.5rem;
}

.partial-paged-form__page {
  display: none;
  gap: 1rem;
}

.partial-paged-form__page.active {
  display: grid;
}

.partial-paged-form__page-header {
  display: grid;
  gap: 0.5rem;
}

.partial-paged-form__page-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-family: var(--brand-font-title, "Roboto", sans-serif);
}

.partial-paged-form__page-header p {
  margin: 0;
  color: var(--brand-color-container-foreground-muted, rgba(245, 247, 250, 0.75));
}


.partial-paged-form__page,
.partial-paged-form__page-header,
.partial-paged-form__label {
  min-width: 0;
}

.partial-paged-form__label {
  font-weight: 600;
  color: var(--brand-color-primary, #2ed9e7);
}

.partial-paged-form input[type="checkbox"],
.partial-paged-form input[type="radio"] {
  accent-color: var(--brand-color-cta, #186009);
}

.partial-paged-form__input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(46, 217, 231, 0.5);
  background: rgba(7, 10, 13, 0.7);
  color: #f5f7fa;
  font-family: var(--brand-font-body, "Roboto", sans-serif);
  resize: vertical;
}

.partial-paged-form__input.is-error {
  border-color: var(--brand-color-danger, #dc3545);
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

.partial-paged-form__navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.partial-paged-form__button {
  margin: 0 auto;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.6rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--brand-color-cta-button, #2ed9e7);
  color: var(--brand-color-primary, #2ed9e7);
}

.partial-paged-form__button.is-ghost {
  background: transparent;
  border: 1px solid var(--brand-color-primary, #2ed9e7);
  color: var(--brand-color-primary, #2ed9e7);
}

.partial-paged-form__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.partial-paged-form__flash {
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  background: #a97d0d;
}

.partial-paged-form__flash.alert-success {
  background-color: #1f8b4c;
  color: #fff;
}

.partial-paged-form__flash.alert-danger {
  background-color: #b32136;
  color: #fff;
}

.partial-paged-form__flash.alert-warning {
  background-color: #a97d0d;
  color: #fff;
}

.partial-paged-form__flash.alert-info {
  background-color: #235b8c;
  color: #fff;
}

.partial-paged-form__turnstile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.partial-paged-form__turnstile-error {
  margin: 0;
  color: var(--brand-color-danger, #dc3545);
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .partial-paged-form {
    padding: 1.5rem;
  }

  .partial-paged-form__page-header h3 {
    font-size: 1.3rem;
  }

  .partial-paged-form__step {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .partial-paged-form__button {
    width: 100%;
  }

  .partial-paged-form__navigation {
    flex-direction: column;
    align-items: stretch;
  }
}


/* --- app/static/css/partials/chat-box/structure.css --- */
/* WAi-Core: src/app/static/css/partials/chat-box/structure.css v1.1 */

.partial-chat-box {
  margin: 3rem auto;
  max-width: 1100px;
  padding: 0 1.5rem;
  color: var(--brand-color-container-foreground-light, #f5f7fa);
}

.partial-chat-box__card {
  background: linear-gradient(
    135deg,
    rgba(7, 10, 13, 0.9) 0%,
    rgba(16, 22, 28, 0.85) 40%,
    rgba(7, 10, 13, 0.95) 100%
  );
  border: 1px solid rgba(46, 217, 231, 0.35);
  border-radius: 24px;
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
  box-shadow: 0 20px 35px rgba(3, 8, 12, 0.35);
}

.partial-chat-box__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.partial-chat-box__heading {
  display: grid;
  gap: 0.4rem;
}

.partial-chat-box__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--brand-color-primary, #2ed9e7);
}

.partial-chat-box__title {
  margin: 0;
  font-size: 1.6rem;
  font-family: var(--brand-font-title, "Roboto", sans-serif);
}

.partial-chat-box__status {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(46, 217, 231, 0.12);
  border: 1px solid rgba(46, 217, 231, 0.4);
  color: var(--brand-color-primary, #2ed9e7);
}

.partial-chat-box__messages {
  background: linear-gradient(135deg, rgba(14, 20, 27, 0.95) 0%, rgba(23, 30, 38, 0.9) 100%);
  border-radius: 18px;
  border: 1px solid rgba(46, 217, 231, 0.2);
  padding: 1rem;
  min-height: 220px;
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35);
}

.partial-chat-box__message {
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 90%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  animation: chat-message-pop 0.3s ease;
  white-space: pre-wrap;
}

.partial-chat-box__message--assistant {
  align-self: flex-start;
  background: rgba(18, 28, 41, 0.92);
  border: 1px solid rgba(46, 217, 231, 0.35);
  color: #f5f7fa;
}

.partial-chat-box__message--user {
  align-self: flex-end;
  background: rgba(46, 217, 231, 0.2);
  border: 1px solid rgba(46, 217, 231, 0.45);
  color: #e9f9fb;
  text-align: right;
}

.partial-chat-box__below {
  display: grid;
  gap: 0.75rem;
}

.partial-chat-box__typing {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(46, 217, 231, 0.12);
  width: fit-content;
}

.partial-chat-box__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-color-primary, #2ed9e7);
  opacity: 0;
  animation: chat-typing 1s infinite;
}

.partial-chat-box__dot:nth-child(2) {
  animation-delay: 0.2s;
}

.partial-chat-box__dot:nth-child(3) {
  animation-delay: 0.4s;
}

.partial-chat-box__context {
  background: rgba(14, 20, 27, 0.85);
  border-radius: 18px;
  border: 1px solid rgba(46, 217, 231, 0.2);
  padding: 0.75rem;
}

.partial-chat-box__context-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.partial-chat-box__context-arrow {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 217, 231, 0.4);
  background: rgba(46, 217, 231, 0.15);
  color: #f5f7fa;
  cursor: pointer;
}

.partial-chat-box__context-arrow:disabled {
  opacity: 0.5;
  cursor: default;
}

.partial-chat-box__context-position {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 247, 250, 0.75);
}

.partial-chat-box__context-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.partial-chat-box__context-item {
  border-radius: 14px;
  padding: 0.75rem;
  background: rgba(46, 217, 231, 0.08);
  border: 1px solid rgba(46, 217, 231, 0.25);
  display: grid;
  gap: 0.35rem;
}

.partial-chat-box__context-title {
  margin: 0;
  font-size: 0.95rem;
  color: #f5f7fa;
}

.partial-chat-box__context-meta {
  font-size: 0.8rem;
  color: rgba(245, 247, 250, 0.7);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.partial-chat-box__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.partial-chat-box__input {
  flex: 1;
  border-radius: 14px;
  border: 1px solid rgba(46, 217, 231, 0.35);
  background: rgba(11, 16, 20, 0.8);
  color: #f5f7fa;
  padding: 0.65rem 0.85rem;
  min-height: 44px;
  font-family: inherit;
  resize: vertical;
}

.partial-chat-box__input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(46, 217, 231, 0.35);
}

.partial-chat-box__send {
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  background: var(--brand-color-cta-button, #2ed9e7);
  color: #071015;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partial-chat-box__send:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(46, 217, 231, 0.25);
}

.partial-chat-box__messages::-webkit-scrollbar,
.partial-chat-box__context::-webkit-scrollbar {
  width: 6px;
}

.partial-chat-box__messages::-webkit-scrollbar-thumb,
.partial-chat-box__context::-webkit-scrollbar-thumb {
  background: rgba(46, 217, 231, 0.4);
  border-radius: 999px;
}

.partial-chat-box__messages::-webkit-scrollbar-thumb:hover,
.partial-chat-box__context::-webkit-scrollbar-thumb:hover {
  background: rgba(46, 217, 231, 0.65);
}

.partial-chat-box .is-hidden {
  display: none;
}

@keyframes chat-typing {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes chat-message-pop {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .partial-chat-box {
    padding: 0 2.5rem;
  }

  .partial-chat-box__card {
    padding: 2rem;
  }

  .partial-chat-box__messages {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .partial-chat-box__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .partial-chat-box__context {
    padding: 0.5rem;
    min-height: 104px;
  }

  .partial-chat-box__context.has-context-carousel .partial-chat-box__context-controls {
    display: flex;
  }

  .partial-chat-box__context-list {
    display: block;
    min-height: 64px;
  }

  .partial-chat-box__context-item {
    display: none;
    padding: 0.45rem 0.55rem;
    gap: 0.25rem;
    border-radius: 10px;
  }

  .partial-chat-box__context-item.is-active {
    display: grid;
  }

  .partial-chat-box__context-title {
    font-size: 0.85rem;
  }

  .partial-chat-box__context-meta {
    font-size: 0.72rem;
    gap: 0.35rem;
  }

  .partial-chat-box__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .partial-chat-box__send {
    width: 100%;
  }
}


/* --- app/static/css/partials/big-screen/structure.css --- */
/* Website: src/app/static/css/partials/big-screen/structure.css v1.1 */

.partial-big-screen {
  margin: clamp(3rem, 6vw, 5rem) auto;
  color: var(--brand-color-container-foreground-light, #f5f7fa);
}

.partial-big-screen__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 3rem);
  display: grid;
  gap: 1.75rem;
}

.partial-big-screen__header {
  display: grid;
  gap: 0.5rem;
}

.partial-big-screen__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--brand-color-primary, #2ed9e7);
  margin: 0;
  text-align: center;
}

.partial-big-screen__title {
  font-family: var(--brand-font-title, "Roboto", sans-serif);
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 3.4rem);
  text-align: center;
}

.partial-big-screen__lead {
  margin: 0;
  margin-top: -10px;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--brand-color-container-foreground-muted, rgba(245, 247, 250, 0.75));
  text-align: center;
}

.partial-big-screen__media {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  min-height: clamp(420px, 52vw, 680px);
  aspect-ratio: 16 / 9;
  max-height: 78vh;
  background: linear-gradient(
    90deg,
    rgba(7, 10, 13, 0.88) 0%,
    rgba(16, 22, 28, 0.72) 50%,
    rgba(7, 10, 13, 0.88) 100%
  );
  border: 1px solid rgba(46, 217, 231, 0.45);
  box-shadow: 0 34px 90px rgba(4, 10, 16, 0.55),
    0 0 0 1px rgba(46, 217, 231, 0.1) inset;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -10px;
  margin-bottom: -10px;
}

.partial-big-screen__media::before {
  content: "";
  position: absolute;
  inset: -30% -8% auto;
  height: 75%;
  pointer-events: none;
  background: radial-gradient(
      58% 70% at 20% 0%,
      rgba(46, 217, 231, 0.26) 0%,
      rgba(46, 217, 231, 0) 70%
    ),
    radial-gradient(
      58% 70% at 80% 0%,
      rgba(128, 107, 255, 0.24) 0%,
      rgba(128, 107, 255, 0) 72%
    );
  filter: blur(14px);
  z-index: 0;
}

.partial-big-screen__media::after {
  content: "";
  position: absolute;
  inset: auto 12% -26%;
  height: 34%;
  pointer-events: none;
  background: radial-gradient(
    50% 85% at 50% 0%,
    rgba(46, 217, 231, 0.3) 0%,
    rgba(46, 217, 231, 0.04) 45%,
    rgba(46, 217, 231, 0) 100%
  );
  filter: blur(18px);
  z-index: 0;
}

.partial-big-screen__asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.partial-big-screen__fullscreen {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(46, 217, 231, 0.5);
  background: rgba(11, 16, 20, 0.75);
  color: var(--brand-color-primary, #2ed9e7);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  pointer-events: none;
}

.partial-big-screen__fullscreen:focus-visible {
  outline: 2px solid var(--brand-color-primary, #2ed9e7);
  outline-offset: 2px;
}

.partial-big-screen__fullscreen-icon {
  font-size: 1rem;
}

.partial-big-screen__media:hover .partial-big-screen__fullscreen,
.partial-big-screen__media:focus-within .partial-big-screen__fullscreen,
.partial-big-screen__media.is-fullscreen .partial-big-screen__fullscreen {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.partial-big-screen__media.is-fullscreen .partial-big-screen__fullscreen {
  background: rgba(11, 16, 20, 0.9);
}

.partial-big-screen__media:fullscreen .partial-big-screen__fullscreen {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 720px) {
  .partial-big-screen__inner {
    gap: 1rem;
  }

  .partial-big-screen__media {
    border-radius: 22px;
    min-height: 300px;
    max-height: 68vh;
  }

  .partial-big-screen__fullscreen {
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.45rem 0.8rem;
  }
}


/* --- app/static/css/partials/big-screen-carousel/structure.css --- */
/* Website: src/app/static/css/partials/big-screen-carousel/structure.css v1.3 */

.partial-big-screen-carousel {
  margin: 3rem auto;
  color: var(--brand-color-container-foreground-light, #f5f7fa);
  overflow-x: clip;
}

.partial-big-screen-carousel__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 3rem);
  display: grid;
  gap: 1.5rem;
}

.partial-big-screen-carousel__header {
  display: grid;
  gap: 0.5rem;
  text-align: center;
}

.partial-big-screen-carousel__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--brand-color-primary, #2ed9e7);
  margin: 0;
}

.partial-big-screen-carousel__title {
  font-family: var(--brand-font-title, "Roboto", sans-serif);
  margin: 0;
  font-size: 2.4rem;
}

.partial-big-screen-carousel__lead {
  margin: 0;
  margin-top: -14px;
  font-size: 1.1rem;
  color: var(--brand-color-container-foreground-muted, rgba(245, 247, 250, 0.75));
}

.partial-big-screen-carousel__stage {
  position: relative;
  min-height: 360px;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  perspective: 1200px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.partial-big-screen-carousel__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.partial-big-screen-carousel__slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(72%, 820px);
  height: 100%;
  transform: translateX(-50%) scale(0.8);
  opacity: 0;
  filter: brightness(0.6);
  transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
  will-change: transform, opacity;
  pointer-events: none;
  z-index: 1;
}

.partial-big-screen-carousel__slide.is-active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  filter: brightness(1);
  z-index: 3;
  pointer-events: auto;
}

.partial-big-screen-carousel__slide.is-prev {
  transform: translateX(-140%) scale(0.75) rotateY(10deg);
  opacity: 0.6;
  filter: brightness(0.65);
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}

.partial-big-screen-carousel__slide.is-next {
  transform: translateX(40%) scale(0.75) rotateY(-10deg);
  opacity: 0.6;
  filter: brightness(0.65);
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}

.partial-big-screen-carousel__slide.is-hidden {
  opacity: 0;
  transform: translateX(-50%) scale(0.7);
}

.partial-big-screen-carousel__media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(7, 10, 13, 0.88) 0%,
    rgba(16, 22, 28, 0.72) 50%,
    rgba(7, 10, 13, 0.88) 100%
  );
  border: 1px solid rgba(46, 217, 231, 0.35);
  box-shadow: 0 24px 60px rgba(8, 13, 20, 0.35);
  display: grid;
  align-items: stretch;
}

.partial-big-screen-carousel__asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partial-big-screen-carousel__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem;
  background-color: rgba(7, 10, 13, 0.85);
  background: linear-gradient(
    180deg,
    rgba(7, 10, 13, 0) 0%,
    rgba(7, 10, 13, 0.72) 24%,
    rgba(7, 10, 13, 0.95) 100%
  );
  color: #f5f7fa;
  display: grid;
  gap: 0.4rem;
}

.partial-big-screen-carousel__kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--brand-color-primary, #2ed9e7);
}

.partial-big-screen-carousel__headline {
  margin: 0;
  font-size: 1.6rem;
}

.partial-big-screen-carousel__copy {
  margin: 0;
  color: rgba(245, 247, 250, 0.75);
}

.partial-big-screen-carousel__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.partial-big-screen-carousel__button {
  border: 1px solid rgba(46, 217, 231, 0.6);
  background: transparent;
  color: var(--brand-color-primary, #2ed9e7);
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
}

.partial-big-screen-carousel__dots {
  display: flex;
  gap: 0.5rem;
}

.partial-big-screen-carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(46, 217, 231, 0.6);
  background: transparent;
  cursor: pointer;
}

.partial-big-screen-carousel__dot.is-active {
  background: var(--brand-color-primary, #2ed9e7);
}

@media (max-width: 900px) {
  .partial-big-screen-carousel__slide {
    width: 88%;
  }

  .partial-big-screen-carousel__slide.is-prev {
    transform: translateX(-125%) scale(0.72) rotateY(8deg);
  }

  .partial-big-screen-carousel__slide.is-next {
    transform: translateX(25%) scale(0.72) rotateY(-8deg);
  }
}

@media (max-width: 720px) {
  .partial-big-screen-carousel__title {
    font-size: 1.8rem;
  }

  .partial-big-screen-carousel__lead {
    margin-top: 0;
    font-size: 1rem;
  }

  .partial-big-screen-carousel__inner {
    gap: 1rem;
    padding-inline: 1rem;
  }

  .partial-big-screen-carousel__stage {
    min-height: 240px;
    max-height: 55vh;
  }

  .partial-big-screen-carousel__headline {
    font-size: 1.25rem;
  }

  .partial-big-screen-carousel__copy {
    font-size: 0.92rem;
  }

  .partial-big-screen-carousel__overlay {
    padding: 1.4rem;
  }
}

@media (max-width: 560px) {
  .partial-big-screen-carousel__slide {
    width: 100%;
  }

  .partial-big-screen-carousel__slide.is-prev,
  .partial-big-screen-carousel__slide.is-next {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scale(0.9);
  }

  .partial-big-screen-carousel__overlay {
    padding: 1rem;
  }
}


/* --- app/static/css/partials/articles/structure.css --- */
/* Website: src/app/static/css/partials/articles/structure.css v1.2 */

.partial-articles {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2.5rem;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(46, 217, 231, 0.12), transparent 45%),
    linear-gradient(135deg, rgba(7, 10, 13, 0.94), rgba(16, 22, 28, 0.86));
  border: 1px solid rgba(46, 217, 231, 0.35);
  color: #f5f7fa;
  display: grid;
  gap: 1.75rem;
}

.partial-articles__header {
  display: grid;
  gap: 0.5rem;
}

.partial-articles__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--brand-color-primary, #2ed9e7);
  margin: 0;
}

.partial-articles__title {
  margin: 0;
  font-size: 2.2rem;
}

.partial-articles__lead {
  margin: 0;
  color: rgba(245, 247, 250, 0.72);
}

.partial-articles__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.partial-articles__search {
  display: grid;
  flex: 1 1 320px;
  min-width: 0;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(245, 247, 250, 0.8);
}

.partial-articles__search-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.partial-articles__search-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 217, 231, 0.4);
  background: rgba(8, 12, 16, 0.75);
  width: min(100%, 360px);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.partial-articles__search-field input {
  background: transparent;
  border: none;
  color: #f5f7fa;
  width: 100%;
  font-size: 0.95rem;
  outline: none;
}

.partial-articles__search-field input::placeholder {
  color: rgba(245, 247, 250, 0.5);
}

.partial-articles__search-icon {
  font-size: 1.1rem;
  opacity: 0.8;
}

.partial-articles__per-page {
  display: grid;
  flex: 0 1 auto;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(245, 247, 250, 0.8);
}

.partial-articles__per-page-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.partial-articles__per-page-select {
  border-radius: 999px;
  padding: 0.6rem 2rem 0.6rem 0.9rem;
  border: 1px solid rgba(46, 217, 231, 0.4);
  background: rgba(8, 12, 16, 0.75);
  color: #f5f7fa;
  font-size: 0.95rem;
}

.partial-articles__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.partial-articles__count {
  margin: 0;
  color: rgba(245, 247, 250, 0.7);
}

.partial-articles__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.partial-articles__action {
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  border: none;
  background: var(--brand-color-primary, #2ed9e7);
  color: #0b0f14;
  font-weight: 600;
  cursor: pointer;
}

.partial-articles__action.is-ghost {
  background: transparent;
  border: 1px solid rgba(46, 217, 231, 0.5);
  color: #f5f7fa;
}

.partial-articles__list {
  display: grid;
  gap: 1.25rem;
}

.partial-articles__card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(46, 217, 231, 0.3);
  background: rgba(8, 12, 16, 0.7);
}

.partial-articles__card[hidden] {
  display: none;
}

.partial-articles__card-body {
  display: grid;
  gap: 0.5rem;
}

.partial-articles__card-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--brand-color-primary, #2ed9e7);
}

.partial-articles__card-title {
  margin: 0;
  font-size: 1.35rem;
}

.partial-articles__card-meta {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(245, 247, 250, 0.6);
}

.partial-articles__card-summary {
  margin: 0;
  color: rgba(245, 247, 250, 0.75);
}

.partial-articles__card-actions {
  display: flex;
  justify-content: flex-end;
}

.partial-articles__card-link {
  color: var(--brand-color-primary, #2ed9e7);
  text-decoration: none;
  font-weight: 600;
}

.partial-articles__card-link:hover {
  text-decoration: underline;
}

.partial-articles__empty {
  margin: 0;
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(8, 12, 16, 0.6);
  border: 1px dashed rgba(46, 217, 231, 0.4);
  color: rgba(245, 247, 250, 0.7);
}

.partial-articles__pagination {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.partial-articles__page-button {
  border-radius: 999px;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(46, 217, 231, 0.4);
  background: transparent;
  color: #f5f7fa;
  cursor: pointer;
  font-weight: 600;
}

.partial-articles__page-button.is-active {
  background: var(--brand-color-primary, #2ed9e7);
  color: #0b0f14;
}

.partial-articles__page-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .partial-articles {
    padding: 2rem;
  }

  .partial-articles__title {
    font-size: 1.8rem;
  }

  .partial-articles__search {
    flex-basis: 100%;
  }

  .partial-articles__search-field {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .partial-articles {
    padding: 1.5rem;
  }

  .partial-articles__card {
    padding: 1.25rem;
  }

  .partial-articles__actions {
    width: 100%;
  }

  .partial-articles__action {
    flex: 1;
    text-align: center;
  }
}
