.shell-app.is-ideas-view .shell-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0;
}

.shell-app.is-ideas-view .shell-panel {
    min-height: calc(100vh - var(--shell-header-height));
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.ideas-manager__header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ideas-manager__header .shell-view-header {
    margin-bottom: 0;
}

.ideas-manager__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.ideas-manager__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 0;
    min-height: calc(100vh - var(--shell-header-height));
    align-items: stretch;
    transition: grid-template-columns 180ms ease;
}

.ideas-manager__layout.is-filter-collapsed {
    grid-template-columns: 52px minmax(0, 1fr);
}

.ideas-filter-drawer {
    position: sticky;
    top: var(--shell-header-height);
    align-self: start;
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 0;
    min-height: calc(100vh - var(--shell-header-height));
    padding: 10px;
    border-right: 1px solid var(--shell-line);
    background: var(--shell-panel);
    transition: padding 180ms ease;
}

.ideas-filter-drawer__toggle {
    position: relative;
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 9px;
    border: 1px solid var(--shell-line);
    border-radius: var(--shell-radius-sm);
    background: var(--shell-control);
    color: var(--shell-text);
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
}

.ideas-filter-drawer__toggle:hover {
    border-color: var(--shell-line-strong);
}

.ideas-filter-drawer__toggle svg {
    width: 17px;
    height: 17px;
}

.ideas-filter-drawer__active-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--shell-accent-strong);
}

.ideas-filter-drawer__body {
    min-width: 0;
}

.ideas-filter-drawer .ui-filter-bar {
    grid-template-columns: 1fr;
    margin-bottom: 0;
}

.ideas-filter-drawer .ui-filter-bar__filters,
.ideas-filter-drawer .ui-filter-bar__counters {
    justify-content: flex-start;
}

.ideas-filter-drawer .ui-filter-bar__filters {
    display: grid;
    grid-template-columns: 1fr;
}

.ideas-filter-drawer .ui-filter-control {
    min-width: 0;
}

.shell-app.is-ideas-view .explorer-shell__panel--left .ui-filter-bar {
    grid-template-columns: 1fr;
    margin-bottom: 0;
}

.shell-app.is-ideas-view .explorer-shell__panel--left .ui-filter-bar__filters,
.shell-app.is-ideas-view .explorer-shell__panel--left .ui-filter-bar__counters {
    justify-content: flex-start;
}

.shell-app.is-ideas-view .explorer-shell__panel--left .ui-filter-bar__filters {
    display: grid;
    grid-template-columns: 1fr;
}

.shell-app.is-ideas-view .explorer-shell__panel--left .ui-filter-control {
    min-width: 0;
}

.shell-app.is-ideas-view .explorer-shell__toolbar .ui-view-toolbar {
    padding: 0;
    border: 0;
    background: transparent;
}

.shell-app.is-ideas-view .explorer-shell__toolbar-right .ui-view-toolbar__button,
.shell-app.is-ideas-view .explorer-shell__toolbar-right .shell-action-button {
    flex: 0 0 auto;
}

.ideas-toolbar-search {
    flex: 1 1 240px;
    width: min(100%, 320px);
    max-width: 360px;
}

.ideas-toolbar-search .shell-search {
    width: 100%;
}

.ideas-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ideas-manager__layout.is-filter-collapsed .ideas-filter-drawer {
    justify-items: center;
    padding: 10px 6px;
}

.ideas-manager__layout.is-filter-collapsed .ideas-filter-drawer__toggle {
    width: 38px;
    min-height: 38px;
    padding: 0;
}

.ideas-manager__layout.is-filter-collapsed .ideas-filter-drawer__toggle-text,
.ideas-manager__layout.is-filter-collapsed .ideas-filter-drawer__body {
    display: none;
}

.ideas-manager__layout.is-filter-collapsed .ideas-filter-drawer__active-dot {
    position: absolute;
    top: 9px;
    right: 9px;
}

.ideas-manager__results {
    min-width: 0;
    padding: 10px 12px 14px;
}

.ideas-manager__paging-state {
    padding: 16px 8px 6px;
    color: var(--text_soft);
    font-size: 0.82rem;
    text-align: center;
}

.ideas-manager__paging-state.is-complete {
    opacity: 0.78;
}

.ui-filter-control {
    display: grid;
    gap: 5px;
    min-width: 118px;
}

