/* Shared visual polish. Keep existing layout, data, controls and status colors. */
body.ata-brand.public-saas,
body.admin-saas {
    --ata-ui-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-family: var(--ata-ui-font);
    -webkit-font-smoothing: antialiased;
}
body.ata-brand.public-saas h1,
body.ata-brand.public-saas h2,
body.ata-brand.public-saas h3,
body.ata-brand.public-saas h4,
body.ata-brand.public-saas h5 { font-family: inherit; text-shadow: none; }
body.ata-brand.public-saas .header { background: #fff; box-shadow: 0 2px 10px #18314e08; }
body.ata-brand.public-saas .header .main-nav-link { color: #34465d; font-size: 14px; font-weight: 600; }
body.ata-brand.public-saas .btn,
body.admin-saas .btn { font-family: inherit; font-weight: 600; border-radius: 8px; }
body.ata-brand.public-saas .btn:hover { transform: none; }
body.ata-brand.public-saas a:focus-visible,
body.ata-brand.public-saas button:focus-visible,
body.admin-saas a:focus-visible,
body.admin-saas button:focus-visible { outline: 3px solid #7fa7d3; outline-offset: 3px; }

/* Property cards: hierarchy follows photo, title, price, details, contact. */
body.ata-brand.public-saas .ata-about-menu { position: relative; }
body.ata-brand.public-saas .ata-about-menu summary { display: flex; align-items: center; gap: 7px; list-style: none; cursor: pointer; }
body.ata-brand.public-saas .ata-about-menu summary::-webkit-details-marker { display: none; }
body.ata-brand.public-saas .ata-about-menu summary:focus-visible { outline: 3px solid #7fa7d3; outline-offset: 4px; border-radius: 4px; }
body.ata-brand.public-saas .ata-about-menu[open] > summary { color: #1262b5; }
body.ata-brand.public-saas .ata-about-links { position: absolute; top: 100%; left: 0; z-index: 1100; min-width: 210px; padding: 8px; border: 1px solid #e1e7ee; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px #18314e1a; }
body.ata-brand.public-saas .ata-about-links a { display: block; padding: 11px 12px; border-radius: 6px; color: #34465d; font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; white-space: nowrap; }
body.ata-brand.public-saas .ata-about-links a:hover { background: #edf3fa; color: #1262b5; }
body.ata-brand.public-saas .ata-about-menu-mobile .ata-about-links { position: static; min-width: 0; margin: 0 0 8px; padding: 0 0 0 12px; border: 0; border-left: 2px solid #dce7f1; border-radius: 0; box-shadow: none; }

body.ata-brand.public-saas .post { border: 1px solid #e1e7ee; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px #18314e05; }
body.ata-brand.public-saas .post:hover { transform: translateY(-2px); border-color: #bacce0; box-shadow: 0 8px 24px #18314e0f; }
body.ata-brand.public-saas .post .post-thumb { border-radius: 11px 11px 0 0; }
body.ata-brand.public-saas .post .post-thumb img { object-fit: cover; }
body.ata-brand.public-saas .post .post-thumb .overlay { background: linear-gradient(180deg,transparent 50%,#10273f99); opacity: 1; }
body.ata-brand.public-saas .post .post-thumb .post-labels .label { background: #fff; color: #285581; border: 1px solid #e1e7ee; border-radius: 6px; font-size: 12px; font-weight: 500; box-shadow: none; }
body.ata-brand.public-saas .post .post-thumb .post-location,
body.ata-brand.public-saas .post .post-thumb .image-count { font-size: 12px; font-weight: 500; text-shadow: 0 1px 3px #10273f80; }
body.ata-brand.public-saas .post .post-content { padding: 18px; }
body.ata-brand.public-saas .post .post-content .title { margin-bottom: 10px; font-size: 17px; line-height: 1.5; font-weight: 600; }
body.ata-brand.public-saas .post .post-content .title span { color: #18314e; font-size: inherit; line-height: inherit; font-weight: inherit; }
body.ata-brand.public-saas .post .post-content .title span:hover { color: #1262b5; }
body.ata-brand.public-saas .post .post-content .price { margin: 0 0 10px; color: #195993; font-size: 21px; font-weight: 650; line-height: 1.35; font-variant-numeric: tabular-nums; }
body.ata-brand.public-saas .post .post-content .description { color: #596b7f; font-size: 14px; line-height: 1.7; }
body.ata-brand.public-saas .post .post-content .divider { border-color: #e7edf3; margin: 16px 0; }
body.ata-brand.public-saas .post .post-content .convenient { gap: 12px; flex-wrap: wrap; }
body.ata-brand.public-saas .post .post-content .convenient li { color: #52647a; font-size: 13px; }
body.ata-brand.public-saas .post .post-content .convenient li span { color: #34465d; font-size: 13px; font-weight: 500; }
body.ata-brand.public-saas .post .post-content .convenient li i { color: #74879b; }
body.ata-brand.public-saas .post .post-content .foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e7edf3; }
body.ata-brand.public-saas .post .post-content .foot .author p { color: #52647a; font-size: 13px; font-weight: 500; }
body.ata-brand.public-saas .post .post-content .post-detail-link { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: #285581; font-size: 13px; font-weight: 600; }

/* Keep the rank strip at its existing height so fixed-header offsets stay valid. */
body.ata-brand.public-saas .mySwiperRank .rank-card { width: 100%; min-width: 0; height: 54px; padding: 2px 8px; grid-template-columns: 32px 36px minmax(0,1fr) 112px; gap: 7px; border: 1px solid #e1e7ee; border-radius: 8px; background: #fff; box-shadow: 0 1px 5px #18314e08; }
body.ata-brand.public-saas .mySwiperRank .rank-badge.top-1 { background: #eaf1f8; color: #285581; border-radius: 5px; font-size: 10px; font-weight: 650; }
body.ata-brand.public-saas .mySwiperRank .rank-avatar-wrap { width: 36px; height: 36px; }
body.ata-brand.public-saas .mySwiperRank .rank-avatar-wrap img { width: 34px; height: 34px; }
body.ata-brand.public-saas .mySwiperRank .rank-info { min-width: 0; line-height: 1.35; }
body.ata-brand.public-saas .mySwiperRank .rank-name { color: #254a73; font-size: 12px; font-weight: 600; }
body.ata-brand.public-saas .mySwiperRank .rank-bio { color: #66788d; font-size: 11px; }
body.ata-brand.public-saas .mySwiperRank .rank-stats { color: #52647a; font-size: 11px; line-height: 12px; font-variant-numeric: tabular-nums; }
body.ata-brand.public-saas .mySwiperRank .rank-stats strong { font-weight: 600; }

/* Homepage sections use one type scale and restrained decoration. */
body.ata-brand.public-saas .popular-posts .top { margin-bottom: 24px; }
body.ata-brand.public-saas .popular-posts .section-title .subtitle { color: #526f90; font-size: 11px; font-weight: 600; letter-spacing: .1em; }
body.ata-brand.public-saas .popular-posts .section-title .title { color: #18314e; font-size: clamp(24px,2.5vw,30px); font-weight: 600; line-height: 1.35; }
body.ata-brand.public-saas .popular-posts .post-list { margin-top: 0; }
body.ata-brand.public-saas .btn-view-all-list { padding: 12px 22px; border: 1px solid #c9d8e7; border-radius: 8px; background: #fff; color: #285581; font-size: 14px; font-weight: 600; box-shadow: none; }
body.ata-brand.public-saas .explore-features .section-title .title { color: #18314e; font-size: clamp(24px,2.5vw,30px); font-weight: 600; line-height: 1.35; }
body.ata-brand.public-saas .explore-features .feature .content .title { color: #254a73; font-size: 19px; font-weight: 600; }
body.ata-brand.public-saas .explore-features .feature .description { color: #52647a; font-size: 15px; line-height: 1.75; }
body.ata-brand.public-saas .ata-service-card { border-color: #e1e7ee; border-radius: 12px; box-shadow: none; }
body.ata-brand.public-saas .ata-service-card:hover { transform: none; border-color: #bacce0; box-shadow: 0 4px 16px #18314e0a; }
body.ata-brand.public-saas .ata-service-card h3 { font-size: 20px; font-weight: 600; }
body.ata-brand.public-saas .ata-service-description { font-size: 15px; line-height: 1.75; }
body.ata-brand.public-saas .ata-service-caption { font-size: 12px; }
body.ata-brand.public-saas .ata-services-intro { font-size: 15px; line-height: 1.75; }
body.ata-brand.public-saas .quick-menu .slogan { font-size: 17px; font-weight: 500; line-height: 1.7; }
body.ata-brand.public-saas .quick-menu .contacts-info h3 { font-size: 20px; font-weight: 600; }
body.ata-brand.public-saas .quick-menu .contact-item { font-size: 14px; line-height: 1.7; }

/* Manager workspace: improve reading without overriding semantic status colors. */
body.ata-brand.public-saas .ata-services-overview.ata-services-refined { padding: 40px 24px; background: #f6f8fb; }
body.ata-brand.public-saas .ata-services-refined .ata-services-heading { align-items: center; gap: 40px; margin-bottom: 20px; padding: 30px 32px; border-radius: 12px; background: linear-gradient(90deg,#10273fe8,#10273fc7),url('/images/webp/ata-info-office-20261110.webp') center / cover; }
body.ata-brand.public-saas .ata-services-refined .ata-services-eyebrow { margin-bottom: 12px; color: #c1d6ed; font-size: 11px; font-weight: 500; letter-spacing: .1em; }
body.ata-brand.public-saas .ata-services-refined #ata-services-title { margin: 0; color: #fff; font-family: inherit; font-size: clamp(26px,2.7vw,36px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
body.ata-brand.public-saas .ata-services-refined .ata-services-intro { max-width: 380px; margin: 0; color: #e0e9f3; font-size: 15px; line-height: 1.75; }
body.ata-brand.public-saas .ata-services-refined .ata-services-grid { gap: 18px; }
body.ata-brand.public-saas .ata-services-refined .ata-service-card { padding: 24px; border-color: #e1e7ee; border-radius: 10px; background: #fff; box-shadow: none; }
body.ata-brand.public-saas .ata-services-refined .ata-service-icon { width: 40px; height: 40px; margin-bottom: 16px; border-radius: 10px; background: #edf3fa; color: #285d99; }
body.ata-brand.public-saas .ata-services-refined .ata-service-icon i { font-size: 20px; }
body.ata-brand.public-saas .ata-services-refined .ata-service-card h3 { margin-bottom: 10px; color: #18314e; font-size: 19px; font-weight: 600; line-height: 1.4; }
body.ata-brand.public-saas .ata-services-refined .ata-service-description { color: #52647a; font-size: 15px; line-height: 1.75; }
body.ata-brand.public-saas .ata-services-refined .ata-services-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 22px; color: #607287; font-size: 14px; line-height: 1.7; }
body.ata-brand.public-saas .ata-services-refined .ata-services-contact a { color: #285d99; font-weight: 600; text-decoration: none; }
body.ata-brand.public-saas .ata-services-refined .ata-services-contact a:hover { text-decoration: underline; }
@media (max-width: 991.98px) {
    body.ata-brand.public-saas .ata-services-refined .ata-services-heading { display: block; padding: 26px; }
    body.ata-brand.public-saas .ata-services-refined .ata-services-intro { max-width: 620px; margin-top: 16px; }
    body.ata-brand.public-saas .ata-services-refined .ata-services-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 575.98px) {
    body.ata-brand.public-saas .ata-services-overview.ata-services-refined { padding: 28px 16px; }
    body.ata-brand.public-saas .ata-services-refined .ata-services-heading { padding: 24px 20px; }
    body.ata-brand.public-saas .ata-services-refined .ata-service-card { padding: 22px; }
}

body.admin-saas { color: #273b52; background: #f5f7fa; }
body.admin-saas .admin-navbar { box-shadow: 0 2px 10px #18314e08; }
body.admin-saas .admin-navbar .nav-link { font-size: 14px; font-weight: 600; }
body.admin-saas .admin-navbar .dropdown-item { font-size: 14px; line-height: 1.5; }
body.admin-saas .admin-navbar .ata-report-menu { min-width: 280px; max-width: calc(100vw - 32px); }
body.admin-saas .admin-navbar .ata-report-menu .dropdown-item { padding: 9px 12px; }
body.admin-saas .admin-navbar .ata-report-menu .dropdown-divider { margin: 5px 4px; border-color: #e7edf3; }
body.admin-saas .admin-main > .container,
body.admin-saas .admin-main > .container-fluid { border-color: #e1e7ee; box-shadow: 0 3px 14px #18314e05; }
body.admin-saas .admin-main h1,
body.admin-saas .admin-main h2,
body.admin-saas .admin-main h3 { font-weight: 600; line-height: 1.4; letter-spacing: -.015em; }
body.admin-saas .form-group label,
body.admin-saas .col-form-label { color: #34465d; font-weight: 600; }
body.admin-saas .form-text { color: #607287; font-size: 13px; line-height: 1.6; }
body.admin-saas .form-control,
body.admin-saas .custom-select { font-family: inherit; font-size: 14px; border-color: #cbd7e4; }
body.admin-saas .form-control:focus,
body.admin-saas .custom-select:focus { border-color: #5485b8; box-shadow: 0 0 0 3px #1262b51a; }
body.admin-saas .table-responsive { border-color: #e1e7ee; box-shadow: none; }
body.admin-saas table.table thead th,
body.admin-saas table.dataTable thead th { color: #42556d; background: #f1f5f9; font-size: 13px; font-weight: 600; line-height: 1.5; text-transform: none; letter-spacing: 0; }
body.admin-saas .pagination .page-link { font-size: 14px; }
@media (max-width: 767.98px) {
    body.ata-brand.public-saas .post .post-content { padding: 16px; }
    body.ata-brand.public-saas .post .post-content .title { font-size: 16px; }
    body.ata-brand.public-saas .post .post-content .price { font-size: 20px; }
    body.ata-brand.public-saas .ata-service-card { padding: 22px; }
    body.ata-brand.public-saas .ata-services-heading h2 { font-size: 30px; font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) {
    body.ata-brand.public-saas .post,
    body.ata-brand.public-saas .post .post-thumb img { transition: none; }
    body.ata-brand.public-saas .post:hover { transform: none; }
}
