.ahs-page{position:relative;isolation:isolate;overflow:visible;width:100%;max-width:none}
.ahs-page::before{content:"";position:absolute;top:-48px;bottom:-72px;left:50%;z-index:-1;width:100vw;margin-left:-50vw;pointer-events:none;background:#F6F7F9}
.ahs-wrap{--ahs-blue:#0055ff;--ahs-blue-dark:#0043cc;--ahs-blue-soft:#eef3ff;--ahs-line:#e6e9f0;--ahs-muted:#667085;max-width:1106px;margin:0 auto;padding:16px 16px 20px;font-family:inherit;box-sizing:border-box;position:relative;z-index:1}
.ahs-wrap *,.ahs-wrap *::before,.ahs-wrap *::after{box-sizing:border-box;text-transform:none;letter-spacing:normal}
.ahs-page-head{text-align:center;margin-bottom:16px}
.ahs-title{font-size:44px;font-weight:800;margin:0 0 8px;letter-spacing:-.035em;line-height:1.12;background:none;-webkit-text-fill-color:#111;color:#111;overflow-wrap:anywhere}
.ahs-title::after{content:"";display:block;width:56px;height:3px;margin:8px auto 0;border-radius:99px;background:#111}
.ahs-wrap .ahs-subtitle{color:#111;margin:0 auto;font-size:16px;font-weight:400;line-height:1.5;max-width:40em;overflow-wrap:anywhere}
.ahs-layout{display:grid;grid-template-columns:450px 600px;gap:24px;justify-content:center;align-items:stretch}
@media (max-width:1140px){.ahs-layout{grid-template-columns:minmax(0,1fr)}}
.ahs-panel{background:#fff;border:1px solid #e8eef9;border-radius:18px;padding:12px;box-shadow:0 8px 28px rgba(47,107,255,.06)}
.ahs-panel-left{display:flex;flex-direction:column;gap:6px;overflow:visible;height:100%}
.ahs-panel-right{width:600px;max-width:100%;display:flex;flex-direction:column;padding:10px 14px 12px;overflow:hidden;height:100%}
@media (max-width:1140px){.ahs-panel-right{width:100%;overflow:visible}}
.ahs-field{display:flex;flex-direction:column;min-height:0}
.ahs-source-preview{position:relative;overflow:hidden;border:1px solid #e8eef9;border-radius:14px;background:#eef1f6;height:112px;display:flex;align-items:center;justify-content:center}
.ahs-source-preview img{display:block;max-width:100%;max-height:112px;object-fit:contain}
.ahs-add-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;min-height:112px;padding:8px 12px;border:2px dashed #6b86c9;border-radius:12px;background:#f5f8ff;color:#6b7a90;cursor:pointer;font:inherit;text-align:center}
.ahs-add-tile:hover{border-color:var(--ahs-blue);background:#eaf0ff;color:var(--ahs-blue)}
.ahs-add-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:#fff;border:1px solid #dce6f7;color:#2f6bff}
.ahs-add-text{font-size:13px;font-weight:650;color:#344054}
.ahs-add-hint{font-size:11px;color:#475467}
.ahs-wrap .ahs-thumb-remove{position:absolute;top:8px;right:8px;z-index:2;display:flex!important;align-items:center;justify-content:center;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:rgba(16,24,40,.72)!important;color:#fff!important;cursor:pointer;line-height:0;box-shadow:none!important}
.ahs-wrap .ahs-thumb-remove svg{display:block;width:12px;height:12px;stroke:#fff}
.ahs-wrap .ahs-thumb-remove:hover{background:rgba(16,24,40,.9)!important}
.ahs-style-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 4px}
.ahs-style-chip{display:flex;flex-direction:column;align-items:center;gap:3px;width:100%;margin:0;padding:2px;border:0;border-radius:12px;background:transparent;color:#344054;font:inherit;font-size:12px;font-weight:650;cursor:pointer;text-align:center}
.ahs-style-chip img{width:100%;height:118px;object-fit:cover;object-position:center top;border-radius:10px;border:2px solid transparent;background:#eef1f6}
.ahs-style-chip span{line-height:1.25;overflow-wrap:anywhere}
.ahs-style-chip:hover img,.ahs-style-chip:hover{color:var(--ahs-blue)}
.ahs-style-chip.is-active{color:var(--ahs-blue)}
.ahs-style-chip.is-active img{border-color:var(--ahs-blue);box-shadow:0 0 0 3px rgba(0,85,255,.12)}
.ahs-style-chip:not(:has(img)){min-height:36px;border:1px solid #e4ebf8;background:#fff;border-radius:10px;padding:8px 6px}
.ahs-style-chip:not(:has(img)).is-active{border-color:var(--ahs-blue);background:var(--ahs-blue-soft)}
.ahs-note{width:100%;margin-top:4px;border:1px solid #e4ebf8;border-radius:12px;padding:6px 12px;font-size:14px;font-family:inherit;background:#f8faff;color:#111;resize:vertical;min-height:52px;line-height:1.45}
.ahs-note:focus{outline:none;border-color:var(--ahs-blue);box-shadow:0 0 0 3px rgba(0,85,255,.12)}
.ahs-setting-label{font-size:12px;font-weight:600;color:#475467}
.ahs-quality{margin-top:auto}
.ahs-quality-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.ahs-quality-chip{width:100%;min-height:36px;border:1px solid #e4ebf8;border-radius:12px;background:#fff;padding:6px 10px;font-size:13px;font-weight:750;color:#5b677a;cursor:pointer}
.ahs-quality-chip.is-standard{background:#f3f5f8;border-color:#d0d5dd;color:#475467}
.ahs-quality-chip.is-standard.is-active{background:#344054;border-color:#344054;color:#fff}
.ahs-quality-chip.is-premium{background:#fff7e6;border-color:#f0c14b;color:#9a6700}
.ahs-quality-chip.is-premium.is-active{background:#e08a00;border-color:#d97706;color:#fff}
.ahs-btn{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;border:1px solid var(--ahs-line);border-radius:10px;padding:9px 18px;font-size:14px;font-weight:600;background:#fff;cursor:pointer;text-decoration:none;color:#101828;overflow-wrap:anywhere;text-align:center}
.ahs-btn-primary,.ahs-btn-generate{background:var(--ahs-blue);border-color:var(--ahs-blue);color:#fff}
.ahs-btn-generate{width:100%;min-height:38px;border-radius:12px}
.ahs-btn-settings{width:100%;justify-content:flex-start;color:#344054;font-weight:650;padding:6px 12px;min-height:36px;border-radius:12px;background:#f8faff;border-color:#e4ebf8}
.ahs-settings-summary{display:inline-flex;align-items:center;gap:8px;min-width:0;flex:1}
.ahs-settings-summary-text{font-size:13px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ahs-settings-anchor{position:relative}
.ahs-btn-settings .ahs-chevron{margin-left:auto;transform:rotate(180deg)}
.ahs-btn-settings[aria-expanded="true"] .ahs-chevron{transform:rotate(0deg)}
.ahs-btn-settings[aria-expanded="true"]{border-color:var(--ahs-blue);background:var(--ahs-blue-soft);color:var(--ahs-blue)}
.ahs-settings{position:absolute;bottom:calc(100% - 6px);left:0;right:0;z-index:60;margin:0;padding:28px 10px 10px;border:1px solid #e1e7f0;border-radius:14px;background:#fff;box-shadow:0 12px 32px rgba(16,24,40,.16);display:flex;flex-direction:column;gap:6px}
.ahs-settings-head{position:absolute;top:4px;right:5px}
.ahs-settings-close{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px solid #d0d5dd;border-radius:8px;background:#fff;cursor:pointer}
.ahs-setting-row{display:flex;flex-direction:column;gap:6px;padding:6px 8px;border:1px solid #e8eef9;border-radius:9px;background:#f8faff}
.ahs-chips{display:flex;flex-wrap:wrap;gap:6px}
.ahs-chip{border:1px solid #e4ebf8;border-radius:8px;background:#fff;padding:5px 10px;font-size:12px;font-weight:600;color:#5b677a;cursor:pointer}
.ahs-chip:hover{border-color:#b3c4e8;color:var(--ahs-blue)}
.ahs-chip.is-active{border-color:var(--ahs-blue);background:var(--ahs-blue-soft);color:var(--ahs-blue)}
.ahs-chip.is-disabled,.ahs-chip:disabled{opacity:.42;cursor:not-allowed}
.ahs-chip-ratio,.ahs-chip-res,.ahs-chip-count{display:inline-flex;flex-direction:column;align-items:center;gap:3px;min-width:52px}
.ahs-chip-shape{display:inline-block;border:2px solid currentColor;border-radius:3px;opacity:.8}
.ahs-chip-text{font-size:11px;font-weight:600;line-height:1}
.ahs-chip-price{font-size:10px;font-weight:500;color:var(--ahs-muted)}
.ahs-credits-pill{display:inline-flex;align-items:center;gap:2px;background:rgba(255,255,255,.18);border-radius:999px;padding:1px 6px;font-size:11px}
.ahs-credits-pill.is-free{background:#e11d48;color:#fff;font-weight:800}
.ahs-quota-note{margin:6px 0 0;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
.ahs-quota-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.ahs-quota-balance,.ahs-quota-free{display:inline-flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:6px;max-width:100%;min-height:26px;padding:3px 8px;border-radius:999px;border:1px solid #e6e9f0;font-size:11px;font-weight:650}
.ahs-quota-text{min-width:0;overflow-wrap:anywhere}
.ahs-quota-balance{background:#fff8e8;border-color:#e8c36a}
.ahs-quota-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 6px;border-radius:999px;background:var(--ahs-blue);color:#fff;font-size:11px;font-weight:800}
.ahs-quota-balance .ahs-quota-count{background:#f6b21b;color:#101828}
.ahs-quota-free{background:#067647;border-color:#067647;color:#fff}
.ahs-quota-free .ahs-quota-count{background:rgba(255,255,255,.22)}
.ahs-quota-free.is-empty{background:#344054;border-color:#344054}
.ahs-quota-hint{display:flex;align-items:flex-start;flex-wrap:wrap;justify-content:center;gap:5px;width:100%;max-width:100%;padding:6px 10px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa;font-size:11px;color:#9a3412;overflow-wrap:anywhere;text-align:center}
.ahs-credit-coin,.ahs-quota-gift{width:13px;height:13px;flex:0 0 13px}
.ahs-status{margin-top:4px;padding:6px 10px;border-radius:10px;font-size:13px}
.ahs-status.is-error{background:#fef3f2;color:#b42318;border:1px solid #fecdca}
.ahs-status.is-ok{background:var(--ahs-blue-soft);color:var(--ahs-blue-dark);border:1px solid #c7d7ff}
.ahs-history-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.ahs-history-head h2{min-width:0;flex:1 1 auto;margin:0;font-size:18px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#111;overflow-wrap:anywhere}
.ahs-history-head h2 span{min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:#0055ff;color:#fff;font-size:12px;display:inline-flex;align-items:center;justify-content:center}
.ahs-history-note{margin:2px 0 8px;font-size:12px;color:#475467}
.ahs-view-all{flex-shrink:0;min-height:28px;padding:4px 10px;border-radius:8px;border-color:#c5d4f5;background:#eef3ff;color:#0055ff;font-size:12px;white-space:normal}
.ahs-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:0;border-radius:14px;background:#eef1f6;text-align:center;padding:24px}
.ahs-empty img{display:block;width:min(280px,72%);aspect-ratio:1;object-fit:cover;object-position:center top;border-radius:18px;box-shadow:0 12px 28px rgba(16,24,40,.12)}
.ahs-empty p{margin:0;font-size:16px;font-weight:700;color:#111}
.ahs-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ahs-shot{position:relative;margin:0;overflow:hidden;border:1px solid #e8eef9;border-radius:16px;background:#eef1f6;min-height:180px;display:flex;align-items:center;justify-content:center}
.ahs-shot img{display:block;max-width:100%;max-height:320px;object-fit:contain;cursor:zoom-in}
.ahs-shot-label{position:absolute;top:10px;left:10px;z-index:1;padding:2px 8px;border-radius:999px;background:#0055ff;color:#fff;font-size:11px;font-weight:750}
.ahs-shot-label.is-before{background:rgba(15,23,42,.82)}
.ahs-view-btn,.ahs-shot-download,.ahs-gallery-download{position:absolute;top:8px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:10px;cursor:pointer;line-height:0}
.ahs-view-btn{right:8px;background:#fffffff2;color:#182230;box-shadow:0 6px 16px rgba(16,24,40,.12)}
.ahs-shot-download,.ahs-gallery-download{right:8px;background:#0055ff;color:#fff;text-decoration:none}
.ahs-shot:has(.ahs-shot-download) .ahs-view-btn,.ahs-gallery-item .ahs-view-btn{right:44px}
.ahs-shot-delete,.ahs-gallery-delete{position:absolute;top:8px;right:8px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:10px;background:#fef3f2;color:#b42318;cursor:pointer;line-height:0}
.ahs-shot:has(.ahs-shot-delete) .ahs-shot-download,.ahs-gallery-item:has(.ahs-gallery-delete) .ahs-gallery-download{right:44px}
.ahs-shot:has(.ahs-shot-delete) .ahs-view-btn,.ahs-gallery-item:has(.ahs-gallery-delete) .ahs-view-btn{right:80px}
.ahs-shot-delete svg,.ahs-gallery-delete svg{display:block}
.ahs-view-btn svg,.ahs-shot-download svg,.ahs-gallery-download svg{display:block}
.ahs-history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.ahs-history-card{display:flex;flex-direction:column;gap:8px;padding:8px;border:1px solid #e8ecf2;border-radius:13px;background:#f8fafc}
.ahs-history-shot{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:10px;background:#eef1f6;min-height:140px}
.ahs-history-shot img{display:block;width:100%;height:160px;object-fit:contain;object-position:center top;cursor:zoom-in}
.ahs-history-bar{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ahs-history-meta{margin:0;min-width:0;font-size:11px;color:#667085;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ahs-history-actions{display:flex;gap:6px;flex-shrink:0}
.ahs-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid #0055ff;border-radius:10px;background:#0055ff;color:#fff;cursor:pointer;text-decoration:none;line-height:0}
.ahs-icon-btn.is-delete{background:#fef3f2;color:#b42318;border-color:#fecdca}
.ahs-loading{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:0;color:var(--ahs-muted);text-align:center}
.ahs-spinner{width:36px;height:36px;border:3px solid #e2e7f0;border-top-color:var(--ahs-blue);border-radius:50%;animation:ahs-spin 1s linear infinite}
@keyframes ahs-spin{to{transform:rotate(360deg)}}
.ahs-confirm-dialog{width:min(420px,92vw);border:1px solid #e4e7ec;border-radius:16px;padding:20px;background:#fff}
.ahs-confirm-dialog::backdrop,.ahs-image-dialog::backdrop,.ahs-gallery-dialog::backdrop,.ahs-credits-dialog::backdrop{background:#101828b3}
.ahs-confirm-title{margin:0 0 16px;font-size:15px;color:#101828}
.ahs-confirm-actions{display:flex;justify-content:flex-end;gap:8px}
.ahs-btn-danger{background:#d92d20;border-color:#d92d20;color:#fff}
.ahs-image-dialog,.ahs-gallery-dialog{width:min(1100px,94vw);max-height:92vh;border:1px solid #e4e7ec;border-radius:16px;padding:44px 16px 16px;background:#fff;position:relative}
.ahs-credits-dialog{position:relative;width:min(360px,92vw);margin:auto;padding:48px 22px 22px;border:1px solid #e4e7ec;border-radius:16px;background:#fff;text-align:center}
.ahs-credits-dialog-text{margin:0 0 18px;color:#182230;font-size:16px;font-weight:700;overflow-wrap:anywhere}
.ahs-credits-buy{width:100%;min-height:42px;border-radius:999px;background:#0055ff;border-color:#0055ff;color:#fff}
.ahs-wrap .ahs-preview-close,.ahs-wrap .ahs-preview-download{position:absolute;top:10px;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid #d0d5dd;border-radius:8px;background:#fff;cursor:pointer;line-height:0}
.ahs-wrap .ahs-preview-close{right:10px}
.ahs-wrap .ahs-preview-download{right:50px;border-color:#0055ff;background:#0055ff;color:#fff}
.ahs-wrap .ahs-gallery-dialog{width:min(880px,94vw);box-sizing:border-box;padding:16px;margin:auto}
.ahs-wrap .ahs-gallery-dialog .ahs-preview-close{position:static;min-height:32px;margin:0;flex:none}
.ahs-gallery-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.ahs-gallery-tools #ahs-delete-selected{min-height:36px;margin:0;padding:6px 12px;border-color:#f4b4ae;border-radius:8px;background:#fff5f4;color:#a51e15;font-size:13px;line-height:1.35;letter-spacing:normal;text-transform:none}
.ahs-gallery-tools #ahs-delete-selected:hover:not(:disabled){background:#ffe4e1}
.ahs-gallery-tools #ahs-delete-selected:disabled{opacity:.5;cursor:default}
html[data-br-theme="dark"] .ahs-gallery-tools #ahs-delete-selected{background:#3a1d1a;border-color:#80443d;color:#fda29b}
html[data-br-theme="dark"] .ahs-gallery-tools #ahs-delete-selected:hover:not(:disabled){background:#502520}
.ahs-gallery-tools label{display:inline-flex;align-items:center;gap:6px;margin:0;color:inherit}
.ahs-gallery-tools input[type=checkbox],.ahs-gallery-item input[type=checkbox]{width:20px;height:20px;margin:0;accent-color:#315db7;cursor:pointer}
.ahs-gallery-item input[type=checkbox]{align-self:center;margin-inline-start:8px}
.ahs-gallery-item:has(input:checked){border-color:#5274c6}
.ahs-gallery-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.ahs-image-dialog img{display:block;max-width:100%;max-height:78vh;margin:auto}
.ahs-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,142px),1fr));gap:10px}
.ahs-gallery-item{display:grid;grid-template-columns:minmax(24px,1fr) repeat(3,auto);align-items:center;gap:4px;position:relative;margin:0;padding-bottom:4px;border:1px solid #e8eef9;border-radius:12px;background:#eef1f6;overflow:hidden}
.ahs-gallery-item img{grid-column:1/-1;display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;cursor:zoom-in}
.ahs-gallery-item :is(.ahs-view-btn,.ahs-gallery-download,.ahs-gallery-delete){position:static;width:30px;height:30px;min-height:30px;margin:0;border-radius:8px}
.ahs-gallery-item .ahs-gallery-delete{margin-inline-end:4px}
.ahs-intro{margin:36px auto 12px}
.ahs-intro-block{margin:0 0 28px;padding:30px 28px 26px;background:#fff;border:1px solid #e8eef9;border-radius:22px;box-shadow:0 10px 30px rgba(47,107,255,.05)}
.ahs-intro-block h2{margin:0 0 16px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;text-align:center;font-size:26px;font-weight:800;line-height:1.25;letter-spacing:-.02em;color:#111;overflow-wrap:anywhere}
.ahs-intro-block h2::after{content:"";display:block;width:44px;height:3px;margin:12px auto 0;border-radius:99px;background:#111;flex-basis:100%}
.ahs-intro-title-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;border-radius:12px;background:#eef3ff;color:#0055ff}
.ahs-intro-mark{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin-bottom:14px;border-radius:14px;background:#0055ff;color:#fff}
.ahs-intro-lead,.ahs-intro-steps p,.ahs-intro-faq p,.ahs-intro-features p{margin:0;color:#475467;line-height:1.7}
.ahs-intro-lead{text-align:center;max-width:42em;margin:0 auto 16px}
.ahs-intro-mosaic{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:22px}
.ahs-intro-mosaic figure{margin:0}
.ahs-intro-mosaic img{display:block;width:100%;height:132px;object-fit:cover;object-position:center top;border-radius:14px;background:#eef1f6}
.ahs-intro-mosaic figcaption{margin-top:6px;text-align:center;font-size:12px;font-weight:700;color:#111;overflow-wrap:anywhere}
.ahs-intro-split{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:28px;align-items:center}
.ahs-intro-split-copy h2{display:block;text-align:left;font-size:28px;line-height:1.22;font-weight:800;overflow-wrap:anywhere}
.ahs-intro-split-copy h2::after{margin-left:0;margin-right:0;flex-basis:auto}
.ahs-intro-split-copy p{margin:0 0 12px;color:#475467;font-size:15.5px;line-height:1.75}
.ahs-intro-split-copy p:last-child{margin-bottom:0}
.ahs-intro-split-media{margin:0;overflow:hidden;border-radius:18px;background:#eef1f6}
.ahs-intro-split-media img{display:block;width:100%;height:320px;object-fit:cover;object-position:center}
.ahs-intro-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ahs-intro-pair figure{margin:0}
.ahs-intro-pair img{display:block;width:100%;height:280px;object-fit:cover;object-position:center top;border-radius:16px;background:#eef1f6}
.ahs-intro-features,.ahs-intro-steps,.ahs-intro-faq,.ahs-intro-uses{display:grid;gap:16px}
.ahs-intro-features,.ahs-intro-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
.ahs-intro-uses{grid-template-columns:repeat(2,minmax(0,1fr))}
.ahs-intro-faq{grid-template-columns:repeat(2,minmax(0,1fr))}
.ahs-intro-features article,.ahs-intro-steps article,.ahs-intro-faq article,.ahs-intro-uses article{padding:16px;border:1px solid #e8eef9;border-radius:18px;background:#fbfcff}
.ahs-intro-features article:hover,.ahs-intro-steps article:hover,.ahs-intro-faq article:hover,.ahs-intro-uses article:hover{border-color:#d4e0ff}
.ahs-intro-features img,.ahs-intro-steps article > img{display:block;width:100%;height:auto;border-radius:12px;background:#eef1f6;margin-bottom:12px}
.ahs-intro-card-icon,.ahs-intro-faq-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:11px;background:#fff;color:#0055ff;box-shadow:0 0 0 1px #dce6f7}
.ahs-intro-card-icon{margin-bottom:2px}
.ahs-intro-faq article{display:flex;align-items:flex-start;gap:14px}
.ahs-intro-faq article > div{min-width:0}
.ahs-intro-faq-icon{flex-shrink:0;margin-top:1px}
.ahs-intro-faq h3{margin:0 0 8px}
.ahs-intro-step-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px}
.ahs-intro-step-thumbs img{display:block;width:100%;height:auto;border-radius:10px;background:#eef1f6}
.ahs-intro-step{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#eef3ff;color:#0055ff;font-weight:800}
.ahs-intro h3{margin:10px 0 8px;font-size:17px;font-weight:800;color:#111;overflow-wrap:anywhere}
@media (max-width:900px){
	.ahs-intro-mosaic{grid-template-columns:repeat(3,minmax(0,1fr))}
	.ahs-intro-split,.ahs-intro-split-media-left,.ahs-intro-steps,.ahs-intro-features,.ahs-intro-faq,.ahs-intro-uses{grid-template-columns:1fr 1fr}
	.ahs-intro-split-media-left .ahs-intro-pair{order:-1}
	.ahs-intro-split-copy h2{text-align:center;font-size:24px}
	.ahs-intro-split-copy h2::after{margin-left:auto;margin-right:auto}
	.ahs-intro-mark{margin-left:auto;margin-right:auto}
	.ahs-intro-split-media img,.ahs-intro-pair img{height:220px}
}
@media (max-width:720px){.ahs-title{font-size:30px}.ahs-intro-mosaic,.ahs-intro-steps,.ahs-intro-features,.ahs-intro-faq,.ahs-intro-uses,.ahs-intro-split,.ahs-intro-pair,.ahs-result-grid{grid-template-columns:1fr}}
.ahs-wrap [hidden]{display:none !important}
html[data-br-theme="dark"] .ahs-page{color:#e5e5e5}
html[data-br-theme="dark"] .ahs-page::before{background:#171717}
html[data-br-theme="dark"] .ahs-title,
html[data-br-theme="dark"] .ahs-wrap .ahs-subtitle,
html[data-br-theme="dark"] .ahs-history-head h2,
html[data-br-theme="dark"] .ahs-empty p,
html[data-br-theme="dark"] .ahs-intro-block h2,
html[data-br-theme="dark"] .ahs-intro-split-copy h2,
html[data-br-theme="dark"] .ahs-intro h3,
html[data-br-theme="dark"] .ahs-intro-mosaic figcaption,
html[data-br-theme="dark"] .ahs-confirm-title,
html[data-br-theme="dark"] .ahs-credits-dialog-text,
html[data-br-theme="dark"] .ahs-gallery-head strong{color:#f5f5f5;-webkit-text-fill-color:#f5f5f5}
html[data-br-theme="dark"] .ahs-title::after,
html[data-br-theme="dark"] .ahs-intro-block h2::after,
html[data-br-theme="dark"] .ahs-intro-split-copy h2::after{background:#f5f5f5}
html[data-br-theme="dark"] .ahs-panel,
html[data-br-theme="dark"] .ahs-intro-block,
html[data-br-theme="dark"] .ahs-confirm-dialog,
html[data-br-theme="dark"] .ahs-image-dialog,
html[data-br-theme="dark"] .ahs-gallery-dialog,
html[data-br-theme="dark"] .ahs-credits-dialog{background:#212121;border-color:#2e2e2e;box-shadow:none}
html[data-br-theme="dark"] .ahs-add-tile{background:#1c1c1c;border-color:#6b86c9;color:#a3a3a3}
html[data-br-theme="dark"] .ahs-add-tile:hover{background:#1a2744;color:#8eb0ff}
html[data-br-theme="dark"] .ahs-add-icon{background:#2a2a2a;border-color:#3a3a3a;color:#8eb0ff}
html[data-br-theme="dark"] .ahs-add-text{color:#e5e5e5}
html[data-br-theme="dark"] .ahs-add-hint,
html[data-br-theme="dark"] .ahs-history-note,
html[data-br-theme="dark"] .ahs-history-meta,
html[data-br-theme="dark"] .ahs-loading,
html[data-br-theme="dark"] .ahs-intro-lead,
html[data-br-theme="dark"] .ahs-intro-steps p,
html[data-br-theme="dark"] .ahs-intro-faq p,
html[data-br-theme="dark"] .ahs-intro-features p,
html[data-br-theme="dark"] .ahs-intro-split-copy p{color:#a3a3a3}
html[data-br-theme="dark"] .ahs-style-chip{position:relative;color:#d4d4d4}
html[data-br-theme="dark"] .ahs-style-chip:hover{color:#8eb0ff}
html[data-br-theme="dark"] .ahs-style-row .ahs-style-chip.is-active{background:#223754;color:#f1f6ff;box-shadow:inset 0 0 0 2px #96bdff}
html[data-br-theme="dark"] .ahs-style-chip.is-active img{border-color:#96bdff;box-shadow:none}
html[data-br-theme="dark"] .ahs-style-chip.is-active:has(img)::before{content:"";position:absolute;top:7px;inset-inline-end:7px;width:22px;height:22px;box-sizing:border-box;border:2px solid #fff;border-radius:50%;background:#264e91;pointer-events:none}
html[data-br-theme="dark"] .ahs-style-chip.is-active:has(img)::after{content:"";position:absolute;top:11px;inset-inline-end:14px;width:7px;height:12px;box-sizing:border-box;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);pointer-events:none}
html[data-br-theme="dark"] .ahs-style-chip:focus-visible{outline:2px solid #fff;outline-offset:1px}
html[data-br-theme="dark"] .ahs-source-preview,
html[data-br-theme="dark"] .ahs-empty,
html[data-br-theme="dark"] .ahs-shot,
html[data-br-theme="dark"] .ahs-history-shot,
html[data-br-theme="dark"] .ahs-gallery-item,
html[data-br-theme="dark"] .ahs-style-chip img,
html[data-br-theme="dark"] .ahs-intro-split-media,
html[data-br-theme="dark"] .ahs-intro-features img,
html[data-br-theme="dark"] .ahs-intro-steps article > img,
html[data-br-theme="dark"] .ahs-intro-step-thumbs img{background:#141414;border-color:#2e2e2e}
html[data-br-theme="dark"] .ahs-quality-chip.is-standard{background:#2a2a2a;border-color:#3a3a3a;color:#d4d4d4}
html[data-br-theme="dark"] .ahs-quality-chip.is-standard.is-active{background:#3a3a3a;border-color:#525252;color:#fff}
html[data-br-theme="dark"] .ahs-quality-chip.is-premium{background:#3a2a10;border-color:#f0c14b;color:#f0c14b}
html[data-br-theme="dark"] .ahs-quality-chip.is-premium.is-active{background:#e08a00;border-color:#d97706;color:#fff}
html[data-br-theme="dark"] .ahs-btn{background:#2a2a2a;border-color:#3a3a3a;color:#f5f5f5}
html[data-br-theme="dark"] .ahs-btn-primary,
html[data-br-theme="dark"] .ahs-btn-generate,
html[data-br-theme="dark"] .ahs-credits-buy,
html[data-br-theme="dark"] .ahs-icon-btn,
html[data-br-theme="dark"] .ahs-shot-download,
html[data-br-theme="dark"] .ahs-gallery-download,
html[data-br-theme="dark"] .ahs-wrap .ahs-preview-download{background:#0055ff;border-color:#0055ff;color:#fff}
html[data-br-theme="dark"] .ahs-btn-danger{background:#d92d20;border-color:#d92d20;color:#fff}
html[data-br-theme="dark"] .ahs-icon-btn.is-delete{background:#3a1d1a;color:#fda29b;border-color:#7a271a}
html[data-br-theme="dark"] .ahs-view-all{background:#1a2744;border-color:#2f4f93;color:#8eb0ff}
html[data-br-theme="dark"] .ahs-wrap .ahs-preview-close{background:#2a2a2a;border-color:#3a3a3a;color:#f5f5f5}
html[data-br-theme="dark"] .ahs-wrap .ahs-preview-close svg{stroke:#f5f5f5}
html[data-br-theme="dark"] .ahs-history-card,
html[data-br-theme="dark"] .ahs-intro-features article,
html[data-br-theme="dark"] .ahs-intro-steps article,
html[data-br-theme="dark"] .ahs-intro-faq article,
html[data-br-theme="dark"] .ahs-intro-uses article{background:#1c1c1c;border-color:#2e2e2e}
html[data-br-theme="dark"] .ahs-intro-card-icon,
html[data-br-theme="dark"] .ahs-intro-faq-icon,
html[data-br-theme="dark"] .ahs-intro-step,
html[data-br-theme="dark"] .ahs-intro-title-icon{background:#1a2744;color:#8eb0ff;box-shadow:none}
html[data-br-theme="dark"] .ahs-intro-mark{background:#0055ff;color:#fff}
html[data-br-theme="dark"] .ahs-view-btn{background:#2a2a2a;color:#f5f5f5}
html[data-br-theme="dark"] .ahs-shot-delete,html[data-br-theme="dark"] .ahs-gallery-delete{background:#3a1d1a;color:#fda29b}
html[data-br-theme="dark"] .ahs-quota-balance{background:#3a2a10;border-color:#e8c36a;color:#f0c14b}
html[data-br-theme="dark"] .ahs-quota-balance .ahs-quota-count{background:#f6b21b;color:#101828}
html[data-br-theme="dark"] .ahs-quota-hint{background:#3a2410;border-color:#9a3412;color:#fdba74}
html[data-br-theme="dark"] .ahs-status.is-error{background:#3a1d1a;color:#fda29b;border-color:#7a271a}
html[data-br-theme="dark"] .ahs-status.is-ok{background:#1a2744;color:#8eb0ff;border-color:#2f4f93}
html[data-br-theme="dark"] .ahs-spinner{border-color:#2e2e2e;border-top-color:#0055ff}
