
:root{
  --bg:#e9f5f5;
  --surface:#ffffff;
  --surface-soft:#f6fbfb;
  --text:#1d343a;
  --muted:#7b9095;
  --line:#dcebec;
  --aqua:#43c9c7;
  --aqua-deep:#2baaad;
  --aqua-pale:#dff7f6;
  --blue:#5b8def;
  --danger:#e66b73;
  --warning:#e6aa55;
  --success:#54b99f;
}
*{box-sizing:border-box}
html{background:var(--bg)}
body{
  margin:0;background:linear-gradient(180deg,#e4f2f2 0%,#f3f9f9 36%,#f8fbfb 100%);
  color:var(--text);font-family:Inter,"Segoe UI",Arial,sans-serif;font-weight:400;
}
body .font-black{font-weight:600!important}
body .font-bold{font-weight:600!important}
body h1,body h2,body h3{letter-spacing:-.025em;font-weight:600}
*{scrollbar-width:thin;scrollbar-color:#cfe1e2 transparent}

.app-shell{min-height:100vh}
.glass{
  background:rgba(255,255,255,.88);backdrop-filter:blur(18px);
  border:1px solid rgba(220,235,236,.95);box-shadow:0 10px 34px rgba(51,95,99,.055)
}
.card{
  background:#fff;border:1px solid var(--line);border-radius:26px;
  box-shadow:0 12px 34px rgba(53,93,97,.055)
}
.card-soft{
  background:linear-gradient(155deg,#dff7f6 0%,#effafa 52%,#fff 100%);
  border:1px solid #d2eeed;border-radius:28px;box-shadow:0 12px 34px rgba(43,170,173,.07)
}
.aqua-panel{
  background:linear-gradient(145deg,#51cfcc 0%,#39bfc0 100%);color:#fff;
  border-radius:32px;box-shadow:0 18px 45px rgba(54,187,187,.19)
}
.btn-primary{
  border:0;background:linear-gradient(135deg,#49cbc8,#37b8ba);color:#fff;
  min-height:44px;padding:.72rem 1.15rem;border-radius:999px;font-size:.9rem;font-weight:600;
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  box-shadow:0 10px 24px rgba(52,183,185,.18);transition:.16s ease;text-decoration:none
}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 13px 29px rgba(52,183,185,.22)}
.btn-secondary{
  background:#fff;color:#355158;border:1px solid var(--line);min-height:44px;
  padding:.72rem 1.05rem;border-radius:999px;font-size:.9rem;font-weight:500;
  display:inline-flex;align-items:center;justify-content:center;gap:.45rem;text-decoration:none
}
.btn-secondary:hover{background:#f7fbfb;border-color:#c8dfe0}
.btn-danger{
  background:#fff6f6;color:#bb5961;border:1px solid #f0d6d8;padding:.72rem 1rem;
  border-radius:999px;font-weight:500
}
.input{
  width:100%;border:1px solid var(--line);border-radius:16px;padding:.82rem .95rem;
  background:#fff;color:var(--text);font:inherit;outline:none;transition:.15s
}
.input:focus{border-color:#65cfd0;box-shadow:0 0 0 4px rgba(67,201,199,.11)}
.label{font-size:.76rem;font-weight:600;color:#688085;letter-spacing:.02em}
.section-title{font-size:1.02rem;font-weight:600;color:var(--text)}
.section-subtitle{font-size:.88rem;color:var(--muted);font-weight:400}
.eyebrow{font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;color:#59aeb0;font-weight:600}
.muted{color:var(--muted)}

.status{
  display:inline-flex;align-items:center;border-radius:999px;padding:.35rem .7rem;
  font-size:.72rem;font-weight:500;text-transform:capitalize
}
.status-draft{background:#eef3f4;color:#718489}
.status-edited{background:#fff6e7;color:#a5742c}
.status-approved{background:#e4f8f4;color:#318c7a}
.status-sent{background:#edf3ff;color:#5574a9}
.status-viewed{background:#fff2e8;color:#a86b42}
.status-acknowledged{background:#e8f8f0;color:#43876d}
.status-treated{background:#e4f8f4;color:#318c7a}

.sidebar{
  background:rgba(255,255,255,.92);border-right:1px solid var(--line)
}
.brand-mark{
  width:38px;height:38px;border-radius:14px;background:#e7f9f8;color:#2bb4b6;
  display:grid;place-items:center;font-size:20px
}
.nav-link{
  display:flex;align-items:center;gap:.8rem;padding:.72rem .8rem;border-radius:14px;
  color:#6c8186;font-size:.9rem;font-weight:500;text-decoration:none;transition:.15s
}
.nav-link:hover,.nav-link.active{background:#edf8f8;color:#2d8e91}
.nav-icon{width:1.25rem;text-align:center;color:#76a7a9}
.metric-icon{
  width:42px;height:42px;border-radius:15px;background:#e8f9f8;color:#37afb1;
  display:grid;place-items:center;font-size:1rem
}

.choice input,.chip input,.brief-option input{display:none}
.choice>span,.option-card{
  display:flex;align-items:center;gap:.75rem;border:1px solid var(--line);border-radius:18px;
  background:#fff;padding:.95rem;cursor:pointer;transition:.15s;font-weight:500
}
.choice input:checked+span,.brief-option input:checked+.option-card{
  border-color:#68d0ce;background:#f0fbfa;box-shadow:0 8px 22px rgba(67,201,199,.08)
}
.chip span{
  display:inline-flex;align-items:center;gap:.4rem;border:1px solid var(--line);
  border-radius:999px;padding:.62rem .9rem;background:#fff;color:#587076;
  font-size:.84rem;font-weight:500;cursor:pointer;transition:.15s
}
.chip input:checked+span{background:#45c4c3;color:#fff;border-color:#45c4c3}
.chip input:checked+span:before{content:"✓";font-size:.78rem}

.doc-section{
  border:1px solid var(--line);border-radius:20px;background:#fff;padding:1rem
}
.doc-section-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.7rem}
.mobile-bottom{box-shadow:0 -8px 28px rgba(47,84,88,.08)}

.hero-stat{background:rgba(255,255,255,.17);border:1px solid rgba(255,255,255,.23);border-radius:20px;padding:1rem}
.soft-list-row{border-bottom:1px solid #edf3f3;padding:.9rem 0}
.soft-list-row:last-child{border-bottom:0}

.patient-phone{
  width:min(100%,430px);margin:0 auto;background:#fff;border-radius:34px;
  box-shadow:0 24px 60px rgba(54,94,98,.12);overflow:hidden;border:1px solid #e2eeee
}
.patient-hero{background:linear-gradient(155deg,#50cdca,#38bcbc);color:#fff;padding:1.4rem 1.3rem 1.8rem}
.patient-card{margin:-16px 14px 14px;background:#fff;border-radius:24px;padding:1.1rem;box-shadow:0 12px 28px rgba(49,90,95,.08)}
.patient-section{padding:1rem 1.2rem;border-top:1px solid #eef4f4}
.patient-section h2{font-size:1rem;margin:0 0 .45rem;color:#28494f}
.patient-section p,.patient-section li{font-size:.91rem;line-height:1.55;color:#61777c}

@media(max-width:1023px){
  body{background:#eef7f7}
}
@media print{
  .no-print{display:none!important}.card,.glass{box-shadow:none!important}
}
