﻿:root{
  --bg:#f2f7f5;
  --surface:#ffffff;
  --surface-soft:#f8fcfa;
  --text:#11231c;
  --muted:#4f665d;
  --line:#d6e4dd;
  --accent:#0f8a6d;
  --accent-2:#1d63e9;
  --shadow:0 16px 45px rgba(19,55,43,.12);
  --radius:18px;
}

*{box-sizing:border-box}

html,body{margin:0;padding:0}

body{
  font-family:"Manrope",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--text);
  background:
    radial-gradient(850px 430px at -8% -8%, #d9efe6 0%, transparent 62%),
    radial-gradient(860px 430px at 108% -18%, #dce8fb 0%, transparent 62%),
    var(--bg);
  min-height:100svh;
}

.container{
  width:min(1080px,100%);
  margin:0 auto;
  padding:24px;
}

.panel{
  background:rgba(255,255,255,.9);
  border:1px solid #e4eee9;
  border-radius:24px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(3px);
}

.site-header{
  padding:24px;
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  border-bottom:1px solid #e8f0ec;
}

.brand h1{
  font-family:"Source Serif 4",Georgia,serif;
  margin:0;
  font-size:clamp(1.7rem,3.5vw,2.4rem);
  line-height:1.08;
}

.brand{
  min-height:44px;
  padding-left:52px;
  position:relative;
}

.brand-logo{
  position:absolute;
  left:0;
  top:0;
  width:40px;
  height:40px;
  object-fit:contain;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  padding:3px;
}

.brand p{
  margin:8px 0 0;
  color:var(--muted);
}

.badge{
  display:inline-block;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid #c7e8dc;
  background:#e8f6f0;
  color:#0c654f;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.nav a{
  color:var(--text);
  text-decoration:none;
  font-weight:700;
  font-size:.92rem;
  border:1px solid var(--line);
  border-radius:999px;
  padding:9px 12px;
  background:var(--surface);
}

.nav a:hover,
.nav a:focus-visible{
  border-color:#b8d6c8;
  outline:none;
}

main{padding:24px}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
}

.card,
.tool-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
}

.tool-card{
  display:block;
  text-decoration:none;
  color:var(--text);
  transition:.2s ease;
}

.tool-card:hover,
.tool-card:focus-visible{
  transform:translateY(-3px);
  box-shadow:0 9px 21px rgba(22,62,49,.1);
  border-color:#b7d6c8;
  outline:none;
}

.tool-title{
  margin:0 0 8px;
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  font-size:1.02rem;
}

.tool-dot{
  width:11px;
  height:11px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
}

.tool-desc{
  margin:0;
  color:var(--muted);
  font-size:.93rem;
  line-height:1.42;
}

.section-title{
  font-family:"Source Serif 4",Georgia,serif;
  font-size:1.5rem;
  line-height:1.2;
  margin:0 0 12px;
}

.muted{color:var(--muted)}

.row{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}

@media (min-width:860px){
  .row.two{grid-template-columns:1fr 1fr}
}

@media (max-width:640px){
  .brand{
    min-height:0;
    padding-left:0;
  }

  .brand-logo{
    position:static;
    display:block;
    width:64px;
    height:64px;
    max-height:none;
    margin-bottom:10px;
  }
}

.kv{
  display:grid;
  gap:8px;
}

.kv div{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid #e6efea;
  background:var(--surface-soft);
  font-size:.93rem;
}

label{font-weight:700;font-size:.93rem}

input,select,button,textarea{
  font:inherit;
}

input[type="text"],
input[type="search"],
select,
textarea{
  width:100%;
  padding:10px 12px;
  border:1px solid #c6d8cf;
  border-radius:12px;
  background:#fff;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:2px solid #a8d7c7;
  border-color:#9cccb9;
}

button{
  border:0;
  border-radius:12px;
  padding:11px 14px;
  font-weight:700;
  cursor:pointer;
  color:#fff;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
}

button.secondary{
  color:var(--text);
  border:1px solid var(--line);
  background:var(--surface);
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.alert{
  padding:12px 14px;
  border-radius:12px;
  border:1px solid #d8e7e0;
  background:#f8fcfa;
  color:#1f3b31;
  font-size:.93rem;
  line-height:1.45;
}

.footer{
  padding:18px 24px 24px;
  color:#5f776d;
  font-size:.86rem;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.footer a{color:#2b6e5a;text-decoration:none;font-weight:700}
.footer a:hover{text-decoration:underline}

.table-wrap{overflow:auto}

table{
  width:100%;
  border-collapse:collapse;
  font-size:.93rem;
}

th,td{
  border:1px solid #d9e6df;
  padding:8px;
  text-align:left;
  vertical-align:top;
}

th{background:#f1f8f5;font-weight:800}

.small{font-size:.84rem}

.notice-list{margin:0;padding-left:18px;color:var(--muted)}
.notice-list li{margin:6px 0}
