*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#f4f0ec;
  --surface:#ffffff;
  --surface2:#faf8f6;
  --surface3:#efe9e3;
  --border:#e6dfd8;
  --border2:#d4ccc4;
  --text:#1a1a2e;
  --text2:#555566;
  --text3:#8a8490;
  --accent:#e07432;
  --accent2:#c4612a;
  --accent-light:#fdf3ec;
  --radius:8px;
  --mono:"SF Mono","Fira Code","Cascadia Code",Consolas,monospace;
}
html{scroll-behavior:smooth;font-size:16px;scrollbar-gutter:stable}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;background:var(--bg);color:var(--text);line-height:1.65;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}
button{cursor:pointer}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.skip-link{position:absolute;left:16px;top:-80px;z-index:200;background:var(--accent);color:#fff;padding:10px 14px;border-radius:var(--radius);font-weight:700}
.skip-link:focus{top:16px}
.material-icons-outlined{font-size:20px;vertical-align:middle;color:var(--text3)}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.88);backdrop-filter:blur(20px);padding:0 32px}
.header-inner{max-width:1440px;margin:0 auto;display:flex;align-items:center;height:68px;gap:24px}
.header-logo img{height:28px;width:auto;display:block}
.header-divider{width:1px;height:24px;background:var(--border);flex-shrink:0}
.header-title{display:flex;align-items:center;gap:8px;font-size:1rem;font-weight:700;white-space:nowrap;margin-right:auto}
.header-title .material-icons-outlined{color:var(--accent)}
.updated-label{display:inline-flex;align-items:center;margin-left:4px;padding-left:10px;border-left:1px solid var(--border);font-size:.72rem;line-height:1;color:var(--text3);font-weight:700;letter-spacing:.02em}
.header-nav{display:flex;align-items:center;gap:18px}
.header-nav a{font-size:.88rem;color:var(--text2);font-weight:700;white-space:nowrap}
.header-nav-cta{color:var(--accent)!important}
.section-kicker,.modal-kicker{font-size:.76rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.page-shell{max-width:1440px;margin:0 auto;padding:30px 40px 72px;display:grid;grid-template-columns:250px minmax(0,1fr);gap:30px}
.sidebar{position:sticky;top:92px;align-self:start;max-height:calc(100vh - 110px);overflow:auto}
.sidebar-box{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px}
.sidebar-title{font-size:.82rem;font-weight:700;color:var(--text3);margin:4px 8px 10px}
.category-nav{display:flex;flex-direction:column;gap:4px}
.cat-link{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:9px 10px;border:0;border-radius:var(--radius);background:transparent;color:var(--text2);text-align:left;font-weight:700;font-size:.9rem}
.cat-link:hover,.cat-link.active{background:var(--accent-light);color:var(--accent)}
.cat-link .material-icons-outlined{font-size:18px;color:currentColor}
.cat-link .count{margin-left:auto;font-family:var(--mono);font-size:.74rem;color:var(--text3)}
.content{min-width:0}
.toolbar{display:flex;gap:14px;align-items:center;margin-bottom:14px}
.search-box{position:relative;display:block;flex:1}
.search-box input{width:100%;min-height:52px;padding:13px 52px 13px 46px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);outline:none;color:var(--text);font-size:16px}
.search-box input:focus{border-color:var(--accent);outline:3px solid rgba(224,116,50,.24);outline-offset:0}
.search-box .material-icons-outlined{position:absolute;left:15px;top:50%;transform:translateY(-50%);font-size:20px;color:var(--text3)}
.search-box kbd{position:absolute;right:14px;top:50%;transform:translateY(-50%);border:1px solid var(--border2);border-radius:5px;background:var(--surface2);padding:1px 7px;color:var(--text3);font-family:var(--mono);font-size:.78rem}
.toolbar-meta{display:flex;align-items:center;gap:10px;flex-shrink:0}
#resultCount{font-family:var(--mono);font-size:.9rem;color:var(--text2);font-weight:700}
#clearButton,.type-filter,select{min-height:44px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text2);font-weight:700;padding:0 13px}
#clearButton:hover,.type-filter:hover,select:hover{border-color:var(--accent);color:var(--accent)}
.quick-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.type-filter.active{background:var(--accent);border-color:var(--accent);color:#fff}
.finder,.map-section,.sources{margin-bottom:34px}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}
.section-head h2{font-size:24px;line-height:1.25;font-weight:700;margin-top:4px}
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(318px,1fr));gap:16px}
.feature-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px;min-height:255px;display:flex;flex-direction:column;transition:border-color .15s,transform .15s}
.feature-card:hover{border-color:var(--accent);transform:translateY(-2px)}
.card-top{display:flex;align-items:start;justify-content:space-between;gap:12px}
.want{font-size:1.05rem;line-height:1.45;font-weight:700}
.badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:4px 8px;border-radius:999px;background:var(--surface3);color:var(--text2);font-size:.72rem;font-weight:700;white-space:nowrap}
.feature{margin-top:12px;padding:12px;border-left:6px solid var(--accent);background:var(--accent-light);border-radius:0 var(--radius) var(--radius) 0}
.feature-label{font-size:.72rem;font-weight:700;color:var(--accent);letter-spacing:.04em;text-transform:uppercase}
.feature-name{margin-top:2px;font-size:1rem;font-weight:700;color:var(--accent2);line-height:1.45}
.summary{margin-top:12px;color:var(--text2);font-size:.92rem;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.commands{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.command-chip{font-family:var(--mono);font-size:.78rem;padding:4px 7px;border-radius:6px;background:var(--surface2);border:1px solid var(--border);color:var(--text2)}
.card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:16px}
.source-chip{font-size:.76rem;color:var(--text3);font-weight:700}
.detail-button{min-height:40px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--accent);font-weight:700;padding:0 12px}
.detail-button:hover{border-color:var(--accent);background:var(--accent-light)}
.empty-state{display:grid;place-items:center;gap:8px;min-height:220px;background:var(--surface);border:1px dashed var(--border2);border-radius:var(--radius);color:var(--text3);font-weight:700}
.empty-state .material-icons-outlined{font-size:34px}
.coverage-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.coverage-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}
.coverage-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.coverage-name{font-weight:700}
.coverage-card p{margin-top:8px;color:var(--text2);font-size:.88rem}
.source-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.source-item{display:block;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px;color:var(--text)}
.source-item:hover{border-color:var(--accent);text-decoration:none}
.source-item strong{display:block;font-size:.95rem}
.source-item span{display:block;margin-top:6px;color:var(--text2);font-size:.84rem}
.modal-overlay{position:fixed;inset:0;z-index:300;background:rgba(0,0,0,.34);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:24px}
.modal-overlay[hidden]{display:none}
.modal{width:min(760px,100%);max-height:86vh;overflow:hidden;background:var(--surface);border-radius:var(--radius);display:flex;flex-direction:column}
.modal-header{display:flex;align-items:start;justify-content:space-between;gap:16px;padding:20px 22px;background:var(--accent);color:#fff}
.modal-header .modal-kicker{color:#fff;opacity:.9}
.modal-header h2{font-size:24px;line-height:1.25;margin-top:4px}
.modal-header button{width:44px;height:44px;border:1px solid rgba(255,255,255,.32);background:transparent;border-radius:var(--radius);display:grid;place-items:center;flex-shrink:0}
.modal-header .material-icons-outlined{color:#fff}
.modal-body{padding:22px;overflow:auto}
.detail-grid{display:grid;gap:14px}
.detail-block{border:1px solid var(--border);border-radius:var(--radius);padding:14px;background:var(--surface2)}
.detail-block h3{font-size:.86rem;text-transform:uppercase;letter-spacing:.04em;color:var(--accent);margin-bottom:8px}
.detail-block ul{padding-left:1.2rem;color:var(--text2)}
.detail-block li+li{margin-top:5px}
.detail-block p{color:var(--text2)}
.modal-command{display:inline-flex;margin:3px 5px 3px 0;font-family:var(--mono);font-size:.84rem;padding:5px 8px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text)}
.source-link{display:inline-flex;min-height:38px;align-items:center;margin:4px 6px 4px 0;padding:6px 10px;border:1px solid var(--border);border-radius:999px;background:#fff;font-size:.84rem;font-weight:700}
*:focus-visible{outline:3px solid rgba(224,116,50,.35);outline-offset:2px}
@media(max-width:980px){
  .page-shell{grid-template-columns:1fr;padding:24px}
  .content{order:1}
  .sidebar{order:2}
  .sidebar{position:relative;top:auto;max-height:none}
  .category-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
}
@media(max-width:640px){
  .site-header{padding:0 16px}
  .header-inner{height:auto;min-height:68px;gap:12px}
  .updated-label{display:none}
  .header-nav{display:none}
  .page-shell{padding:18px 16px 48px}
  .toolbar{align-items:stretch;flex-direction:column}
  .toolbar-meta{justify-content:space-between}
  .card-grid{grid-template-columns:1fr}
  .card-top{display:block}
  .card-top .badge{margin-top:8px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
