* { box-sizing: border-box; }
body { font-family: system-ui, Arial, sans-serif; margin: 0; color: #1a1a1a; background: #f6f7f9; }
header { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: #123c5e; color: #fff; }
header h1 { font-size: 19px; margin: 0; }
.header-right { display: flex; gap: 8px; align-items: center; font-size: 13px; }
button { background: #1463a8; color: #fff; border: 0; border-radius: 6px; padding: 8px 14px; cursor: pointer; font-size: 14px; }
button.small { padding: 5px 10px; font-size: 12px; background: #2c5f86; }
button.danger { background: #b03030; }
button.ghost { background: #e6ebef; color: #123c5e; }
button:hover { filter: brightness(1.08); }
nav#tabs { display: flex; gap: 4px; padding: 8px 16px 0; flex-wrap: wrap; }
nav#tabs button { background: #dbe4ec; color: #123c5e; border-radius: 8px 8px 0 0; }
nav#tabs button.active { background: #fff; font-weight: 700; }
.datebar { background: #fff; padding: 10px 16px; display: flex; gap: 20px; align-items: center; border-bottom: 1px solid #ddd; flex-wrap: wrap; }
.island-switch { display: flex; gap: 0; border: 1.5px solid #1463a8; border-radius: 8px; overflow: hidden; }
.island-switch button { background: #e6ebef; color: #123c5e; border-radius: 0; font-weight: 600; }
.island-switch button.active { background: #1463a8; color: #fff; }
section.tabpage { background: #fff; margin: 0; padding: 16px; max-width: 1000px; }
.hidden { display: none !important; }
.banner { background: #fff3cd; border-bottom: 2px solid #e0a800; padding: 12px 16px; }
.banner form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
input, select, textarea { padding: 7px 9px; border: 1px solid #b9c4ce; border-radius: 6px; font-size: 14px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
label.check { flex-direction: row; align-items: center; gap: 8px; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; align-items: end; margin: 10px 0 24px; }
.card { border: 1px solid #d5dce2; border-radius: 8px; padding: 12px 14px; margin: 10px 0; background: #fff; }
.card .meta { color: #556; font-size: 13px; }
.warning { color: #9a3412; background: #fff1e6; border-left: 4px solid #e07b39; padding: 5px 9px; margin: 5px 0; font-size: 13px; border-radius: 0 6px 6px 0; }
.reason { color: #14532d; font-size: 13px; margin: 4px 0; }
.chip { display: inline-block; background: #e6eef5; border-radius: 20px; padding: 2px 9px; font-size: 12px; margin: 2px 3px 2px 0; }
.rush { background: #fde8e8; border: 1.5px solid #d33; }
.rush-tag { color: #b91c1c; font-weight: 800; }
.panel { border: 1.5px solid #1463a8; border-radius: 8px; padding: 12px 14px; margin: 12px 0; background: #f0f6fb; }
.row-between { display: flex; justify-content: space-between; align-items: center; }
.error { color: #b91c1c; }
.login-wrap { max-width: 340px; margin: 60px auto; background: #fff; padding: 24px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.login-wrap form { display: flex; flex-direction: column; gap: 12px; }
pre.sheet { background: #f6f7f9; border: 1px solid #ddd; border-radius: 6px; padding: 10px; white-space: pre-wrap; font-size: 13px; }
h2 { margin: 6px 0 10px; } h3 { margin: 18px 0 8px; }
.statusflow { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.statusflow button { font-size: 12px; padding: 4px 9px; background: #e6ebef; color: #123c5e; }
.statusflow button.current { background: #1463a8; color: #fff; }