.ui-filter-control__label {
    color: var(--text_soft);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ui-filter-control__select {
    min-height: 34px;
    padding: 7px 26px 7px 9px;
    border: 1px solid var(--shell-line);
    border-radius: var(--shell-radius-sm);
    background: var(--shell-control);
    color: var(--shell-text);
    font: inherit;
}

.ui-filter-control__select:hover,
.ui-filter-control__select:focus {
    border-color: var(--shell-line-strong);
}

.ui-filter-control.is-disabled {
    opacity: 0.62;
}

.ui-filter-control__select:disabled {
    cursor: not-allowed;
}

.ui-filter-control__note {
    color: var(--text_soft);
    font-size: 0.72rem;
}

.ideas-tag-filter {
    position: relative;
}

.ideas-tag-filter__input-wrap {
    position: relative;
    min-width: 0;
}

.ideas-tag-filter__input {
    width: 100%;
    min-height: 34px;
    padding: 7px 30px 7px 9px;
    border: 1px solid #2b3640;
    border-radius: var(--shell-radius-sm);
    background: #151c22;
    color: #e6edf3;
    font: inherit;
}

.ideas-tag-filter__input::placeholder {
    color: #9aa6b2;
}

.ideas-tag-filter__input:focus {
    border-color: #2f81f7;
    outline: 0;
}

.ideas-tag-filter__input:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.ideas-tag-filter__clear {
    position: absolute;
    top: 50%;
    right: 7px;
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #e6edf3;
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    line-height: 1;
    transform: translateY(-50%);
}

.ideas-tag-filter__clear:hover {
    background: #222c34;
}

.ideas-tag-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.ideas-tag-filter__chip {
    display: inline-flex;
    max-width: 100%;
    min-height: 26px;
    align-items: center;
    gap: 5px;
    padding: 4px 7px;
    border: 1px solid transparent;
    border-radius: var(--shell-radius-sm);
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
}

.ideas-tag-filter__chip span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ideas-tag-filter__chip.is-include {
    border-color: #2f81f7;
    background: #0f2f5f;
    color: #b9d7ff;
}

.ideas-tag-filter__chip.is-include:hover {
    background: #143d78;
}

.ideas-tag-filter__chip.is-exclude {
    border-color: #b84a5a;
    background: #3a1f29;
    color: #ffb3bd;
}

.ideas-tag-filter__chip.is-exclude:hover {
    background: #4a2632;
}

.ideas-tag-filter__suggestions {
    display: grid;
    gap: 2px;
    width: 100%;
    padding: 5px;
    border: 1px solid #2b3640;
    border-radius: var(--shell-radius-sm);
    background: #1b232a;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.ideas-tag-filter__suggestion {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: 30px;
    padding: 3px 4px;
    border-radius: 4px;
    color: #e6edf3;
}

.ideas-tag-filter__suggestion:hover,
.ideas-tag-filter__suggestion.is-included,
.ideas-tag-filter__suggestion.is-excluded {
    background: #222c34;
}

.ideas-tag-filter__suggestion-name {
    min-width: 0;
    overflow: hidden;
    color: #e6edf3;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ideas-tag-filter__suggestion-actions {
    display: inline-flex;
    gap: 5px;
}

.ideas-tag-filter__mode-button {
    display: inline-flex;
    width: 30px;
    height: 26px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #33424f;
    border-radius: 4px;
    background: #202a33;
    color: #dbeafe;
    cursor: pointer;
    font: inherit;
    font-size: 0.92rem;
    line-height: 1;
}

.ideas-tag-filter__mode-button.is-include:hover,
.ideas-tag-filter__mode-button.is-include.is-active {
    border-color: #2f81f7;
    color: #2f81f7;
}

.ideas-tag-filter__mode-button.is-exclude {
    border-color: #44313a;
    color: #ff9aa8;
}

.ideas-tag-filter__mode-button.is-exclude:hover,
.ideas-tag-filter__mode-button.is-exclude.is-active {
    border-color: #ff6b7a;
    color: #ff6b7a;
}

:root[data-theme="light"] .ideas-tag-filter__input {
    border-color: var(--m2p-border-subtle);
    background: var(--m2p-bg-surface);
    color: var(--m2p-text-primary);
}

:root[data-theme="light"] .ideas-tag-filter__input::placeholder {
    color: var(--m2p-text-muted);
}

:root[data-theme="light"] .ideas-tag-filter__input:focus {
    border-color: var(--m2p-accent);
    box-shadow: 0 0 0 3px var(--m2p-focus-ring);
    outline: 0;
}

:root[data-theme="light"] .ideas-tag-filter__clear {
    color: var(--m2p-text-secondary);
}

:root[data-theme="light"] .ideas-tag-filter__clear:hover,
:root[data-theme="light"] .ideas-tag-filter__suggestion:hover,
:root[data-theme="light"] .ideas-tag-filter__suggestion.is-included,
:root[data-theme="light"] .ideas-tag-filter__suggestion.is-excluded {
    background: var(--m2p-bg-surface-hover);
}

:root[data-theme="light"] .ideas-tag-filter__suggestions {
    border-color: var(--m2p-border-subtle);
    background: var(--m2p-bg-surface);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

:root[data-theme="light"] .ideas-tag-filter__suggestion,
:root[data-theme="light"] .ideas-tag-filter__suggestion-name {
    color: var(--m2p-text-primary);
}

:root[data-theme="light"] .ideas-tag-filter__mode-button {
    border-color: var(--m2p-border-subtle);
    background: var(--m2p-bg-surface);
    color: var(--m2p-text-secondary);
}

:root[data-theme="light"] .ideas-tag-filter__chip.is-include {
    border-color: var(--m2p-accent-border);
    background: var(--m2p-accent-soft);
    color: var(--m2p-accent-hover);
}

:root[data-theme="light"] .ideas-tag-filter__chip.is-include:hover {
    background: color-mix(in srgb, var(--m2p-accent-soft) 72%, var(--m2p-accent-border));
}