:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #27212a;
  background: #fff6fa;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
}

.shell {
  max-width: 760px;
  margin: auto;
  padding: 24px 16px 80px;
}

header {
  background: linear-gradient(135deg, #f72585, #a41358);
  color: white;
  padding: 30px 22px;
  border-radius: 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px #e91e6340;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
}

h1 {
  font-size: 30px;
  margin: 12px 0;
}

h1 span { color: #ffe1ee; }

header p {
  margin-bottom: 0;
  opacity: .95;
}

.panel, .job {
  background: white;
  border: 1px solid #f4dce6;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 3px 12px #6020390a;
}

h2 {
  font-size: 19px;
  margin: 0 0 14px;
}

p {
  line-height: 1.5;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 14px 0;
}

input, select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px;
  font: inherit;
  border: 1px solid #e8cbd8;
  border-radius: 10px;
  background: #fff;
  color: #27212a;
}

input:focus, select:focus {
  outline: 2px solid #f72585;
  outline-offset: 1px;
}

input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 2px 0;
  accent-color: #db2777;
  flex-shrink: 0;
}

button {
  border: none;
  background: #db2777;
  color: white;
  padding: 13px 17px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

button:active { transform: scale(.98); }

button.quiet {
  background: #fce7f1;
  color: #9d174d;
}

button.smallbtn {
  padding: 8px 10px;
  font-size: 12px;
}

.hidden { display: none !important; }

.toolbar, .jobtop, .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.toolbar {
  margin: 14px 0;
  font-size: 13px;
  flex-wrap: wrap;
}

.row {
  margin-top: 15px;
}

.row input { min-width: 0; }

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.muted, .taskowner, small {
  color: #796a75;
  font-size: 12px;
}

.pill {
  background: #fce7f1;
  color: #9d174d;
  padding: 7px 10px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.progress {
  background: #fce7f1;
  height: 9px;
  border-radius: 20px;
  overflow: hidden;
  margin: 15px 0;
}

.progress div {
  height: 100%;
  background: #f72585;
  transition: width .2s;
}

.task {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #f4e5ed;
}

.taskbody { flex: 1; min-width: 0; }

.taskdone {
  text-decoration: line-through;
  color: #998b94;
}

.taskowner { margin-top: 5px; }

.taskcontrols {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  align-items: center;
}

.taskcontrols select {
  margin: 0;
  flex: 1;
  min-width: 0;
}

#notice {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 16px;
  right: 16px;
  max-width: 500px;
  margin: auto;
  background: #27212a;
  color: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 8px 25px #0003;
  z-index: 10;
}

#notice.visible { display: block; }

@media(max-width: 480px) {
  .two { grid-template-columns: 1fr; }
  h1 { font-size: 26px; }
  .jobtop { align-items: flex-start; }
}
