:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#193649;background:#eff4f7}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.topbar{background:#102f45;color:#fff;padding:17px max(20px,calc((100vw - 1200px)/2));display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:13px}.brand strong{display:block;font-size:21px}.brand span{display:block;color:#b3d3dd;font-size:13px;margin-top:3px}.app-symbol{background:#109c95;color:#fff;display:grid;place-items:center;border-radius:18px;width:64px;height:64px;font-size:37px;font-weight:900}.app-symbol.small{width:48px;height:48px;border-radius:13px;font-size:27px}.logout{color:white;background:#ffffff20;border:1px solid #ffffff40;padding:9px 15px;border-radius:9px}.layout{max-width:1200px;margin:30px auto;padding:0 20px;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.9fr);gap:20px;align-items:start}.card{background:white;border:1px solid #dce6ed;border-radius:19px;padding:26px;box-shadow:0 10px 30px #17364e0d}.section-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:24px}.eyebrow{font-weight:800;font-size:12px;color:#0e9891;letter-spacing:1.8px}.section-head h1{font-size:29px;margin:7px 0 0}.pill{background:#e8f7f3;color:#168274;padding:8px 11px;border-radius:100px;font-size:12px;font-weight:750;white-space:nowrap}.card h2{margin:0 0 22px;font-size:21px}.card label,.login-card label,dialog label{display:block;font-size:14px;font-weight:750;margin-bottom:10px}.card textarea,.card select,.card input:not([type=range]),dialog textarea,dialog input,.login-card input{width:100%;border:1px solid #cad9e3;border-radius:11px;padding:13px 15px;outline:none;background:#fff;color:#193649}.card textarea:focus,.card select:focus,.card input:focus,dialog input:focus,dialog textarea:focus{border-color:#119d95;box-shadow:0 0 0 3px #119d9520}.editor textarea{min-height:255px;resize:vertical;font-size:16px;line-height:1.7}.meta-row{display:flex;justify-content:space-between;color:#7b919f;font-size:13px;margin:8px 0 22px}.link-btn{border:0;background:none;color:#098a84;font-weight:750}.actions{display:flex;gap:9px;flex-wrap:wrap}.primary-btn,.secondary-btn,.save-btn{border:0;border-radius:11px;padding:13px 18px;font-weight:750}.primary-btn{background:#008e87;color:white}.actions .primary-btn{flex:1}.secondary-btn{background:#eaf1f4;color:#25495a}.save-btn{background:#153d53;color:white}.status{background:#edf7f7;border:1px solid #d5eae9;color:#316b6a;padding:13px;border-radius:11px;font-size:14px;margin-top:16px}.save-strip{border-top:1px solid #e3ebf0;margin-top:24px;padding-top:23px;display:flex;gap:20px;align-items:center;justify-content:space-between}.save-strip p{margin:6px 0 0;color:#7d909b;font-size:13px;line-height:1.5}.settings .slider{margin-top:25px}.slider label{display:flex;justify-content:space-between}.slider output{color:#088c85}.slider input{width:100%;accent-color:#0c998e}.tip{margin:26px 0 0;border-radius:12px;background:#eff9f7;color:#39746e;padding:16px;font-size:13px;line-height:1.65}.library{grid-column:1/-1}.library-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.library-head h2{margin:0}.library-head p{color:#7f919e;margin:7px 0 0;font-size:14px}.search-field{display:flex;min-width:340px;gap:7px}.search-field button{background:#153e54;color:white;border:0;border-radius:10px;padding:10px 17px}.saved-list{display:grid;gap:11px}.saved-item{border:1px solid #e0e9ef;border-radius:13px;padding:16px;display:flex;justify-content:space-between;gap:20px;align-items:center}.saved-body{min-width:0}.saved-item h3{margin:0 0 6px;font-size:16px}.saved-item p{margin:0 0 7px;color:#5b7484;line-height:1.5;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.saved-item small{color:#93a3ad}.saved-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:end;flex-shrink:0}.saved-actions button{border:1px solid #cfe4e3;background:#f2faf9;color:#187a75;border-radius:8px;padding:8px 11px;font-size:13px;font-weight:700}.saved-actions button.delete{color:#b44337;border-color:#f0dad7;background:#fff4f3}.empty{color:#8496a3}.login-body{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{background:#fff;max-width:420px;width:100%;border-radius:20px;padding:32px;box-shadow:0 20px 60px #18364b14}.login-card h1{margin-bottom:8px}.login-card p{color:#6e8493;line-height:1.6;margin-bottom:26px}.login-card .primary-btn{width:100%;margin-top:18px}.error{background:#fff0ef;color:#ad3026;border-radius:9px;padding:12px;margin-bottom:18px}dialog{width:min(550px,calc(100vw - 32px));border:1px solid #dce6ed;border-radius:18px;box-shadow:0 25px 70px #102e4450;padding:26px}dialog::backdrop{background:#102a3d99}dialog h2{margin:0 0 23px}dialog label{margin-top:18px}dialog textarea{min-height:170px;resize:vertical;line-height:1.6}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}@media(max-width:850px){.layout{grid-template-columns:1fr}.library-head{align-items:stretch;flex-direction:column}.search-field{min-width:0}.saved-item{align-items:stretch;flex-direction:column}.saved-actions{justify-content:start}}@media(max-width:520px){.layout{padding:0 12px}.card{padding:19px}.section-head h1{font-size:25px}.save-strip{align-items:stretch;flex-direction:column}.actions>*{flex:1}.brand strong{font-size:18px}}
