.ss-app {
    position: absolute;
    inset: 0;
    overflow: auto;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(239, 242, 238, 0.94)),
        #f2f4f0;
    color: #23282d;
    font-family: aa_normal, sans_serif_normal, sans-serif;
}

.ss-shell {
    box-sizing: border-box;
    width: min(1480px, 100%);
    min-height: 100%;
    margin: 0 auto;
    padding: 28px;
}

.ss-main-header {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ss-main-header-text {
    min-width: 0;
}

.ss-main-title {
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 42px;
    line-height: 1.02;
    letter-spacing: 0;
    color: #15191d;
}

.ss-main-subtitle {
    margin-top: 8px;
    color: #5d6872;
    font-size: 16px;
    line-height: 1.35;
}

.ss-metrics {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.ss-metric {
    min-width: 96px;
    padding: 12px 14px;
    border: 1px solid rgba(38, 45, 52, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 34px rgba(35, 40, 45, 0.08);
}

.ss-metric-value {
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 26px;
    line-height: 1;
    color: #1d252c;
}

.ss-metric-label {
    margin-top: 5px;
    color: #66727d;
    font-size: 12px;
    text-transform: uppercase;
}

.ss-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 18px;
}

.ss-create-panel {
    position: relative;
    box-sizing: border-box;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(33, 39, 45, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 38px rgba(35, 40, 45, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ss-create-panel:focus-within {
    border-color: rgba(37, 126, 95, 0.36);
    box-shadow: 0 20px 44px rgba(35, 40, 45, 0.11);
}

.ss-create-title {
    margin-bottom: 10px;
    color: #39434d;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
}

.ss-create-fields {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) minmax(160px, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.ss-input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(37, 45, 51, 0.13);
    border-radius: 7px;
    outline: none;
    background: #ffffff;
    color: #20262b;
    font-family: aa_normal, sans_serif_normal, sans-serif;
    font-size: 15px;
    letter-spacing: 0;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ss-input:focus {
    border-color: #2f8f69;
    box-shadow: 0 0 0 3px rgba(47, 143, 105, 0.14);
}

.ss-input:disabled {
    opacity: 0.62;
}

.ss-asset-input {
    font-family: odudo, monospace;
    color: #43505a;
}

.ss-primary-button,
.ss-secondary-button,
.ss-danger-button,
.ss-icon-text-button {
    box-sizing: border-box;
    height: 42px;
    border: 0;
    border-radius: 7px;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 14px;
    letter-spacing: 0;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, opacity 150ms ease;
}

.ss-primary-button,
.ss-icon-text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    background: #247a5a;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(36, 122, 90, 0.24);
}

.ss-icon-text-button {
    align-self: stretch;
    height: auto;
    min-height: 42px;
    background: #ffffff;
    color: #28333f;
    border: 1px solid rgba(37, 45, 51, 0.12);
    box-shadow: 0 18px 38px rgba(35, 40, 45, 0.08);
}

.ss-primary-button:hover,
.ss-icon-text-button:hover,
.ss-secondary-button:hover,
.ss-danger-button:hover {
    transform: translateY(-1px);
}

.ss-primary-button:active,
.ss-icon-text-button:active,
.ss-secondary-button:active,
.ss-danger-button:active {
    transform: translateY(0);
}

.ss-primary-button:disabled,
.ss-secondary-button:disabled,
.ss-danger-button:disabled,
.ss-icon-text-button:disabled {
    cursor: default;
    opacity: 0.48;
    transform: none;
    box-shadow: none;
}

.ss-secondary-button {
    padding: 0 15px;
    background: #eef1ed;
    color: #313b43;
}

.ss-danger-button {
    padding: 0 15px;
    background: #b8324f;
    color: #ffffff;
}

.ss-button-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 18px;
    line-height: 18px;
}

.ss-button-icon {
    position: relative;
    flex: 0 0 auto;
}

.ss-button-icon .fa,
.ss-button-icon .far,
.ss-button-icon .fal,
.ss-button-icon .fas {
    color: #28333f !important;
}

.ss-create-status {
    min-height: 17px;
    margin-top: 8px;
    color: #66727d;
    font-size: 12px;
    font-family: odudo, monospace;
}

.ss-create-status[data-mode="ok"] {
    color: #247a5a;
}

.ss-create-status[data-mode="warn"] {
    color: #b26a2a;
}

.ss-loading,
.ss-empty-state,
.ss-list-empty {
    box-sizing: border-box;
    padding: 18px;
    border: 1px dashed rgba(37, 45, 51, 0.18);
    border-radius: 8px;
    color: #66727d;
    background: rgba(255, 255, 255, 0.56);
    text-align: center;
}

.ss-empty-state {
    display: none;
}

.ss-list-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    padding-bottom: 28px;
}

.ss-list-box {
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(32, 39, 45, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 44px rgba(32, 39, 45, 0.1);
    animation: ss-pop-in 280ms ease both;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.ss-list-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 52px rgba(32, 39, 45, 0.13);
}

.ss-app.ss-list-drag-active .ss-list-box:hover {
    transform: none;
    box-shadow: 0 18px 44px rgba(32, 39, 45, 0.1);
}

.ss-list-box.ss-busy {
    opacity: 0.72;
}

.ss-list-box.ss-removing {
    pointer-events: none;
    animation: ss-collapse-out 260ms ease forwards;
}

.ss-list-body {
    height: auto;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    overflow-anchor: none;
    transition: height 360ms cubic-bezier(0.2, 0.82, 0.2, 1), opacity 220ms ease, transform 300ms cubic-bezier(0.2, 0.82, 0.2, 1);
    will-change: height, opacity, transform;
}

.ss-list-body-inner {
    overflow: hidden;
}

.ss-list-box.ss-list-collapsed,
.ss-list-box.ss-list-collapsing {
    box-shadow: 0 12px 30px rgba(32, 39, 45, 0.08);
}

.ss-list-box.ss-list-collapsed .ss-list-header,
.ss-list-box.ss-list-collapsing .ss-list-header {
    border-bottom-color: transparent;
}

.ss-list-box.ss-list-collapsed .ss-list-body {
    height: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.ss-list-box.ss-list-collapsing .ss-list-body {
    pointer-events: none;
    transition: height 340ms cubic-bezier(0.42, 0, 0.24, 1), opacity 180ms ease, transform 260ms cubic-bezier(0.42, 0, 0.24, 1);
}

.ss-list-box.ss-list-expanding .ss-list-body {
    transition: height 360ms cubic-bezier(0.2, 0.82, 0.2, 1), opacity 220ms ease, transform 300ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.ss-row.ss-row-entering {
    min-height: 0;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-width: 0;
    border-bottom-width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(8px) scale(0.985);
    animation: none;
    transition: max-height 280ms cubic-bezier(0.2, 0.8, 0.2, 1), margin 280ms cubic-bezier(0.2, 0.8, 0.2, 1), padding 280ms cubic-bezier(0.2, 0.8, 0.2, 1), border-width 280ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 200ms ease, transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ss-row.ss-row-entering.ss-row-entering-active {
    max-height: var(--ss-row-enter-height, 120px);
    margin-top: var(--ss-row-enter-margin-top, 8px);
    padding-top: 9px;
    padding-bottom: 9px;
    border-top-width: 1px;
    border-bottom-width: 1px;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ss-row.ss-removing {
    min-height: 0;
    max-height: var(--ss-row-remove-height, 120px);
    margin-top: var(--ss-row-remove-margin-top, 8px);
    pointer-events: none;
    overflow: hidden;
    transition: max-height 280ms cubic-bezier(0.4, 0, 0.2, 1), margin 280ms cubic-bezier(0.4, 0, 0.2, 1), padding 280ms cubic-bezier(0.4, 0, 0.2, 1), border-width 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms ease, transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ss-row.ss-removing.ss-row-removing-active {
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-width: 0;
    border-bottom-width: 0;
    opacity: 0;
    transform: translateY(-6px) scale(0.985);
}

.ss-row-moving {
    z-index: 3;
    pointer-events: none;
    will-change: transform;
}

.ss-list-box.ss-drag-source,
.ss-row.ss-drag-source {
    opacity: 0.26;
    transform: scale(0.985);
}

.ss-drag-hidden {
    display: none !important;
}

.ss-drag-placeholder {
    box-sizing: border-box;
    border: 2px dashed rgba(47, 143, 105, 0.62);
    border-radius: 8px;
    background: rgba(47, 143, 105, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78);
    transition: background 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.ss-list-placeholder {
    min-height: 160px;
}

.ss-row-placeholder {
    min-height: 58px;
}

.ss-list-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(37, 45, 51, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 249, 0.96));
    cursor: pointer;
    user-select: none;
    transition: border-color 220ms ease, background 220ms ease, box-shadow 180ms ease;
}

.ss-list-header:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 250, 246, 0.98));
}

.ss-list-header:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(47, 143, 105, 0.16);
    outline: none;
}

.ss-list-header.ss-has-drag-handle {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.ss-list-header-text {
    min-width: 0;
}

.ss-list-title {
    overflow: hidden;
    color: #1b2126;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 22px;
    line-height: 1.14;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ss-list-asset {
    overflow: hidden;
    margin-top: 4px;
    color: #6b7680;
    font-family: odudo, monospace;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ss-count-pill {
    min-width: 58px;
    padding: 7px 9px;
    border-radius: 6px;
    background: #eef4ee;
    color: #2e6c51;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
}

.ss-list-box.ss-priority-list .ss-count-pill {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 226, 195, 0.95)),
        #f0e2c3;
    color: #6b4c19;
    box-shadow: inset 0 0 0 1px rgba(148, 105, 38, 0.1);
}

.ss-list-actions {
    display: flex;
    gap: 6px;
}

.ss-drag-handle,
.ss-row-drag-handle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 38px;
    border-radius: 7px;
    cursor: grab;
    touch-action: none;
    transition: background 150ms ease, transform 150ms ease;
}

.ss-row-drag-handle {
    width: 28px;
    height: 38px;
}

.ss-drag-handle:hover,
.ss-row-drag-handle:hover {
    background: rgba(36, 43, 49, 0.06);
}

.ss-drag-handle:active,
.ss-row-drag-handle:active {
    cursor: grabbing;
    transform: scale(0.96);
}

.ss-icon-button {
    position: relative;
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(36, 43, 49, 0.09);
    border-radius: 7px;
    background: #ffffff;
    cursor: pointer;
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, opacity 150ms ease;
}

.ss-icon-button:hover {
    transform: translateY(-1px);
    background: #f7f9f6;
    border-color: rgba(36, 43, 49, 0.18);
}

.ss-icon-button:active {
    transform: translateY(0);
}

.ss-icon-button:disabled {
    cursor: default;
    opacity: 0.45;
    transform: none;
}

.ss-icon-button[data-mode="danger"]:hover,
.ss-row-delete:hover {
    background: #fff1f3;
    border-color: rgba(184, 50, 79, 0.22);
}

.ss-dash-icon {
    position: relative;
    flex: 0 0 auto;
    cursor: pointer;
    pointer-events: none;
}

.ss-row-box {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 76px;
    padding: 12px;
    background: #f7f8f5;
}

.ss-row-box > * + * {
    margin-top: 8px;
}

.ss-row {
    --ss-target-urgency: 0;
    position: relative;
    display: grid;
    grid-template-columns: 8px auto minmax(0, 1fr) auto auto auto;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 9px;
    border: 1px solid rgba(39, 47, 54, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(35, 40, 45, 0.05);
    overflow: hidden;
    transition: transform 140ms ease, border-color 900ms linear, box-shadow 900ms linear, opacity 140ms ease, background 900ms linear, margin 280ms ease;
}

.ss-row::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(224, 179, 77, 0.18), rgba(255, 255, 255, 0));
    opacity: calc(var(--ss-target-urgency) * 0.9);
    pointer-events: none;
    transition: opacity 1200ms linear, background 1200ms linear;
}

.ss-row > * {
    position: relative;
    z-index: 1;
}

.ss-row.ss-row-show-avatar {
    grid-template-columns: 8px auto auto minmax(0, 1fr) auto auto auto;
}

.ss-row.ss-row-prioritized {
    grid-template-columns: 8px auto minmax(0, 1fr) auto auto auto auto;
}

.ss-row.ss-row-prioritized.ss-row-show-avatar {
    grid-template-columns: 8px auto auto minmax(0, 1fr) auto auto auto auto;
}

.ss-row.ss-row-priority-high {
    border-color: rgba(178, 127, 39, 0.34);
    background:
        linear-gradient(90deg, rgba(218, 171, 72, 0.12), rgba(255, 255, 255, 0) 42%),
        #ffffff;
    box-shadow: 0 12px 28px rgba(115, 83, 30, 0.1);
}

.ss-row.ss-row-priority-elite {
    border-color: rgba(149, 79, 93, 0.36);
    box-shadow: 0 14px 32px rgba(105, 49, 64, 0.13);
}

.ss-row:hover {
    transform: translateX(2px);
    border-color: rgba(47, 143, 105, 0.22);
    box-shadow: 0 10px 24px rgba(35, 40, 45, 0.08);
}

.ss-list-box.ss-row-drag-active .ss-row:hover {
    transform: none;
    border-color: rgba(39, 47, 54, 0.08);
    box-shadow: 0 8px 18px rgba(35, 40, 45, 0.05);
}

.ss-row.ss-row-completed {
    background: #fbfbfa;
    opacity: 0.78;
}

.ss-row.ss-row-completed .ss-row-marker {
    background: #aeb8b1;
}

.ss-row.ss-row-completed .ss-row-description {
    color: #69737c;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(105, 115, 124, 0.52);
}

.ss-row.ss-row-completed .ss-row-target {
    color: #7a858c;
    background: rgba(105, 115, 124, 0.08);
}

.ss-row-action-hidden {
    display: none !important;
}

.ss-row-restore:hover {
    background: #eef8f1;
    border-color: rgba(47, 143, 105, 0.24);
}

.ss-row-delete[data-mode="complete"]:hover {
    background: #eef8f1;
    border-color: rgba(47, 143, 105, 0.24);
}

.ss-row-action {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
}

.ss-row-marker {
    width: 8px;
    height: 34px;
    border-radius: 4px;
    background: #e0b34d;
    transition: background 900ms linear, box-shadow 900ms linear;
}

.ss-row-prioritized .ss-row-marker {
    background: linear-gradient(180deg, #d8b04b, #87744c);
    box-shadow: 0 0 0 2px rgba(216, 176, 75, 0.08);
}

.ss-row-priority-elite .ss-row-marker {
    background: linear-gradient(180deg, #d7b65a, #9b485b);
    box-shadow: 0 0 0 4px rgba(155, 72, 91, 0.1);
}

.ss-row-avatar {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border: 1px solid rgba(37, 45, 51, 0.12);
    border-radius: 50%;
    background-color: #e8eee9;
    background-position: center;
    background-size: cover;
    color: #3d604f;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(35, 40, 45, 0.08);
}

.ss-row.ss-row-show-avatar .ss-row-avatar {
    display: flex;
}

.ss-row-content {
    min-width: 0;
}

.ss-row-description {
    overflow-wrap: anywhere;
    color: #1f272e;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 16px;
    line-height: 1.28;
}

.ss-row-meta {
    overflow: hidden;
    margin-top: 4px;
    color: #77828b;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ss-row-target {
    display: none;
    width: fit-content;
    max-width: 100%;
    margin-top: 6px;
    padding: 4px 7px;
    border-radius: 6px;
    background: rgba(47, 143, 105, 0.09);
    color: #2f7156;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 12px;
    line-height: 1.1;
    transition: color 900ms linear, background 900ms linear, box-shadow 900ms linear;
}

.ss-row-targeted .ss-row-target {
    display: inline-flex;
}

.ss-row-priority-badge {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 30px;
    padding: 0 9px;
    border: 1px solid rgba(140, 109, 56, 0.22);
    border-radius: 7px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 229, 205, 0.92)),
        #f3ead7;
    color: #6c5123;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 12px;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 8px 18px rgba(65, 48, 25, 0.08);
    white-space: nowrap;
}

.ss-row-prioritized .ss-row-priority-badge {
    display: inline-flex;
}

.ss-row-priority-high .ss-row-priority-badge {
    border-color: rgba(178, 127, 39, 0.38);
    background:
        linear-gradient(135deg, rgba(58, 49, 33, 0.96), rgba(166, 115, 38, 0.96)),
        #5c4324;
    color: #fff6df;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 22px rgba(95, 62, 17, 0.18);
}

.ss-row-priority-elite .ss-row-priority-badge {
    border-color: rgba(155, 72, 91, 0.42);
    background:
        linear-gradient(135deg, #2c2d32, #9b485b 58%, #d7b65a),
        #2c2d32;
    color: #fff8e7;
}

.ss-target-state-watch .ss-row-marker {
    background: #d6a63e;
}

.ss-target-state-watch .ss-row-target {
    background: rgba(224, 179, 77, 0.13);
    color: #87682a;
}

.ss-target-state-soon .ss-row-marker,
.ss-target-state-urgent .ss-row-marker {
    background: #c97a3a;
    box-shadow: 0 0 0 4px rgba(201, 122, 58, 0.08);
}

.ss-target-state-soon .ss-row-target,
.ss-target-state-urgent .ss-row-target {
    background: rgba(201, 122, 58, 0.13);
    color: #9a5424;
}

.ss-target-state-overdue {
    border-color: rgba(184, 50, 79, 0.26);
}

.ss-target-state-overdue::after {
    background: linear-gradient(90deg, rgba(184, 50, 79, 0.18), rgba(255, 255, 255, 0));
}

.ss-target-state-overdue .ss-row-marker {
    background: #b8324f;
    box-shadow: 0 0 0 4px rgba(184, 50, 79, 0.08);
}

.ss-target-state-overdue .ss-row-target,
.ss-target-state-missing .ss-row-target {
    background: rgba(184, 50, 79, 0.12);
    color: #a92f48;
}

.ss-completed-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 0;
    color: #6f7a82;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ss-completed-divider::before,
.ss-completed-divider::after {
    content: "";
    height: 1px;
    min-width: 12px;
    flex: 1;
    background: rgba(37, 45, 51, 0.12);
}

.ss-completed-count {
    min-width: 22px;
    padding: 3px 6px;
    border-radius: 6px;
    background: rgba(37, 45, 51, 0.08);
    color: #53606b;
    text-align: center;
}

.ss-list-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-top: 1px solid rgba(37, 45, 51, 0.08);
    background: #ffffff;
}

.ss-add-input-control {
    position: relative;
    grid-column: 1 / -1;
    min-width: 0;
}

.ss-list-footer .ss-item-input {
    height: 38px;
    padding-right: 48px;
    border-radius: 8px;
}

.ss-target-editor {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgba(37, 45, 51, 0.09);
    border-radius: 8px;
    background: #f7f9f6;
}

.ss-footer-target-editor {
    display: none;
    grid-column: 1 / -1;
    margin-top: 0;
}

.ss-list-box.ss-target-dates-list .ss-footer-target-editor {
    display: grid;
}

.ss-footer-priority-editor {
    display: none;
    grid-column: 1 / -1;
    margin-top: 0;
}

.ss-list-box.ss-priority-list .ss-footer-priority-editor {
    display: grid;
}

.ss-target-segment {
    display: flex;
    padding: 3px;
    border: 1px solid rgba(37, 45, 51, 0.08);
    border-radius: 8px;
    background: #eef2ee;
}

.ss-target-segment-button,
.ss-target-quick-button {
    height: 30px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #52606a;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 12px;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.ss-target-segment-button {
    min-width: 76px;
    padding: 0 10px;
}

.ss-target-segment-active {
    background: #ffffff;
    color: #236d51;
    box-shadow: 0 5px 12px rgba(35, 40, 45, 0.08);
}

.ss-target-duration-group,
.ss-target-date-group {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 76px 110px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    visibility: hidden;
    transition: max-height 240ms ease, opacity 180ms ease, transform 240ms ease, visibility 0s linear 240ms;
}

.ss-target-date-group {
    grid-template-columns: 1fr;
    align-items: stretch;
}

.ss-target-editor[data-mode="duration"] .ss-target-duration-group,
.ss-target-editor[data-mode="date"] .ss-target-date-group {
    max-height: 230px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition: max-height 240ms ease, opacity 180ms ease 40ms, transform 240ms ease, visibility 0s linear 0s;
}

.ss-target-duration-input,
.ss-target-duration-unit,
.ss-target-date-input {
    box-sizing: border-box;
    width: 100%;
    height: 36px;
}

.ss-target-time-picker {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.ss-target-hour-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(28px, 1fr));
    gap: 4px;
}

.ss-target-time-aux {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.ss-target-time-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 3px;
    border: 1px solid rgba(37, 45, 51, 0.08);
    border-radius: 8px;
    background: #eef2ee;
}

.ss-target-time-button {
    height: 28px;
    min-width: 0;
    padding: 0 6px;
    border: 0;
    border-radius: 6px;
    background: #ffffff;
    color: #52606a;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.ss-target-time-button:hover {
    color: #236d51;
    transform: translateY(-1px);
}

.ss-target-time-active {
    background: #247a5a;
    color: #ffffff;
    box-shadow: 0 5px 12px rgba(35, 40, 45, 0.12);
}

.ss-target-quick-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.ss-target-quick-button {
    padding: 0 9px;
    background: #ffffff;
    border: 1px solid rgba(37, 45, 51, 0.08);
}

.ss-target-quick-button:hover {
    color: #236d51;
    border-color: rgba(47, 143, 105, 0.24);
}

.ss-target-preview {
    grid-column: 1 / -1;
    grid-row: 3;
    min-height: 16px;
    color: #5f6b74;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 12px;
    transition: color 180ms ease;
}

.ss-target-invalid .ss-target-preview {
    color: #a92f48;
}

.ss-priority-editor {
    display: grid;
    grid-template-columns: auto minmax(132px, 156px) minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(112, 83, 38, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 244, 235, 0.92)),
        #fbf8f0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.ss-priority-editor-compact {
    grid-template-columns: auto minmax(132px, 156px) minmax(0, 1fr) auto;
    margin-top: 10px;
}

.ss-priority-editor-label {
    color: #604b25;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 13px;
    white-space: nowrap;
}

.ss-priority-stepper {
    display: grid;
    grid-template-columns: 34px minmax(54px, 1fr) 34px;
    gap: 4px;
    padding: 3px;
    border: 1px solid rgba(112, 83, 38, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.ss-priority-step-button,
.ss-priority-quick-button {
    height: 30px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #69542a;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.ss-priority-step-button:hover,
.ss-priority-quick-button:hover {
    background: #ffffff;
    color: #2f483b;
    transform: translateY(-1px);
}

.ss-priority-step-button:disabled,
.ss-priority-quick-button:disabled {
    cursor: default;
    opacity: 0.52;
    transform: none;
}

.ss-priority-input {
    height: 30px;
    padding: 0 6px;
    border-radius: 6px;
    text-align: center;
}

.ss-priority-quick-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.ss-priority-quick-button {
    min-width: 42px;
    padding: 0 9px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(112, 83, 38, 0.11);
}

.ss-priority-quick-active {
    background: #2f483b;
    color: #fff6df;
    border-color: #2f483b;
    box-shadow: 0 6px 14px rgba(47, 72, 59, 0.16);
}

.ss-priority-preview {
    min-width: 58px;
    padding: 6px 8px;
    border: 1px solid rgba(112, 83, 38, 0.13);
    border-radius: 7px;
    background: #ffffff;
    color: #69542a;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
}

.ss-priority-editor[data-priority-value="0"] .ss-priority-preview {
    color: #77828b;
}

.ss-add-item-button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 30px;
    height: 30px;
    min-width: 30px;
    flex-basis: 30px;
    border-radius: 6px;
    background: #247a5a;
    border-color: #247a5a;
    box-shadow: 0 5px 12px rgba(36, 122, 90, 0.18);
}

.ss-add-input-control .ss-add-item-button:hover {
    transform: translateY(-1px);
    background: #216f52;
    border-color: #216f52;
}

.ss-add-input-control .ss-add-item-button:active {
    transform: translateY(0);
}

.ss-list-status {
    grid-column: 1 / -1;
    min-height: 0;
    color: #66727d;
    font-size: 12px;
}

.ss-list-status:empty {
    display: none;
}

.ss-list-missing {
    opacity: 0.78;
}

.ss-toast-stack {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000001;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.ss-toast {
    min-width: 190px;
    max-width: min(360px, calc(100vw - 48px));
    padding: 12px 14px;
    border-radius: 8px;
    background: #20272e;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(23, 28, 32, 0.22);
    animation: ss-toast-in 220ms ease both;
}

.ss-toast[data-mode="success"] {
    background: #247a5a;
}

.ss-toast-out {
    animation: ss-toast-out 260ms ease forwards;
}

.ss-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(24, 29, 34, 0.0);
    opacity: 0;
    backdrop-filter: blur(0);
    transition: opacity 180ms ease, background 180ms ease, backdrop-filter 180ms ease;
}

.ss-confirm-overlay.ss-confirm-visible {
    background: rgba(24, 29, 34, 0.38);
    opacity: 1;
    backdrop-filter: blur(8px);
}

.ss-confirm-modal {
    box-sizing: border-box;
    width: min(460px, 100%);
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(10, 15, 20, 0.25);
    transform: translateY(12px) scale(0.98);
    transition: transform 180ms ease;
}

.ss-confirm-visible .ss-confirm-modal {
    transform: translateY(0) scale(1);
}

.ss-confirm-title {
    color: #1b2126;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 24px;
}

.ss-confirm-asset {
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    margin-top: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    background: #fff1f3;
    color: #b8324f;
    font-family: odudo, monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ss-confirm-message {
    margin: 12px 0;
    color: #53606b;
    line-height: 1.4;
}

.ss-edit-modal {
    width: min(560px, 100%);
}

.ss-edit-textarea {
    display: block;
    min-height: 130px;
    margin-top: 14px;
    padding-top: 11px;
    padding-bottom: 11px;
    line-height: 1.35;
    resize: vertical;
}

.ss-keep-history-option {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-top: 12px;
    padding: 11px;
    border: 1px solid rgba(37, 45, 51, 0.1);
    border-radius: 8px;
    background: #f7f9f6;
    cursor: pointer;
}

.ss-keep-history-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ss-keep-history-visual {
    position: relative;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(47, 143, 105, 0.48);
    border-radius: 5px;
    background: #ffffff;
    transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.ss-keep-history-visual::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 11px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(42deg) scale(0.8);
    transition: opacity 140ms ease, transform 140ms ease;
}

.ss-keep-history-checkbox:checked + .ss-keep-history-visual {
    border-color: #247a5a;
    background: #247a5a;
    box-shadow: 0 0 0 3px rgba(47, 143, 105, 0.12);
}

.ss-keep-history-checkbox:checked + .ss-keep-history-visual::after {
    opacity: 1;
    transform: rotate(42deg) scale(1);
}

.ss-keep-history-text {
    color: #263039;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 14px;
}

.ss-keep-history-max-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
    padding: 10px 11px;
    border: 1px solid rgba(37, 45, 51, 0.08);
    border-radius: 8px;
    background: #fbfcfa;
    transition: opacity 140ms ease, filter 140ms ease;
}

.ss-keep-history-max-control.ss-disabled {
    opacity: 0.52;
    filter: grayscale(0.2);
}

.ss-keep-history-max-label {
    color: #53606b;
    font-family: aa_bold, sans_serif_bold, sans-serif;
    font-size: 13px;
}

.ss-keep-history-max-input {
    height: 34px;
    text-align: center;
}

.ss-confirm-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 14px;
}

.ss-busy {
    cursor: progress;
}

.ss-shake {
    animation: ss-shake 300ms ease both;
}

@keyframes ss-pop-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes ss-collapse-out {
    from {
        max-height: var(--ss-remove-height, 90px);
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
        max-height: 0;
        margin: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
}

@keyframes ss-toast-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ss-toast-out {
    to {
        opacity: 0;
        transform: translateY(8px);
    }
}

@keyframes ss-shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

@media (max-width: 840px) {
    .ss-shell {
        padding: 18px;
    }

    .ss-main-header {
        align-items: stretch;
        flex-direction: column;
    }

    .ss-metrics {
        width: 100%;
    }

    .ss-metric {
        flex: 1;
    }

    .ss-toolbar {
        grid-template-columns: 1fr;
    }

    .ss-create-fields {
        grid-template-columns: 1fr;
    }

    .ss-list-grid {
        grid-template-columns: 1fr;
    }

    .ss-target-editor {
        grid-template-columns: 1fr;
    }

    .ss-priority-editor,
    .ss-priority-editor-compact {
        grid-template-columns: 1fr;
    }

    .ss-priority-stepper {
        width: min(180px, 100%);
    }

    .ss-target-segment {
        width: fit-content;
    }

    .ss-target-duration-group {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .ss-target-quick-group {
        grid-column: 1 / -1;
    }
}

@media (max-width: 460px) {
    .ss-shell {
        padding: 12px;
    }

    .ss-main-title {
        font-size: 34px;
    }

    .ss-list-header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ss-list-header.ss-has-drag-handle {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .ss-count-pill {
        grid-column: 1 / 2;
        grid-row: 2;
        width: fit-content;
    }

    .ss-list-header.ss-has-drag-handle .ss-count-pill {
        grid-column: 2 / 3;
    }

    .ss-list-actions {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .ss-list-header.ss-has-drag-handle .ss-list-actions {
        grid-column: 3;
    }

    .ss-confirm-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .ss-row {
        grid-template-columns: 8px minmax(0, 1fr) auto auto auto;
    }

    .ss-row.ss-row-prioritized {
        grid-template-columns: 8px minmax(0, 1fr) auto auto auto auto;
    }

    .ss-row-drag-handle {
        display: none;
    }

    .ss-row.ss-row-show-avatar {
        grid-template-columns: 8px auto minmax(0, 1fr) auto auto auto;
    }

    .ss-row.ss-row-prioritized.ss-row-show-avatar {
        grid-template-columns: 8px auto minmax(0, 1fr) auto auto auto auto;
    }

    .ss-keep-history-max-control,
    .ss-target-duration-group {
        grid-template-columns: 1fr;
    }
}
