:root {
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f6f8;
  color: #172033;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.shell {
  width: min(720px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 14px 28px;
}

.topbar,
.panel {
  background: #ffffff;
  border: 1px solid #e0e6ee;
  border-radius: 8px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 22px;
}

h2 {
  font-size: 18px;
}

p {
  color: #697588;
  line-height: 1.5;
}

.panel {
  padding: 16px;
}

label {
  display: block;
  margin-bottom: 12px;
  color: #3a4658;
  font-weight: 700;
}

input {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #cfd8e5;
  border-radius: 8px;
  font-size: 16px;
}

button {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #d8e0ea;
  background: #ffffff;
  color: #172033;
  font-weight: 800;
  font-size: 15px;
}

button:disabled {
  opacity: 0.55;
}

.primary {
  width: 100%;
  background: #11192a;
  color: #ffffff;
  border-color: #11192a;
}

.ghost {
  background: #f4f7fb;
}

.phone-list,
.task-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.phone-card,
.task-card {
  width: 100%;
  text-align: left;
  background: #fbfcfe;
  border: 1px solid #e1e7f0;
  border-radius: 8px;
  padding: 14px;
}

.task-card {
  display: grid;
  gap: 12px;
}

.task-title {
  white-space: pre-wrap;
  color: #172033;
  font-size: 16px;
  line-height: 1.55;
}

.task-meta {
  color: #738097;
  font-size: 13px;
}

.task-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.danger {
  color: #b42318;
  border-color: #f2b8b5;
  background: #fff7f7;
}

.task-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status {
  margin-top: 12px;
  min-height: 22px;
  font-size: 14px;
}
