.analytics-dialog .dialog-panel{width:min(1060px,100%)}
.analytics-attributes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0}.analytics-attributes .attribute-selector{flex-direction:column;align-items:stretch;gap:7px;border:0;padding:0}.analytics-attributes .attribute-selector>span{width:auto}.analytics-attributes .choice-control{width:100%}
.analytics-tabs{display:flex;gap:8px;margin:18px 0 12px}.analytics-tabs button{flex:1}.analytics-tabs button[aria-pressed=true]{background:#e9e9eb;color:#111}.analytics-tabs button[aria-pressed=true] svg{color:#111}
.analytics-filters{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}.analytics-markets,.analytics-sorts{display:flex;gap:5px;flex-wrap:wrap}.analytics-filters button{min-height:44px;padding:8px 13px;font-size:12px}.analytics-filters button[aria-pressed=true]{background:#ffffff15;border-color:#777}
.analytics-art{position:relative;display:grid;place-items:center;width:72px;height:72px;flex:none;isolation:isolate;overflow:hidden;border-radius:13px;background:radial-gradient(ellipse at 50% 20%,var(--art-color,#343438),var(--art-edge,var(--art-color,#252527)))}
.analytics-model{width:90%;height:90%;object-fit:contain;position:relative;z-index:1}.analytics-pattern{position:absolute;width:25%;height:25%;right:5%;top:5%;opacity:.22;object-fit:contain;transform:rotate(15deg)}
.market-offers{display:flex;gap:15px;padding:18px 0;border-bottom:1px solid #ffffff14}.offer-market{flex:none;width:80px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;padding-top:22px}.offer-market h3{font-size:13px;margin:0}.offer-market small{font-size:12px;text-align:center}.offers-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:10px;flex:1;min-width:0;align-content:start}
.offer-item{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;padding:4px 2px 8px;border-radius:12px;transition:background-color .18s}.offer-number{font-size:12px;color:#b6b6bd}.offer-item strong{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}.offer-item strong span{font-size:11px;color:#bbb}.analytics-note{font-size:12px;margin:14px 0 0;color:#aaa}
.sales-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.sales-table th{font-size:12px;font-weight:500;color:#aaa;text-align:left;padding:12px 8px;border-bottom:1px solid #444}.sales-table td{padding:10px 8px;border-bottom:1px solid #ffffff12;vertical-align:middle;overflow-wrap:anywhere}.sales-table th:first-child{width:64px}.sales-table th:nth-child(2){width:24%}.sales-table th:nth-child(3){width:18%}.sales-table th:nth-child(4){width:16%}.sales-table th:nth-child(5){width:12%}.sales-table .analytics-art{width:46px;height:46px;border-radius:9px}.sale-model{display:block;font-size:13px;margin-top:2px}.sales-table td>a{font-size:12px;color:#b9b9c0}.sale-price{font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.sale-price span{font-size:11px;font-weight:400;color:#bbb}.sale-market{font-size:12px}.sale-date{font-size:12px;color:#b9b9c0}.previous-sale svg{transform:rotate(180deg)}
@media(hover:hover) and (pointer:fine){.offer-item:hover{background:#ffffff0b}}
@media(max-width:760px){.market-offers{display:block;padding:14px 0}.offer-market{width:auto;flex-direction:row;justify-content:flex-start;padding:0;margin-bottom:12px}.offer-market small{margin-left:auto}.offers-grid{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px}.analytics-tabs button{font-size:12px;padding:9px}.analytics-tabs button svg{width:17px;height:17px}.sales-table thead{display:none}.sales-table,.sales-table tbody{display:block}.sales-table tr{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:3px 10px;padding:12px 0;border-bottom:1px solid #ffffff15}.sales-table td{padding:0;border:0;min-width:0}.sales-table td:nth-child(1){grid-column:1;grid-row:1/4}.sales-table td:nth-child(2){grid-column:2;grid-row:1}.sales-table td:nth-child(3){grid-column:2;grid-row:2;font-size:12px;color:#bbb}.sales-table td:nth-child(4){grid-column:3;grid-row:1;text-align:right}.sales-table td:nth-child(5){grid-column:3;grid-row:2;text-align:right}.sales-table td:nth-child(6){grid-column:2/4;grid-row:3}.analytics-markets{flex:1}.analytics-markets button{flex:1}.analytics-sorts{width:100%}.analytics-sorts button{flex:1}}

.editor-analytics-tools{padding:14px 0;border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff12;margin:16px 0}.editor-analytics-tools>span{display:block;font-size:12px;color:var(--muted);margin-bottom:9px}.editor-analytics-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.editor-analytics-buttons button{font-size:12px;min-width:0;gap:7px;padding:10px 8px}.editor-analytics-buttons button[aria-pressed=true]{background:#ffffff15;border-color:#888}.editor-analytics-buttons .icon{width:18px;height:18px;flex:none}.editor-analytics{border:1px solid #ffffff18;border-radius:16px;padding:12px;margin:0 0 16px;background:#0002}.editor-analytics-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.editor-analytics-heading strong{font-size:14px}.editor-analytics-heading button{min-height:44px}.editor-analytics .market-offers{display:block}.editor-analytics .offer-market{width:auto;flex-direction:row;justify-content:flex-start;padding:0;margin-bottom:12px}.editor-analytics .offer-market small{margin-left:auto}.editor-analytics .sales-table{font-size:12px}.editor-analytics .analytics-markets{width:100%}.editor-analytics .analytics-markets button{flex:1 1 auto}.editor-analytics .analytics-sorts{margin-left:auto}
@media(max-width:420px){.analytics-markets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.analytics-markets button:last-child{grid-column:span 2}.editor-analytics{padding:10px}.editor-analytics-buttons button{flex-direction:column;font-size:12px;line-height:1.35;min-height:64px}.editor-analytics .analytics-sorts{width:100%}}
@media(max-width:760px){.analytics-attributes{grid-template-columns:1fr;gap:0}.analytics-attributes .attribute-selector{flex-direction:row;align-items:center;padding:8px 0;border-top:1px solid #ffffff12}.analytics-attributes .attribute-selector>span{width:65px;flex:none}.analytics-attributes .choice-control{width:auto}}
