:root {
  --navy: #101830; --navy2: #182444; --gold: #b19752; --gold2: #9a7f3c;
  --ink: #22252c; --bg: #f4f2ec; --card: #ffffff;
  --muted: #7a7f8a; --good: #2e7d32; --warn: #b3541e; --bad: #a33333;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Georgia, 'Times New Roman', serif; background: var(--bg); color: var(--ink); }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }
header { background: linear-gradient(180deg, var(--navy), var(--navy2)); border-bottom: 3px solid var(--gold); }
header .wrap { display: flex; justify-content: space-between; align-items: center; height: 58px; }
.brand { color: var(--gold); font-size: 22px; text-decoration: none; letter-spacing: .5px; }
.logout { color: #cfd4e2; font-size: 13px; text-decoration: none; }
main { padding: 22px 16px 60px; }
footer { color: var(--muted); font-size: 11px; padding: 16px; text-align: center; }
.muted { color: var(--muted); font-size: 13px; }
.center { text-align: center; }
.crumb { margin: 0 0 4px; } .crumb a { color: var(--muted); text-decoration: none; font-size: 13px; }
.vtitle { font-size: 19px; color: var(--navy); margin: 4px 0 16px; }
.flash { background: #fbeee6; border: 1px solid #e8c9ae; padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; }

.card { background: var(--card); border: 1px solid #e2ded2; border-top: 3px solid var(--gold);
        border-radius: 10px; padding: 20px 22px; margin-bottom: 18px; box-shadow: 0 1px 4px rgba(16,24,48,.06); }
.card.hero { padding: 26px 22px; }

input[type=url], input[type=text], input[type=password] {
  font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid #cfcabb; border-radius: 8px; width: 100%; }
button, .btn { font: inherit; font-size: 16px; background: var(--navy); color: #fff; border: 0;
  border-radius: 8px; padding: 13px 22px; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .btn:hover { background: var(--navy2); }
.btn.gold, .big-cta { background: var(--gold); color: #fff; }
.btn.gold:hover, .big-cta:hover { background: var(--gold2); }
.btn.ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn.small { font-size: 14px; padding: 8px 14px; }
.btn.big { font-size: 17px; padding: 15px 26px; }
.link { color: var(--navy); }

.submit-row { display: flex; gap: 10px; }
.submit-row input { flex: 1; }
.submit-row button { white-space: nowrap; }

table.jobs { width: 100%; border-collapse: collapse; }
table.jobs tr { cursor: pointer; }
table.jobs tr:hover td { background: #faf8f2; }
table.jobs td { padding: 13px 8px; border-bottom: 1px solid #eee7d8; font-size: 15px; }
table.jobs tr:last-child td { border-bottom: 0; }
table.jobs .title { color: var(--navy); }
table.jobs .act { text-align: right; white-space: nowrap; width: 1%; }

.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-family: Arial, sans-serif; }
.chip.work { background: #eef0f6; color: var(--navy); }
.chip.bad { background: #f7e5e5; color: var(--bad); }
.dot { width: 9px; height: 9px; border-radius: 50%; border: 2px solid #b9c0d4; border-top-color: var(--navy);
  animation: spin 1s linear infinite; }

.banner { text-align: center; font-size: 20px; padding: 16px; border-radius: 10px; color: #fff;
  margin-bottom: 14px; font-family: Arial, sans-serif; }
.banner.good { background: var(--good); }
.banner.warn { background: var(--warn); }
.banner.bad { background: var(--bad); margin-bottom: 16px; }

.tiles { display: flex; gap: 10px; margin-bottom: 8px; }
.tile { flex: 1; background: var(--card); border: 1px solid #e2ded2; border-radius: 10px;
  padding: 14px 8px; text-align: center; }
.tile b { display: block; font-size: 24px; color: var(--navy); font-family: Georgia, serif; }
.tile span { font-size: 12px; color: var(--muted); font-family: Arial, sans-serif; }

.bigspin { width: 46px; height: 46px; margin: 8px auto 14px; border: 5px solid #e5e1d4;
  border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage { font-size: 19px; color: var(--navy); margin: 6px 0 12px; }
.pctxt { color: var(--gold2); font-family: Arial, sans-serif; font-size: 17px; }
.pbar { height: 14px; background: #e8e4d7; border-radius: 999px; overflow: hidden;
  margin: 0 8% 10px; }
.pfill { height: 100%; background: linear-gradient(90deg, var(--gold2), var(--gold));
  border-radius: 999px; transition: width .8s ease; }
.pbar.indet .pfill { width: 35% !important; animation: slide 1.6s ease-in-out infinite; }
@keyframes slide { 0% { margin-left: -35% } 100% { margin-left: 100% } }

.options { padding-top: 16px; }
.opt-group { margin-bottom: 14px; }
.opt-label { font-family: Arial, sans-serif; font-size: 12px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--muted); margin-bottom: 8px; }
.opt { display: flex; align-items: center; gap: 12px; border: 1px solid #e2ded2; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 8px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--gold); background: #faf7ef; }
.opt input { width: 18px; height: 18px; accent-color: var(--gold2); }
.opt small { display: block; color: var(--muted); }
.opt.lone { margin-top: 4px; }
.more { margin: 10px 0 4px; }
.more summary { color: var(--muted); font-size: 13px; cursor: pointer; }
.more input { margin-top: 8px; }
.big-cta { display: block; width: 100%; font-size: 18px; padding: 16px; margin-top: 12px; }

.dl-row { display: flex; gap: 10px; justify-content: center; align-items: center; margin: 6px 0; flex-wrap: wrap; }
.card.slim { padding: 14px 18px; }
.lrow { display: flex; gap: 14px; padding: 7px 0; border-bottom: 1px solid #eee7d8; font-size: 14px; }
.lrow:last-child { border-bottom: 0; }
.lrow .when { color: var(--navy); white-space: nowrap; font-family: Arial, sans-serif; font-size: 13px; }

.rev-bar { display: flex; justify-content: space-between; align-items: center;
  margin: 6px 0 14px; font-size: 15px; color: var(--navy); }
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 8px; }
.slice .zoom { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; padding: 0;
  font-size: 13px; line-height: 26px; border-radius: 50%; background: rgba(16,24,48,.72);
  border: 0; cursor: zoom-in; z-index: 2; }
.zoombox { display: none; position: fixed; inset: 0; background: rgba(10,14,26,.88);
  z-index: 50; align-items: center; justify-content: center; padding: 14px; }
.zoomin { max-width: 960px; width: 100%; }
.zoomin img { width: 100%; border-radius: 10px; border: 3px solid var(--gold); display: block; }
.zbar { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.zbar .btn.ghost { color: #fff; border-color: #8b93ab; }
.ztime { color: var(--gold); font-family: Arial, sans-serif; }
.slice { margin: 0; position: relative; cursor: pointer; border-radius: 8px; overflow: hidden;
  border: 3px solid transparent; background: #000; }
.slice img { width: 100%; display: block; }
.slice figcaption { position: absolute; left: 0; bottom: 0; right: 0; text-align: center;
  font-size: 11px; color: #fff; background: rgba(16,24,48,.55); font-family: Arial, sans-serif; padding: 1px 0; }
.slice .veil { display: none; }
.slice.covered { border-color: var(--gold); }
.slice.covered .veil { display: block; position: absolute; inset: 0;
  background: rgba(177,151,82,.16); color: transparent; }
.slice.covered .veil::after { content: "◇"; position: absolute; top: 3px; right: 5px;
  width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 50%;
  background: rgba(16,24,48,.8); color: var(--gold); font-size: 13px; }

.job-actions { display: flex; gap: 10px; justify-content: center; margin: 4px 0 20px; }
.btn.danger { color: #a33333; border-color: #a33333; }

.login-card { max-width: 400px; margin: 60px auto; text-align: center; }
.login-card input { margin-bottom: 12px; }
.login-card button { width: 100%; }
