  /* "Timber & Paper" — warm editorial direction, picked over the "Night Barn" alternate (see artifacts/). */
  @import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Archivo:wght@400;500;600;700&display=swap');
  :root{
    --cream:#e7e3d3;
    --cream-dark:#ded8bf;
    --paper-light:#fbf9f2;
    --ink:#2b2a22;
    --ink-soft:#5c5a48;
    --barn:#6b4a34;
    --barn-dark:#523726;
    --green:#4b5d3a;
    --green-dark:#38452c;
    --gold:#a8791f;
    --amber:#8a4a1f;
    --slate:#5c5a48;
    --line:#c7c0a4;
    --card:#efebdd;
    --shadow: 0 4px 14px rgba(43,42,34,0.10);
  }
  *{box-sizing:border-box;}
  body{
    margin:0; background:var(--cream); color:var(--ink);
    font-family:'Archivo',-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3{ font-family:'Fraunces',Georgia,"Times New Roman",serif; margin:0 0 6px; }
  a{color:var(--barn);}
  .app{ max-width:1180px; margin:0 auto; padding:0 20px 60px; }

  /* Top chrome */
  .topbar{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 20px; border-bottom:1px solid var(--line);
    background:var(--cream); position:sticky; top:0; z-index:20;
  }
  .brand{ display:flex; align-items:center; gap:10px; font-family:'Fraunces',Georgia,serif; font-size:20px; font-weight:700; color:var(--ink); }
  .brand svg{ width:28px; height:28px; }
  .nav{ display:flex; gap:6px; flex-wrap:wrap; }
  .nav button{
    border:1px solid transparent; background:none; padding:8px 12px; border-radius:8px;
    font-size:13px; color:var(--ink-soft); cursor:pointer; font-weight:600;
  }
  .nav button.active{ background:var(--ink); color:var(--cream); }
  .nav button:not(.active):hover{ background:var(--cream-dark); }
  .nav button.locked::after{ content:" 🔒"; font-size:10px; }
  .session{ display:flex; align-items:center; gap:10px; font-size:12.5px; }
  .session .who{ color:var(--ink-soft); }
  .session button{ background:none; border:1px solid var(--line); border-radius:7px; padding:6px 10px; font-size:12px; cursor:pointer; font-weight:700; color:var(--ink); }
  .members-banner{ background:var(--green); color:#fff; text-align:center; font-size:12.5px; font-weight:700; padding:8px; letter-spacing:.03em; }

  .mockup-note{
    font-size:12px; color:var(--ink-soft); text-align:center; padding:10px;
    background:var(--cream-dark); border-bottom:1px dashed var(--line);
  }

  .screen{ display:block; padding-top:36px; }
  .field-error{ color:var(--barn-dark); font-size:13px; margin-top:10px; display:none; }
  .field-error.show{ display:block; }
  .field-success{ color:var(--green-dark); font-size:13px; margin-top:10px; display:none; }
  .field-success.show{ display:block; }

  .card{ background:var(--card); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); }
  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding:11px 20px; border-radius:9px; font-weight:700; font-size:14px;
    border:1px solid transparent; cursor:pointer; text-decoration:none;
  }
  .btn-primary{ background:var(--barn); color:#fff; }
  .btn-primary:hover{ background:var(--barn-dark); }
  .btn-secondary{ background:transparent; border-color:var(--ink); color:var(--ink); }
  .btn-secondary:hover{ background:var(--ink); color:#fff; }
  .btn-ghost{ background:transparent; color:var(--ink-soft); border:1px solid var(--line); }
  .btn-green{ background:var(--green); color:#fff; }
  .btn-green:hover{ background:var(--green-dark); }
  .btn-sm{ padding:7px 12px; font-size:12.5px; border-radius:7px; }
  input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea{
    width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:8px;
    font-size:14px; font-family:inherit; background:var(--paper-light); color:var(--ink);
  }
  textarea{ resize:vertical; }
  label{ display:block; font-size:12.5px; font-weight:700; color:var(--ink-soft); margin:14px 0 6px; text-transform:uppercase; letter-spacing:.04em; }
  label:first-child{ margin-top:0; }
  .field-row{ display:flex; gap:14px; }
  .field-row > div{ flex:1; }
  .pill{ display:inline-block; padding:3px 10px; border-radius:999px; font-size:11.5px; font-weight:700; }
  .pill-gold{ background:#f4e6c8; color:#7a5313; }
  .pill-green{ background:#e1e6d2; color:var(--green-dark); }
  .pill-red{ background:#f3dcc0; color:var(--amber); }
  .pill-blue{ background:#e8e1d0; color:var(--barn-dark); }
  .pill-gray{ background:var(--cream-dark); color:var(--ink-soft); }

  .confirm-panel{ text-align:center; padding:10px 0; }
  .confirm-panel .check{ width:48px; height:48px; border-radius:50%; background:var(--green); color:#fff; display:flex; align-items:center; justify-content:center; font-size:24px; margin:0 auto 14px; }
  .confirm-detail{ text-align:left; background:var(--cream-dark); border-radius:9px; padding:14px 16px; margin:18px 0; font-size:13.5px; }
  .confirm-detail div{ display:flex; justify-content:space-between; padding:4px 0; }
  .confirm-detail b{ color:var(--ink-soft); font-weight:700; }

  .radio-row{ display:flex; gap:14px; margin-top:6px; }
  .radio-opt{ flex:1; border:2px solid var(--line); border-radius:10px; padding:12px 14px; cursor:pointer; }
  .radio-opt.selected{ border-color:var(--barn); background:#efe6d8; }
  .radio-opt .name{ font-weight:700; font-size:13px; }
  .radio-opt .desc{ font-size:12px; color:var(--ink-soft); margin-top:2px; }

  .facility-section{ max-width:820px; margin:0 auto 30px; }
  .facility-section h2{ font-size:20px; }
  .facility-section .sub{ font-size:13px; color:var(--ink-soft); margin-bottom:16px; }
  .photo-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:12px; margin-bottom:8px; }
  .photo-card{ aspect-ratio:4/3; border-radius:10px; background:var(--cream-dark); border:1px dashed var(--line); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; text-align:center; padding:10px; }
  .photo-card .icon{ font-size:28px; }
  .photo-card .label{ font-size:12px; font-weight:700; color:var(--ink); }
  .photo-card .note{ font-size:10.5px; color:var(--ink-soft); }
  .amenity-list{ list-style:none; margin:0; padding:0; }
  .amenity-list li{ display:flex; gap:10px; padding:8px 0; border-bottom:1px solid var(--line); font-size:14px; }
  .amenity-list li:last-child{ border-bottom:none; }
  .amenity-list .ic{ flex:none; }
  .event-type-strip{ display:flex; gap:12px; flex-wrap:wrap; }
  .event-type-chip{ background:var(--cream-dark); border-radius:999px; padding:8px 16px; font-size:13px; font-weight:700; color:var(--ink); }

  .booking-list-item{ padding:12px 0; border-bottom:1px solid var(--line); }
  .booking-list-item:last-child{ border-bottom:none; }
  .booking-list-item .row1{ display:flex; justify-content:space-between; align-items:center; }
  .booking-list-item .t{ font-size:13.5px; font-weight:700; }
  .booking-list-item .s{ font-size:12px; color:var(--ink-soft); margin-top:2px; }

  .invite-list{ max-height:220px; overflow-y:auto; border:1px solid var(--line); border-radius:9px; padding:10px 14px; margin-top:8px; }
  .invite-list label{ display:flex; align-items:center; gap:8px; text-transform:none; font-weight:400; font-size:13.5px; color:var(--ink); margin:8px 0; }
  .invite-list input{ width:auto; }

  /* ---- Landing ---- */
  .hero{ text-align:center; padding:36px 20px 50px; }
  .hero-art{ max-width:760px; margin:0 auto 30px; border-radius:16px; overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--line); }
  .hero-art svg{ display:block; width:100%; height:auto; }
  .hero h1{ font-size:40px; color:var(--ink); }
  .hero p{ font-size:17px; color:var(--ink-soft); max-width:480px; margin:14px auto 30px; line-height:1.5; }
  .hero .actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
  .strip{ display:flex; justify-content:center; gap:36px; margin-top:56px; flex-wrap:wrap; }
  .strip .item{ text-align:center; max-width:220px; }
  .strip .item .icon{ font-size:26px; margin-bottom:8px; }
  .strip .item h3{ font-size:15px; }
  .strip .item p{ font-size:13px; color:var(--ink-soft); line-height:1.4; }
  .fine{ text-align:center; font-size:12.5px; color:var(--ink-soft); margin-top:50px; }

  /* ---- Auth / forms ---- */
  .center-narrow{ max-width:420px; margin:0 auto; }
  .form-card{ padding:32px 30px; }
  .form-card h2{ font-size:22px; }
  .form-card .sub{ font-size:13.5px; color:var(--ink-soft); margin-bottom:18px; }
  .tier-options{ display:flex; gap:12px; margin-top:6px; }
  .tier{
    flex:1; border:2px solid var(--line); border-radius:10px; padding:14px; cursor:pointer; text-align:left;
  }
  .tier.selected{ border-color:var(--barn); background:#efe6d8; }
  .tier .price{ font-family:'Fraunces',Georgia,serif; font-size:20px; color:var(--ink); }
  .tier .name{ font-weight:700; font-size:13px; margin-bottom:2px; }
  .tier .desc{ font-size:12px; color:var(--ink-soft); margin-top:4px; }
  .agree-row{ display:flex; align-items:flex-start; gap:10px; margin-top:18px; font-size:13px; color:var(--ink-soft); }
  .agree-row input{ width:auto; margin-top:3px; }
  .form-card .btn{ width:100%; margin-top:20px; }
  .switch-link{ text-align:center; font-size:13px; margin-top:16px; color:var(--ink-soft); }

  /* ---- Terms ---- */
  .terms-wrap{ display:grid; grid-template-columns:1fr; gap:22px; max-width:720px; margin:0 auto; }
  .rule{ display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--line); }
  .rule:last-child{ border-bottom:none; }
  .rule .num{ width:30px; height:30px; border-radius:50%; background:var(--green); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex:none; }
  .rule h3{ font-size:15px; margin-bottom:3px; }
  .rule p{ font-size:13.5px; color:var(--ink-soft); line-height:1.5; margin:0; }
  .sign-box{ padding:22px 26px; margin-top:10px; }
  .sign-box label{ margin-top:12px; }

  /* ---- Calendar ---- */
  .cal-layout{ display:grid; grid-template-columns:1.6fr 1fr; gap:24px; align-items:start; }
  .cal-head{ display:flex; justify-content:space-between; align-items:center; padding:18px 20px; }
  .cal-head .month{ font-size:19px; }
  .cal-head .arrows button{ background:none; border:1px solid var(--line); border-radius:7px; width:30px; height:30px; cursor:pointer; font-size:14px; }
  .cal-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:1px; background:var(--line); border-top:1px solid var(--line); }
  .cal-dow{ background:var(--cream-dark); text-align:center; font-size:11px; font-weight:700; color:var(--ink-soft); padding:8px 0; text-transform:uppercase; }
  .cal-cell{ background:var(--paper-light); min-height:74px; padding:6px; font-size:12.5px; color:var(--ink-soft); position:relative; }
  .cal-cell.muted{ background:#ede8d8; color:#a39b7e; }
  .cal-cell .d{ font-weight:700; color:var(--ink); font-size:12.5px; }
  .cal-cell .evt{ margin-top:5px; font-size:10.5px; padding:2px 6px; border-radius:5px; background:var(--gold); color:#3f2c0d; font-weight:700; }
  .cal-cell .evt.green{ background:#dce3c8; color:var(--green-dark); }
  .cal-cell .evt.red{ background:#f3dcc0; color:var(--amber); }
  .side-title{ font-size:14px; font-weight:700; margin-bottom:12px; }
  .upcoming-item{ display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
  .upcoming-item:last-child{ border-bottom:none; }
  .upcoming-item .date-box{ width:46px; height:46px; border-radius:9px; background:var(--cream-dark); text-align:center; flex:none; padding-top:5px; }
  .upcoming-item .date-box .mo{ font-size:9.5px; font-weight:700; color:var(--barn); text-transform:uppercase; }
  .upcoming-item .date-box .day{ font-size:16px; font-weight:700; }
  .upcoming-item .t{ font-size:13.5px; font-weight:700; }
  .upcoming-item .s{ font-size:12px; color:var(--ink-soft); }
  .side-card{ padding:18px 20px; }

  /* ---- Event detail ---- */
  .evt-hero{ padding:0; overflow:hidden; }
  .evt-banner{ height:130px; background:linear-gradient(165deg,var(--barn) 0%,var(--barn-dark) 45%,var(--green-dark) 100%); position:relative; }
  .evt-banner .lock-badge{ position:absolute; bottom:-18px; left:26px; width:52px; height:52px; border-radius:50%; background:var(--paper-light); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:22px; box-shadow:var(--shadow); }
  .evt-body{ padding:34px 26px 26px; }
  .evt-body h2{ font-size:24px; }
  .evt-meta{ font-size:13.5px; color:var(--ink-soft); margin-top:4px; }
  .lock-panel{ margin-top:22px; border:1px dashed var(--line); border-radius:10px; padding:22px; text-align:center; background:var(--cream-dark); }
  .lock-panel p{ font-size:13px; color:var(--ink-soft); margin:6px 0 14px; }
  .lock-panel .code-row{ display:flex; gap:10px; max-width:280px; margin:0 auto; }
  .unlocked-panel{ display:none; margin-top:22px; }
  .unlocked-panel.show{ display:block; }
  .unlocked-panel .detail-line{ display:flex; gap:10px; font-size:13.5px; padding:10px 0; border-bottom:1px solid var(--line); }
  .unlocked-panel .detail-line b{ width:110px; flex:none; color:var(--ink-soft); font-weight:700; }
  .lock-panel.hide{ display:none; }

  /* ---- Booking request ---- */
  .req-note{ font-size:12.5px; color:var(--ink-soft); background:var(--cream-dark); border-radius:9px; padding:12px 14px; margin-top:20px; }

  /* ---- Host dashboard ---- */
  .dash-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
  .dash-card{ padding:20px 22px; }
  .dash-card h3{ font-size:15px; margin-bottom:14px; }
  .req-item{ padding:12px 0; border-bottom:1px solid var(--line); }
  .req-item:last-child{ border-bottom:none; }
  .req-item .row1{ display:flex; justify-content:space-between; align-items:center; }
  .req-item .t{ font-size:13.5px; font-weight:700; }
  .req-item .s{ font-size:12px; color:var(--ink-soft); margin-top:2px; }
  .req-actions{ display:flex; gap:8px; margin-top:8px; }
  .evt-manage-item{ display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid var(--line); }
  .evt-manage-item:last-child{ border-bottom:none; }
  .evt-manage-item .actions{ display:flex; gap:6px; }
  .msg-box{ grid-column:1 / -1; padding:20px 22px; }
  .msg-box textarea{ min-height:80px; margin-top:8px; }
  .msg-target{ font-size:12.5px; color:var(--ink-soft); margin-top:6px; }

  /* ---- Event photos ---- */
  .evt-banner{ background-size:cover; background-position:center; }
  .cover-upload-btn{
    position:absolute; top:10px; right:10px; background:rgba(239,235,221,.92); border:1px solid var(--line);
    border-radius:7px; padding:6px 10px; font-size:11.5px; font-weight:700; cursor:pointer; color:var(--ink);
  }
  .photo-card.has-image{ border-style:solid; padding:0; overflow:hidden; position:relative; }
  .photo-card.has-image img{ width:100%; height:100%; object-fit:cover; display:block; }
  .photo-card .remove-photo{
    position:absolute; top:6px; right:6px; background:rgba(43,42,34,.65); color:#fff; border:none;
    border-radius:50%; width:22px; height:22px; font-size:12px; cursor:pointer; line-height:1;
  }
  .upload-row{ display:flex; align-items:center; gap:10px; margin-top:12px; flex-wrap:wrap; }
  .upload-row input[type=file]{ font-size:12.5px; max-width:220px; }

  /* ---- Guest invites ---- */
  .guest-invite-item{ padding:12px 0; border-bottom:1px solid var(--line); }
  .guest-invite-item:last-child{ border-bottom:none; }
  .guest-invite-item .row1{ display:flex; justify-content:space-between; align-items:center; gap:8px; }
  .guest-invite-item .t{ font-size:13.5px; font-weight:700; }
  .guest-invite-item .s{ font-size:12px; color:var(--ink-soft); margin-top:2px; word-break:break-all; }
  .toggle-row{ display:flex; align-items:center; gap:8px; margin-top:14px; font-size:12.5px; color:var(--ink-soft); }
  .toggle-row input{ width:auto; }

  @media (max-width:860px){
    .cal-layout, .dash-grid{ grid-template-columns:1fr; }
    .field-row{ flex-direction:column; }
  }
