*{box-sizing:border-box}body{margin:0;background:#f4f7fb;color:#172033;font-family:Arial,Helvetica,sans-serif}.topbar{background:#071b31;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:18px 28px}.topbar a{color:#fff}.subtitle{display:block;font-size:.82rem;color:#afc3d8;margin-top:3px}.container{max-width:1200px;margin:auto;padding:28px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.page-head h1{margin:0}.page-head p{margin:.4rem 0 0;color:#5d6878}.button,button{display:inline-block;border:1px solid #c7d0dc;border-radius:8px;padding:10px 14px;background:#fff;color:#172033;text-decoration:none;font-weight:700;cursor:pointer}.primary{background:#075ca8;color:#fff;border-color:#075ca8}.danger{color:#a52020}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px}.card,.panel,.login-card,.empty{background:#fff;border:1px solid #dce3ec;border-radius:12px;padding:22px;box-shadow:0 4px 15px rgba(7,27,49,.05)}.card h2{margin:.5rem 0}.muted,small{color:#6a7584}.badge{font-size:.78rem;font-weight:800;padding:5px 9px;border-radius:999px}.published{background:#d9f6e6;color:#17643b}.draft{background:#eef1f5;color:#5a6675}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.secondary-actions{padding-top:12px;border-top:1px solid #e6ebf1}.editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.editor .panel:first-child{grid-row:span 2}.panel h2{margin-top:0}label{display:block;font-weight:700;margin-bottom:18px}input,textarea{display:block;width:100%;margin-top:7px;border:1px solid #b9c4d1;border-radius:8px;padding:12px;font:inherit}textarea{resize:vertical}.check{display:flex;gap:10px;align-items:flex-start}.check input{width:auto;margin-top:3px}.savebar{grid-column:1/-1;position:sticky;bottom:0;background:rgba(244,247,251,.95);padding:14px 0}.flash{padding:13px 16px;border-radius:8px;margin-bottom:18px}.flash.success{background:#dff6e8}.flash.error{background:#ffe3e3}.login-card{max-width:430px;margin:70px auto}@media(max-width:760px){.container{padding:16px}.page-head{align-items:flex-start;flex-direction:column}.editor{grid-template-columns:1fr}.editor .panel:first-child{grid-row:auto}.topbar{padding:14px 16px}.button,button{min-height:44px}.actions>*{flex:1}.actions .button,.actions button{width:100%;text-align:center}}
