/* Medical notices only, 2026-11-22.
 * Layout/600px wrapping and 760px gutters: current Atsumi lower-scoped-notices.css
 * + subpages-emerald.css, inherited unchanged. Facility theme loads before this file.
 */
body.atsumi-site[data-review-page="notices.html"] .notices-main {
  --notice-ink: var(--hashira-ink);
  --notice-soft: var(--hashira-compact-paper);
  --notice-line: var(--hashira-rule);
}
body.atsumi-site[data-review-page="notices.html"] .notices-main .curve-page-title {
  background: var(--notice-soft) !important;
  border-color: var(--notice-line) !important;
}
body.atsumi-site[data-review-page="notices.html"] .notices-main :is(.curve-page-title h2, .subpage-title-en),
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-list :is(h3, p, a, .document-action-label, .notice-document-name, .notice-action-copy, .notice-keep-word, .notice-file-label, .document-file-action, .document-kind, .document-arrow) {
  color: var(--notice-ink) !important;
}
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-list a {
  border-left-color: var(--notice-line) !important;
}
body.atsumi-site[data-review-page="notices.html"] .notices-main .document-file-action { white-space: nowrap; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .document-arrow { border-color: var(--notice-line) !important; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-list a:is(:hover, :focus-visible) {
  background-color: var(--notice-soft);
  border-left-color: var(--notice-ink) !important;
}
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-list a:is(:hover, :focus-visible) .document-arrow {
  background-color: var(--notice-ink);
  color: #fff !important;
  border-color: var(--notice-ink) !important;
}
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-list a:focus-visible {
  outline: 3px solid var(--notice-ink) !important;
  outline-offset: 4px;
}

/* Atsumi adopted notice layout: explicit here to protect it from facility overrides. */
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-list { width:min(800px, calc(100% - 64px)); max-width:none; margin:20px auto 36px; padding:0; display:block; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-item { margin:0; padding:18px 0; border:0; background:none; border-radius:0; box-shadow:none; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-item:first-child { padding-top:0; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-item::before { content:none; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-list a { display:flex; flex-flow:row nowrap; align-items:center; justify-content:flex-start; gap:20px; width:fit-content; max-width:100%; min-height:44px; padding:12px 16px; border-left:2px solid var(--notice-line); text-decoration:none; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .document-action-label { display:block; flex:0 1 auto; min-width:0; order:0; }
body.atsumi-site[data-review-page="notices.html"] .notices-main :is(.notice-document-name,.notice-file-label) { display:block; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-action-copy { display:block; margin-top:3px; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-keep-word { white-space:nowrap; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .document-file-action { display:inline-flex; align-items:center; gap:8px; flex:0 0 auto; order:1; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .document-arrow { display:inline-grid; place-items:center; width:32px; height:32px; border-width:1px; border-style:solid; border-radius:50%; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-with-description { padding-top:22px; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-explanation-heading { margin-left:18px; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-with-description > p { margin-left:18px; }
body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-with-description > p:has(a) { margin-left:0; }
@media (max-width:760px) {
  body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-list { width:calc(100% - 40px); margin-top:14px; }
}
@media (max-width:600px) {
  body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-list a { flex-flow:row wrap; gap:6px 12px; width:100%; }
  body.atsumi-site[data-review-page="notices.html"] .notices-main .document-action-label { display:contents; flex:0 0 auto; width:100%; max-width:100%; }
  body.atsumi-site[data-review-page="notices.html"] .notices-main :is(.notice-document-name,.notice-file-label) { flex:0 0 100%; min-width:0; }
  body.atsumi-site[data-review-page="notices.html"] .notices-main .notice-action-copy { flex:0 1 auto; min-width:0; margin-top:0; }
}
