/* Period tool: a calm main screen, consent, partner view. Builds on .cycle-* in app.css. */
.pt .pt-head { margin: 4px 0 10px; }
.pt .pt-who { margin-top: 4px; }
.pt-hero .cycle-hero { margin-bottom: 4px; }
.pt-phase { font-size: 1.15rem; }
.pt-facts { display: flex; gap: 10px; margin: 14px 0 6px; }
.pt-facts > div { flex: 1; min-width: 0; background: var(--paper-2); border-radius: 14px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.pt-facts small { font-size: .72rem; }
.pt-facts b { font-size: .92rem; }
.pt-tip { margin: 8px 0 12px; color: var(--ink-soft); line-height: 1.4; }
.pt-today { margin: 12px 0 0; }

.pt-card-list { padding-top: 4px; padding-bottom: 4px; }
.pt-card-list > li { cursor: default; }
.pt-card-list > li:last-child, [data-look] .pt-card-list > li:last-child { border-bottom: 0; }
.pt-more > li { cursor: pointer; }
.pt-more > li:focus-visible { outline: 3px solid var(--me); outline-offset: 2px; border-radius: 10px; }
.pt-ic { font-size: 1.35rem; width: 1.8rem; text-align: center; flex: none; }
.pt-back { margin: 4px 0 8px; }

.pt-empty { padding-top: 22px; padding-bottom: 22px; }
.pt-empty .grid2 { margin-top: 14px; }
.pt-big { font-size: 2.6rem; line-height: 1; margin-bottom: 6px; }
.pt-date { max-width: 220px; margin: 6px auto 12px; }

.pt-consent h3 { margin-bottom: 2px; }
.pt-points { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; gap: 12px; }
.pt-points > li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.35; }
.pt-points small { color: var(--ink-soft); }

/* partner view: the partner's colour */
.cycle-ring.partner { background: conic-gradient(var(--you, #b28ee0) var(--p), var(--paper-2) 0); }
.pt-partner { border-left: 4px solid var(--you, #b28ee0); }
.pt-support h3 { margin-bottom: 4px; }
.pt-tips { margin: 8px 0 10px; padding-left: 1.2em; display: grid; gap: 6px; line-height: 1.4; }
.pt-mini { display: block; color: inherit; text-decoration: none; }

/* settings sheet */
.pt-settings .pt-group h3 { margin: 6px 0 2px; font-size: 1rem; }
.pt-settings details.pt-group > summary { cursor: pointer; padding: 8px 0; list-style-position: inside; }
.pt-settings details.pt-group[open] > summary { margin-bottom: 6px; }
.pt-danger { display: grid; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 2px dotted var(--rule); }
.pt-delete { color: #c0392b; }
.pt-setting .switch { margin-left: 12px; }
