/* Native guided tool sessions + Tool Hub admin readiness */
.nts-wrap { display: grid; gap: 18px; }
.nts-card { padding: 26px 28px; }
.nts-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--gray-mid); }
.nts-title { font-family: var(--font-display); color: var(--teal-dark); margin: 6px 0 8px; font-size: 1.35rem; line-height: 1.25; }
.nts-start { max-width: 60ch; padding: 6px 0; }
.nts-start .btn { margin-top: 14px; }
.nts-log { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.nts-msg { border-radius: 14px; padding: 14px 18px; animation: ntsIn .35s ease both; }
.nts-msg--coach { background: var(--gray-light); border-left: 3px solid var(--gold); margin-right: 8%; }
.nts-msg--you { background: rgba(10,64,73,0.06); margin-left: 12%; }
.nts-who { font-size: .68rem; letter-spacing: normal; text-transform: none; font-weight: 700; color: var(--gray-text); margin-bottom: 6px; }
.nts-msg--coach .nts-who { color: var(--purple); }
.nts-body > :first-child { margin-top: 0; } .nts-body > :last-child { margin-bottom: 0; }
.nts-plain { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.nts-composer { border-top: 1px solid var(--gray-mid); padding-top: 16px; display: grid; gap: 8px; }
.nts-label { font-weight: 600; color: var(--teal-dark); }
.nts-rating-choices { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.nts-rating-choices legend { font-size: .9rem; margin-bottom: 12px; }
.nts-rating-options { display: flex; flex-wrap: wrap; gap: 8px; }
.nts-rating-choice { flex: 1 1 72px; position: relative; cursor: pointer; margin: 0; }
.nts-rating-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nts-rating-choice span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 76px; height: 100%; padding: 10px 6px; border: 2px solid var(--gray-mid); border-radius: 6px; text-align: center; }
.nts-rating-choice strong { font-size: 1.25rem; }
.nts-rating-choice small { font-size: .75rem; }
.nts-rating-choice input:checked + span { background: var(--teal-dark); border-color: var(--teal-dark); color: white; }
.nts-rating-choice input:focus-visible + span { outline: 3px solid var(--purple); outline-offset: 3px; }
.nts-rating-choice input:disabled + span { opacity: .55; cursor: wait; }
.nts-composer .nts-retention-choice { display: flex; align-items: flex-start; gap: 12px; width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 8px; margin: 0; cursor: pointer; text-align: left; line-height: 1.5; }
.nts-composer .nts-retention-choice input[type="radio"] { appearance: auto; position: static; opacity: 1; flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; padding: 0; margin: 2px 0 0; accent-color: var(--teal-dark); }
.nts-retention-choice span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.nts-retention-choice:focus-within { outline: 2px solid var(--teal-dark); outline-offset: 2px; border-radius: 6px; }
.nts-retention-choice:hover { background: rgba(10,64,73,.06); }
.nts-marketing-audit { border: 0; padding: 0; margin: 16px 0; min-width: 0; }
.nts-marketing-audit legend { font-weight: 600; margin-bottom: 12px; }
.nts-marketing-choice { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding: 10px 8px; min-height: 44px; border-radius: 6px; }
.nts-marketing-choice:hover { background: rgba(10,64,73,.06); }
.nts-marketing-choice:focus-within { outline: 2px solid var(--teal-dark); outline-offset: 2px; }
.nts-marketing-choice input[type="checkbox"] { appearance: auto; width: 20px; height: 20px; flex: 0 0 20px; margin: 3px 0 0; accent-color: var(--teal-dark); }
.nts-composer textarea { width: 100%; resize: vertical; min-height: 96px; }
.nts-composer textarea[readonly] { opacity: .6; }
.nts-recover { font-size: .85rem; color: var(--purple); }
.nts-actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.nts-ready { background: rgba(201,154,105,0.12); border: 1px solid rgba(201,154,105,0.4); border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.nts-review { margin: 0 0 18px; }
.nts-review > summary { cursor: pointer; font-weight: 600; color: var(--teal-dark); padding: 8px 0; }
.nts-review[open] > summary { margin-bottom: 10px; }
.nts-done { padding: 4px 0 12px; }
.nts-busy { display: flex; align-items: center; gap: 10px; color: var(--teal); font-size: .92rem; margin: 0 0 16px; }
.nts-dots { display: inline-flex; gap: 4px; }
.nts-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: ntsDot 1s ease-in-out infinite; }
.nts-dots i:nth-child(2) { animation-delay: .15s; } .nts-dots i:nth-child(3) { animation-delay: .3s; }
.nts-alert { border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; background: var(--gray-light); border: 1px solid var(--gray-mid); }
.nts-alert p { margin: 4px 0 10px; }
.nts-alert--warn { background: rgba(201,154,105,0.12); border-color: rgba(201,154,105,0.5); }
.nts-alert--err { background: rgba(125,45,108,0.07); border-color: rgba(125,45,108,0.3); }
.nts-flags, .gpt-flags { margin: 8px 0; padding-left: 18px; font-size: .85rem; color: var(--purple); }
@keyframes ntsIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ntsDot { 0%,100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 767px) { .nts-card { padding: 20px 16px; } .nts-msg--coach, .nts-msg--you { margin-left: 0; margin-right: 0; } .nts-actions .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .nts-msg, .nts-dots i { animation: none; } }

.gpt-hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.gpt-mode-btn { flex-shrink: 0; }
.gpt-ready-pills { margin-bottom: 6px; }
.gpt-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; }
.gpt-badge { font-size: .68rem; letter-spacing: normal; text-transform: none; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--gray-light); color: var(--gray-text); border: 1px solid var(--gray-mid); }
.gpt-badge--ready { background: rgba(10,64,73,0.1); color: var(--teal-dark); border-color: rgba(10,64,73,0.3); }
.gpt-badge--queued { background: var(--gray-light); color: var(--gray-text); border-style: dashed; }
.gpt-badge--needs-instructions, .gpt-badge--flagged { background: rgba(125,45,108,0.08); color: var(--purple); border-color: rgba(125,45,108,0.3); }
.gpt-state-queued, .gpt-state-needs-instructions { opacity: .82; }
.gpt-state-flagged { box-shadow: inset 3px 0 0 var(--purple); }
.gpt-meta { font-size: .8rem; color: var(--gray-text); margin-bottom: 6px; }
.gpt-notes { font-size: .82rem; color: var(--gray-text); margin: 0 0 8px; }
.gpt-unavail { font-size: .85rem; color: var(--gray-text); border-top: 1px dashed var(--gray-mid); padding-top: 10px; margin-top: auto; }
.gpt-empty { text-align: center; padding: 40px 24px; }
.nts-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}

/* Profit Leak Detector grouped intake */
.pl-intake { display: grid; gap: 16px; }
.pl-group { border: 1px solid rgba(10,64,73,.18); border-radius: 12px; padding: 14px 16px 16px; margin: 0; background: rgba(239,237,232,.45); }
.pl-group legend { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-weight: 600; color: #0A4049; }
.pl-step { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #0A4049; color: #efede8; font-size: 12px; }
.pl-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pl-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pl-field input, .pl-field select, .pl-field textarea { width: 100%; min-height: 44px; box-sizing: border-box; }
@media (min-width: 768px) { .pl-grid { grid-template-columns: 1fr 1fr; } .pl-field--wide { grid-column: 1 / -1; } }
