:root{--brand:#126b9a;--accent:#e97832;--ink:#183346;--muted:#536b7b;--canvas:#f3f7fa;--surface:#fff;--space:24px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:20px;line-height:1.6;background:var(--surface);overflow-wrap:anywhere}h1,h2,h3,p{margin:0}h1,h2{font-size:32px;line-height:1.6}h3,.brand{font-size:24px;line-height:1.5}.brand,.category{color:var(--brand)}a{color:var(--brand)}button,input,textarea,select{font:inherit}button,a.button{min-height:48px}a,button,input,textarea,select{scroll-margin-top:24px}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.site-header{padding:24px;display:flex;flex-direction:column;gap:8px}nav{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:16px}nav a{min-height:44px;display:inline-flex;align-items:center}section,footer{padding:24px;display:flex;flex-direction:column;gap:24px}.hero{background:var(--brand);color:white;display:flex;gap:24px}.hero-copy{display:flex;flex-direction:column;gap:24px}.hero-image{display:block;width:100%;height:220px;object-fit:contain}.accent{background:var(--accent);height:4px;width:48px}.small{font-size:16px}.button,button{background:var(--brand);color:white;border:1px solid var(--brand);padding:10px 24px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border-radius:4px;align-self:flex-start}.button.light{background:white;color:var(--brand);width:100%}.cards{display:grid;gap:24px;width:100%}.card{background:var(--canvas);padding:24px;display:flex;flex-direction:column;gap:12px;min-width:0}.card a{color:inherit}.tinted{background:var(--canvas)}.lines{white-space:pre-line}.filters{display:flex;gap:16px;flex-wrap:wrap}.filters button{background:none;color:var(--brand);padding:8px 4px;border:0;font-size:16px}.filters [aria-pressed=true]{text-decoration:underline;font-weight:bold}.article{max-width:900px;margin:auto;padding:24px;display:flex;flex-direction:column;gap:24px}.skip{position:absolute;left:24px;top:-100px;background:white;padding:12px;z-index:2}.skip:focus{top:0}[hidden]{display:none!important}.maintenance{max-width:1440px;margin:auto;padding:24px}.maintenance>p{margin-bottom:24px}.maintenance-grid{display:grid;gap:24px}aside button{display:block;margin-bottom:12px;width:100%;text-align:left}form{display:flex;flex-direction:column;gap:16px}label{display:flex;flex-direction:column;gap:8px}input,textarea,select{width:100%;padding:12px;border:1px solid #8095a3;border-radius:4px;background:white;color:var(--ink)}.actions{display:flex;flex-wrap:wrap;gap:12px}button:disabled{opacity:.5;cursor:not-allowed}#message{white-space:pre-line}#store-fields,#profile-fields{display:flex;flex-direction:column;gap:16px}
@media(min-width:900px){.site-header{padding:24px 64px;flex-direction:row;align-items:center;gap:64px}.site-header .brand{flex:0 1 420px}section,footer{padding:24px 64px}.hero{padding:64px;display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}.hero h1{font-size:48px}.hero-image{height:350px}.hero-copy .button{width:300px}.services{grid-template-columns:repeat(2,minmax(0,1fr))}.news{grid-template-columns:repeat(3,minmax(0,1fr))}.tinted{padding-top:40px;padding-bottom:40px}.maintenance-grid{grid-template-columns:280px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@media(min-width:900px){.hero-copy{grid-column:1;grid-row:1}.hero-image{grid-column:2;grid-row:1 / span 2}.hero-action{grid-column:1;grid-row:2;max-width:300px}}

.site-header nav a{text-decoration:none}.site-header nav a:hover{text-decoration:underline}
.article-card-image{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}.article-hero-image{margin:0}.article-hero-image img{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:8px}.article-hero-image figcaption{font-size:14px;color:var(--muted);margin-top:8px}
.news-page{max-width:1200px;margin:0 auto}.news-page .news{grid-template-columns:1fr}.news-page .card{padding:20px;border:1px solid #dbe5eb;border-radius:12px}.news-page .card h2{font-size:24px}@media(min-width:700px){.news-page .news{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1100px){.news-page .news{grid-template-columns:repeat(3,minmax(0,1fr))}}

.site-header nav, #nav-preview {display:flex;flex-wrap:wrap;gap:16px}#nav-preview span{padding:12px;background:var(--canvas,#f3f7fa)}#navigation fieldset{min-width:0;margin-bottom:24px}dialog{box-sizing:border-box;width:min(560px,calc(100% - 32px));max-height:90vh;overflow:auto;padding:24px;border:1px solid #536b7b;color:#183346}dialog::backdrop{background:#18334699}dialog input{width:100%;box-sizing:border-box}button{margin:4px}fieldset button{margin-right:8px}

.nav-more summary{min-height:48px;cursor:pointer}.nav-more a{display:block;padding:12px;overflow-wrap:anywhere}.site-header nav a{overflow-wrap:anywhere;max-width:100%}.site-header nav{min-width:0}#entries button{overflow-wrap:anywhere}input,textarea,select{max-width:100%;box-sizing:border-box}

.maintenance #navigation{display:none}.maintenance.nav-mode #navigation{display:block}.maintenance.nav-mode>.maintenance-grid,.maintenance.nav-mode>#content,.maintenance.nav-mode>#content+p,.maintenance.nav-mode>#message,.maintenance.nav-mode>#preview-panel{display:none}

.hn-public.theme-large{font-size:22px}.theme-large h1,.theme-large h2{font-size:36px}.theme-relaxed section,.theme-relaxed footer{gap:32px;padding-top:32px;padding-bottom:32px}.filters a[aria-current=page]{font-weight:bold;text-decoration:underline}.preview-banner{padding:24px;background:#fff2df;border:2px solid var(--accent)}.pager{display:flex;flex-wrap:wrap;gap:12px;align-items:center}@media(min-width:900px){.theme-large .hero h1{font-size:54px}}

.maintenance #theme{display:none}.maintenance.theme-mode #theme{display:flex}.maintenance.theme-mode>.maintenance-grid,.maintenance.theme-mode>#content,.maintenance.theme-mode>#content+p,.maintenance.theme-mode>#message,.maintenance.theme-mode>#preview-panel{display:none}#navigation fieldset button{display:inline-flex}#theme-form .actions{align-items:center}.pager button{width:auto}#entry-filter{margin-bottom:16px}

.article-header .button,.article-actions .button{width:100%}.article-actions{display:flex;flex-direction:column;gap:16px}.article-actions button{align-self:stretch}.article-meta{padding:16px;background:var(--canvas);border-radius:8px}#share-dialog{width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:0;border-radius:12px;padding:24px;box-shadow:0 12px 48px #18334633;color:var(--ink)}#share-dialog::backdrop{background:#18334680}#share-dialog>*+*{margin-top:16px}#share-dialog h2{font-size:28px}#share-dialog label{display:flex;flex-direction:column;gap:8px}#share-dialog button{width:100%;align-self:stretch}#share-dialog #share-message{min-height:1.6em;color:var(--muted)}
@media(min-width:900px){.article-header .button,.article-actions .button{width:300px}.article-header{max-width:1440px;margin:auto}.article-actions{align-items:flex-start}.article-actions button{align-self:flex-start}#share-dialog{padding:32px}}

/* Confirmed v1.3 page composition: keep article, dynamic index and sharing aligned. */
.home-news{grid-template-columns:1fr}
#news>a.button,#contact>a.button,footer>a.button{width:100%;align-self:stretch}
.news-page{max-width:1320px;padding:24px;display:flex;flex-direction:column;gap:24px}
.news-page .news{grid-template-columns:1fr}
.news-page .card{padding:24px;border:0;border-radius:0}
.news-page .card h2{font-size:28px}
.news-page .filters a{text-decoration:none}
.news-page .filters a[aria-current=page]{font-weight:700;text-decoration:underline}
.back-home{width:100%;align-self:stretch}
.article-header{max-width:1320px;margin:0 auto;padding:24px}
.article{max-width:1320px;padding:24px;gap:24px}
.article-actions a{align-self:stretch}
.share-page main{max-width:1320px;margin:0 auto;padding:24px;display:flex;flex-direction:column;gap:24px}
.share-page .share-url{color:var(--brand)}
.share-page #share-url{min-height:48px}
.share-page #share-copy,.share-page #share-manual{width:100%;align-self:stretch}
.share-page .share-note{color:var(--muted)}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:900px){
  .home-news{grid-template-columns:repeat(2,minmax(0,1fr))}
  #news>a.button,#contact>a.button,footer>a.button{width:300px;align-self:flex-start}
  .news-page{padding:48px}
  .news-page .news{grid-template-columns:repeat(2,minmax(0,1fr))}
  .news-page .back-home{width:300px;align-self:flex-start}
  .article-header{padding:24px 48px}
  .article{padding:24px 48px}
  .article-header .button,.article-actions .button{width:300px}
  .share-page main{padding:48px}
  .share-page #share-copy,.share-page #share-manual,.share-page .back-home{width:300px;align-self:flex-start}
}
