/* CCC Platform, layout pieces not in the Style Kit. Kit tokens only. */
html, body { margin: 0; min-height: 100%; }
.cp-gate[hidden], .ccc-app[hidden], .cp-toast[hidden] { display: none; }
body.ccc { min-height: 100vh; }
.ccc-app { min-height: 100vh; }
.cp-grow { flex: 1; }
.cp-account { display: flex; flex-direction: column; gap: 6px; padding: 12px 10px 4px; }
.cp-account .ccc-hint { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cp-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.cp-gate-card { width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; }
.cp-gate-logo { height: 36px; }

.cp-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; }

.cp-day { margin: 20px 0 8px; }
.cp-day:first-child { margin-top: 0; }
.cp-time { font-weight: 700; white-space: nowrap; }
.cp-wrap { white-space: normal; }
.cp-pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.cp-note + .cp-note { border-top: 1px solid var(--ccc-line); padding-top: 14px; margin-top: 14px; }
.cp-note-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.cp-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.cp-head-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cp-row-link { cursor: pointer; }
.cp-progress { display: flex; align-items: center; gap: 10px; }
.cp-bar { flex: 1; height: 6px; border-radius: var(--ccc-radius-pill); background-color: var(--ccc-sunk); overflow: hidden; }
.cp-bar > i { display: block; height: 100%; width: calc(var(--ccc-v, 0) * 1%); background-color: var(--ccc-sage); transition: width .3s; }
.cp-tabs-gap { margin-bottom: 16px; }
.cp-mt { margin-top: 16px; }
.cp-muted { color: var(--ccc-muted); }
.cp-skel-title { width: 220px; height: 30px; }
