:root{--emerald: #0d5c4a;--emerald-dark: #084336;--gold: #c9a227;--ivory: #faf8f4;--text: #1f2d2a;--muted: #5c6b67;--card: #ffffff;--radius: 12px;--shadow: 0 8px 30px rgba(13, 92, 74, .08)}*{box-sizing:border-box}body{margin:0;font-family:"Source Sans 3",system-ui,sans-serif;color:var(--text);background:var(--ivory);line-height:1.6}h1,h2,h3{font-family:Cormorant Garamond,Georgia,serif;font-weight:600;color:var(--emerald-dark)}a{color:var(--emerald)}.site-header{background:linear-gradient(135deg,var(--emerald-dark),var(--emerald));color:#fff;padding:1rem 1.5rem;position:sticky;top:0;z-index:10;box-shadow:var(--shadow)}.header-inner{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}.brand{font-family:Cormorant Garamond,serif;font-size:1.6rem;font-weight:600;color:#fff;text-decoration:none}.brand span{color:var(--gold)}.nav{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem}.nav a{color:#ffffffeb;text-decoration:none;font-size:.95rem}.nav a:hover{color:var(--gold)}.page{max-width:1100px;margin:0 auto;padding:2rem 1.5rem 4rem}.hero{background:var(--card);border-radius:var(--radius);padding:2.5rem 2rem;box-shadow:var(--shadow);border:1px solid rgba(201,162,39,.25);margin-bottom:2rem}.hero-badge{display:inline-block;background:#0d5c4a1a;color:var(--emerald);padding:.35rem .75rem;border-radius:999px;font-size:.85rem;font-weight:600;margin-bottom:1rem}.grid-3{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.card{background:var(--card);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow);border-top:3px solid var(--gold)}.btn{display:inline-block;background:var(--emerald);color:#fff!important;border:none;padding:.65rem 1.25rem;border-radius:8px;font-weight:600;cursor:pointer;text-decoration:none}.btn:hover{background:var(--emerald-dark)}.btn-outline{background:transparent;border:2px solid var(--emerald);color:var(--emerald)!important}.form{max-width:640px;display:grid;gap:1rem}.form label{display:grid;gap:.35rem;font-weight:500}.form input,.content-body,.content-html{line-height:1.65;word-wrap:break-word}.content-body em{font-style:italic}.form select,.form textarea{padding:.6rem .75rem;border:1px solid #cfd8d5;border-radius:8px;font:inherit}.checkbox{display:flex;gap:.5rem;align-items:flex-start}.alert{padding:1rem;border-radius:8px;background:#fff3cd;border:1px solid #e8d48a}.alert-error{background:#fde8e8;border-color:#f5b5b5}.footer{background:var(--emerald-dark);color:#ffffffd9;padding:2rem 1.5rem;font-size:.9rem}.footer-inner{max-width:1100px;margin:0 auto}.disclaimer{font-size:.85rem;color:var(--muted);margin-top:1rem}.chat-page .chat-header h1{margin-bottom:.25rem}.chat-shell{display:grid;grid-template-columns:minmax(220px,280px) 1fr;gap:1rem;min-height:520px}.chat-inbox{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem;overflow:auto}.chat-inbox-title{font-size:1.1rem;margin:0 0 .75rem}.chat-thread-list{list-style:none;margin:0;padding:0}.chat-thread-btn{width:100%;text-align:left;border:none;background:transparent;padding:.75rem;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;gap:.2rem;position:relative}.chat-thread-btn:hover,.chat-thread-btn.is-active{background:#0d5c4a14}.chat-thread-name{font-weight:600;color:var(--emerald-dark)}.chat-thread-preview{font-size:.85rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.chat-badge{position:absolute;top:.6rem;right:.6rem;background:var(--gold);color:#1a1a1a;font-size:.75rem;font-weight:600;padding:.1rem .45rem;border-radius:999px}.chat-panel{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:520px}.chat-panel-head{padding:1rem 1.25rem;border-bottom:1px solid rgba(13,92,74,.12);display:flex;align-items:center;gap:1rem}.chat-panel-head h2{margin:0;font-size:1.35rem}.chat-typing{font-size:.85rem;color:var(--muted)}.chat-messages{flex:1;overflow-y:auto;padding:1.25rem;display:flex;flex-direction:column;gap:.65rem;background:linear-gradient(180deg,#f7faf9,#fff)}.chat-bubble-row{display:flex}.chat-bubble-row.mine{justify-content:flex-end}.chat-bubble{max-width:min(85%,420px);padding:.65rem .85rem;border-radius:14px 14px 14px 4px;background:#fff;border:1px solid rgba(13,92,74,.12);box-shadow:0 2px 8px #0d5c4a0f}.chat-bubble.mine{background:var(--emerald);color:#fff;border-color:transparent;border-radius:14px 14px 4px}.chat-bubble p{margin:0;white-space:pre-wrap;word-break:break-word}.chat-time{display:block;font-size:.72rem;opacity:.75;margin-top:.35rem}.chat-read{font-size:.72rem;margin-left:.5rem;opacity:.85}.chat-compose{border-top:1px solid rgba(13,92,74,.12);padding:1rem 1.25rem}.chat-compose textarea{width:100%;resize:vertical;min-height:72px;padding:.65rem .75rem;border-radius:8px;border:1px solid #c5d4d0;font-family:inherit;font-size:1rem}.chat-compose-actions{margin-top:.65rem;display:flex;justify-content:flex-end}.chat-panel-empty{margin:auto;text-align:center;padding:2rem;max-width:360px}@media(max-width:768px){.chat-shell{grid-template-columns:1fr}.chat-inbox{max-height:200px}}.profile-hero{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.profile-sections{display:grid;gap:1rem}.profile-dl{display:grid;grid-template-columns:minmax(140px,200px) 1fr;gap:.35rem 1rem;margin:0}.profile-dl dt{font-weight:600;color:var(--muted);margin:0}.profile-dl dd{margin:0}.profile-completion-head{display:flex;justify-content:space-between;margin-bottom:.35rem}.profile-completion-bar{height:8px;background:#0d5c4a1f;border-radius:999px;overflow:hidden}.profile-completion-fill{height:100%;background:var(--emerald);border-radius:999px}.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-actions-row{display:flex;gap:.75rem;flex-wrap:wrap}.dashboard-hero{margin-bottom:1.25rem}.dashboard-welcome{font-size:1.35rem;font-weight:600;margin:0 0 .25rem}.dashboard-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem;margin-bottom:1.25rem}.dashboard-tile{text-decoration:none;color:inherit;transition:transform .15s ease,box-shadow .15s ease}.dashboard-tile:hover{transform:translateY(-2px);box-shadow:0 12px 40px #0d5c4a1f}.dashboard-tile h2{font-size:1.15rem;margin:0 0 .35rem}.profile-view-head h1{margin-bottom:.25rem}.profile-view-meta{color:var(--muted);margin-top:0}.profile-view-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.25rem}.breadcrumb-muted{font-size:.9rem;margin-bottom:1rem}.checkbox-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.card-actions a{font-weight:600}@media(max-width:640px){.profile-dl,.form-row-2{grid-template-columns:1fr}}
