/* A focused document workspace; solid surfaces, no backdrop blur. */
.luxe-ui #history{margin-top:32px;scroll-margin-top:100px}.luxe-ui .history-workspace-head{padding:18px 0 22px;display:flex;justify-content:space-between;align-items:center;border:0;background:transparent;gap:18px}.history-workspace-head .eyebrow{color:#718097;font-size:10px;letter-spacing:.12em}.luxe-ui .history-workspace-head h2{font-size:27px;letter-spacing:-.045em;color:#202936;margin-top:5px}.history-workspace-head h2>span{font-size:13px;color:#718097;font-weight:500}.history-workspace-head p{font-size:13px;color:#64748b;line-height:1.6;margin-top:7px}.history-workspace-head>div:last-child{display:flex;gap:8px;flex-shrink:0}.history-workspace{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;align-items:start}#historyCards{min-width:0}#historyRail{background:#edf0f5;border:1px solid #dfe4ec;border-radius:17px;padding:8px;position:sticky;top:100px;max-height:72vh;overflow:auto;scrollbar-width:thin}.history-rail-row{display:flex;border-radius:11px;align-items:center;margin:3px 0;gap:2px;border:1px solid transparent;transition:background .18s,border-color .18s}.history-rail-row.is-selected{background:#fff;border-color:#dfe5ef;box-shadow:0 2px 5px #23375507}.history-rail-row>button:first-child{display:flex;align-items:center;gap:9px;flex:1;min-width:0;text-align:left;background:none;padding:12px 6px;color:#34465f;min-height:64px}.history-rail-row>button:last-child{background:transparent;color:#79889c;font-size:20px;min-width:32px;min-height:44px;border-radius:8px}.history-rail-row>button:last-child:hover{background:#e3e9f2;color:#304966}.history-rail-icon{display:grid;place-items:center;width:30px;height:34px;border:1px solid #dfe6f1;border-radius:8px;background:#f5f8fc;flex:none;color:#6b7d97}.is-selected .history-rail-icon{background:#edf5ff;color:#0071e3;border-color:#d1e4ff}.history-rail-icon svg{width:16px;height:16px}.history-rail-row b{font-size:13px;line-height:1.45;font-weight:600;display:block;overflow-wrap:anywhere}.history-rail-row small{font-size:10px;line-height:1.5;color:#718097;display:block;margin-top:4px}.history-rail-row>button>span:last-child{min-width:0}.luxe-ui .history-card.is-current{border:1px solid #dce2ec;border-radius:20px;background:#fff;box-shadow:0 8px 30px #263e6505;overflow:hidden;animation:document-in .24s ease-out}.luxe-ui .history-card>.block-head{padding:26px 28px 20px;gap:20px;align-items:flex-start;background:#fff;border:0}.luxe-ui .compact-home .history-card .history-title h2{font-size:32px;line-height:1.14;letter-spacing:-.045em;font-weight:650;color:#202a3a;margin-top:7px;overflow-wrap:anywhere}.luxe-ui .history-title .eyebrow{font-size:11px;letter-spacing:.03em;color:#73849b}.history-actions{display:flex;align-items:center;gap:8px;flex:none}.history-actions>.btn{font-size:12px;min-height:40px}.history-actions>.btn:last-child{width:36px;min-width:36px;padding:7px;color:#6e819b;background:#f3f5f9;border:1px solid #e5eaf2;border-radius:50%}.history-actions>.btn:last-child svg{width:17px;height:17px}.detail-section-nav{display:flex;gap:4px;padding:0 28px 16px;border-bottom:1px solid #ebedf3}.detail-section-nav button{background:#f4f6fa;color:#536781;border:1px solid #e6ebf3;border-radius:9px;min-height:36px;font-size:12px;font-weight:550;padding:0 16px;transition:background .16s,color .16s}.detail-section-nav button:hover{color:#0066cc;background:#edf5ff}.luxe-ui .history-body{padding:26px 28px 30px}.luxe-ui .detail-layout{display:block;gap:0}.luxe-ui .detail-summary{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:28px;align-items:start;scroll-margin-top:100px}.luxe-ui .detail-summary-copy{min-width:0}.luxe-ui .detail-summary>.record-gallery{grid-column:auto;margin:0;max-width:none}.luxe-ui .gallery-stage{aspect-ratio:16/11;border:1px solid #e9edf4;background:#f5f7fa;border-radius:14px}.luxe-ui .gallery-placeholder .gallery-stage{aspect-ratio:4/3;max-height:300px}.luxe-ui .gallery-placeholder .photo-empty{background:#f1f5fa;color:#a4b3c9}.luxe-ui .gallery-placeholder-label{background:#f8fafc;color:#8290a5;font-size:10px;padding:5px 8px;border-radius:6px}.luxe-ui .detail-meta{font-size:11px;color:#64748b}.luxe-ui .detail-location{font-size:13px;line-height:1.5;color:#5e718d;margin-top:12px}.luxe-ui .detail-description,.luxe-ui .detail-full-description>div{font-size:16px;line-height:1.7;color:#3d4c62;max-width:70ch}.luxe-ui .detail-description{margin-top:12px}.luxe-ui .detail-full-description{border-top:1px solid #edf0f5;margin-top:14px;padding-top:6px}.luxe-ui .detail-full-description summary{font-size:12px;min-height:38px;color:#0066cc}.luxe-ui .detail-facts{display:flex;gap:26px;flex-wrap:wrap;padding:15px 0 0;margin-top:15px;border-top:1px solid #edf0f5}.luxe-ui .detail-facts small{font-size:11px;color:#72839a}.luxe-ui .detail-facts b{font-size:26px;font-weight:600;letter-spacing:-.035em;color:#2e415c}.luxe-ui .detail-tastes span{border:1px solid #e2e8f2;background:#f6f8fc;border-radius:7px;font-size:11px;color:#5e718c}.detail-provenance{margin:12px 0;color:#64748b;font-size:12px;line-height:1.6}.detail-provenance>summary{cursor:pointer;min-height:36px;display:flex;align-items:center;gap:8px}.detail-provenance>summary:before{content:'↗';font-size:14px;color:#6486b7}.detail-provenance[open]>summary{color:#0066cc}.detail-provenance .coordinate-note{font-size:12px;line-height:1.6;padding:12px;margin:6px 0;border-radius:10px}.detail-provenance .source-links{font-size:11px;gap:10px}.luxe-ui .detail-assortment{padding:26px 0 0;margin-top:26px;border-top:1px solid #e9edf4;scroll-margin-top:100px}.luxe-ui .detail-assortment>header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}.luxe-ui .detail-assortment h3,.luxe-ui .detail-reviews>header h3{font-size:21px;font-weight:600;letter-spacing:-.035em;color:#27374f}.luxe-ui .detail-assortment label{font-size:11px;display:grid;gap:5px;color:#6b7d95}.luxe-ui .detail-assortment select{font-size:12px;min-height:38px;border-radius:9px;background:#f5f7fb;border:1px solid #dfe6f0;color:#49607f;padding:7px 10px}.luxe-ui .detail-related-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}.luxe-ui .detail-related-drink{min-height:98px;padding:12px;border-radius:12px;background:#fbfcfe;border:1px solid #e3e9f2;transition:background .18s,border-color .18s,transform .18s}.luxe-ui .detail-related-drink:hover{background:#f2f7ff;border-color:#c2d8f7;transform:translateY(-2px)}.luxe-ui .detail-related-drink b{font-size:14px;line-height:1.5;color:#324761;font-weight:550}.luxe-ui .detail-related-drink small{font-size:11px;color:#74859c}.luxe-ui .detail-producer-link{margin-top:26px;padding:17px;border-radius:13px;background:#f6f9fe;border:1px solid #dfe8f6}.luxe-ui .detail-actions{margin-top:18px;gap:10px}.luxe-ui .detail-actions>.btn{font-size:12px}.luxe-ui .detail-reviews{border:0;border-top:1px solid #e8edf4;padding:26px 0 0;margin:28px 0 0;scroll-margin-top:100px;max-height:none;overflow:visible}.luxe-ui .detail-reviews>header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.luxe-ui .detail-reviews>header>.btn{font-size:12px}.luxe-ui .detail-review-note{font-size:12px;line-height:1.6;color:#7a889c;margin-top:10px}.luxe-ui .detail-review-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.luxe-ui .detail-review{padding:18px;border:1px solid #e4eaf3;border-radius:13px;background:#fbfcfe}.luxe-ui .detail-review>p{font-size:14px;line-height:1.7;color:#455771}.luxe-ui .detail-review header b{font-size:13px;color:#354e70}.luxe-ui .detail-review header small{font-size:10px;color:#7c8da5}.detail-review .member-avatar{width:36px;height:36px}.luxe-ui .detail-review-list>.empty{grid-column:1/-1;min-height:130px;background:#f9fbfd;border-radius:13px;padding:24px}.history-cleared{padding:40px;border:1px dashed #d1dce9;border-radius:17px;color:#5b6e87;background:#fafcff}.history-cleared h3{font-size:21px}.history-cleared p{font-size:14px;margin-top:10px;line-height:1.6}.admin-catalog-filters{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:14px;padding:18px;background:#f4f7fb;border:1px solid #e2e8f2;border-radius:14px;margin-bottom:20px}.admin-catalog-filters label{display:grid;gap:7px;font-size:12px;color:#61758f}.admin-catalog-filters select,.admin-catalog-filters input{min-height:42px;padding:8px 12px;border:1px solid #d9e2ef;background:#fff;border-radius:9px;color:#354e70;font-size:14px;width:100%;min-width:0}.admin-updated{display:block!important;color:#71849e!important;font-size:11px!important;margin-top:9px}.admin-catalog:empty:after{content:'Нет карточек по выбранным условиям';display:block;padding:30px;color:#72849b;font-size:15px}@keyframes document-in{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}@media(min-width:768px) and (max-width:1150px){.history-workspace{grid-template-columns:200px minmax(0,1fr);gap:14px}.luxe-ui .detail-summary{grid-template-columns:1fr}.luxe-ui .detail-summary>.record-gallery{max-width:460px}.luxe-ui .history-card>.block-head{flex-wrap:wrap}.luxe-ui .detail-review-list{grid-template-columns:1fr}}
@media(max-width:767px){.luxe-ui #history{margin-top:24px;scroll-margin-top:180px}.luxe-ui .history-workspace-head{padding:12px 0 16px;display:block}.luxe-ui .history-workspace-head h2{font-size:24px}.history-workspace-head p{font-size:12px}.history-workspace-head>div:last-child{margin-top:12px}.history-workspace{display:block}#historyRail{position:static;display:flex;gap:7px;overflow-x:auto;max-height:none;padding:7px;border-radius:13px;margin-bottom:14px;scroll-snap-type:x proximity}.history-rail-row{flex:0 0 230px;margin:0;scroll-snap-align:start}.history-rail-row>button:first-child{min-height:60px;padding:9px 5px}.history-rail-row>button:last-child{min-width:36px}.history-rail-row b{font-size:12px}.history-rail-row small{font-size:10px}.luxe-ui .history-card>.block-head{padding:20px 18px 16px;display:block}.luxe-ui .compact-home .history-card .history-title h2{font-size:27px;line-height:1.18}.history-actions{margin-top:16px;justify-content:space-between}.history-actions>.btn{min-height:44px;font-size:12px}.detail-section-nav{padding:0 18px 14px;gap:6px}.detail-section-nav button{flex:1;min-height:44px;font-size:12px;padding:0 10px}.luxe-ui .history-body{padding:18px}.luxe-ui .detail-summary{display:flex;flex-direction:column;gap:18px;scroll-margin-top:185px}.luxe-ui .detail-summary>.record-gallery{width:100%;max-width:none}.luxe-ui .gallery-stage{aspect-ratio:16/10}.luxe-ui .gallery-placeholder .gallery-stage{aspect-ratio:16/10;max-height:250px}.luxe-ui .detail-description,.luxe-ui .detail-full-description>div{font-size:16px;line-height:1.65}.luxe-ui .detail-full-description summary{min-height:44px;font-size:13px}.detail-provenance>summary{min-height:44px}.luxe-ui .detail-assortment,.luxe-ui .detail-reviews{scroll-margin-top:185px;margin-top:22px;padding-top:22px}.luxe-ui .detail-related-grid{grid-template-columns:1fr}.luxe-ui .detail-related-drink{min-height:100px}.luxe-ui .detail-reviews>header h3,.luxe-ui .detail-assortment h3{font-size:21px}.luxe-ui .detail-review-list{grid-template-columns:1fr}.luxe-ui .detail-reviews>header>.btn{width:100%;min-height:44px}.admin-catalog-filters{grid-template-columns:1fr;padding:14px}.admin-catalog-filters input,.admin-catalog-filters select{font-size:16px;min-height:44px}.history-cleared{padding:24px}.luxe-ui .history-card.is-current{border-radius:17px}}
@media(prefers-reduced-motion:reduce){.luxe-ui .history-card.is-current{animation:none}.history-rail-row,.detail-section-nav button,.luxe-ui .detail-related-drink{transition:none}.luxe-ui .detail-related-drink:hover{transform:none}}
.luxe-ui .history-card{scroll-margin-top:104px}@media(max-width:767px){.luxe-ui .history-card{scroll-margin-top:185px}}
/* The document already has header scroll-padding; do not count it twice. */
.luxe-ui #history,.luxe-ui .history-card,.luxe-ui .detail-summary,.luxe-ui .detail-assortment,.luxe-ui .detail-reviews{scroll-margin-top:16px}.luxe-ui .history-card .history-actions [data-remove]{border-radius:50%;width:38px;min-width:38px;height:38px;min-height:38px;background:#f3f5f9;color:#7a8aa1;border:1px solid #e2e8f1}.luxe-ui .detail-facts:empty{display:none}.luxe-ui .history-card[data-record-kind=production] .gallery-placeholder .gallery-stage{aspect-ratio:16/9;max-height:220px}@media(max-width:767px){.luxe-ui .history-card .history-actions{display:flex;justify-content:space-between;width:100%}.luxe-ui .history-card .history-actions [data-remove]{width:44px;min-width:44px;height:44px;min-height:44px}}
