*{box-sizing:border-box}body{margin:0;background:#eef6f8;color:#163746;font:16px system-ui,sans-serif}main{max-width:1100px;margin:auto;padding:24px}header{padding:28px 0}h1{font-size:clamp(26px,4vw,44px);margin:8px 0}small{letter-spacing:2px;color:#087d90;font-weight:700}section,article{background:white;border:1px solid #d5e5e9;border-radius:16px;padding:24px;margin-bottom:18px}h2{margin-top:0}form{display:grid;gap:12px}label{display:grid;gap:5px;font-size:14px;font-weight:600}input,select,button{font:inherit;padding:12px;border-radius:8px;border:1px solid #b9cdd4;width:100%}button{background:#087d90;color:white;border:0;font-weight:700;cursor:pointer}.check{display:block}.check input{width:auto}.success{color:#126b50}.error{color:#a02222}.courses{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px}a{color:#087d90}
nav{display:flex;justify-content:space-between;align-items:center;gap:1rem}nav a{color:#087d90;text-decoration:none;font-weight:700}.intro{font-size:1.15rem;color:#365867}.filters{display:flex;align-items:end;gap:1rem;flex-wrap:wrap;margin:1.5rem 0}.filters label{flex:1;min-width:180px}.filters button{width:auto;margin-bottom:0}.courses{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px;align-items:start}.courses .course-card{padding:0;overflow:hidden;margin:0}.course-photo{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;background:#0b5268}.course-content{padding:24px}.course-content h2{margin:8px 0}.price{font-size:1.5rem;font-weight:700}.price small{font-size:.85rem;font-weight:400}details{margin:1rem 0}summary{cursor:pointer;color:#087d90}button:disabled{background:#607d86;cursor:not-allowed}.course-content small{display:block;margin-top:8px}.course-content .price small{display:inline}

.course-description{font-size:.95rem;line-height:1.6;color:#395461;margin:.5rem 0 1rem;}
.profile-editor{margin:12px 0 24px;padding:16px;border:1px solid #c6dce2;border-radius:12px}.profile-editor summary{cursor:pointer;font-weight:700}.profile-editor textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #b7ccd5;border-radius:8px;font:inherit}.profile-editor input[type=checkbox]{width:auto}.profile-preview{max-width:240px;width:100%;border-radius:8px;margin:12px 0}.profile-details{margin:18px 0}.profile-details h3{margin-bottom:4px}.profile-details p{overflow-wrap:anywhere}
