/* Styles for service.html. Shared styles (menu, icons, progress line) are in assets/css/site.css. */
:root{--theme:#0f6e56;--theme-dk:#0a5240;--wash:#eef6f3;--mut:#828282;--divider:#e8e8e8}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:#000;font-family:"Roboto",-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;font-weight:300;font-size:16px;line-height:1.6}
a{color:var(--theme);text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible{outline:2px solid var(--theme);outline-offset:2px}
.navbar{position:fixed;top:0;left:0;right:0;z-index:20;background:rgba(255,255,255,.97);border-bottom:1px solid var(--divider);padding-top:env(safe-area-inset-top,0px)}
.nav-inner{max-width:930px;margin:0 auto;padding:0 15px;height:56px;display:flex;align-items:center;justify-content:space-between}
.brand{font-size:1.25rem;font-weight:300;color:#000}
.brand b{font-weight:700}
.brand:hover{text-decoration:none;color:#000}
.nav-links{display:flex;gap:2px}
.nav-links a{color:#000;padding:8px 9px;font-size:15px;font-weight:400}
.nav-links a:hover{color:var(--theme);text-decoration:none}
.nav-links a.active{color:var(--theme);font-weight:500}
.container{max-width:930px;margin:0 auto;padding:calc(88px + env(safe-area-inset-top,0px)) 15px 40px}
.post-title{font-size:2.6rem;font-weight:300;margin:0 0 .3rem;line-height:1.2}
.post-description{color:#444;font-size:1.06rem;margin:0 0 1.6rem;max-width:44em;line-height:1.65}
.sig{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #111;border-bottom:1px solid var(--divider);margin:0 0 .6rem}
.sig div{padding:13px 14px 11px}
.sig div+div{border-left:1px solid var(--divider)}
.sig b{display:block;font-size:1.15rem;font-weight:400;color:var(--theme-dk);line-height:1.25}
.sig span{font-size:.8rem;color:var(--mut)}
h2.sec{font-size:1.5rem;font-weight:300;margin:2.4rem 0 .9rem;padding-top:.9rem;border-top:1px solid var(--divider)}
ul.ent{list-style:none;margin:0;padding:0}
ul.ent li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:11px 0;border-bottom:1px solid #f3f3f3;align-items:baseline}
ul.ent li:last-child{border-bottom:0}
ul.ent b{display:block;font-weight:500;font-size:1.02rem;color:#111;line-height:1.4}
ul.ent b a{color:#111}
ul.ent b a:hover{color:var(--theme)}
.org{display:block;font-size:.9rem;color:#555;line-height:1.5}
ul.ent p{margin:5px 0 0;font-size:.9rem;color:#444;line-height:1.6;max-width:42em}
.yrs{font-size:.85rem;color:var(--mut);white-space:nowrap;font-variant-numeric:tabular-nums}
.eds{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.pill{display:inline-block;font-size:.74rem;font-weight:500;color:var(--theme-dk);background:var(--wash);border-radius:3px;padding:1px 7px;font-variant-numeric:tabular-nums}
a.pill:hover{text-decoration:none;background:#d9ede5}
.confs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.conf{border:1px solid var(--divider);border-top:3px solid var(--theme);border-radius:4px;padding:14px 16px}
.conf h3{margin:0;font-size:1.15rem;font-weight:500}
.conf .full{margin:0 0 10px;font-size:.78rem;color:var(--mut);line-height:1.4}
.conf ul{list-style:none;margin:0;padding:0}
.conf li{display:flex;flex-direction:column;gap:4px;padding:8px 0;border-top:1px solid #f3f3f3;font-size:.9rem}
.conf li .ys{display:flex;gap:5px;flex-wrap:wrap}
table.rev{width:100%;border-collapse:collapse}
table.rev th{text-align:left;font-weight:500;font-size:.95rem;width:90px;padding:10px 12px 10px 0;vertical-align:top;color:#111}
table.rev td{padding:10px 0;vertical-align:top;border-bottom:1px solid #f3f3f3;font-size:.92rem}
table.rev tr:last-child td{border-bottom:0}
table.rev td b{font-weight:500}
table.rev td span{display:block;font-size:.84rem;color:var(--mut)}
table.rev td.yrs{text-align:right;padding-left:16px}
.more2{margin-top:1rem;display:grid;grid-template-columns:1fr 1fr;gap:24px}
.more2 p{margin:0;font-size:.88rem;color:#444;line-height:1.6}
.more2 b{display:block;font-weight:500;color:#111;margin-bottom:2px;font-size:.92rem}
footer{border-top:1px solid var(--divider);color:var(--mut);font-size:.8rem;text-align:center;padding:16px 15px calc(16px + env(safe-area-inset-bottom,0px));margin-top:30px}
@media(max-width:760px){
  .nav-links a:not(.active){display:none}
  .post-title{font-size:2rem}
  .sig{grid-template-columns:1fr 1fr}
  .sig div:nth-child(3){border-left:0}
  .sig div:nth-child(n+3){border-top:1px solid var(--divider)}
  .confs,.more2{grid-template-columns:1fr}
  ul.ent li{grid-template-columns:1fr;gap:2px}
  table.rev th{width:64px}
  table.rev td.yrs{white-space:normal}
}

/* ===== Dark mode: dark-theme versions of the colors above ===== */
html[data-theme="dark"] {color-scheme:dark}
html[data-theme="dark"] {--theme:#62dabc;--theme-dk:#62dabc;--wash:#1e392f;--mut:#888f96;--divider:#35383b}
html[data-theme="dark"] body {background:#121314;color:#e4e6e7}
html[data-theme="dark"] .navbar {background:rgba(18,19,20,0.97)}
html[data-theme="dark"] .brand {color:#e4e6e7}
html[data-theme="dark"] .brand:hover {color:#e4e6e7}
html[data-theme="dark"] .nav-links a {color:#e4e6e7}
html[data-theme="dark"] .post-description {color:#a9aeb2}
html[data-theme="dark"] .sig {border-top:1px solid #d5d8da}
html[data-theme="dark"] ul.ent li {border-bottom:1px solid #1b1d1f}
html[data-theme="dark"] ul.ent b {color:#d5d8da}
html[data-theme="dark"] ul.ent b a {color:#d5d8da}
html[data-theme="dark"] .org {color:#9aa0a5}
html[data-theme="dark"] ul.ent p {color:#a9aeb2}
html[data-theme="dark"] a.pill:hover {background:#1c3b2e}
html[data-theme="dark"] .conf li {border-top:1px solid #1b1d1f}
html[data-theme="dark"] table.rev th {color:#d5d8da}
html[data-theme="dark"] table.rev td {border-bottom:1px solid #1b1d1f}
html[data-theme="dark"] .more2 p {color:#a9aeb2}
html[data-theme="dark"] .more2 b {color:#d5d8da}
