* { box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f4f5f7;
    color: #1a1a2e;
    margin: 0;
    padding: 40px 20px;
}
.wrap {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 36px 40px;
}
h1 { font-size: 22px; margin-top: 0; }
h2 { font-size: 17px; color: #444; }
label { display: block; margin: 14px 0 6px; font-size: 14px; font-weight: 600; }
input[type=text], input[type=password], input[type=number] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d3d5da;
    border-radius: 6px;
    font-size: 14px;
}
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 11px 22px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { background: #1d4ed8; }
.btn-secondary { background: #6b7280; }
.btn-secondary:hover { background: #4b5563; }
.error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin: 14px 0;
}
.success {
    background: #dcfce7;
    color: #166534;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin: 14px 0;
}
.steps { display: flex; gap: 8px; margin-bottom: 24px; font-size: 13px; color: #999; }
.steps span.active { color: #2563eb; font-weight: 700; }
.check-list { list-style: none; padding: 0; margin: 16px 0; }
.check-list li { padding: 6px 0; font-size: 14px; display: flex; justify-content: space-between; border-bottom: 1px solid #eee; }
.ok { color: #16a34a; font-weight: 600; }
.fail { color: #dc2626; font-weight: 600; }

.update-banner {
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.update-banner strong { font-size: 15px; }
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.top-bar a { color: #6b7280; font-size: 13px; text-decoration: none; }
table.log { width: 100%; border-collapse: collapse; font-size: 13px; }
table.log th, table.log td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #eee; }

.wrap-wide { max-width: 1100px; }

textarea { font-family: inherit; }

.btn-small {
    margin-top: 12px;
    padding: 7px 14px;
    font-size: 13px;
}

.board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 800px) {
    .board { grid-template-columns: 1fr; }
}
.board-col h2 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
    margin-bottom: 12px;
}
.board-col h2 .count {
    display: inline-block;
    background: #e5e7eb;
    color: #374151;
    border-radius: 10px;
    padding: 1px 8px;
    font-size: 12px;
    margin-left: 4px;
}
.empty-col { color: #aaa; font-size: 13px; }

.task-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
}
.task-card.urgent {
    background: #fff1f1;
    border-color: #fca5a5;
}
.task-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.tag-urgent {
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 4px;
}
.task-loc { font-size: 13px; color: #374151; margin-top: 4px; }
.task-notes { font-size: 13px; color: #6b7280; margin-top: 6px; font-style: italic; }
.task-meta { font-size: 11px; color: #9ca3af; margin-top: 8px; }
