/* App shell, typography, palette, buttons, tabs and icons originate from
   ПочинимВсе!/avito-ads-generator/public/css/styles.css — that file has since
   been trimmed here to the rules Lady Elka's markup actually matches (see
   app/README.md, "Дизайн"), so it is no longer an unchanged copy.
   These rules only add the Lady Elka catalog and editor. */
[hidden]{display:none!important}.elka-logo{display:flex;flex-direction:column;text-decoration:none;color:var(--text);font-weight:800;font-size:21px;letter-spacing:-1px;line-height:1.1}.elka-logo span{font-size:10px;color:var(--muted);font-weight:400;letter-spacing:0;margin-top:4px}.icon{width:18px;height:18px;flex-shrink:0}.top-tab .icon{width:14px;height:14px}.nav-count{margin-left:auto;color:var(--muted);font-size:12px}.catalog-toolbar .finder-mode-switch{margin-bottom:14px}.finder-mode-btn span{font-size:11px;color:var(--muted)}.filter-bar{display:flex;align-items:center;gap:8px}.search-control{display:flex;align-items:center;gap:8px;flex:1;min-width:0;background:var(--surface);padding:0 12px;border:1px solid var(--line);border-radius:var(--radius-control);height:40px}.search-control .icon{width:16px;color:var(--muted)}.search-control input{width:100%;border:0;outline:none;background:none;min-width:0;font-size:13px}.filter-bar select{height:40px;font-size:12px;max-width:142px;padding:0 10px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);color:var(--text)}.result-caption{font-size:12px;color:var(--muted);margin:14px 0 10px}.product-list{display:flex;flex-direction:column;gap:8px}.product-row{display:flex;align-items:center;gap:16px;background:var(--surface);border:1px solid transparent;border-radius:20px;padding:14px 16px;transition:border-color .15s}.product-row:hover{border-color:#c9c9d1}.product-photo{width:64px;height:76px;flex-shrink:0;overflow:hidden;border-radius:12px;background:#f6f6f8;display:grid;place-items:center;color:#a0a0a8}.product-photo img{width:100%;height:100%;object-fit:contain}.product-photo .icon{width:25px;height:25px}.product-summary{flex:1;min-width:0;align-self:center;border:0;text-align:left;background:none;padding:0;color:var(--text)}.product-summary h3{font-size:14px;line-height:20px;font-weight:600;margin:0 0 4px}.product-summary:hover h3{color:var(--blue)}.product-meta{display:flex;gap:6px;flex-wrap:wrap;font-size:11px;line-height:17px;color:var(--muted)}.product-category{display:inline-flex;color:var(--muted);font-size:11px;margin-top:6px;line-height:16px}.product-price{min-width:102px;text-align:right;display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.product-price small{font-size:11px;font-weight:400;color:var(--muted)}.visibility-state{font-size:11px;font-weight:400;display:flex;align-items:center;justify-content:flex-end;gap:5px}.visibility-state span{height:5px;width:5px;border-radius:50%;background:var(--success)}.visibility-state.off{color:var(--muted)}.visibility-state.off span{background:#b0b0b8}.row-edit{width:30px;min-width:30px;height:30px;color:var(--muted)}.row-edit .icon{width:15px;height:15px}.empty-state{padding:56px 16px;text-align:center;background:var(--surface);border-radius:var(--radius-card);color:var(--muted)}.empty-state>.icon{width:26px;height:26px}.empty-state h3{font-size:16px;color:var(--text)}.empty-state p{font-size:13px;margin-bottom:20px}.feed-card{background:var(--surface);border-radius:20px;padding:20px;margin-bottom:12px}.feed-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.feed-title h3{font-size:14px;margin:0}.feed-title p{font-size:12px;color:var(--muted);margin:4px 0 14px}.feed-url{width:100%;font-size:12px;background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:11px 12px;color:var(--text)}.feed-actions{display:flex;gap:8px;margin-top:12px}.feed-actions .btn{min-height:34px;font-size:12px}dialog{padding:0;border:0;border-radius:24px;color:var(--text);background:var(--surface);box-shadow:0 24px 100px #0003;max-width:calc(100% - 24px)}dialog::backdrop{background:rgba(29,29,31,.36);backdrop-filter:blur(3px)}#editor{width:860px}#product-form{display:flex;flex-direction:column;max-height:90vh;max-height:90dvh}.editor-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line)}.editor-heading h2{font-size:20px;line-height:28px;letter-spacing:-.025em;margin:2px 0 0}.eyebrow{font-size:12px;color:var(--muted);margin:0}.editor-scroll{overflow-y:auto;overscroll-behavior:contain;padding:20px 24px;min-height:0;background:var(--bg)}.editor-basics{background:var(--surface);padding:18px;border-radius:20px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:500;min-width:0;color:var(--text)}.field input,.field select,.field textarea{width:100%;min-width:0;border:1px solid #dcdce2;background:var(--surface);border-radius:10px;padding:10px 11px;font-size:13px;outline:none;color:var(--text);font-weight:400}.field textarea{resize:vertical;min-height:85px;line-height:1.5}.field input:focus,.field select:focus,.field textarea:focus,.search-control:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,113,227,.1)}.field input:disabled,.field select:disabled{background:var(--soft);color:var(--muted)}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.field-hint{font-size:11px;line-height:17px;color:var(--muted);margin:8px 0 0}.editor-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px}.editor-section-title h3{margin:0;font-size:14px}.editor-section-title p{margin:5px 0 0;font-size:12px;color:var(--muted)}.editor-section-title .btn{font-size:12px;min-height:34px}.toggle-label{display:flex;gap:8px;align-items:center;font-size:12px;cursor:pointer}.toggle-label input{appearance:none;width:30px;height:18px;border-radius:20px;background:#d5d5dc;position:relative;transition:background .15s;cursor:pointer;margin:0}.toggle-label input::after{content:'';position:absolute;width:14px;height:14px;left:2px;top:2px;background:white;border-radius:50%;box-shadow:0 1px 2px #0002;transition:transform .15s}.toggle-label input:checked{background:var(--blue)}.toggle-label input:checked::after{transform:translateX(12px)}.price-note{font-size:11px;color:var(--muted);line-height:17px;margin:12px 0}.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid var(--line)}.editor-footer p{margin:0;max-width:400px;font-size:11px;line-height:16px;color:var(--muted)}.editor-footer>div{display:flex;gap:8px}.editor-footer p.error{color:#b42318}.confirmation{padding:24px;max-width:430px}.confirmation h2{margin:0 0 12px;font-size:18px}.confirmation p{font-size:13px;color:var(--muted)}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;border-radius:999px;background:var(--text);color:white;font-size:13px;padding:12px 20px;z-index:100;transition:opacity .2s,transform .2s;max-width:calc(100% - 32px)}.toast.visible{opacity:1;transform:translate(-50%,0)}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--blue);outline-offset:3px}body:has(dialog[open]){overflow:hidden}.load-error{font-size:13px;color:#b42318;padding:18px;border-radius:18px;background:var(--surface)}
@media(min-width:901px){.contact-finder-heading{align-items:center}.contact-finder-heading>.btn{font-size:12px;min-height:36px}.contact-finder-heading .subtitle{font-size:12px}}
@media(max-width:900px){.dashboard-shell{grid-template-columns:1fr}.sidebar{display:block;padding:0}.neo-account,.sidebar-divider{display:none}.side-tabs{display:flex;gap:8px}.side-tabs .tab-btn{width:auto}.contact-finder-heading{align-items:flex-start}.contact-finder-heading .subtitle{font-size:12px;max-width:250px}.contact-finder-heading>.btn{font-size:12px;min-height:34px;padding:0 12px}.nav-count{margin-left:6px}}
@media(max-width:560px){.neo-header-inner{padding:0 16px}.elka-logo{font-size:19px}.elka-logo span{font-size:9px}.top-tab{font-size:11px;padding:0 10px}.dashboard-shell{margin-top:16px;gap:18px}.side-tabs .tab-btn{font-size:12px;padding:8px 12px}.product-row{gap:10px;padding:12px;border-radius:16px}.product-photo{width:48px;height:64px}.product-summary h3{font-size:13px}.product-price{min-width:78px;font-size:12px}.row-edit{display:none}.product-meta{font-size:10px}.product-category{font-size:10px}.filter-bar select{max-width:112px;font-size:11px}.search-control input{font-size:12px}.finder-mode-btn{padding:0 12px;font-size:12px}.editor-heading{padding:16px}.editor-scroll{padding:14px}.editor-heading h2{font-size:18px}.editor-footer{padding:14px;flex-direction:column;align-items:stretch;gap:10px}.editor-footer>div{justify-content:flex-end}.editor-section-title p{font-size:11px}.field-row{gap:8px}.product-price small{font-size:10px}.visibility-state{font-size:10px}.editor-section-title{align-items:flex-start}}
@keyframes catalog-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes row-enter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.catalog-page,#integration-page,#settings-page{animation:catalog-enter .28s ease-out both}
.product-row{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.product-row:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(29,29,31,.06)}
.product-row:nth-child(1){animation:row-enter .22s ease-out .02s both}.product-row:nth-child(2){animation:row-enter .22s ease-out .05s both}.product-row:nth-child(3){animation:row-enter .22s ease-out .08s both}.product-row:nth-child(4){animation:row-enter .22s ease-out .11s both}.product-row:nth-child(5){animation:row-enter .22s ease-out .14s both}
.btn,.icon-btn,.finder-mode-btn,.tab-btn,.top-tab{transition:transform .14s ease,background-color .14s ease,color .14s ease,border-color .14s ease,box-shadow .14s ease}
.btn:active,.icon-btn:active,.finder-mode-btn:active,.tab-btn:active,.top-tab:active{transform:scale(.97)}
.finder-mode-btn.selected{transition:background-color .2s ease,color .2s ease,box-shadow .2s ease}
dialog[open]{animation:catalog-enter .22s ease-out both}
@media(prefers-reduced-motion:reduce){.catalog-page,#integration-page,#settings-page,.product-row,dialog[open]{animation:none!important}.product-row,.btn,.icon-btn,.finder-mode-btn,.tab-btn,.top-tab{transition:none!important}.product-row:hover{transform:none;box-shadow:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.photo-tile{width:80px;background:var(--soft);border-radius:10px;overflow:hidden}.photo-tile img{width:80px;height:86px;display:block;border-radius:0}.photo-tile>div{display:flex;justify-content:space-between;align-items:center;padding:3px}.photo-tile button{font-size:9px;border:0;background:transparent;padding:3px;color:var(--muted)}.photo-tile button:last-child{font-size:15px}.photo-tile button:disabled{color:var(--text);cursor:default}.upload-photo{font-size:12px;min-height:34px;cursor:pointer}
.product-visibility{font-size:11px;min-height:30px;margin-top:12px}
.product-summary:hover h3{color:var(--text)}
.product-row:hover{border-color:transparent;transform:none;box-shadow:none;background:#fbfbfc}
.product-row{cursor:pointer}.product-row .product-summary{cursor:pointer}
.side-tabs .tab-btn .icon{display:flex;align-items:center;justify-content:center;line-height:0;transform:none}
.tour-skip:focus-visible{outline:none;box-shadow:none}
.search-control input:focus-visible{outline:none;box-shadow:none}
.feed-title>.icon{order:-1;width:40px;height:40px;padding:10px;border-radius:12px;background:var(--soft);color:var(--blue)}
.feed-title{justify-content:flex-start}.feed-title>div{flex:1}
.feed-title{margin-bottom:14px}.feed-title p{margin-bottom:0}
.filter-bar select{appearance:none;padding-right:34px;background-color:var(--surface);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23707070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
.group-tabs{background:var(--surface)}

/* The help link uses the same geometry as the sidebar tabs. */
.tour-start{width:100%;gap:.625rem;padding:.625rem .75rem;border-radius:.75rem;font-size:.75rem;line-height:1rem;font-weight:500}
.tour-start .icon{width:18px;height:18px}
.tour-start>[data-icon]{display:flex;width:16px;height:16px;flex:0 0 16px;align-items:center;justify-content:center;line-height:0}
.tour-start>[data-icon] .icon{display:block;width:16px;height:16px}
.sidebar-column{display:grid;align-content:start;gap:12px}
.sidebar-support{display:flex;align-items:center;justify-content:center;width:100%;padding:12px;border:0;border-radius:28px;background:#1d1d1f;color:#fff;font:inherit;font-size:12px;line-height:16px;font-weight:600;text-decoration:none;cursor:pointer;transition:background .15s ease}
.sidebar-support:hover{background:#000}

.select-control-field{height:40px;font-size:12px;padding:0 34px 0 10px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);color:var(--text);appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23707070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:16px 16px}
.select-control-field:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,113,227,.1);outline:none}

/* Clear product-row hierarchy: title, metadata, then category. */
.product-summary h3{font-size:15px;line-height:22px;font-weight:700;margin-bottom:5px}
.product-meta{font-size:12px;line-height:18px;color:#777780}
.product-category{font-size:10px;line-height:15px;color:#9a9aa2;margin-top:7px}
