/* StrelaRentModal — unified fullscreen rent editor */
.srm-overlay {
    position: fixed;
    inset: 0;
    z-index: 100500;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s;
}
.srm-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
body.srm-modal-open {
    overflow: hidden;
    overscroll-behavior: none;
}
.srm-panel {
    width: 100%;
    max-width: 560px;
    max-height: min(94dvh, 900px);
    background: var(--bg2, #1a1f2e);
    border: 1px solid var(--border, rgba(255,255,255,0.08));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 80px rgba(0,0,0,0.45);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.25s ease;
    overflow: hidden;
}
.srm-overlay.is-open .srm-panel {
    transform: translateY(0) scale(1);
}
.srm-handle {
    display: none;
    width: 40px;
    height: 4px;
    border-radius: 4px;
    background: var(--txt3, rgba(255,255,255,0.25));
    margin: 10px auto 0;
    flex-shrink: 0;
}
.srm-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 16px 12px;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
    border-bottom: 1px solid var(--border, rgba(255,255,255,0.06));
    flex-shrink: 0;
}
.srm-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 199, 44, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.srm-header-type-ico {
    display: block;
    width: 28px;
    height: 28px;
    background-color: var(--accent, #ffc72c);
    -webkit-mask-image: var(--ico, none);
    mask-image: var(--ico, none);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}
.srm-header-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.srm-header-text { flex: 1; min-width: 0; }
.srm-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--txt, #fff);
    line-height: 1.25;
}
.srm-subtitle {
    margin: 4px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    line-height: 1.35;
}
.srm-subtitle[hidden] {
    display: none;
}
.srm-subtitle-pill {
    flex-shrink: 0;
    max-width: 62%;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent, #ffc72c);
    background: rgba(255, 199, 44, 0.12);
    border: 1px solid rgba(255, 199, 44, 0.28);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.srm-subtitle-name {
    min-width: 0;
    flex: 1;
    font-size: 12px;
    font-weight: 500;
    color: var(--txt2, rgba(255,255,255,0.55));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.srm-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--txt2, rgba(255,255,255,0.6));
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}
.srm-close:hover { background: var(--bg3, rgba(255,255,255,0.06)); color: var(--txt, #fff); }
.srm-progress {
    padding: 8px 20px 12px;
    border-bottom: 1px solid var(--border, rgba(255,255,255,0.06));
    flex-shrink: 0;
}
.srm-progress-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 6px;
}
.srm-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg3, rgba(255,255,255,0.15));
    transition: background 0.2s, transform 0.2s;
}
.srm-dot.active {
    background: var(--accent, #ffc72c);
    transform: scale(1.15);
}
.srm-dot-line {
    width: 48px;
    height: 2px;
    background: var(--bg3, rgba(255,255,255,0.12));
}
.srm-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--txt2, rgba(255,255,255,0.45));
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 4px;
}
.srm-body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
}
.srm-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 200px;
    color: var(--txt2, rgba(255,255,255,0.55));
    font-size: 14px;
}
.srm-footer {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border, rgba(255,255,255,0.06));
    flex-shrink: 0;
    background: var(--bg2, #1a1f2e);
}
.srm-btn {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.15s, transform 0.1s;
}
.srm-btn:active { transform: scale(0.98); }
.srm-btn-primary {
    flex: 1;
    background: var(--accent, #ffc72c);
    color: #111;
}
.srm-btn-ghost {
    background: var(--bg3, rgba(255,255,255,0.06));
    color: var(--txt, #fff);
    border: 1px solid var(--border, rgba(255,255,255,0.1));
    flex-shrink: 0;
    min-width: 96px;
}
#srmBtnBack[hidden] {
    display: none !important;
}
.srm-notes-overlay:not(.is-open),
.srm-notes-styles-overlay:not(.is-open),
.srm-sheet-overlay:not(.is-open) {
    pointer-events: none;
}
.srm-btn-block { width: 100%; }
.srm-section {
    margin-bottom: 20px;
}
.srm-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--txt2, rgba(255,255,255,0.5));
    margin-bottom: 12px;
}
.srm-section-title i { color: var(--accent, #ffc72c); font-size: 13px; }
.srm-field { margin-bottom: 12px; }
.srm-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--txt, #fff);
    margin-bottom: 6px;
}
.srm-input,
.srm-textarea,
.srm-select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border, rgba(255,255,255,0.12));
    background: var(--bg3, rgba(255,255,255,0.04));
    color: var(--txt, #fff);
    font-size: 16px;
    line-height: 1.35;
}
.srm-textarea { min-height: 88px; resize: vertical; }
.srm-notes-wrap {
    position: relative;
}
.srm-textarea--plain {
    min-height: 120px;
    line-height: 1.55;
}
.srm-notes-dialog--plain .srm-notes-editor {
    min-height: min(58dvh, 460px);
    flex: 1 1 auto;
}
.srm-notes-wrap--plain .srm-notes-trigger-preview {
    max-height: 220px;
    overflow-y: auto;
}
.srm-notes-trigger {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 88px;
    padding: 12px 14px;
    padding-right: 42px;
    border-radius: 12px;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
    background: var(--bg3, rgba(255, 255, 255, 0.04));
    color: var(--txt, #fff);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.srm-notes-trigger:hover {
    border-color: rgba(255, 199, 44, 0.35);
}
.srm-notes-trigger:focus {
    outline: none;
    border-color: var(--accent, #ffc72c);
    box-shadow: 0 0 0 2px rgba(255, 199, 44, 0.18);
}
.srm-notes-trigger-preview {
    font-size: 16px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.srm-notes-trigger-preview strong { font-weight: 800; }
.srm-notes-trigger-preview em { font-style: italic; }
.srm-notes-trigger-preview s { opacity: 0.72; }
.srm-notes-trigger-preview code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92em;
    padding: 1px 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
}
.srm-notes-trigger-empty {
    color: var(--txt2, rgba(255, 255, 255, 0.42));
    font-style: italic;
}
.srm-notes-expand-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 199, 44, 0.12);
    color: var(--accent, #ffc72c);
    font-size: 12px;
    pointer-events: none;
}
.srm-notes-overlay {
    position: fixed;
    inset: 0;
    z-index: 100700;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.srm-notes-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.srm-notes-dialog {
    width: 100%;
    max-width: 640px;
    height: min(86dvh, 720px);
    max-height: min(92dvh, 780px);
    min-height: 0;
    background: var(--bg2, #1a1f2e);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    transform: scale(0.96) translateY(8px);
    transition: transform 0.22s ease;
}
.srm-notes-overlay.is-open .srm-notes-dialog {
    transform: scale(1) translateY(0);
}
.srm-notes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.srm-notes-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--txt, #fff);
    flex: 1;
    min-width: 0;
}
.srm-notes-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.srm-notes-styles-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 199, 44, 0.28);
    background: rgba(255, 199, 44, 0.1);
    color: var(--accent, #ffc72c);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s;
}
.srm-notes-styles-btn:hover {
    background: rgba(255, 199, 44, 0.16);
    border-color: rgba(255, 199, 44, 0.42);
}
.srm-notes-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--txt2, rgba(255, 255, 255, 0.55));
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.srm-notes-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px 10px;
    overflow: hidden;
}
.srm-notes-editor {
    flex: 1 1 auto;
    width: 100%;
    min-height: min(46dvh, 380px);
    box-sizing: border-box;
    padding: 14px 16px;
    margin: 0;
    border-radius: 14px;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
    background: var(--bg3, rgba(255, 255, 255, 0.04));
    color: var(--txt, #fff);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.55;
    resize: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
}
.srm-notes-editor:focus {
    outline: none;
    border-color: rgba(255, 199, 44, 0.45);
    box-shadow: 0 0 0 2px rgba(255, 199, 44, 0.12);
}
.srm-notes-editor::placeholder {
    color: var(--txt2, rgba(255, 255, 255, 0.38));
}
.srm-notes-preview-bar {
    flex: 0 0 auto;
    max-height: 28%;
    min-height: 72px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}
.srm-notes-preview-bar[hidden] {
    display: none !important;
}
.srm-notes-dialog--plain .srm-notes-preview-bar {
    display: none !important;
}
.srm-notes-preview-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--txt2, rgba(255, 255, 255, 0.45));
}
.srm-notes-preview {
    flex: 1;
    overflow-y: auto;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 199, 44, 0.18);
    background: rgba(255, 199, 44, 0.05);
    color: var(--txt, #fff);
    font-size: 14px;
    line-height: 1.55;
    word-wrap: break-word;
    white-space: pre-wrap;
}
.srm-notes-preview.is-empty {
    color: var(--txt2, rgba(255, 255, 255, 0.42));
    font-style: italic;
}
.srm-notes-preview strong { font-weight: 800; }
.srm-notes-preview em { font-style: italic; }
.srm-notes-preview s { opacity: 0.72; }
.srm-notes-preview code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92em;
    padding: 1px 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
}
.srm-notes-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    line-height: 1.35;
    color: var(--txt2, rgba(255, 255, 255, 0.45));
}
.srm-notes-hint {
    flex: 1;
    min-width: 0;
}
.srm-notes-counter {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.srm-notes-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    padding: 10px 16px 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    background: var(--bg2, #1a1f2e);
}
.srm-notes-styles-overlay {
    position: fixed;
    inset: 0;
    z-index: 100750;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.srm-notes-styles-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.srm-notes-styles-dialog {
    width: 100%;
    max-width: 420px;
    max-height: min(84dvh, 640px);
    background: var(--bg2, #1a1f2e);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
    transform: scale(0.96);
    transition: transform 0.2s ease;
}
.srm-notes-styles-overlay.is-open .srm-notes-styles-dialog {
    transform: scale(1);
}
.srm-notes-styles-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.srm-notes-styles-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--txt, #fff);
}
.srm-notes-styles-body {
    overflow-y: auto;
    padding: 14px 16px;
}
.srm-notes-styles-lead {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--txt2, rgba(255, 255, 255, 0.62));
}
.srm-notes-style-list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.srm-notes-style-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--bg3, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.srm-notes-style-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: var(--accent, #ffc72c);
    word-break: break-word;
}
.srm-notes-style-arrow {
    color: var(--txt2, rgba(255, 255, 255, 0.35));
    font-size: 12px;
}
.srm-notes-style-sample {
    font-size: 14px;
    color: var(--txt, #fff);
}
.srm-notes-styles-example-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--txt2, rgba(255, 255, 255, 0.45));
    margin-bottom: 8px;
}
.srm-notes-styles-example .srm-notes-preview {
    min-height: 0;
    max-height: none;
}
.srm-notes-styles-footer {
    padding: 12px 16px 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 640px) {
    .srm-notes-overlay {
        padding: 0;
        align-items: stretch;
    }
    .srm-notes-dialog {
        max-width: none;
        max-height: none;
        height: 100%;
        border-radius: 0;
        border: none;
    }
    .srm-notes-editor {
        min-height: 0;
        flex: 1 1 auto;
    }
    .srm-notes-preview-bar {
        max-height: 32%;
    }
    .srm-notes-styles-btn {
        padding: 8px 10px;
        font-size: 11px;
    }
    .srm-notes-styles-btn i { display: none; }
}
.srm-input-group {
    display: flex;
    align-items: stretch;
}
.srm-input-group .srm-input { border-radius: 12px 0 0 12px; border-right: none; flex: 1; }
.srm-input-suffix {
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 0 12px 12px 0;
    border: 1px solid var(--border, rgba(255,255,255,0.12));
    border-left: none;
    background: var(--bg3, rgba(255,255,255,0.06));
    color: var(--txt2, rgba(255,255,255,0.55));
    font-size: 14px;
    white-space: nowrap;
}
.srm-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.srm-specs-grid .srm-field--full { grid-column: 1 / -1; }
.srm-delivery-toggle-row {
    display: flex;
    width: 100%;
    margin-bottom: 4px;
}
.srm-delivery-toggle-row .srm-chip {
    flex: 1;
    justify-content: center;
}
.srm-delivery-fields {
    margin-top: 10px;
}
.srm-delivery-fields.is-hidden {
    display: none;
}
.srm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.srm-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--border, rgba(255,255,255,0.12));
    background: var(--bg3, rgba(255,255,255,0.04));
    color: var(--txt2, rgba(255,255,255,0.7));
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.srm-chip input { position: absolute; opacity: 0; pointer-events: none; }
.srm-chip.selected {
    border-color: var(--accent, #ffc72c);
    background: rgba(255, 199, 44, 0.12);
    color: var(--accent, #ffc72c);
}
.srm-chip--custom {
    padding-right: 8px;
}
.srm-bucket-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 2px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--txt2, rgba(255,255,255,0.55));
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}
.srm-chip.selected .srm-bucket-remove {
    color: var(--accent, #ffc72c);
}
.srm-bucket-remove:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}
.srm-bucket-custom-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}
.srm-bucket-custom-inp {
    flex: 1;
    min-width: 0;
    max-width: 180px;
}
.srm-btn-sm {
    padding: 10px 14px;
    font-size: 13px;
    white-space: nowrap;
}
.srm-field-hint {
    margin: 8px 0 0;
    font-size: 11px;
    color: var(--txt2, rgba(255,255,255,0.45));
    line-height: 1.35;
}
.srm-field-preview {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent, #ffc72c);
    line-height: 1.35;
}
.srm-field-preview[hidden] {
    display: none;
}
.srm-section--gear {
    margin-bottom: 20px;
}
.srm-subsection {
    margin-bottom: 16px;
    padding: 12px 12px 4px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.srm-subsection:last-child {
    margin-bottom: 0;
}
.srm-subsection-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--txt, #fff);
    letter-spacing: 0.01em;
}
.srm-subsection-title i {
    color: var(--accent, #ffc72c);
    font-size: 12px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
.srm-bucket-svg-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent, #ffc72c);
}
.srm-bucket-svg-wrap svg {
    display: block;
    width: 100%;
    height: 100%;
}
.srm-subsection--priced {
    background: rgba(255, 199, 44, 0.04);
    border-color: rgba(255, 199, 44, 0.14);
}
.srm-subsection--priced .srm-subsection-title i {
    color: var(--accent, #ffc72c);
}
.srm-att-prices-block {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.srm-chips--buckets .srm-chip {
    min-width: 72px;
    justify-content: center;
}
.srm-section--buckets > .srm-field-preview {
    margin-top: 10px;
}
.srm-type-picker {
    position: relative;
}
.srm-type-picker-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1.5px solid var(--border, rgba(255,255,255,0.12));
    background: var(--bg3, rgba(255,255,255,0.04));
    color: var(--txt, #fff);
    font: inherit;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, background 0.2s;
}
.srm-type-picker-btn:hover,
.srm-type-picker-btn:focus-visible {
    border-color: rgba(255, 199, 44, 0.45);
}
.srm-type-picker-value {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.srm-type-picker-placeholder {
    color: var(--txt2, rgba(255,255,255,0.5));
    font-size: 14px;
}
.srm-type-picker-label {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--txt, #fff);
}
.srm-type-picker-icon,
.srm-type-option-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 199, 44, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.srm-type-picker-chevron {
    color: var(--txt2, rgba(255,255,255,0.45));
    font-size: 12px;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.srm-type-picker-btn[aria-expanded="true"] .srm-type-picker-chevron {
    transform: rotate(180deg);
}
.srm-type-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    border-radius: 14px;
    border: 1.5px solid var(--border, rgba(255,255,255,0.12));
    background: var(--bg2, #1a1f2e);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    overflow: hidden;
}
.srm-type-dropdown[hidden] {
    display: none !important;
}
.srm-type-dropdown-inner {
    max-height: min(52vh, 320px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px;
}
.srm-type-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--txt, #fff);
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}
.srm-type-option:hover,
.srm-type-option:focus-visible {
    background: var(--bg3, rgba(255,255,255,0.06));
}
.srm-type-option.selected {
    background: rgba(255, 199, 44, 0.12);
}
.srm-type-option-label {
    flex: 1;
    font-weight: 600;
    line-height: 1.25;
}
.srm-type-option-check {
    color: var(--accent, #ffc72c);
    font-size: 13px;
    flex-shrink: 0;
}
.srm-type-dropdown-empty {
    padding: 14px 12px;
    color: var(--txt2, rgba(255,255,255,0.5));
    font-size: 13px;
    text-align: center;
}
.srm-type-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg3, rgba(255,255,255,0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.srm-type-ico {
    display: block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background-color: var(--txt2, rgba(255,255,255,0.55));
    -webkit-mask-image: var(--ico, none);
    mask-image: var(--ico, none);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: background-color 0.18s;
}
.srm-type-label {
    line-height: 1.25;
    max-width: 100%;
    word-break: break-word;
}
[data-theme="light"] .srm-type-picker-btn {
    background: #f8fafc;
    color: #1e293b;
}
[data-theme="light"] .srm-type-picker-label {
    color: #1e293b;
}
[data-theme="light"] .srm-type-dropdown {
    background: #fff;
    box-shadow: 0 12px 32px rgba(15,23,42,0.12);
}
[data-theme="light"] .srm-type-option:hover,
[data-theme="light"] .srm-type-option:focus-visible {
    background: #f1f5f9;
}
[data-theme="light"] .srm-type-ico {
    background-color: var(--txt2, #64748b);
}
[data-theme="light"] .srm-type-option.selected .srm-type-ico,
[data-theme="light"] .srm-type-picker-icon .srm-type-ico {
    background-color: var(--accent, #ca8a04);
}
[data-theme="light"] .srm-header-type-ico {
    background-color: var(--accent, #ca8a04);
}
.srm-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--bg3, rgba(255,255,255,0.04));
    border: 1px solid var(--border, rgba(255,255,255,0.08));
    margin-bottom: 16px;
}
.srm-toggle-label { font-size: 14px; font-weight: 600; color: var(--txt, #fff); }
.srm-toggle-hint { font-size: 11px; color: var(--txt2, rgba(255,255,255,0.45)); margin-top: 2px; }
.srm-toggle {
    position: relative;
    width: 52px;
    height: 30px;
    flex-shrink: 0;
}
.srm-toggle input { opacity: 0; width: 0; height: 0; }
.srm-toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--bg3, rgba(255,255,255,0.15));
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s;
}
.srm-toggle-slider:before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.srm-toggle input:checked + .srm-toggle-slider { background: #22c55e; }
.srm-toggle input:checked + .srm-toggle-slider:before { transform: translateX(22px); }
.srm-form-collapsed .srm-form-main { opacity: 0.45; pointer-events: none; filter: grayscale(0.3); }
.srm-picker-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border, rgba(255,255,255,0.12));
    background: var(--bg3, rgba(255,255,255,0.04));
    color: var(--txt, #fff);
    font-size: 15px;
    cursor: pointer;
    text-align: left;
}
.srm-picker-btn span { color: var(--txt2, rgba(255,255,255,0.5)); font-size: 13px; }
.srm-err {
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    font-size: 13px;
    margin-bottom: 12px;
}
.srm-field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.28) !important;
    animation: srm-field-error-pulse 0.55s ease;
}
@keyframes srm-field-error-pulse {
    0%, 100% { transform: scale(1); }
    35% { transform: scale(1.01); }
}
.srm-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 100600;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
.srm-sheet-overlay.is-open { opacity: 1; visibility: visible; }
.srm-sheet {
    width: 100%;
    max-width: 560px;
    max-height: 72dvh;
    background: var(--bg2, #1a1f2e);
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.28s ease;
}
.srm-sheet-overlay.is-open .srm-sheet { transform: translateY(0); }
.srm-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
}
.srm-sheet-header h3 { margin: 0; font-size: 16px; color: var(--txt, #fff); }
.srm-sheet-close {
    width: 36px; height: 36px; border: none; border-radius: 10px;
    background: transparent; color: var(--txt2); font-size: 22px; cursor: pointer;
}
.srm-sheet-search { padding: 8px 16px; }
.srm-sheet-search input {
    width: 100%; box-sizing: border-box; padding: 10px 14px; border-radius: 12px;
    border: 1px solid var(--border, rgba(255,255,255,0.12));
    background: var(--bg3, rgba(255,255,255,0.04)); color: var(--txt, #fff); font-size: 16px;
}
.srm-sheet-body { flex: 1; overflow-y: auto; padding: 8px 16px; }
.srm-sheet-footer { padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
.srm-region-item {
    display: flex; align-items: center; gap: 10px; padding: 12px 10px;
    border-radius: 12px; cursor: pointer; font-size: 14px; color: var(--txt, #fff);
}
.srm-region-item:hover { background: var(--bg3, rgba(255,255,255,0.04)); }
.srm-region-item.selected { background: rgba(255, 199, 44, 0.1); }
.srm-region-item input { width: 18px; height: 18px; accent-color: var(--accent, #ffc72c); }
.srm-att-prices-block .srm-att-price {
    margin-top: 0;
}
.srm-att-price {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 199, 44, 0.06);
    border: 1px solid rgba(255, 199, 44, 0.15);
}
.srm-att-price[hidden] { display: none !important; }
.srm-bind-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.srm-bind-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.srm-bind-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1.5px solid var(--border, rgba(255,255,255,0.12));
    background: var(--bg3, rgba(255,255,255,0.04));
    color: var(--txt, #fff);
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.srm-bind-item.selected,
.srm-bind-row.selected .srm-bind-item {
    border-color: var(--accent, #ffc72c);
    background: rgba(255, 199, 44, 0.1);
}
.srm-bind-row.is-rented .srm-bind-item {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.06);
}
.srm-bind-row.is-rented.selected .srm-bind-item {
    border-color: rgba(34, 197, 94, 0.55);
    background: rgba(34, 197, 94, 0.12);
}
.srm-bind-name {
    flex: 1;
    font-weight: 600;
    line-height: 1.25;
}
.srm-bind-badge {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: rgba(34, 197, 94, 0.16);
    color: #4ade80;
}
.srm-bind-edit {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 199, 44, 0.35);
    background: rgba(255, 199, 44, 0.08);
    color: var(--accent, #ffc72c);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.srm-bind-edit:hover {
    background: rgba(255, 199, 44, 0.16);
    border-color: rgba(255, 199, 44, 0.55);
}
[data-theme="light"] .srm-bind-item {
    background: #f8fafc;
    color: #1e293b;
}
[data-theme="light"] .srm-bind-badge {
    color: #15803d;
    background: rgba(34, 197, 94, 0.14);
}
[data-theme="light"] .srm-bind-edit {
    color: #92680a;
    background: #fff8e1;
    border-color: #e0b020;
}
@media (max-width: 640px) {
    .srm-overlay { align-items: flex-end; padding: 0; }
    .srm-panel {
        max-width: 100%;
        max-height: 100dvh;
        border-radius: 20px 20px 0 0;
        border-bottom: none;
    }
    .srm-handle { display: block; }
    .srm-specs-grid { grid-template-columns: 1fr; }
    .srm-btn { min-height: 50px; }
}
