.gb-board {
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: #0f172a;
    background: #f6f7fb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.gb-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    align-items: start;
}

@media (max-width: 960px) {
    .gb-grid {
        grid-template-columns: 1fr;
    }
}

.gb-panel {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.gb-panel__header {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
    color: #0b3b6f;
}

.gb-priorities {
    display: grid;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 6px;
}

.gb-empty {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.gb-priority-item {
    background: #f8fafc;
    border: 1px solid #d5d9e4;
    border-radius: 10px;
    padding: 12px 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.15s ease;
}

.gb-priority-item:hover {
    border-color: #94a3b8;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
}

.gb-priority-item.dragging {
    opacity: 0.6;
}

.gb-priority-item.selected {
    border-color: #2563eb;
    background: #e0ecff;
    color: #0f172a;
}

.gb-priority-item.placed {
    opacity: 0.4;
    cursor: default;
}

.gb-selected-counter {
    margin-top: 12px;
    font-size: 13px;
    color: #4b5563;
}

.gb-selected-count {
    font-weight: 700;
}

.gb-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.gb-tile {
    position: relative;
    min-height: 240px;
    border-radius: 12px;
    border: 1px solid #d5d9e4;
    overflow: hidden;
    background-color: #0b3b6f;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gb-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.gb-tile.drag-over {
    outline: 3px dashed #fcd34d;
    outline-offset: -6px;
    transform: scale(1.01);
}

.gb-tile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 28, 52, 0.65) 0%, rgba(10, 28, 52, 0.75) 100%);
    pointer-events: none;
}

.gb-tile__title {
    position: relative;
    z-index: 1;
    padding: 14px 16px 10px;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.35);
}

.gb-tile__content {
    position: relative;
    z-index: 1;
    padding: 12px 14px 16px;
    min-height: 140px;
    display: grid;
    gap: 8px;
}

.gb-tile .gb-placed {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #cbd5e1;
    color: #0f172a;
    cursor: pointer;
}

.gb-tile .gb-placed:hover {
    border-color: #0b3b6f;
}

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

.gb-btn {
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.gb-btn--ghost {
    background: #eef2ff;
    color: #1e3a8a;
    border: 1px solid #c7d2fe;
}

.gb-btn--ghost:hover {
    background: #dbe3ff;
}

.gb-submit {
    background: linear-gradient(135deg, #0b806a 0%, #0c5d8a 100%);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(12, 93, 138, 0.25);
}

.gb-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(12, 93, 138, 0.3);
}

.gb-summary {
    margin-top: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.gb-summary h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #0b3b6f;
}

.gb-summary__field {
    width: 100%;
    min-height: 180px;
    border: 1px solid #d5d9e4;
    border-radius: 10px;
    padding: 12px;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    font-size: 14px;
    background: #f8fafc;
    resize: vertical;
}

.gb-board.gb-locked .gb-priority-item:not(.placed),
.gb-board.gb-locked .gb-tile {
    pointer-events: none;
}

.gb-board.gb-locked .gb-tile {
    opacity: 0.82;
}

.gb-board.gb-locked .gb-submit {
    background: #9ca3af;
    box-shadow: none;
    cursor: not-allowed;
}
