:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#213338;background:#f7f6f1;font-size:17px}*{box-sizing:border-box}body{margin:0;min-height:100vh}header{max-width:860px;margin:auto;padding:20px 16px;display:flex;align-items:center;justify-content:space-between}.brand{font-weight:850;letter-spacing:-.7px;font-size:1.55rem;color:#173f4c}.brand span{color:#da6882}main{max-width:860px;margin:0 auto;padding:8px 16px 70px}footer{font-size:.75rem;text-align:center;color:#8a9797;padding:15px}h1{font-size:1.65rem;line-height:1.2;margin:0 0 12px;color:#193d46}h2{font-size:1.12rem;margin:0 0 12px;color:#25454f}p{line-height:1.48}small,.muted{color:#647777;font-size:.85rem}.card{background:white;border:1px solid #e6e9e4;border-radius:22px;box-shadow:0 3px 18px #1a35351a;padding:23px;margin-bottom:18px}.hero{text-align:center;padding:26px 20px;background:linear-gradient(140deg,#fff,#f3f8ee)}.hero .heart{font-size:3rem;margin:8px}button{border:0;background:#146e64;color:white;font-weight:740;font:inherit;font-weight:720;border-radius:14px;min-height:48px;padding:11px 18px;cursor:pointer}button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:wait}button.secondary{background:#e9f0ee;color:#18454a}button.danger{background:#fff0ef;color:#a4323a}button.textbtn{background:none;color:#456d72;padding:5px 10px;min-height:30px;font-size:.85rem}button.full{width:100%;min-height:64px;font-size:1.13rem}input[type=text],input[type=password],input[type=number],textarea{font:inherit;border:1px solid #cbd7d2;border-radius:12px;padding:12px;width:100%;background:#fff;color:#18363c;min-width:0}textarea{min-height:80px;resize:vertical}label{display:block;font-weight:650;margin:11px 0 6px}.pick{background:#f0f5f2;border:2px dashed #aecbc1;border-radius:18px;padding:25px 16px;text-align:center;cursor:pointer;display:block}.pick strong{display:block;font-size:1.23rem;color:#145c52}.pick span{color:#64827d;font-size:.85rem}.pick input{display:none}#preview{width:100%;max-height:360px;object-fit:contain;background:#172629;border-radius:14px;margin-top:12px}.choice{display:flex;align-items:center;gap:12px;background:#f5f8f7;border:1px solid #e4ebe8;padding:15px;border-radius:13px;margin:8px 0;font-size:1rem}.choice input{width:22px;height:22px;accent-color:#146e64}.choice span{font-weight:550}.row{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.stack{display:grid;gap:12px}.split{display:grid;grid-template-columns:1fr 1fr;gap:12px}.status{padding:12px;border-radius:12px;margin:14px 0;background:#eff8f3;color:#17624d}.status.error{background:#fff1ee;color:#a02b2e}.pill{display:inline-block;border-radius:100px;padding:4px 9px;font-size:.72rem;background:#eaf2f0;color:#325f61}.pill.off{background:#f1f0ed;color:#777}.sectionHead{display:flex;align-items:center;justify-content:space-between;margin:10px 0}.device{border:1px solid #e4ebe7;border-radius:15px;padding:14px;margin-top:10px}.device summary{cursor:pointer;font-weight:700;list-style:none}.device summary::-webkit-details-marker{display:none}.device form{margin-top:15px}.settings{display:grid;grid-template-columns:1fr 1fr;gap:10px}.buttons{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.note{font-size:.82rem;background:#f3f7f4;border-radius:12px;padding:12px;color:#4a6a62}.item{border-bottom:1px solid #ebefed;padding:12px 0}.item:last-child{border-bottom:none}.tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:17px}.tabs button{min-height:38px;font-size:.86rem}.tip{font-size:.85rem;color:#56726f}dialog{width:min(95vw,550px);border:0;border-radius:20px;padding:24px;box-shadow:0 15px 70px #14262670}dialog::backdrop{background:#071a1a77}dialog code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6f5;padding:12px;border-radius:8px;margin-top:8px;font-size:.8rem}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}#dialogText p{overflow-wrap:anywhere}button:focus-visible,input:focus-visible{outline:3px solid #4dabd9;outline-offset:2px}@media(max-width:500px){.split,.settings{grid-template-columns:1fr}.card{padding:18px}h1{font-size:1.45rem}}
