*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --blue:#2563eb;--blue-light:#dbeafe;--blue-dark:#1d4ed8;
  --green:#16a34a;--green-light:#dcfce7;--green-dark:#15803d;
  --red:#ef4444;--red-light:#fee2e2;
  --gray-50:#f9fafb;--gray-100:#f3f4f6;--gray-200:#e5e7eb;--gray-300:#d1d5db;
  --gray-500:#6b7280;--gray-600:#4b5563;--gray-700:#374151;--gray-800:#1f2937;--gray-900:#111827;
  --radius:8px;--radius-lg:12px;--shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06);
  --shadow-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);
  --transition:all .2s ease;
}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;color:var(--gray-800);background:#fff;line-height:1.6}
.container{max-width:1100px;margin:0 auto;padding:0 1.25rem}
img{max-width:100%;height:auto}

/* Header */
.site-header{background:#fff;border-bottom:1px solid var(--gray-200);position:sticky;top:0;z-index:100}
.site-header .container{display:flex;align-items:center;justify-content:space-between;height:56px}
.logo{display:flex;align-items:center;gap:.5rem;text-decoration:none;color:var(--gray-900);font-weight:700;font-size:1rem}
.logo-text{letter-spacing:-.01em}
.main-nav{display:flex;gap:1.5rem}
.main-nav a{text-decoration:none;color:var(--gray-600);font-size:.9rem;font-weight:500;transition:var(--transition)}
.main-nav a:hover{color:var(--blue)}

/* Hero */
.hero{background:linear-gradient(135deg,var(--gray-50) 0%,var(--blue-light) 100%);padding:4rem 0 3.5rem}
.hero h1{font-size:clamp(1.75rem,4vw,2.75rem);font-weight:800;color:var(--gray-900);line-height:1.2;max-width:640px;margin-bottom:1rem}
.hero-sub{font-size:1.1rem;color:var(--gray-600);max-width:560px;margin-bottom:2rem;line-height:1.6}
.hero-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}
.hero-meta{font-size:.8rem;color:var(--gray-500)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.6rem 1.25rem;border-radius:var(--radius);font-size:.9rem;font-weight:600;text-decoration:none;cursor:pointer;border:2px solid transparent;transition:var(--transition);font-family:inherit;line-height:1.4}
.btn-primary{background:var(--blue);color:#fff;border-color:var(--blue)}
.btn-primary:hover{background:var(--blue-dark);border-color:var(--blue-dark)}
.btn-ghost{background:transparent;color:var(--blue);border-color:var(--blue)}
.btn-ghost:hover{background:var(--blue-light)}
.btn-outline{background:transparent;color:var(--gray-700);border-color:var(--gray-300)}
.btn-outline:hover{border-color:var(--gray-500);background:var(--gray-50)}
.btn-danger{background:transparent;color:var(--red);border-color:var(--red)}
.btn-danger:hover{background:var(--red-light)}
.btn-lg{padding:.75rem 1.75rem;font-size:1rem}
.btn-sm{padding:.4rem .85rem;font-size:.825rem}

/* Summary Bar */
.summary-bar{background:var(--gray-900);color:#fff;padding:1rem 0;position:sticky;top:56px;z-index:90}
.summary-grid{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}
.summary-card{display:flex;flex-direction:column}
.summary-number{font-size:1.35rem;font-weight:700}
.summary-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:var(--gray-300)}
.summary-card--done .summary-number{color:#4ade80}
.summary-card--skip .summary-number{color:#fbbf24}
.summary-card--cost .summary-number{color:#60a5fa}
.summary-card--actions{margin-left:auto;display:flex;gap:.5rem}
.summary-card--actions .btn{color:#fff;border-color:rgba(255,255,255,.3)}
.summary-card--actions .btn:hover{border-color:rgba(255,255,255,.6);background:rgba(255,255,255,.1)}
.summary-card--actions .btn-danger{border-color:var(--red);color:#fca5a5}

/* Sections */
section{padding:3rem 0}
section:nth-child(even){background:var(--gray-50)}
.section-intro{color:var(--gray-600);max-width:640px;margin-bottom:2rem;font-size:.95rem}
h2{font-size:1.5rem;font-weight:700;color:var(--gray-900);margin-bottom:.5rem}

/* Checklist */
.checklist-rooms{display:flex;flex-direction:column;gap:1.5rem}
.room-card{background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow)}
.room-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;background:var(--gray-50);border-bottom:1px solid var(--gray-200);cursor:pointer;user-select:none}
.room-header h3{font-size:1rem;font-weight:600;color:var(--gray-800)}
.room-toggle{font-size:1.25rem;color:var(--gray-500);transition:var(--transition)}
.room-card.collapsed .room-toggle{transform:rotate(-90deg)}
.room-body{padding:0}
.room-card.collapsed .room-body{display:none}
.room-item{display:grid;grid-template-columns:1fr auto;gap:.75rem;padding:.875rem 1.25rem;border-bottom:1px solid var(--gray-100);align-items:start;transition:var(--transition)}
.room-item:last-child{border-bottom:none}
.room-item.item-done{background:var(--green-light)}
.room-item.item-skip{background:#fef9c3}
.item-info h4{font-size:.9rem;font-weight:600;color:var(--gray-800);margin-bottom:.15rem}
.item-info p{font-size:.8rem;color:var(--gray-500);line-height:1.4}
.item-cost{font-size:.75rem;font-weight:600;color:var(--gray-500);white-space:nowrap;margin-top:.1rem}
.item-controls{display:flex;flex-direction:column;align-items:flex-end;gap:.4rem}
.impact-btns{display:flex;gap:.25rem}
.impact-btn{padding:.25rem .6rem;font-size:.7rem;font-weight:600;border:2px solid var(--gray-200);border-radius:20px;background:#fff;cursor:pointer;transition:var(--transition);font-family:inherit}
.impact-btn:hover{border-color:var(--gray-400)}
.impact-btn.active-high{background:var(--green-light);border-color:var(--green);color:var(--green-dark)}
.impact-btn.active-med{background:#fef9c3;border-color:var(--yellow,#eab308);color:#854d0e}
.impact-btn.active-low{background:var(--red-light);border-color:var(--red);color:#991b1b}
.item-actions{display:flex;gap:.25rem}
.item-actions button{padding:.2rem .5rem;font-size:.7rem;font-weight:600;border:1px solid var(--gray-200);border-radius:4px;background:#fff;cursor:pointer;font-family:inherit;transition:var(--transition)}
.item-actions button:hover{border-color:var(--gray-400)}
.item-actions button.active-done{background:var(--green);color:#fff;border-color:var(--green)}
.item-actions button.active-skip{background:#eab308;color:#fff;border-color:#eab308}
.item-notes{width:100%;padding:.35rem .6rem;font-size:.78rem;border:1px solid var(--gray-200);border-radius:4px;font-family:inherit;margin-top:.25rem;resize:vertical;min-height:32px}
.item-notes:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 2px var(--blue-light)}

/* Matrix */
.matrix-wrap{overflow-x:auto}
.matrix-table{width:100%;border-collapse:collapse;font-size:.9rem}
.matrix-table th{background:var(--gray-800);color:#fff;padding:.75rem 1rem;text-align:left;font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.03em}
.matrix-table td{padding:.75rem 1rem;border-bottom:1px solid var(--gray-200)}
.matrix-high td:first-child{border-left:4px solid var(--green)}
.matrix-medium td:first-child{border-left:4px solid #eab308}
.matrix-low td:first-child{border-left:4px solid var(--red)}
.matrix-table tr:hover{background:var(--gray-50)}

/* Skip Cards */
.skip-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.25rem}
.skip-card{background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius-lg);padding:1.5rem;box-shadow:var(--shadow)}
.skip-icon{margin-bottom:.75rem}
.skip-card h3{font-size:1rem;font-weight:600;color:var(--gray-800);margin-bottom:.5rem}
.skip-card p{font-size:.85rem;color:var(--gray-600);line-height:1.5}

/* Guide */
.guide-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.25rem;margin-bottom:2rem}
.guide-block{background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius-lg);padding:1.25rem;box-shadow:var(--shadow)}
.guide-block h3{font-size:.95rem;font-weight:600;color:var(--gray-800);margin-bottom:.5rem}
.guide-block p{font-size:.85rem;color:var(--gray-600);line-height:1.5}
.guide-notes{background:var(--blue-light);border-radius:var(--radius-lg);padding:1.25rem}
.guide-notes h3{font-size:.95rem;font-weight:600;color:var(--gray-800);margin-bottom:.5rem}
.guide-notes ul{padding-left:1.25rem}
.guide-notes li{font-size:.85rem;color:var(--gray-700);margin-bottom:.35rem;line-height:1.5}

/* Footer */
.site-footer{background:var(--gray-900);color:var(--gray-300);padding:2.5rem 0 1.5rem;font-size:.85rem}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:1.5rem;margin-bottom:1.5rem}
.footer-brand .logo-text{color:#fff;font-weight:700;font-size:1rem}
.footer-brand p{margin-top:.25rem;font-size:.8rem;color:var(--gray-500)}
.footer-links{display:flex;gap:1.25rem;flex-wrap:wrap}
.footer-links a{color:var(--gray-400);text-decoration:none;transition:var(--transition)}
.footer-links a:hover{color:#fff}
.footer-bottom{border-top:1px solid var(--gray-700);padding-top:1rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem}
.footer-disclaimer{font-size:.75rem;color:var(--gray-500);max-width:480px}

/* Responsive */
@media(max-width:768px){
  .main-nav{display:none}
  .hero{padding:2.5rem 0 2rem}
  .summary-grid{gap:.75rem}
  .summary-card--actions{margin-left:0;width:100%;justify-content:flex-start}
  .room-item{grid-template-columns:1fr}
  .item-controls{align-items:flex-start}
  .matrix-table{font-size:.8rem}
  .matrix-table th,.matrix-table td{padding:.5rem .6rem}
  .footer-bottom{flex-direction:column}
}
@media print{
  .site-header,.summary-bar,.hero,.site-footer,.item-controls,.item-notes,.btn,.impact-btns,.item-actions{display:none!important}
  .room-body{display:block!important}
  .room-card.collapsed .room-body{display:block!important}
  body{font-size:11pt}
  h1{font-size:18pt}
  h2{font-size:14pt}
}



/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
