/* --- NicheWorks doc shell (TASK 02) --- */
:root{
  --nw-fg:#111;
  --nw-bg:#fff;
  --nw-muted:#666;
  --nw-border:#ddd;
  --nw-soft:#f6f6f6;
  --nw-link:#0b57d0;
  --nw-radius:14px;
}
html,body{ background:var(--nw-bg); color:var(--nw-fg); margin:0; font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif; }
a{ color:var(--nw-link); }
.nw-doc{ max-width: 980px; margin: 0 auto; padding: 18px; }
.nw-doc__header{ border-bottom:1px solid var(--nw-border); background: #fff; }
.nw-doc__section{ background:#fff; border:1px solid var(--nw-border); border-radius: var(--nw-radius); padding: 16px; margin: 14px 0; }
.nw-lead{ color:var(--nw-muted); margin: 8px 0 0; }
.nw-note{ background:var(--nw-soft); border:1px solid var(--nw-border); border-radius: 12px; padding: 10px 12px; color:var(--nw-muted); }
.nw-pre{ background:#0b0b0b; color:#f5f5f5; border-radius: 12px; padding: 12px; overflow:auto; }
.nw-link{ text-decoration: none; border-bottom: 1px dashed rgba(11,87,208,.35); }
.nw-link:hover{ border-bottom-style: solid; }
.nw-btn{ appearance:none; border:1px solid var(--nw-border); background:#111; color:#fff; border-radius: 12px; padding: 10px 12px; cursor:pointer; }
.nw-btn[disabled]{ opacity:.5; cursor:not-allowed; }
.nw-btn--ghost{ background:#fff; color:#111; }
.nw-dot{ color:var(--nw-muted); padding: 0 6px; }
.nw-footer{ margin-top: 28px; padding: 18px 0 40px; color:var(--nw-muted); border-top:1px solid var(--nw-border); }
.nw-footer__row{ display:flex; flex-wrap:wrap; gap: 10px 14px; align-items:center; }
.nw-doc__ad{ min-height: 90px; border:1px dashed var(--nw-border); border-radius: 12px; padding: 10px 12px; color:var(--nw-muted); }
@media (max-width: 520px){
  .nw-doc{ padding: 14px; }
  .nw-doc__section{ padding: 14px; }
}
/* --- end --- */
