/* style.css - minimalist beige theme */
:root{
  --bg: #f3efe3;           /* beige page background */
  --card: #fbf8ef;         /* light panel */
  --ink: #1f1a14;          /* dark text */
  --muted: #6a5f52;        /* muted text */
  --line: #e3dcc9;         /* border line */
  --accent: #8a6a2b;      /* warm accent */
  --link: #5b4a2a;
}

*{ box-sizing: border-box; }
body{
  margin:0;
  font-family: Georgia, "Times New Roman", Times, serif;
  background: var(--bg);
  color: var(--ink);
}

a{ color: var(--link); text-decoration: none; }
a:hover{ text-decoration: underline; }

.wrap{
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 18px 60px;
}

.header{
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}

.brand{
  display:flex;
  align-items:center;
  gap: 14px;
}
.brand img{
  width: 150px;
  height: 150px;
  object-fit: contain;
  background: transparent;
}
.brand h1{
  margin:0;
  font-size: 26px;
  letter-spacing: 0.3px;
}
.brand .tagline{
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}

.nav{
  display:flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  align-items: center;
}
.nav a{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--link);
}
.nav a.active{
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(138,106,43,0.06);
  text-decoration: none;
}

.hero{
  margin-top: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px 20px;
}
.hero h2{
  margin:0 0 8px;
  font-size: 28px;
}
.hero p{
  margin:0;
  color: var(--muted);
  line-height: 1.6;
}

.card{
  margin-top: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px 18px;
}
.card h3{
  margin: 0 0 10px;
  font-size: 20px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 900px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .grid{ grid-template-columns: 1fr; }
  .nav{ justify-content: flex-start; }
}

.item{
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
}
.item .title{
  font-size: 16px;
  margin: 0 0 6px;
}
.item .meta{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 700px){
  .form-row{ grid-template-columns: 1fr; }
}
label{
  display:block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
input, textarea, select{
  width: 100%;
  padding: 10px 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.35);
  font-family: inherit;
  color: var(--ink);
}
textarea{ min-height: 130px; resize: vertical; }
.button{
  display:inline-block;
  border: 1px solid var(--accent);
  background: rgba(138,106,43,0.08);
  color: var(--accent);
  padding: 10px 14px;
  border-radius: 6px;
  cursor:pointer;
  font-family: inherit;
}
.button:hover{ text-decoration: none; background: rgba(138,106,43,0.14); }

.notice{
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.25);
  color: var(--muted);
  line-height: 1.6;
}

.footer{
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
  text-align:center;
  padding: 10px 0 0;
}
table{
  width:100%;
  border-collapse: collapse;
}
th, td{
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  vertical-align: top;
}
th{
  text-align:left;
  color: var(--muted);
  font-weight: normal;
  font-size: 13px;
}
.status{
  display:inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
