:root{
  --primary:#115F91; --bg:#F1EEE9; --dark:#01294C; --muted:#475569; --border:#d7d3cc; --white:#fff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Nunito,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial,sans-serif;color:var(--dark);background:var(--bg)}
.wrap{max-width:1100px;margin:0 auto;padding:0 16px}

/* Header */
.site-header{position:sticky;top:0;z-index:20;background:var(--white);border-bottom:1px solid var(--border)}
.header-inner{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;text-decoration:none}
.logo-img{height:40px;width:300px;object-fit:contain;display:block}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 14px;border-radius:14px;border:1px solid var(--border);background:var(--primary);color:#fff;font-weight:800;text-decoration:none;cursor:pointer}
.btn.ghost{background:#fff;color:var(--dark)}
.btn.small{padding:8px 12px}

/* Layout */
.layout{display:grid;grid-template-columns:1fr;gap:16px;margin-top:14px}
@media(min-width:980px){ .layout{grid-template-columns:280px 1fr} }

.sidebar .card, .content .card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:16px}
.card-head{margin-bottom:12px}
.title{margin:0 0 4px;font-size:26px;font-weight:900}
.sub{margin:0;color:var(--muted)}

/* Inputs & summary */
input, select{padding:12px 14px;border:1px solid var(--border);border-radius:14px;font:inherit;background:#fff;width:100%}
.lbl{display:grid;gap:6px}
.row-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}
.grid.gap{display:grid;gap:12px}
.summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}
.summary div{background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px;display:flex;align-items:center;justify-content:space-between;font-weight:800}

/* Table */
.table-wrap{margin-top:10px}
.table-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.table{border:1px solid var(--border);border-radius:12px;overflow:hidden}
.t-row{display:grid;grid-template-columns:90px 1fr 1fr 1fr 1fr 1fr 1fr}
.t-head{background:#e8edf3;font-weight:900}
.t-row > div{padding:8px 10px;border-bottom:1px solid var(--border)}
.t-row:nth-child(even){background:#fff}
.t-row:nth-child(odd){background:#fafafa}
.scroll{max-height:420px;overflow:auto}

/* Ads */
.ad-slot{margin:16px 0}
.ad-ph{display:flex;align-items:center;justify-content:center;min-height:84px;border:2px dashed #cbd5e1;border-radius:16px;color:#64748b;background:#eff4f8}

/* Related list */
.related{margin-top:12px}
.related-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.related-list a{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--dark);padding:8px 10px;border:1px solid var(--border);border-radius:12px;background:#fff}
.related-list a:hover{background:#f7fafc}
.ico{width:16px;height:16px}

/* Footer */
.site-footer{border-top:1px solid var(--border);background:#fff;margin-top:20px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;min-height:54px}
.footer-links a{margin-left:12px;color:var(--dark);text-decoration:none}
