:root {
  --bg: #f7f7f5;
  --surface: #fff;
  --border: #e0ddd6;
  --text: #1a1916;
  --muted: #595650;
  --accent: #2563eb;
  --font: 'Inter', 'Noto Sans JP', -apple-system, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: .9375rem; line-height: 1.7; }
.container { max-width: 900px; margin: 0 auto; padding: 0 1rem; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: .75rem 0; }
.brand { font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; }
.site-footer { margin-top: 3rem; padding: 1.5rem 0; border-top: 1px solid var(--border); font-size: .8125rem; color: var(--muted); text-align: center; }
main { padding: 2rem 1rem; }
h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: .25rem; }
.meta { font-size: .8125rem; color: var(--muted); margin-bottom: 2rem; }
.doc-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.doc-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; text-decoration: none; color: var(--text); transition: border-color .15s; }
.doc-card:hover { border-color: var(--accent); }
.doc-title { font-weight: 700; }
.doc-type { font-size: .75rem; color: var(--muted); margin-top: .15rem; }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; padding: .1em .5em; border-radius: 999px; }
.badge-estimate { background: #dbeafe; color: #1e40af; }
.badge-proposal { background: #dcfce7; color: #166534; }
.badge-mock { background: #fef3c7; color: #92400e; }
.badge-spec { background: #fce7f3; color: #9d174d; }
.badge-design { background: #f3e8ff; color: #6b21a8; }
.arrow { color: var(--muted); }
.viewer-title { margin-bottom: 1rem; }
.viewer-frame { width: 100%; height: calc(100vh - 200px); border: 1px solid var(--border); border-radius: 8px; }
.no-file { padding: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; color: var(--muted); text-align: center; }
