.tamga-guide .ann-content{display:flex;flex:1;min-height:0;flex-direction:column}
.tamga-guide .ann-main,.tamga-guide .ann-article{min-width:0}
.guide-paragraph{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}
.guide-table-section{margin:20px 0}.guide-table-description{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.guide-table-scroll,.guide-editor-grid-scroll{overflow:auto;max-width:100%;overscroll-behavior:contain;border:1px solid #b99a5055;border-radius:6px}
.guide-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}
.guide-table th,.guide-table td{padding:9px 12px;min-width:100px;max-width:360px;overflow-wrap:anywhere;white-space:pre-wrap;border-bottom:1px solid #b99a5033;vertical-align:top}
.guide-table thead th{background:#b99a501a;color:#e9d79a}.guide-table tbody tr:nth-child(even){background:#ffffff05}.guide-table tbody th{font-weight:600}
.guide-table-hint{margin:5px 0;font-size:11px;opacity:.65}
.tamga-admin-guide,.tamga-admin-guide *{box-sizing:border-box}
.tamga-admin-guide{margin:auto;padding:0;width:min(1220px,calc(100vw - 24px));height:min(900px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);border:1px solid var(--crm-line,#cbd5e1);border-radius:8px;background:var(--crm-surface,#fff);color:var(--crm-text,#1e293b);font:14px/1.5 system-ui,sans-serif;overflow:hidden;box-shadow:0 24px 70px #0006}
.tamga-admin-guide[open]{display:flex;flex-direction:column}.tamga-admin-guide:not([open]){display:none}.tamga-admin-guide::backdrop{background:#0c142c99}.tamga-admin-guide [hidden]{display:none!important}
.guide-editor-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;flex:none;border-bottom:1px solid var(--crm-line,#cbd5e1)}.guide-editor-header h2{margin:0;font-size:19px}
.guide-editor-layout{display:grid;grid-template-columns:230px minmax(0,1fr);flex:1;min-height:0;overflow:hidden}
.guide-editor-layout aside{padding:12px;background:var(--crm-soft,#f2f5f8);border-right:1px solid var(--crm-line,#cbd5e1);overflow:auto;min-height:0}.guide-editor-head{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:10px}.guide-editor-head h3{margin:0;font-size:14px}
[data-admin-guide-list]{display:grid;gap:6px}.tamga-admin-guide [data-guide-id]{display:grid;text-align:left;gap:3px;width:100%;overflow-wrap:anywhere}.tamga-admin-guide [data-guide-id] small{color:var(--crm-muted,#64748b);font-size:11px}
:root[data-tamga-admin-entry="1"] dialog.tamga-admin-guide [data-guide-id][aria-current=true]{background:var(--crm-accent-soft)!important;border-color:var(--crm-active-line)!important;color:var(--crm-active-text)!important}
.guide-editor-layout form{padding:14px 16px;display:flex;flex-direction:column;gap:12px;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain}
.tamga-admin-guide label{display:grid;gap:5px;font-weight:600}.tamga-admin-guide input,.tamga-admin-guide textarea,.tamga-admin-guide select{padding:7px 9px;min-width:0;max-width:100%;width:100%;border:1px solid var(--crm-line,#cbd5e1);border-radius:5px;background:var(--crm-surface,#fff);color:inherit;font:inherit}
.tamga-admin-guide textarea{resize:vertical;min-height:60px;white-space:pre-wrap}.tamga-admin-guide button{padding:6px 9px;border:1px solid var(--crm-line,#cbd5e1);border-radius:5px;background:var(--crm-surface,#fff);color:inherit;font:inherit;cursor:pointer}.tamga-admin-guide button:disabled{opacity:.45;cursor:default}.tamga-admin-guide :focus-visible{outline:2px solid var(--crm-accent,#2563eb);outline-offset:2px}
.guide-editor-options,.guide-editor-actions,.guide-add-blocks,.guide-block-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.guide-editor-options>label:first-child{width:100px}.tamga-admin-guide .guide-publish{display:flex;align-items:center;gap:8px}.tamga-admin-guide input[type=checkbox]{width:18px;height:18px}.guide-add-blocks select{width:220px}
[data-guide-blocks]{display:grid;gap:12px}.guide-editor-block{padding:12px;border:1px solid var(--crm-line,#cbd5e1);border-radius:6px;display:grid;gap:10px;min-width:0}
.guide-block-bar{display:flex;gap:5px;align-items:center}.guide-block-bar strong{margin-right:auto}.guide-editor-hint{margin:0;font-size:12px;color:var(--crm-muted,#64748b);overflow-wrap:anywhere}
.guide-editor-grid{border-collapse:collapse;table-layout:fixed;min-width:100%}.guide-editor-grid td,.guide-editor-grid th{padding:3px;border:1px solid var(--crm-line,#cbd5e1);vertical-align:top;min-width:155px;width:155px}.guide-editor-grid textarea{width:150px;min-height:58px!important;border:none;border-radius:0;padding:5px;resize:vertical}.guide-editor-grid th{background:var(--crm-soft,#f2f5f8);font-weight:600}.guide-editor-grid .guide-grid-row-action{min-width:35px;width:35px}.guide-editor-grid th>button{float:right;padding:0 6px}
:root[data-tamga-admin-entry="1"] dialog.tamga-admin-guide [type=submit]{background:var(--crm-accent)!important;color:white!important}.tamga-admin-guide [data-guide-delete]{color:var(--crm-danger,#b91c1c)}
[data-guide-message]{flex:none;margin:0;padding:8px 16px;min-height:36px;border-top:1px solid var(--crm-line,#cbd5e1);font-size:12px;overflow-wrap:anywhere}
[data-guide-preview-content]{border-top:1px solid var(--crm-line,#cbd5e1);padding-top:12px}.tamga-admin-guide .guide-table thead th{background:var(--crm-soft,#f2f5f8);color:inherit}.tamga-admin-guide .guide-table-scroll{border-color:var(--crm-line,#cbd5e1)}
@media(max-width:768px){.guide-editor-layout{grid-template-columns:1fr;grid-template-rows:minmax(90px,150px) minmax(0,1fr)}.guide-editor-layout aside{border-right:0;border-bottom:1px solid var(--crm-line,#cbd5e1)}.guide-editor-layout form{padding:12px}.tamga-admin-guide input,.tamga-admin-guide textarea,.tamga-admin-guide select{font-size:16px}.guide-editor-header{padding:10px 12px}.guide-editor-block{padding:9px}.guide-block-bar{flex-wrap:wrap}.guide-table th,.guide-table td{padding:8px;min-width:95px}}

.tamga-guide-open{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.tamga-guide-open svg{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.guide-offers,.guide-offers *{box-sizing:border-box}
.guide-offers{margin:22px 0;color:#e2dfd2;min-width:0}
.guide-offers .guide-offers-heading{margin-bottom:12px}
.guide-offers .guide-offers-heading h4{margin:0 0 5px;color:#ead397;font-size:16px;line-height:1.4}
.guide-offers .guide-offers-heading p{margin:0;color:#a9b6a7;font-size:12px;line-height:1.65;text-align:left;max-width:none}
.guide-offers .guide-offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.guide-offers .guide-offer{display:flex;flex-direction:column;gap:12px;min-width:0;padding:13px 14px;border:1px solid #bba35c3a;border-radius:4px;background:#0b2018}
.guide-offers .guide-offer-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.guide-offers .guide-offer h5{margin:0;color:#f1e7c9;font-family:inherit;font-size:14px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.guide-offers .guide-offer-campaign{padding:3px 6px;border:1px solid #ee79675c;background:#852f2b;color:#fff2df;font-size:10px;font-weight:700;line-height:1.3;white-space:nowrap;border-radius:2px}
.guide-offers .guide-offer-resources{display:flex;align-items:center;gap:10px;min-height:40px;color:#b9c3b1;font-size:11px;line-height:1.7}
.guide-offers .guide-offer-icons{display:grid;grid-template-columns:repeat(4,19px);gap:1px;flex:0 0 79px;align-content:center;min-height:39px}
.guide-offers img{min-height:0;min-width:0;order:0}
.guide-offers .guide-offer-icons img{display:block;width:19px;height:19px;object-fit:contain}
.guide-offers .guide-offer-details{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;border-top:1px solid #cbb66a22;padding-top:10px;margin-top:auto}
.guide-offers .guide-offer-effect{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;min-width:0}
.guide-offers .guide-offer-effect strong{color:#a6dc9c;font-size:19px;line-height:1.2;font-variant-numeric:tabular-nums}
.guide-offers .guide-offer-effect span{color:#a8b5a8;font-size:11px;line-height:1.4}
.guide-offers .guide-offer-price{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap;flex-shrink:0;max-width:55%;color:#f2d389;font-size:12px;font-variant-numeric:tabular-nums}
.guide-offers .guide-offer-price img{width:18px;height:18px;object-fit:contain;flex-shrink:0}
.guide-offers .guide-offer-price strong{font-weight:700;white-space:nowrap}
.guide-offers .guide-offer-price del{color:#b39d83;font-size:10px;white-space:nowrap}
.guide-offers .guide-offer--campaign{border-color:#b65e4e66}
.guide-offers .guide-offer-empty{grid-column:1/-1;margin:0;padding:14px;color:#a8b5a8;font-size:12px;background:#0b2018;border:1px solid #bba35c3a}
.guide-offers .guide-offer--speedup{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;padding:12px}
.guide-offers .guide-offer-main{display:flex;align-items:center;gap:9px;min-width:0}
.guide-offers .guide-speedup-symbol{display:grid;place-items:center;width:30px;height:30px;flex:none;background:#a5cb7620;border:1px solid #a5cb7630;color:#d5e7a0;font-size:22px}
.guide-offers .guide-offer-main p{margin:4px 0 0;color:#b3beb0;font-size:11px;line-height:1.45}
.tamga-admin-guide .guide-offers{color:var(--crm-text,#1e293b)}
.tamga-admin-guide .guide-offers .guide-offer{background:var(--crm-soft,#f2f5f8);border-color:var(--crm-line,#cbd5e1)}
.tamga-admin-guide .guide-offers h4,.tamga-admin-guide .guide-offers h5{color:inherit}
.tamga-admin-guide .guide-offers p,.tamga-admin-guide .guide-offers .guide-offer-resources,.tamga-admin-guide .guide-offers .guide-offer-effect span{color:var(--crm-muted,#64748b)}
.tamga-admin-guide .guide-offers .guide-offer-price{color:var(--crm-accent,#2563eb)}
.tamga-admin-guide .guide-offers .guide-offer-effect strong{color:var(--crm-success,#166534)}
@media(max-width:650px){.guide-offers .guide-offer-grid{grid-template-columns:minmax(0,1fr)}.guide-offers .guide-offer{padding:12px;gap:10px}.guide-offers .guide-offers-heading h4{font-size:15px}.guide-offers .guide-offer-effect strong{font-size:18px}.guide-offers .guide-offer--speedup{padding:11px}.guide-offers .guide-offer--speedup .guide-offer-price{font-size:11px;max-width:40%}.guide-offers .guide-offer--speedup h5{font-size:13px}}
