/* AMATO layout for STORK19. Parent theme remains unchanged. */
.entry-content { line-height: 1.95; }
.amato-kicker { color: #52654b; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.amato-hero { padding: clamp(24px,4vw,56px) 0; }
.amato-hero h1 { font-size: clamp(30px,2.7vw,38px); line-height: 1.5; letter-spacing: -.035em; margin: 0 0 24px; }
.amato-hero .wp-block-columns { gap: clamp(24px,5vw,64px); }
.amato-hero img { border-radius: 12px; }
.amato-section { margin: 64px 0; }
.home #content { padding-top: 24px; }
.home .entry-content .amato-section h2 { background: transparent; color: #2c3029; border: 0; padding: 0; margin: 0 0 16px; font-size: 28px; }
.home .entry-content .amato-section h2::before, .home .entry-content .amato-section h2::after { display: none; }
.amato-goals, .amato-editorial { background: #f1f2ec; padding: clamp(20px,3vw,36px); border-radius: 12px; }
.amato-goals .wp-block-buttons { gap: 12px; }
.amato-goals .wp-block-button { flex: 1 1 210px; }
.amato-goals .wp-block-button__link { width: 100%; }
.amato-search { max-width: 640px; margin: 40px auto; }
.amato-search .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.amato-search input { min-width: 0; font-size: 16px; padding: 12px; }
.amato-search button { min-height: 48px; white-space: nowrap; padding: 10px 20px; }
.amato-summary { background: #f1f2ec; border-left: 4px solid #52654b; padding: 20px 24px; margin: 32px 0; border-radius: 0 8px 8px 0; }
.amato-summary h3 { border: 0; font-size: 20px; margin-top: 0; padding: 0; }
.amato-summary h3::before, .amato-summary h3::after { display: none; }
.amato-summary ul { padding-left: 1.4em; }
.amato-summary li + li { margin-top: 10px; }
.amato-note, .entry-content figcaption { color: #60655c; font-size: 13px; line-height: 1.7; }
.entry-content .wp-block-button__link { min-height: 48px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1.5; border-radius: 6px; }
.entry-content .is-style-outline .wp-block-button__link { border: 1px solid #52654b; color: #394632; }
.amato-search h2 { background: transparent; padding: 0; border: 0; font-size: 22px; }
.amato-search h2::before, .amato-search h2::after { display: none; }
.amato-categories > .wp-block-columns { gap: 16px; align-items: stretch; }
.amato-category-card { height: 100%; padding: 24px 20px; background: #f1f2ec; border: 1px solid #e1e5da; border-radius: 12px; }
.amato-category-card h3 { border: 0; padding: 0; margin: 12px 0 18px; font-size: 23px; }
.amato-category-card h3::before, .amato-category-card h3::after { display: none; }
.amato-category-card .amato-kicker { font-size: 10px; letter-spacing: .1em; }
.amato-category-card .wp-block-button { width: 100%; }
.amato-category-card .wp-block-button__link { padding: 12px; font-size: 15px; }
.amato-category-starter a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.amato-all-posts { justify-content: center; }
.amato-follow { padding: clamp(24px,4vw,40px); border: 1px solid #dce2d4; border-radius: 12px; background: #f1f2ec; }
.amato-follow h3 { border: 0; padding: 0; margin-top: 12px; font-size: 24px; }
.amato-follow h3::before, .amato-follow h3::after { display: none; }
.amato-social-buttons { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px !important; }
.amato-social-buttons .wp-block-button { width: 100%; }
.amato-social-buttons .wp-block-button__link { width: 100%; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; background: #fcfcf8; padding: 12px; font-size: 16px; line-height: 1.5; border: 1px solid #52654b; border-radius: 6px; color: #394632; }
.amato-audience { color: #46513f; font-size: 15px; border-left: 3px solid #9ba991; padding-left: 14px; }
html { scroll-padding-top: 90px; }
@media (max-width: 781px) {
  .amato-hero .wp-block-columns { flex-direction: column-reverse; gap: 20px; }
  .amato-hero { padding-top: 12px; }
  .amato-hero h1 { font-size: 30px; margin-bottom: 20px; }
  .amato-hero figure { margin-bottom: 0; }
  .amato-hero figcaption { font-size: 11px; }
  .amato-section { margin: 40px 0; }
  .amato-summary { padding: 18px; }
  .entry-content .amato-section h2 { font-size: 23px; }
  .entry-content .wp-block-columns { gap: 20px; }
  .amato-hero img { width: 100%; max-height: 240px; object-fit: cover; }
  .amato-social-buttons { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .amato-category-card { padding: 22px; }
  .amato-search { margin: 28px 0 40px; }
  .amato-follow { padding: 24px 20px; }
  .amato-follow h3 { font-size: 22px; }
}

body { background: #fcfcf8; }
.home #main { max-width: 1166px; }
.single .page-full #main, .page:not(.home) .page-full #main { max-width: 880px; margin-inline: auto; }
.entry-content .wp-block-columns { gap: 24px; }
.amato-hero .wp-block-columns { gap: clamp(24px,5vw,64px); }
.entry-content .amato-category-card h3, .entry-content .amato-follow h3, .entry-content .amato-summary h3 { background: transparent; border: 0; padding: 0; }
.entry-content .amato-section h2, .entry-content .amato-search h2 { box-shadow: none; }
.amato-post-cards .wp-block-image { margin-bottom: 16px; }
.amato-post-cards img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.entry-content .amato-post-card h3 { border: 0; background: transparent; padding: 0; font-size: 21px; line-height: 1.6; margin: 10px 0 14px; }
.amato-post-card h3::before, .amato-post-card h3::after { display: none; }
.amato-post-card h3 a { color: #2c3029; text-decoration: none; }
.amato-post-card p:not(.amato-kicker) { font-size: 15px; line-height: 1.85; }
.amato-related { margin: 40px 0; }
.amato-related .wp-block-post-template { gap: 24px; padding: 0; }
.amato-related .wp-block-post-title { font-size: 20px; border: 0; padding: 0; line-height: 1.6; }
.amato-related .wp-block-post-title a { color: #2c3029; text-decoration: none; }
.amato-related img { border-radius: 10px; }
.stk-toc a { display: inline-flex; min-height: 40px; align-items: center; }
.stk_sns_links a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.stk_sns_links.--position-footer a { min-width: 48px; min-height: 48px; }
#fixed-footer-menu li, #fixed-footer-menu a { min-height: 52px; }
#fixed-footer-menu [role=button], .stk_sns_links a:focus-visible, .entry-content a:focus-visible { outline-offset: 4px; }
.entry-content a:focus-visible { outline: 3px solid #52654b; }
#sidebar-sp .amato-follow { padding: 20px 16px; }
#sidebar-sp .amato-social-buttons { grid-template-columns: repeat(2,minmax(0,1fr)); }
#sidebar-sp .amato-follow h3 { font-size: 21px; }
@media (max-width: 781px) {
  .entry-content .amato-post-cards { flex-direction: column; }
  .amato-post-card { margin-bottom: 16px; }
  .amato-related .wp-block-post-template { grid-template-columns: 1fr; }
  .entry-content .amato-section h2 { font-size: 24px; }
}
/* Plugin components follow the same reading rhythm as AMATO articles. */
.wp-block-flexible-table-block-table {max-width:100%; margin:2rem 0;}
.wp-block-flexible-table-block-table table {width:100%; border-collapse:collapse; font-size:15px; line-height:1.8;}
.entry-content figure.wp-block-flexible-table-block-table table th,.entry-content figure.wp-block-flexible-table-block-table table td {padding:14px 16px; border:1px solid #dce1d6; text-align:left; vertical-align:top;}
.entry-content figure.wp-block-flexible-table-block-table thead tr th {background:#52654b; color:#fff;}
.entry-content figure.wp-block-flexible-table-block-table tbody tr th {background:#f1f3ec; color:#2c3029;}
.wp-block-flexible-table-block-table figcaption {margin-top:10px; color:#62695d; font-size:13px;}
.wp-block-flexible-table-block-table:focus-visible {outline:3px solid #52654b; outline-offset:4px;}
.searchwp-live-search-results {border-radius:8px; border:1px solid #dce1d6; box-shadow:0 8px 28px #2c30291a; max-width:calc(100vw - 24px); max-height:min(50vh,360px);}
.searchwp-live-search-result a {display:block; min-height:44px; line-height:1.7; overflow-wrap:anywhere;}
.searchwp-live-search-result a:focus-visible {outline:2px solid #52654b; outline-offset:-2px;}
.amato-contact-preview {padding:16px 20px; background:#edf3e9; border-left:4px solid #52654b; font-size:14px;}
.fluentform .ff-el-form-control {min-height:48px; border:1px solid #bbc4b5; border-radius:5px; font-size:16px;}
.fluentform .ff-el-input--label label {font-weight:600;}
.fluentform .ff-btn-submit {min-height:48px; padding:12px 28px; background:#52654b; color:#fff; border-radius:5px; font-size:16px;}
@media(max-width:767px) {
    .wp-block-flexible-table-block-table.is-scroll-on-mobile {overflow-x:auto; overscroll-behavior-x:contain;}
    .entry-content .wp-block-flexible-table-block-table.is-scroll-on-mobile::before {content:"↔ 左右にスクロールできます"; display:block; position:sticky; left:0; padding:0 0 10px; color:#52654b; font-size:13px;}
}
/* Site guide: restrained icons and comfortable touch targets. */
.amato-lead {font-size:clamp(22px,3vw,30px);font-weight:700;line-height:1.6;letter-spacing:-.02em;text-wrap:balance;}
.amato-icon {width:32px;height:32px;flex:none;color:#52654b;vertical-align:middle;}
.amato-icon-heading {display:flex;align-items:center;gap:12px;}
.amato-icon-heading .amato-icon {width:26px;height:26px;color:currentColor;}
.amato-social-icon {width:20px;height:20px;fill:currentColor;flex:none;margin-right:10px;}
.amato-info-panel,.amato-directory-callout {background:#f1f2ec;border:1px solid #dde2d5;border-radius:12px;padding:clamp(20px,4vw,32px);margin-block:32px;}
.entry-content .amato-info-panel h2,.entry-content .amato-directory-callout h2 {background:transparent;color:#2c3029;border:0;padding:0;margin-top:0;}
.entry-content .amato-info-panel h2::before,.entry-content .amato-info-panel h2::after,.entry-content .amato-directory-callout h2::before,.entry-content .amato-directory-callout h2::after {display:none;}
.amato-device-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 40px;}
.amato-device-card {position:relative;background:#f1f2ec;border:1px solid #dce1d6;border-radius:10px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;}
.entry-content .amato-device-card h3 {background:transparent;border:0;font-size:18px;line-height:1.6;margin:0;padding:0;word-break:keep-all;overflow-wrap:anywhere;}
.entry-content .amato-device-card h3::before,.entry-content .amato-device-card h3::after {display:none;}
.amato-device-card h3 a {color:#2c3029;text-decoration:underline;text-underline-offset:4px;}
.amato-device-card h3 a::after {content:"";position:absolute;inset:0;border-radius:10px;}
.amato-device-card:has(a:focus-visible) {outline:3px solid #52654b;outline-offset:3px;}
.entry-content .amato-device-card p {font-size:14px;line-height:1.8;margin:0 0 8px;}
.amato-count {display:inline-block;margin-top:auto;border-radius:4px;padding:3px 9px;background:#fff;color:#4e5b46;font-size:12px;line-height:1.8;}
.amato-work-sample {padding:24px 0;border-bottom:1px solid #dce1d6;display:flow-root;}
.amato-work-sample .wp-block-image {float:left;width:30%;margin:0 24px 12px 0;}
.amato-work-sample img {aspect-ratio:3/2;object-fit:cover;border-radius:8px;}
.entry-content .amato-work-sample h3 {background:none;border:0;padding:0;margin:0 0 10px;font-size:20px;line-height:1.7;}
.amato-work-sample h3::before,.amato-work-sample h3::after {display:none;}
.amato-work-sample p {font-size:15px;line-height:1.85;margin-bottom:0;}
.amato-project-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0;}
.amato-project-grid>.wp-block-group__inner-container {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;grid-column:1/-1;width:100%;max-width:none;}
.amato-project-grid>.wp-block-group,.amato-project-grid>.wp-block-group__inner-container>.wp-block-group {width:auto;max-width:none;margin:0;}
.amato-project-card {padding:26px;border:1px solid #dce1d6;border-radius:12px;background:#f1f2ec;display:flex;flex-direction:column;align-items:stretch;}
.amato-project-card>.wp-block-group__inner-container {display:flex;flex:1;flex-direction:column;min-width:0;}
.entry-content .amato-project-card h3 {background:transparent;border:0;padding:0;margin:12px 0;font-size:24px;line-height:1.5;}
.amato-project-card h3::before,.amato-project-card h3::after {display:none;}
.entry-content .amato-project-format {font-size:12px;color:#52654b;font-weight:600;margin:0;}
.amato-project-card p {font-size:15px;line-height:1.85;margin:0 0 16px;}
.amato-project-card .wp-block-buttons {margin-top:auto;}
.amato-html-sitemap li a {display:inline-flex;align-items:center;min-height:44px;line-height:1.7;}
.entry-content .amato-tag-list {display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;}
.entry-content .amato-tag-list li {margin:0;}
.amato-tag-list a {padding:7px 14px;border:1px solid #cbd4c3;border-radius:5px;background:#f1f2ec;text-decoration:none;gap:10px;font-size:14px;}
.amato-tag-list span {color:#62695d;font-size:12px;}
.fluentform .ff-el-tc {font-size:14px;line-height:1.8;}
.fluentform .ff_tc_label {padding-block:10px;}
.fluentform select.ff-el-form-control {padding-right:30px;}
@media(max-width:781px) {
  .amato-device-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .amato-device-card {padding:20px 16px;}
  .entry-content .amato-device-card h3 {font-size:16px;}
  .amato-icon-heading {gap:10px;}
  .amato-work-sample .wp-block-image {float:none;width:100%;margin:0 0 16px;}
  .amato-work-sample img {max-height:240px;width:100%;}
}
@media(max-width:359px) {
  .amato-device-grid {grid-template-columns:1fr;}
}
@media(max-width:600px) {
  .amato-project-grid,.amato-project-grid>.wp-block-group__inner-container {grid-template-columns:1fr;gap:16px;}
  .amato-project-card {padding:24px 20px;}
}

/* AMATO 2026-10-22: contextual navigation and small-screen containment. */
.amato-entry-link {display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;margin:4px;border:1px solid #52654b;border-radius:6px;color:#394632;line-height:1.5;}
.amato-journal-intro {margin-bottom:32px;}
.amato-journal-intro h2 {font-size:28px;line-height:1.5;}
.amato-related-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;list-style:none;padding:0;}
.amato-related-links a {display:flex;flex-direction:column;gap:12px;color:#2c3029;line-height:1.7;}
.amato-related-links img {width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;}
.entry-content .wp-block-table {max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;}
.entry-content .wp-block-column {min-width:0;}
.amato-post-card img {width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;}
.amato-entry-link:focus-visible,.amato-related-links a:focus-visible {outline:3px solid #52654b;outline-offset:4px;}
@media(max-width:600px){.amato-related-links{grid-template-columns:1fr;}.amato-journal-intro h2{font-size:24px;}}

/* Logged-in mobile: keep optional plugin shortcuts from wrapping over SEARCH. */
@media(max-width:600px){body.admin-bar #wpadminbar #wp-admin-bar-duplicate-post,body.admin-bar #wpadminbar #wp-admin-bar-google-site-kit{display:none!important;}}
/* AMAGAJE 2026-10-22: editorial home and restrained shared surface. */
body {background:#fff;color:#172026;}
#fixed-footer-menu {display:none!important;}
body {padding-bottom:0!important;}
.home #content {padding-top:16px;}
.ag-entry-grid {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px!important;margin:32px 0 48px!important;}
.ag-entry-grid .wp-block-button {width:100%;}
.ag-entry-grid .wp-block-button__link {width:100%;background:#f0f6f5!important;color:#145e59!important;border:1px solid #c9ddda!important;text-align:left;min-height:62px;}
.amato-follow,.amato-goals,.amato-editorial,.amato-summary {background:#f5f6f7;border-color:#dce3e6;}
.amato-social-buttons .wp-block-button__link {background:#fff;color:#145e59;border-color:#a9c7c3;}
.amato-section img {border-radius:10px;}
#videos img {width:100%;aspect-ratio:16/9;object-fit:cover;}
.entry-content a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {outline:3px solid #0f766e;outline-offset:3px;}
.entry-content .amato-section h2 {color:#172026!important;}
.entry-content .ag-features h3 {font-size:20px;padding:0;border:0;background:none;}
.entry-content .ag-features h3:before,.entry-content .ag-features h3:after {display:none;}
@media(max-width:767px){.ag-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:24px 0 36px!important}.ag-entry-grid .wp-block-button__link{font-size:14px;padding:12px}.home .entry-content .amato-section h2{font-size:23px}.home .amato-section{margin:40px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
#header.stk_header {background:#fff;color:#172026;border-bottom:1px solid #dce3e6;}
#header a,#header .nav_btn {color:#172026;}
#header .stk_sns_links.--position-header {display:none;}
#header .site_description {display:none;}
#header .site__logo__title {font-size:28px;line-height:1.3;letter-spacing:-.04em;}
#header .site__logo {padding-block:16px;}
@media(max-width:767px){#header .stk_g_nav{display:none!important}#header .site__logo{padding:16px 56px}#header .site__logo__title{font-size:25px}#header .nav_btn{min-width:44px;min-height:44px}.home #content{padding-top:12px}}
@media(max-width:1023px){#header .stk_g_nav{display:none!important}#header .site__logo__title{font-size:24px;white-space:nowrap}#header .site__logo{padding:16px 48px;max-width:none}}
:root{--ag-ink:#172026;--ag-muted:#53616a;--ag-line:#dce3e6;--ag-accent:#0f766e;--ag-surface:#f5f6f7}
.ag-latest,.ag-catalog{color:var(--ag-ink);font-size:16px;line-height:1.75}
.ag-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 24px}
.entry-content .ag-section-head h1{font-size:clamp(23px,3vw,32px);margin:0;border:0;padding:0;line-height:1.4}
.ag-section-head>a{font-size:14px;flex-shrink:0}
.ag-news-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:22px 32px}
.ag-news-card:first-child{grid-row:span 3}.ag-news-card a{display:grid;grid-template-columns:120px 1fr;gap:18px;text-decoration:none;color:inherit}
.ag-news-card:first-child a{display:block}.ag-news-card img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;margin:0}
.entry-content .ag-news-card h3{font-size:17px;line-height:1.65;padding:0;margin:5px 0 8px;border:0;background:none;box-shadow:none}
.entry-content .ag-news-card h3:before,.entry-content .ag-news-card h3:after{display:none}
.entry-content .ag-news-card:first-child h3{font-size:24px}.ag-label{font-size:12px;font-weight:700;color:var(--ag-accent)}.ag-news-card time{font-size:12px;color:var(--ag-muted)}
.ag-filters{display:flex;gap:16px;flex-wrap:wrap;background:var(--ag-surface);padding:20px;border-radius:12px}
.ag-filters label{flex:1 1 160px}.ag-catalog input[type=search],.ag-catalog select{display:block;width:100%;min-height:48px;font-size:16px;border:1px solid #aebbc2;border-radius:6px;background:#fff;color:var(--ag-ink);padding:8px;max-width:100%}
.ag-catalog button{min-height:44px;background:var(--ag-accent);color:#fff;border:0;padding:10px 16px;border-radius:6px;font-size:16px;cursor:pointer}
.ag-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0 40px}
.ag-product-card{border:1px solid var(--ag-line);padding:16px;border-radius:12px;min-width:0;display:flex;flex-direction:column}
.ag-product-card a{color:inherit;text-decoration:none}.ag-product-card img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:8px}
.entry-content .ag-product-card h3{font-size:18px;background:none;border:0;padding:0;margin:12px 0}.ag-product-card p{font-size:14px;margin:8px 0}.ag-product-card label{margin-top:auto}
.ag-catalog label:has(input[type=checkbox]){display:flex;gap:10px;align-items:center;min-height:48px;cursor:pointer}.ag-catalog input[type=checkbox]{width:20px;height:20px;accent-color:var(--ag-accent)}
.ag-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:20px 0}.ag-table-scroll table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:14px}.ag-table-scroll th,.ag-table-scroll td{padding:12px;border:1px solid var(--ag-line);vertical-align:top;overflow-wrap:anywhere;background:#fff;color:var(--ag-ink)}.ag-table-scroll th{background:var(--ag-surface)}.ag-table-scroll th a{color:var(--ag-ink)}.ag-pair-control{display:none}.ag-note{color:var(--ag-muted);font-size:13px}.ag-fallback summary{cursor:pointer;min-height:44px}
.ag-catalog :focus-visible,.ag-latest :focus-visible{outline:3px solid var(--ag-accent);outline-offset:3px}
@media(max-width:767px){.ag-news-grid{display:block}.ag-news-card{margin-bottom:22px}.ag-news-card a{grid-template-columns:100px 1fr;gap:14px}.ag-news-card:first-child a{display:block}.entry-content .ag-news-card:first-child h3{font-size:21px}.entry-content .ag-news-card h3{font-size:16px}.ag-section-head{gap:10px;margin-bottom:18px}.ag-section-head>a{font-size:12px}.ag-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ag-product-card{padding:12px}.ag-product-card h3{font-size:16px!important}.ag-pair-control{display:block;margin:16px 0}.ag-table-scroll th,.ag-table-scroll td{padding:8px;font-size:13px}.ag-filters{padding:16px}.ag-filters label{flex-basis:100%}}
@media(max-width:359px){.ag-product-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ag-catalog *,.ag-latest *{scroll-behavior:auto;transition:none}}

#main .entry-content .ag-news-card h3,#main .entry-content .ag-product-card h3 {border:0!important;background:none!important;padding:0!important;box-shadow:none!important;}
#main .entry-content .ag-news-card h3:before,#main .entry-content .ag-news-card h3:after,#main .entry-content .ag-product-card h3:before,#main .entry-content .ag-product-card h3:after {display:none!important;}
.ag-news-card picture {display:block!important;min-width:0;}
.ag-news-card picture source {display:none;}
.ag-news-card a>div {min-width:0;}
body:not(.wp-admin) {background:#fff!important;}
#header .nav_btn svg {fill:currentColor!important;color:#172026!important;}

/* AMATO design review 2026-10-23. Existing theme and catalog data retained. */
:root{--ag-ink:#172026;--ag-muted:#596460;--ag-line:#dce3de;--ag-accent:#0f766e;--ag-paper:#fcfcf8;--ag-wash:#f1f4f0}
html.ag-dark{--ag-ink:#edf2f5;--ag-muted:#c1ccd3;--ag-line:#607481;--ag-accent:#8edfe2;--ag-paper:#15212a;--ag-wash:#202f3a}
body #header{height:auto;position:relative;border-bottom:1px solid var(--ag-line);box-shadow:none;background:var(--ag-paper)}
body #header .inner-header{max-width:1184px;width:100%;min-height:80px;margin:auto;padding:12px 32px;display:flex;align-items:center;justify-content:space-between;gap:32px}
body #header .site__logo{float:none;margin:0;padding:0;flex-shrink:0;line-height:1.5}
body #header .site__logo__title{padding:0;font-size:28px;letter-spacing:-.06em;font-weight:800;line-height:1.5}
body #header .site_description,body #header .stk_sns_links{display:none}
body #header .stk_g_nav.stk-hidden_sp{float:none;flex:1;margin:0;justify-content:center;position:static}
body #header .ul__g_nav{display:flex;justify-content:center;align-items:center;gap:32px;padding:0;margin:0}
body #header .ul__g_nav>li{padding:0;margin:0;float:none}
body #header .ul__g_nav>li>a{font-size:14px;min-height:44px;display:flex;align-items:center;padding:0;color:var(--ag-ink);font-weight:600;line-height:1.6;letter-spacing:0;background:none}
body #header .ul__g_nav>li>a:before,body #header .ul__g_nav>li>a:after{display:none}
body #header .ul__g_nav>li.current-menu-item>a{color:var(--ag-accent)}
body #header .nav_btn{position:static;width:auto;height:auto;min-width:44px;min-height:44px;margin:0;padding:8px;display:flex;align-items:center;justify-content:center;background:none;color:var(--ag-ink);border:0}
body #header .nav_btn svg{display:none}
body #header .nav_btn .text{font-family:inherit;font-size:13px;line-height:1.6;transform:none;letter-spacing:0;text-transform:none;position:static}
body #header .ag-mobile-primary{display:none}
body #header .menu_btn{display:none}
body #header .ag-mega{display:none}
body #header a:focus-visible{outline:3px solid var(--ag-accent);outline-offset:4px}
body.home #content,body.page-id-65 #content{padding-top:0;background:var(--ag-paper)}
body.home #inner-content,body.page-id-65 #inner-content{max-width:1120px;width:calc(100% - 64px);margin:0 auto;padding:0;display:block}
body.home #main,body.page-id-65 #main{width:100%;max-width:none;margin:0;padding:0;float:none}
body.home #main>.article,body.page-id-65 #main>.article{padding:0;background:none;box-shadow:none}
body.home .entry-content{padding:44px 0 64px;font-size:16px;color:var(--ag-ink)}
body.page-id-65 .entry-content{padding:0 0 64px;font-size:16px;color:var(--ag-ink)}
body.page-id-65 .article-header{padding:40px 0 24px;margin:0}
body.page-id-65 .entry-title{font-size:36px;line-height:1.5;margin:0;padding:0;letter-spacing:-.035em}
body.page-id-65 .breadcrumb,body.page-id-65 .byline,body.page-id-65 .article-footer{display:none}
body.home .entry-content .amato-section{margin:64px 0 0}
body.home .entry-content .amato-section :is(h2,h3){color:var(--ag-ink);background:none;border:0;padding:0;box-shadow:none}
body.home .entry-content .amato-section :is(h2,h3):before,body.home .entry-content .amato-section :is(h2,h3):after{display:none}
body.home .entry-content .amato-section h2{font-size:28px;line-height:1.5;margin:0 0 24px;letter-spacing:-.035em}
body.home .ag-latest .ag-section-head{align-items:center;margin-bottom:24px}
body.home .entry-content .ag-section-head h1{font-size:28px;line-height:1.5;letter-spacing:-.035em}
body.home .ag-section-head>a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:600;color:var(--ag-accent);text-decoration:underline;text-underline-offset:5px}
body.home .ag-news-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:28px 36px}
body.home .ag-news-card{margin:0;min-width:0}
body.home .ag-news-card>a{grid-template-columns:112px minmax(0,1fr);gap:16px}
body.home .ag-news-card img{width:100%;height:84px;aspect-ratio:auto;object-fit:contain;border-radius:8px;background:var(--ag-wash);margin:0}
body.home .ag-news-card:first-child img{height:auto;aspect-ratio:auto;width:100%;max-height:none;object-fit:contain}
body.home .entry-content .ag-latest .ag-news-card h2{font-size:15px;line-height:1.75;font-weight:650;margin:0 0 8px}
body.home .entry-content .ag-latest .ag-news-card:first-child h2{font-size:25px;line-height:1.6;margin:20px 0 12px;letter-spacing:-.015em}
body.home .ag-news-card time{font-size:12px;color:var(--ag-muted)}
body.home .ag-entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:64px 0 0;padding:8px 0;border-top:1px solid var(--ag-line);border-bottom:1px solid var(--ag-line)}
body.home .ag-entry-grid .wp-block-button{width:auto;margin:0}
body.home .ag-entry-grid .wp-block-button__link{display:flex;min-height:52px;padding:8px 0;font-size:15px;font-weight:600;color:var(--ag-accent);background:transparent!important;border:0;box-shadow:none}
body.home .ag-reviews .wp-block-columns{gap:28px;margin:0}
body.home .ag-reviews .wp-block-column{min-width:0}
body.home .amato-post-card{padding:0;border:0;background:transparent;box-shadow:none}
body.home .amato-post-card figure{margin:0 0 16px}
body.home .amato-post-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:8px;background:var(--ag-wash)}
body.home .amato-post-card .ag-disclosure{font-size:12px;line-height:1.7;color:var(--ag-muted);margin:0 0 8px}
body.home .amato-post-card h3{font-size:22px;line-height:1.5;margin:0 0 8px}
body.home .amato-post-card h3 a{color:inherit;text-decoration:none}
body.home .amato-post-card .ag-fit{font-size:15px;line-height:1.8;margin:0}
body.home .ag-review-more{display:flex;align-items:center;min-height:44px;margin:20px 0 0;color:var(--ag-accent);font-size:14px;text-decoration:underline;text-underline-offset:5px}
body.home .ag-guides .wp-block-columns{gap:36px;margin:0}
body.home .ag-guides h3{font-size:19px;line-height:1.8;margin:0;padding:20px 0!important;border-top:1px solid var(--ag-line)!important}
body.home .ag-guides a{color:var(--ag-ink);text-decoration:none}
body.home .ag-videos .wp-block-columns{gap:28px;margin:0}
body.home .ag-videos figure{margin:0 0 16px}
body.home .ag-videos img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:8px;background:var(--ag-wash)}
body.home .ag-videos h3{font-size:20px;line-height:1.65;margin:0 0 8px}
body.home .ag-videos .ag-disclosure{font-size:12px;line-height:1.7;color:var(--ag-muted);margin:0}
body.home .ag-videos a{color:var(--ag-ink);text-decoration:none}
body .ag-redesign [hidden]{display:none!important}
body .ag-redesign{color:var(--ag-ink)}
body .ag-redesign .ag-design-controls{display:flex;align-items:center;justify-content:space-between;gap:24px}
body .ag-redesign .ag-design-search{flex:1;max-width:440px}
body .ag-redesign input[type=search]{padding:12px 14px;height:48px;color:var(--ag-ink);background:var(--ag-paper);border:1px solid #b6c3bc;border-radius:6px;font-size:16px}
body .ag-redesign .ag-design-chips{display:flex;gap:6px;flex-wrap:wrap}
body .ag-redesign .ag-design-chip{background:transparent;color:var(--ag-muted);border:1px solid var(--ag-line);font-size:13px;min-height:44px;padding:8px 12px;line-height:1.5;white-space:nowrap}
body .ag-redesign .ag-design-chip[aria-pressed=true]{background:#0f766e;color:#fff;border-color:#0f766e}
body .ag-redesign .ag-design-count{font-size:13px;line-height:1.8;margin:18px 0 24px;color:var(--ag-muted)}
body .ag-redesign .ag-design-notice:empty{display:none}
body .ag-redesign .ag-design-notice{font-size:13px;margin:12px 0;color:var(--ag-ink)}
body .ag-redesign .ag-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 28px;margin:0 0 36px}
body .ag-redesign .ag-product-card{padding:0 0 24px;border:0;border-bottom:1px solid var(--ag-line);border-radius:0;background:transparent;display:flex;flex-direction:column}
body .ag-redesign .ag-design-photo{display:block}
body .ag-redesign .ag-product-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:var(--ag-wash);border-radius:8px}
body .ag-redesign .ag-product-card h2{font-size:23px;line-height:1.5;font-weight:700;background:none;border:0;box-shadow:none;padding:0;margin:8px 0 0;letter-spacing:-.02em}
body .ag-redesign .ag-product-card h2:before,body .ag-redesign .ag-product-card h2:after{display:none}
body .ag-redesign .ag-product-card p.ag-design-disclosure{font-size:12px;line-height:1.8;color:var(--ag-muted);margin:14px 0 0}
body .ag-redesign .ag-product-card p.ag-design-fit{font-size:16px;line-height:1.8;color:var(--ag-ink);margin:6px 0 0}
body .ag-redesign .ag-product-card p.ag-design-feature{font-size:13px;line-height:1.8;color:var(--ag-muted);margin:2px 0 0}
body .ag-redesign .ag-design-product-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:10px}
body .ag-redesign .ag-design-review-link{color:var(--ag-accent);font-size:14px;font-weight:600;min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:5px}
body .ag-redesign .ag-design-product-actions label{font-size:12px;gap:8px;min-height:44px;margin:0;white-space:nowrap}
body .ag-redesign input[type=checkbox]{width:18px;height:18px;flex-shrink:0}
body .ag-redesign .ag-design-empty{grid-column:1/-1;padding:32px 0}
body .ag-redesign .ag-design-empty p{font-size:15px;margin:0 0 16px}
body .ag-redesign .ag-design-action{background:#0f766e;color:#fff;padding:10px 18px;min-height:44px;border-radius:6px;font-weight:600;font-size:14px;border:0}
body .ag-redesign .ag-design-action:disabled{opacity:.45;cursor:default}
body .ag-redesign .ag-design-bar{position:fixed;z-index:9990;bottom:20px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:20px;background:var(--ag-paper);color:var(--ag-ink);border:1px solid var(--ag-line);padding:12px 16px;border-radius:10px;box-shadow:0 4px 20px #0002;font-size:14px;max-width:calc(100% - 24px)}
body .ag-redesign .ag-design-reset{background:transparent;color:var(--ag-muted);font-size:13px;padding:8px;min-height:44px}
body .ag-redesign .ag-design-dialog{width:min(1000px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 40px);border:1px solid var(--ag-line);border-radius:12px;padding:28px;color:var(--ag-ink);background:var(--ag-paper);margin:auto;overflow:auto}
body .ag-design-dialog::backdrop{background:#17202699}
body .ag-redesign .ag-design-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
body .ag-redesign .ag-design-dialog-head h2{font-size:24px;line-height:1.5;border:0;padding:0;margin:0;background:none;box-shadow:none}
body .ag-redesign .ag-design-dialog-head h2:before,body .ag-redesign .ag-design-dialog-head h2:after{display:none}
body .ag-redesign .ag-design-close,body .ag-redesign .ag-design-pairs button{background:transparent;color:var(--ag-ink);border:1px solid var(--ag-line);min-height:44px;padding:8px 12px;font-size:13px}
body .ag-redesign .ag-design-pairs{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px;font-size:12px}
body .ag-redesign .ag-design-pairs button:disabled{opacity:.4}
body .ag-redesign .ag-design-diff{display:flex;align-items:center;gap:8px;font-size:13px;margin-bottom:12px}
body .ag-redesign .ag-design-comparison table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px;line-height:1.8;margin:0}
body .ag-redesign .ag-design-comparison th,body .ag-redesign .ag-design-comparison td{padding:16px 12px;vertical-align:top;text-align:left;border:0;border-bottom:1px solid var(--ag-line);background:transparent;color:var(--ag-ink);overflow-wrap:anywhere}
body .ag-redesign .ag-design-comparison th:first-child{width:100px;padding-left:0;font-weight:500}
body .ag-redesign .ag-design-comparison th img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;margin-bottom:12px}
body .ag-redesign .ag-design-comparison a{color:var(--ag-accent);text-decoration:underline;text-underline-offset:3px}
body .ag-redesign .ag-design-dialog>p.ag-design-disclosure{font-size:12px;line-height:1.8;color:var(--ag-muted);margin:20px 0 0}
body .ag-redesign .ag-fallback{font-size:13px;color:var(--ag-muted);border-top:1px solid var(--ag-line);padding-top:12px}
body.postid-158 #inner-content{max-width:1120px;width:calc(100% - 64px);margin:auto;padding:0}
body.postid-158 #main{width:100%;max-width:760px;margin:0;padding:0;float:none}
body.postid-158 #sidebar1{display:none}
body.postid-158 .article{padding:40px 0 64px;box-shadow:none;background:transparent}
body.postid-158 .article-header{padding:0;margin:0 0 20px}
body.postid-158 .article-header .byline{margin:0 0 18px;padding:0;font-size:12px;color:var(--ag-muted)}
body.postid-158 .article-header .entry-title{font-size:35px;line-height:1.55;letter-spacing:-.035em;margin:0;padding:0}
body.postid-158 .article-header .entry-title>span{display:block;margin-top:8px;font-weight:500;font-size:28px;line-height:1.6}
body.postid-158 .entry-content{padding:0;font-size:16px;line-height:1.95}
body.postid-158 .entry-content>.ag-disclosure{font-size:13px;line-height:1.8;color:var(--ag-muted);margin:0 0 24px}
body.postid-158 .entry-content>.ag-article-hero{margin:0 0 36px}
body.postid-158 .ag-article-hero img{width:100%;height:auto;border-radius:8px;object-fit:contain}
body.postid-158 .ag-article-hero figcaption{font-size:12px;line-height:1.8;color:var(--ag-muted);margin-top:10px}
body.postid-158 .amato-review-summary{background:none;border:0;border-radius:0;padding:0;margin:0 0 36px}
body.postid-158 .amato-review-summary h2{font-size:25px;background:none;color:var(--ag-ink);border:0;padding:0;margin:0 0 20px;box-shadow:none}
body.postid-158 .amato-review-summary h2:before,body.postid-158 .amato-review-summary h2:after{display:none}
body.postid-158 .amato-review-summary p{margin:18px 0 0;line-height:1.95}
body.postid-158 .amato-review-summary .ag-conditions{font-size:13px;color:var(--ag-muted)}
body.postid-158 .ag-article-toc{border-top:1px solid var(--ag-line);border-bottom:1px solid var(--ag-line);margin:28px 0 36px;font-size:14px}
body.postid-158 .ag-article-toc>summary{min-height:48px;cursor:pointer;padding:12px 0}
body.postid-158 .ag-article-toc .stk-toc{border:0;background:none;padding:0 0 16px;margin:0}
body.postid-158 .ag-article-toc .stk-toc__title{display:none}
@media(max-width:1000px){body #header .ul__g_nav{gap:20px}body .ag-redesign .ag-design-controls{display:grid}body .ag-redesign .ag-design-search{max-width:none}body .ag-redesign .ag-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
 body #header .inner-header{display:grid;grid-template-columns:1fr auto auto;gap:0 8px;padding:10px 20px 0;min-height:100px}
 body #header .site__logo{grid-row:1;grid-column:1;min-width:0}body #header .site__logo__title{font-size:25px;line-height:44px}
 body #header .stk_g_nav{display:none!important}body #header .search_btn{grid-row:1;grid-column:2}body #header .menu_btn{grid-row:1;grid-column:3;display:flex;padding-right:0}
 body #header .ag-mobile-primary{display:flex;justify-content:space-between;align-items:center;gap:12px;grid-row:2;grid-column:1/-1;min-height:48px;width:100%}
 body #header .ag-mobile-primary a{display:flex;align-items:center;min-height:48px;font-size:13px;font-weight:600;white-space:nowrap;color:var(--ag-ink);text-decoration:none}
 body.home #inner-content,body.page-id-65 #inner-content,body.postid-158 #inner-content{width:calc(100% - 40px)}
 body.home .entry-content{padding-top:24px;padding-bottom:48px}
 body.page-id-65 .article-header{padding:24px 0}body.page-id-65 .entry-title{font-size:28px}
 body.home .entry-content .amato-section{margin-top:40px}
 body.home .ag-news-grid{display:grid;grid-template-columns:1fr;gap:24px}
 body.home .ag-news-card:first-child{grid-row:auto}
 body.home .ag-news-card>a{grid-template-columns:100px minmax(0,1fr);gap:16px}
 body.home .ag-news-card img{height:80px}body.home .ag-news-card:first-child img{height:auto}
 body.home .entry-content .ag-latest .ag-news-card h2{font-size:14px;line-height:1.75}
 body.home .entry-content .ag-latest .ag-news-card:first-child h2{font-size:21px;line-height:1.65;margin:16px 0 10px}
 body.home .entry-content .ag-section-head h1,body.home .entry-content .amato-section h2{font-size:24px}
 body.home .ag-latest .ag-section-head{margin-bottom:20px}body.home .ag-section-head>a{font-size:13px}
 body.home .ag-entry-grid{grid-template-columns:1fr 1fr;gap:0 12px;margin-top:40px;padding:6px 0}
 body.home .ag-entry-grid .wp-block-button__link{justify-content:flex-start;min-height:48px;font-size:14px}
 body.home .ag-reviews .wp-block-columns,body.home .ag-videos .wp-block-columns{flex-direction:column;gap:28px}
 body.home .amato-post-card h3{font-size:20px}body.home .ag-guides .wp-block-columns{flex-direction:column;gap:0}
 body.home .ag-guides h3{font-size:17px}body.home .ag-videos h3{font-size:18px}
 body .ag-redesign .ag-design-controls{gap:16px}body .ag-redesign .ag-design-chip{font-size:12px;padding-inline:10px}
 body .ag-redesign .ag-design-count{margin:14px 0 20px}body .ag-redesign .ag-product-grid{grid-template-columns:1fr;gap:28px}
 body .ag-redesign .ag-product-card h2{font-size:22px}body .ag-redesign .ag-design-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:20px}
 body .ag-redesign .ag-design-dialog-head h2{font-size:20px}body .ag-redesign .ag-design-dialog-head{margin-bottom:16px}
 body .ag-redesign .ag-design-comparison table{font-size:12px;line-height:1.8}body .ag-redesign .ag-design-comparison th,body .ag-redesign .ag-design-comparison td{padding:12px 8px}body .ag-redesign .ag-design-comparison th:first-child{width:66px}
 body .ag-redesign .ag-design-bar{bottom:12px;padding:10px 12px;gap:12px;font-size:12px;white-space:nowrap}
 body.postid-158 .article{padding-top:24px}body.postid-158 .article-header .byline{font-size:11px;margin-bottom:16px}
 body.postid-158 .article-header .entry-title{font-size:26px;line-height:1.55;letter-spacing:-.025em}body.postid-158 .article-header .entry-title>span{font-size:22px;margin-top:6px}
 body.postid-158 .article-header{margin-bottom:18px}body.postid-158 .entry-content>.ag-disclosure{font-size:12px;margin-bottom:24px}
 body.postid-158 .entry-content>.ag-article-hero{margin-bottom:32px}body.postid-158 .ag-article-hero figcaption{font-size:11px}
 body.postid-158 .amato-review-summary h2{font-size:22px;line-height:1.6;margin-bottom:16px}body.postid-158 .entry-content p{line-height:1.9}
}
@media(min-width:768px){body #header .stk_g_nav.stk-hidden_sp{display:block}body #header .stk_g_nav.stk-hidden_pc{display:none}}

/* The site's Additional CSS uses !important for its old widths and heading bars. */
body #header .site__logo{text-align:left!important}
body.home #inner-content,body.page-id-65 #inner-content{max-width:1120px!important;width:calc(100% - 64px)!important;margin:0 auto!important}
body.home .page-full #main,body.page-id-65 .page-full #main{max-width:none!important;width:100%!important;margin:0!important}
body.home .ag-entry-grid{margin:64px 0 0!important;gap:20px!important}
body.home .ag-entry-grid .wp-block-button__link{background:transparent!important;border:0!important;min-height:52px}
body .ag-redesign .ag-product-card h2,body .ag-redesign .ag-design-dialog-head h2,body.postid-158 .entry-content h2{background:transparent!important;color:var(--ag-ink)!important;border:0!important;box-shadow:none!important;padding:0!important}
body .ag-redesign .ag-product-card h2 a{color:var(--ag-ink)!important}
body.postid-158 #inner-content{max-width:1120px!important;width:calc(100% - 64px)!important;margin:0 auto!important}
body.postid-158 .page-full #main{max-width:760px!important;width:100%!important;margin:0!important}
body.postid-158 :is(.breadcrumb,.breadcrumbs,#breadcrumb){display:none!important}
body.postid-158 .byline .cat-name{background:transparent;padding:0;color:var(--ag-muted)}
@media(max-width:767px){body.home #inner-content,body.page-id-65 #inner-content,body.postid-158 #inner-content{width:calc(100% - 40px)!important}body.home .ag-entry-grid{margin-top:40px!important;gap:0 12px!important}body.home .ag-entry-grid .wp-block-button__link{min-height:48px}}

/* AMATO interface review 2026-10-23: keyboard, reflow and state visibility. */
.ag-skip-link{position:fixed;inset-inline-start:16px;inset-block-start:12px;z-index:100000;transform:translateY(-200%);padding:12px 18px;background:var(--ag-paper);color:var(--ag-ink);border:2px solid var(--ag-accent);border-radius:6px;font-size:1rem;line-height:1.5}
.ag-skip-link:focus{transform:none;outline:3px solid var(--ag-accent);outline-offset:3px}
body.admin-bar .ag-skip-link:focus{inset-block-start:54px}
body #main:focus{outline:none}
body.home .entry-content .amato-section h2{color:var(--ag-ink)!important}
body .ag-fallback>summary,body .ag-article-toc>summary{display:list-item;list-style:disclosure-closed inside;padding-block:12px;line-height:1.6;min-height:44px}
body .ag-fallback[open]>summary,body .ag-article-toc[open]>summary{list-style-type:disclosure-open}
body .ag-fallback>summary::marker,body .ag-article-toc>summary::marker{color:var(--ag-accent)}
body .ag-redesign input[type=search]{border-color:var(--ag-muted);height:auto;min-height:48px}
body .ag-redesign .ag-design-chip[aria-pressed=true]{text-decoration:underline;text-underline-offset:4px;font-weight:700}
html.ag-dark body .ag-redesign .ag-design-chip[aria-pressed=true]{background:#176b70!important;border-color:#8edfe2!important}
body .ag-redesign .ag-design-count,body .ag-redesign .ag-design-bar,body .ag-redesign .ag-design-pairs,body .ag-redesign table{font-variant-numeric:tabular-nums}
body .ag-redesign .ag-design-dialog{overscroll-behavior:contain;scroll-padding-block:76px 20px}
body .ag-redesign .ag-design-dialog-head{position:sticky;inset-block-start:0;z-index:2;background:var(--ag-paper);padding-block:8px}
body .ag-redesign .ag-design-bar{flex-wrap:wrap;justify-content:center;max-width:calc(100% - 24px);width:max-content;white-space:normal;bottom:max(12px,env(safe-area-inset-bottom))}
body .ag-redesign .ag-design-bar>span{flex:1 0 auto}
html:has(.ag-design-bar:not([hidden])){scroll-padding-block-end:140px}
body:has(.ag-design-bar:not([hidden])) #footer{padding-block-end:140px}
body:has(.ag-design-bar:not([hidden])) #page-top{bottom:calc(140px + env(safe-area-inset-bottom))!important}
body .ag-redesign .ag-design-pairs{flex-wrap:wrap}
body .ag-redesign .ag-design-pairs button{font-size:.8125rem}
@media(max-width:360px){
 body .ag-redesign .ag-design-dialog{padding:12px}
 body .ag-redesign .ag-design-pairs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px}
 body .ag-redesign .ag-design-pairs button{padding-inline:4px;font-size:.75rem}
 body .ag-redesign .ag-design-pairs>span{white-space:nowrap}
 body .ag-redesign .ag-design-comparison th:first-child{width:54px}
 body .ag-redesign .ag-design-comparison :is(th,td){padding-inline:5px}
}
body .remodal{overscroll-behavior:contain}
body .remodal :is(a,button,input,[role=button]):focus-visible{outline:3px solid #0f766e;outline-offset:3px}
body .remodal .searchform_input{font-size:1rem}
body .remodal .remodal-close{min-width:44px;min-height:44px}
body .remodal .accordionBtn{min-width:44px;min-height:44px;cursor:pointer}
body .remodal .ag-modal-results{position:relative!important;inset:auto!important;width:100%!important;max-width:100%;margin-block:12px;text-align:start}
html.ag-dark body #footer .stk_sns__svgicon{fill:var(--ag-accent);color:var(--ag-accent)}
@media(max-width:1023px){
 body #header .inner-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:0 8px;padding:10px 20px 0;min-height:100px}
 body #header .site__logo{grid-row:1;grid-column:1;min-width:0;max-width:100%}
 body #header .site__logo__title{font-size:1.5625rem;line-height:1.76;white-space:normal}
 body #header .search_btn{grid-row:1;grid-column:2}
 body #header .menu_btn{grid-row:1;grid-column:3;display:flex;padding-inline-end:0}
 body #header .ag-mobile-primary{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0 12px;grid-row:2;grid-column:1/-1;min-height:48px;width:100%}
 body #header .ag-mobile-primary a{display:flex;align-items:center;min-height:48px;font-size:.8125rem;font-weight:600;white-space:normal;color:var(--ag-ink);text-decoration:none}
 body.home .ag-news-grid{grid-template-columns:minmax(0,1fr)}
 body.home .ag-news-card:first-child{grid-row:auto}
}
@media(forced-colors:active){
 body :focus-visible{outline:3px solid Highlight!important}
 body .ag-redesign .ag-design-chip[aria-pressed=true]{border:2px solid Highlight!important}
}
