body.page { display: block; max-width: 980px; }
.page main { padding: 12px; }
.panel { background: var(--card); border-radius: var(--radius); padding: 14px 16px; margin: 12px; box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.page main .panel { margin: 12px 0; }
.panel h2 { font-size: 1rem; margin: 0 0 10px; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.panel-head .btns { display: flex; gap: 8px; }
#loginForm { display: flex; gap: 8px; }
#loginForm input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.tile { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.tile b { display: block; font-size: 1.6rem; color: var(--brand); line-height: 1.2; }
.tile span { font-size: .8rem; color: var(--muted); }
.days { display: flex; align-items: flex-end; gap: 3px; height: 120px; border-bottom: 1px solid var(--line); padding-top: 14px; }
.day { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; position: relative; }
.day .bar { width: 100%; background: var(--brand); border-radius: 3px 3px 0 0; min-height: 1px; }
.day .dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--warm); }
.day .lbl { position: absolute; bottom: -18px; font-size: .62rem; color: var(--muted); white-space: nowrap; }
.day .num { font-size: .62rem; color: var(--brand); }
.panel .days + p { margin-top: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 12px; }
.bars .b { display: grid; grid-template-columns: 6.5em 1fr 2.5em; gap: 8px; align-items: center; font-size: .88rem; margin: 5px 0; }
.bars .track { background: var(--bg); border-radius: 999px; height: 10px; overflow: hidden; }
.bars .fill { background: var(--brand); height: 100%; border-radius: 999px; }
.bars .n { text-align: right; color: var(--muted); }
.result { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.result span { background: var(--bg); border-radius: 999px; padding: 3px 12px; font-size: .9rem; }
.ba { font-size: .92rem; margin-bottom: 10px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tbl th, .tbl td { border-bottom: 1px solid var(--line); padding: 5px 6px; text-align: left; }
.tbl td:not(:first-child), .tbl th:not(:first-child) { text-align: center; width: 4em; }
.sess { border: 1px solid var(--line); border-radius: 10px; margin: 8px 0; }
.sess > summary { padding: 8px 12px; cursor: pointer; font-size: .9rem; list-style: none; }
.sess > summary::-webkit-details-marker { display: none; }
.sess .meta { color: var(--muted); font-size: .8rem; }
.sess .turn { border-top: 1px dashed var(--line); padding: 8px 12px; font-size: .88rem; }
.sess .q { color: var(--brand); font-weight: 600; }
.sess .fbline { padding: 4px 12px 8px; font-size: .85rem; color: #8a5a1c; }
.wide { width: 100%; margin-top: 8px; }
.danger h2 { color: var(--bad); }
