* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #fff1f2;
  color: #4c0519;
}
a { color: #e11d48; text-decoration: none; }
a:hover { text-decoration: underline; }

.wp-shell { min-height: 100vh; display: flex; }
.wp-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #ffe4e6;
  display: flex;
  flex-direction: column;
}
.wp-sidebar-header { padding: 24px; border-bottom: 1px solid #ffe4e6; }
.wp-sidebar-header .greeting { font-size: 14px; color: rgba(76,5,25,0.7); }
.wp-sidebar-header .names { font-weight: 600; line-height: 1.2; }
.wp-sidebar-header .countdown { font-size: 12px; color: #e11d48; margin-top: 8px; }
.wp-nav { flex: 1; overflow-y: auto; padding: 16px; }
.wp-nav-section { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: #fb7185; padding: 4px 12px; margin-top: 12px; }
.wp-nav a, .wp-nav .wp-nav-empty {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: #4c0519;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp-nav a:hover { background: #fff1f2; text-decoration: none; }
.wp-nav a.active { font-weight: 600; }
.wp-nav .wp-nav-empty { color: #fb7185; font-size: 12px; }
.wp-sidebar-footer { padding: 16px; border-top: 1px solid #ffe4e6; display: flex; justify-content: space-between; align-items: center; }

.wp-main { flex: 1; padding: 32px; overflow-y: auto; }
.wp-main-narrow { max-width: 640px; }
.wp-main-wide { max-width: 900px; }

.wp-card { background: #fff; border: 1px solid #ffe4e6; border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.wp-card h2 { margin-top: 0; font-size: 17px; }

.wp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.wp-stat .label { font-size: 13px; color: rgba(76,5,25,0.7); }
.wp-stat .value { font-size: 28px; font-weight: 600; margin: 4px 0; }
.wp-stat .sub { font-size: 12px; color: #fb7185; }

label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 14px;
}
.wp-field-inline { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-weight: 500; font-size: 14px; }
.wp-field-inline input { width: auto; margin: 0; }

button, .wp-btn {
  display: inline-block;
  background: #e11d48;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
button:hover, .wp-btn:hover { background: #be123c; text-decoration: none; }
.wp-btn-outline { background: #fff; color: #e11d48; border: 1px solid #fecdd3; }
.wp-btn-outline:hover { background: #fff1f2; }
.wp-link-danger { color: #dc2626; font-size: 13px; background: none; border: none; padding: 0; cursor: pointer; }

.wp-error { color: #dc2626; font-size: 14px; margin-bottom: 14px; }
.wp-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; }

.wp-list { list-style: none; margin: 0; padding: 0; }
.wp-list li { padding: 12px 0; border-bottom: 1px solid #ffe4e6; }
.wp-list li:last-child { border-bottom: none; }
.wp-list-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.wp-bar-track { height: 8px; border-radius: 999px; background: #ffe4e6; overflow: hidden; margin-top: 4px; }
.wp-bar-fill { height: 100%; background: #e11d48; }

.wp-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.wp-login-box { width: 100%; max-width: 360px; background: #fff; border: 1px solid #ffe4e6; border-radius: 16px; padding: 32px; }

details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
