/* Scoped additions for generated pages; inherited site components retain their styling. */
.ams-rating {padding-top:72px}.ams-rating .rating__head{padding-bottom:32px}.ams-rating .s-best-foto-apps{padding:32px 0}.ams-rating .best-foto-app{margin:24px 0}.ams-rating .best-foto-app__text{overflow-wrap:anywhere}
.ams-rating h2,.ams-instruction-body h2{margin:32px 0 20px}.ams-rating h3,.ams-rating h4,.ams-instruction-body h3,.ams-instruction-body h4{margin:28px 0 16px}
.ams-rating p,.ams-instruction-body p{margin:0 0 18px}.ams-rating ul,.ams-rating ol,.ams-instruction-body ul,.ams-instruction-body ol{margin-bottom:20px}.ams-rating li,.ams-instruction-body li{margin-bottom:10px}.ams-rating li>ul,.ams-rating li>ol,.ams-instruction-body li>ul,.ams-instruction-body li>ol{margin-top:10px;padding-left:24px}
.ams-rating .figure-img,.ams-instruction-body .figure-img{margin:24px 0}.ams-rating .figure-img img,.ams-instruction-body .figure-img img{display:block;max-width:100%;height:auto;margin:auto}.ams-rating figcaption,.ams-instruction-body figcaption{font-size:14px;line-height:1.5;margin-top:10px;color:#697483}
.ams-rating .advantages,.ams-rating .disadvantages,.ams-instruction-body .advantages,.ams-instruction-body .disadvantages{width:auto;float:none;margin:22px 0}.ams-rating .advantages-name,.ams-rating .disadvantages-name,.ams-instruction-body .advantages-name,.ams-instruction-body .disadvantages-name{margin-bottom:12px}
.ams-table-scroll{max-width:100%;overflow-x:auto;margin:24px 0;overscroll-behavior-x:contain;border:1px solid #d5dfe8;border-radius:8px;background:#fff}.ams-comparison-table{width:100%;min-width:580px;border-collapse:collapse;font-size:15px;line-height:1.5}.ams-comparison-table th,.ams-comparison-table td{padding:14px 16px;border:1px solid #d5dfe8;vertical-align:top;text-align:left;min-width:120px}.ams-comparison-table th{background:#e8f2fa;color:#1e3d59}.ams-comparison-table tr:nth-child(2n){background:#f6f9fb}.ams-comparison-table p:last-child{margin-bottom:0}
.ams-toc{margin:28px 0;padding:22px 24px}.ams-toc .article-nav__list{max-height:none}.ams-toc .ams-toc-level-3{margin-left:20px}.ams-toc .article-nav__link{line-height:1.5}.ams-faq{margin:24px 0}.ams-faq .faq{margin:0 0 16px}.ams-faq button.faq__head{border:0;text-align:left;display:block;width:100%;font:inherit;font-weight:500;padding-right:46px;cursor:pointer}.ams-faq .faq__body{padding-top:16px}.ams-faq .faq__body>:last-child{margin-bottom:0}.ams-faq .faq__body{display:none}.ams-related{padding-top:32px;padding-bottom:32px}.ams-related .article-recommend-block{display:flex;gap:20px}.ams-related .article-recommend__link{flex:1;min-width:0}.ams-related .article-recommend__photo{width:100%;height:140px;object-fit:cover}.ams-related .article-recommend__text{display:block;line-height:1.5}.ams-incoming{padding:24px 16px}.ams-incoming h2{font-size:24px;line-height:1.35}.ams-incoming li{margin-bottom:10px}
.ams-instruction-body{overflow-wrap:anywhere}.ams-instruction-body blockquote,.ams-rating blockquote{padding:20px 24px;margin:24px 0}.ams-download{margin:24px 0}.ams-rating .best-foto-app__logo{object-fit:contain}.ams-instruction-body [id],.ams-rating [id]{scroll-margin-top:90px}
@media(max-width:767px){.ams-rating{padding-top:58px}.ams-rating .rating__head{padding-top:24px}.ams-rating h2,.ams-instruction-body h2{font-size:25px;line-height:1.35;overflow-wrap:anywhere}.ams-rating h3,.ams-instruction-body h3{font-size:22px;line-height:1.4}.ams-toc{padding:18px 16px}.ams-related .article-recommend-block{display:block}.ams-related .article-recommend__link{display:flex;margin-bottom:20px;gap:14px}.ams-related .article-recommend__photo{width:100px;height:80px;flex-shrink:0}.ams-related .article-recommend__text{font-size:16px}.ams-comparison-table{font-size:14px}.ams-table-scroll{margin:20px 0}}
.ams-rating .peculiarities-block,.ams-instruction-body .peculiarities-block{display:flex;gap:24px;margin:24px 0}.ams-rating .peculiarities-block>div,.ams-instruction-body .peculiarities-block>div{flex:1;min-width:0;margin:0}.ams-toc-accordion .faq__body{display:none}.ams-toc-accordion button.faq__head{display:block;width:100%;border:0;text-align:left;font:inherit;padding-right:45px;cursor:pointer}.ams-toc-accordion{margin:28px 0}.ams-matrix-scroll{overflow:auto;max-width:100%;overscroll-behavior:contain}.ams-matrix-vertical{max-height:398px}.ams-matrix th:first-child{position:sticky;left:0;background:#e8f2fa;z-index:1}.ams-matrix thead th{position:sticky;top:0;z-index:2}.ams-matrix thead th:first-child{z-index:3}.ams-matrix .table__arrows{display:flex;gap:10px;justify-content:flex-end;position:static;padding:12px}.ams-matrix .table__arrow{position:static}.ams-matrix-4 table{min-width:820px}.ams-matrix-6 table{min-width:1160px}
@media(max-width:767px){.ams-rating .peculiarities-block,.ams-instruction-body .peculiarities-block{display:block}.ams-rating .peculiarities-block>div+div,.ams-instruction-body .peculiarities-block>div+div{margin-top:20px}}
.ams-rating ol.ams-ordered,.ams-instruction-body ol.ams-ordered{padding-left:30px!important;counter-reset:none!important}.ams-rating ol.ams-ordered>li,.ams-instruction-body ol.ams-ordered>li{display:list-item!important;list-style:inherit!important;padding-left:2px!important}.ams-rating ol.ams-ordered>li:before,.ams-instruction-body ol.ams-ordered>li:before{content:none!important;counter-increment:none!important}
.ams-rating .best-foto-app{padding:24px 0;margin:0;border-bottom:1px solid #e1e1e4}.ams-rating .best-foto-app__text{text-align:left}.ams-rating .best-foto-app__header{margin-top:0}.ams-toc-accordion .ams-toc .article-nav__title{display:none}
.ams-matrix{display:block;width:100%;min-width:0}.ams-matrix-scroll{width:100%;min-width:0}
.ams-rating a.ams-program-link,.s-article a.ams-program-link{color:#596cba;text-decoration:none;border-bottom:2px solid #596cba;font:inherit;line-height:inherit}.ams-rating a.ams-program-link:hover,.s-article a.ams-program-link:hover{color:#263d7d}.ams-program-link:focus-visible{outline:2px solid #437fc5;outline-offset:4px}
.ams-rating .best-foto-app__header{font-size:28px;line-height:1.3}
@media(max-width:767px){.ams-rating .best-foto-app__header{font-size:22px;line-height:1.4}}
.ams-related .article-recommend__link{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;overflow:visible}.ams-related .article-recommend__photo{margin:0 0 12px;flex-shrink:1}.ams-related .article-recommend__text{color:#576baa;text-decoration:underline;overflow-wrap:anywhere}.ams-list-label{font-weight:600;margin-bottom:12px!important}
@media(max-width:767px){.ams-related .article-recommend__link{flex-direction:row;align-items:flex-start}.ams-related .article-recommend__photo{margin:0;flex-shrink:0}.ams-related .article-recommend__text{flex:1;min-width:0}}

/* Same blue and Roboto Bold used by native article/rating paragraph links. */
.ams-rating a.ams-body-link,.s-article a.ams-body-link,.ams-rating .best-foto-app__text li a,.s-article .ams-instruction-body li a{color:#596cba;font-family:"Roboto Bold",sans-serif;font-weight:normal;text-decoration:underline;border-bottom:0}
.ams-program-link u,.ams-body-link u{text-decoration:none}

/* A description has one modest gap before compact characteristic rows. */
.ams-rating p.ams-before-fields,.s-article p.ams-before-fields{margin-bottom:12px}
.ams-rating p.ams-field-paragraph,.s-article p.ams-field-paragraph{margin-top:0;margin-bottom:18px}
.ams-rating p.ams-fields-continue,.s-article p.ams-fields-continue{margin-bottom:0}
.ams-field-line,.ams-field-description{display:block}
.ams-field-line>strong{font-family:"Roboto Bold",sans-serif;font-weight:normal}
.ams-field-description+.ams-field-line,.ams-field-line+.ams-field-description{margin-top:12px}
.ams-field-line+.ams-field-line{margin-top:0}
.ams-faq h3.ams-faq-question,.ams-faq h4.ams-faq-question{margin:0;font:inherit}

/* Keep the native FAQ typography when its accessible trigger is a button. */
.ams-faq button.faq__head{font-family:"Roboto Bold",sans-serif;font-size:18px;font-weight:normal;padding:30px 85px 25px 30px}
.ams-rating .best-foto-app__header{display:flex;align-items:center;gap:14px}
.ams-rating .best-foto-app__logo{width:66px;height:66px;max-width:66px;max-height:66px;flex:0 0 66px;margin:0;object-fit:contain}
.ams-related .article-recommend-block,.ams-incoming-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ams-incoming-cards .article-recommend__link{width:auto;margin:0;min-width:0}
.ams-incoming-cards .article-recommend__photo{width:100%;height:140px;object-fit:cover}
.ams-instruction-body ul.list>li,.ams-rating ul.list>li{padding-left:30px;list-style:none}
.ams-instruction-body ul.list>li:before,.ams-rating ul.list>li:before{content:"";counter-increment:none;width:17px;height:17px;background:url("../img/blue-tick.png") 0 0/contain no-repeat;left:0;top:5px}
@media(max-width:767px){.ams-related .article-recommend-block,.ams-incoming-cards{grid-template-columns:1fr}.ams-incoming-cards .article-recommend__link{display:flex;flex-direction:row;align-items:flex-start;gap:14px}.ams-incoming-cards .article-recommend__photo{width:100px;height:80px;flex-shrink:0}.ams-incoming-cards .article-recommend__text{flex:1;min-width:0}.ams-rating .best-foto-app__logo{width:42px;height:42px;max-width:42px;max-height:42px;flex-basis:42px}}
@media(max-width:575px){.ams-faq button.faq__head{padding:20px 65px 15px 20px}}

/* Program reviews reuse the native hero, sections and review form. */
.ams-program-review{font-size:18px;line-height:1.8;overflow-wrap:anywhere}
.ams-program-review .program-hero{padding-bottom:24px}.ams-program-review .program-hero__description{padding-top:0}
.ams-program-review .program-features{padding:24px 0}.ams-program-review p{margin:0 0 18px}
.ams-program-review h2{margin:0 0 20px}.ams-program-review h3{margin:24px 0 16px}
.ams-program-review a.ams-program-link{color:#596cba;text-decoration:none;border-bottom:2px solid #596cba;font:inherit;line-height:inherit}
.ams-program-review a.ams-body-link{color:#596cba;font-family:"Roboto Bold",sans-serif;font-weight:normal;text-decoration:underline;border-bottom:0}
.ams-program-review .program-hero__header{align-items:center;gap:20px}.ams-program-review .program-hero__logo{object-fit:contain;max-width:90px;max-height:90px}
.ams-program-logo{display:inline-block;width:52px;height:52px;object-fit:contain;vertical-align:middle;margin:0 14px 6px 0}
.ams-program-download{scroll-margin-top:120px}
.ams-program-review .program-hero-block{display:block}.ams-program-review .program-hero__header{width:100%;max-width:none}.ams-program-review .program-hero__btn{display:inline-flex;align-items:center;justify-content:center;margin-top:24px;max-width:100%}
.ams-program-download .download-program__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr);gap:14px;align-items:center;padding:16px 8px;min-height:65px}
.ams-program-download .download-program__val{width:auto!important;height:auto;min-width:0;text-align:center;overflow-wrap:anywhere}
.ams-program-download .download-program__head{width:100%;min-width:0;flex-direction:column;gap:12px;padding-top:0}
.ams-program-download .download-program__label{position:static;align-self:center;max-width:100%;height:auto;min-height:23px;line-height:1.4;padding:3px 8px;white-space:normal}
.ams-program-download .download-program__logo{width:70px;height:70px;margin:0;object-fit:contain;flex-shrink:1}
.ams-program-download .download-program__title{font-size:24px;line-height:1.25;overflow-wrap:anywhere}.ams-program-download a.download-program__title{color:#212129;text-decoration:none}
.ams-program-download .download-program__category{min-width:0;overflow-wrap:anywhere}.ams-program-download .download-program__btn{width:100%;max-width:230px;min-width:0;height:auto;min-height:60px;padding:12px;line-height:1.25;font-size:18px}
.ams-program-download .download-program__link{font-size:18px;overflow-wrap:anywhere}.ams-program-download .ams-feature-unknown{font-size:15px;color:#676977;line-height:1.4}.ams-program-download .ams-comparison-note{margin-top:18px;font-size:14px;color:#676977}.ams-download-context{margin:0 0 24px}
.ams-program-analogs .analogs-block{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:30px 0 0}.ams-program-analogs .analog{width:auto;max-width:none;margin:0;min-width:0}.ams-program-analogs .analog__image{width:80px;height:80px;object-fit:contain}.ams-program-analogs .analog__title{line-height:1.3;overflow-wrap:anywhere}
@media(max-width:767px){.ams-program-logo{width:42px;height:42px;margin-right:10px}.ams-program-download .download-program__row{gap:7px;padding:12px 0;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr)}.ams-program-download .download-program__logo{width:45px;height:45px}.ams-program-download .download-program__title{font-size:17px}.ams-program-download .download-program__category{font-size:14px}.ams-program-download .download-program__btn,.ams-program-download .download-program__link{font-size:14px}.ams-program-download .download-program__label{font-size:12px;white-space:normal}.ams-program-analogs .analogs-block{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ams-program-analogs .analog__title{font-size:19px}}
.ams-program-review .figure-img{margin:24px 0}.ams-program-review .figure-img img{display:block;max-width:100%;height:auto;margin:auto}
.ams-program-review .figure-img figcaption{font-size:14px;color:#697483;margin-top:10px}
.ams-program-review .peculiarities-block{display:flex;gap:24px}.ams-program-review .peculiarities-block>div{flex:1;width:auto;min-width:0;float:none;margin:0}
.ams-program-review .peculiarities-block h2{font-size:24px;text-align:left}
.ams-program-review ol.ams-ordered{padding-left:30px!important;counter-reset:none!important}.ams-program-review ol.ams-ordered>li{display:list-item!important;list-style:inherit!important;padding-left:2px!important}.ams-program-review ol.ams-ordered>li:before{content:none!important;counter-increment:none!important}
.ams-program-review p.ams-before-fields{margin-bottom:12px}.ams-program-review p.ams-field-paragraph{margin-top:0;margin-bottom:18px}.ams-program-review p.ams-fields-continue{margin-bottom:0}
.ams-program-review [id]{scroll-margin-top:90px}
@media(max-width:767px){.ams-program-review{font-size:17px}.ams-program-review .program-hero__header{gap:12px}.ams-program-review .program-hero__logo{max-width:60px;max-height:60px}.ams-program-review .program-hero__title{font-size:28px;line-height:1.3}.ams-program-review h2{font-size:25px;line-height:1.35}.ams-program-review .peculiarities-block{display:block}.ams-program-review .peculiarities-block>div+div{margin-top:20px}}

/* Keep CTA words readable inside narrow comparison columns. */
.ams-program-download .download-program__btn:after{display:none}
@media(max-width:575px){.ams-program-download .download-program__btn{font-size:13px;padding:10px 6px;letter-spacing:0;word-break:normal;overflow-wrap:normal}.ams-program-download .download-program__link{font-size:13px;text-transform:none;word-break:normal;overflow-wrap:normal}}

/* Native comparison columns keep the original gray cells and program logos. */
.ams-native-table p{margin:0!important;font:inherit;line-height:inherit}
.ams-native-table .app__title{min-width:0}
.ams-native-table .app__title a{color:#596cba;font:inherit;text-decoration:underline}
.ams-native-table .app__logo img{width:36px;height:36px;object-fit:contain}
.ams-native-table .table__td,.ams-native-table .table__th{overflow-wrap:normal}
.ams-native-table .table__th{padding:10px}
.ams-native-table .table__programs{position:relative;z-index:1}
.ams-related-cards .article-interest__item-link{line-height:1.5}
