/* Reader comments inside the closed fold on a bill page. Published only while site/comments.json
 * switches comments on, like comments.js. Text sizes in the form stay at 16px so a phone does
 * not zoom when a reader taps a field, and every control is at least 44px tall to tap. Every
 * fold rule is scoped to the fold itself: the script marks the page's root element as running, so a
 * bare [data-comments] selector would reach every form on the page. List pages load this file too,
 * for the count on each row. */
details[data-comments] .comments-note{margin:6px 0 10px;font-size:14px;line-height:1.5;color:var(--g-muted,#595a5a)}
/* An inline link in the note, not the bill page's 44px block link, so the note reads as one paragraph. */
details[data-comments] .comments-note a{display:inline;min-height:0;min-width:0;padding:0}
details[data-comments] .comments-status{margin:0 0 10px;font-size:14px;line-height:1.45;color:var(--g-text,#363737)}
details[data-comments] .comments-status:empty{display:none}
details[data-comments] [data-comments-list]{display:grid;gap:0;margin:0 0 6px}
details[data-comments] [data-comments-list]:focus{outline:none}
details[data-comments] [data-comments-list]>p{margin:8px 0;color:var(--g-muted,#595a5a)}
details[data-comments] .comment{padding:12px 0 6px;border-top:1px solid var(--g-line,#d3d3d3);min-width:0}
details[data-comments] .comment:first-child{border-top:0;padding-top:4px}
details[data-comments] .comment:focus{outline:none}
details[data-comments] .comment:focus-visible{outline:3px solid var(--g-teal,#00696b);outline-offset:2px}
details[data-comments] .comment-head{margin:0;font-size:13px;line-height:1.4;color:var(--g-muted,#595a5a)}
details[data-comments] .comment-name{color:var(--g-text,#363737)}
details[data-comments] .comment-body{margin:6px 0 2px;font-size:15px;line-height:1.55;color:var(--g-text,#363737);white-space:pre-wrap;overflow-wrap:anywhere}
details[data-comments] .comment-status{margin:2px 0 0;font-size:13px;line-height:1.4;color:var(--g-text,#363737)}
details[data-comments] .comments-more{font-size:13px}
details[data-comments] .comment-report,details[data-comments] .comment-block,details[data-comments] [data-comments-unblock]{min-height:44px;padding:0 14px 0 0;margin:0;border:0;background:none;color:var(--g-muted,#595a5a);font:inherit;font-size:13px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
details[data-comments] .comment-report:disabled,details[data-comments] .comment-block:disabled{cursor:default;opacity:.6}
details[data-comments] [data-comments-unblock][hidden]{display:none}
details[data-comments] form{display:grid;gap:12px;margin:10px 0 4px;padding-top:12px;border-top:1px solid var(--g-line,#d3d3d3)}
details[data-comments] form[hidden]{display:none}
details[data-comments] form p{margin:0}
details[data-comments] form label{display:grid;gap:6px;font-size:14px;color:var(--g-text,#363737)}
details[data-comments] form textarea{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #b9b9b9;border-radius:8px;background:#fff;color:var(--g-text,#363737);font:inherit;font-size:16px;line-height:1.45}
details[data-comments] form textarea{min-height:7.5em;resize:vertical}
details[data-comments] .comments-identity{display:flex;align-items:center;flex-wrap:wrap;gap:0 10px;font-size:14px;overflow-wrap:anywhere}
details[data-comments] [data-comments-shuffle]{min-height:44px;padding:0 4px;border:0;background:none;color:var(--g-teal,#00696b);font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
details[data-comments] [data-comments-shuffle][hidden]{display:none}
details[data-comments] .comments-send{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
details[data-comments] [data-comments-submit]{min-height:44px;padding:8px 18px;border:1px solid currentColor;border-radius:5px;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer}
details[data-comments] [data-comments-submit]:is([aria-disabled="true"],:disabled),details[data-comments] [data-comments-shuffle]:disabled{cursor:progress;opacity:.6}
details[data-comments] [data-comments-form-status]{font-size:14px;line-height:1.45;color:var(--g-text,#363737)}
details[data-comments] [data-comments-form-status]:empty{display:none}
details[data-comments] [data-comments-challenge]{max-width:100%;overflow:hidden}
details[data-comments] [data-comments-challenge]:empty{display:none}
details[data-comments] :is(button,input,textarea):focus-visible{outline:3px solid var(--g-teal,#00696b);outline-offset:2px}
.comments-count{font-variant-numeric:tabular-nums}
/* The shipped glass palette supplies the brand red. The warmer outline is for
 * the original dark glass rows. The pill keeps its white text in both palettes. */
:root{--comments-outline:#d90500;--comments-fill:#820f0a;--comments-on-fill:#fff}
.glass-site{--comments-outline:var(--g-pop,#ff5633)}
/* Reserve the full count's space before the request, including on a wrapping row.
 * The visible pill hugs its number, and the empty bubble stays on the row surface. */
.comments-slot{display:inline-flex;width:5.75rem;max-width:100%;vertical-align:middle}
.comments-slot .comments-indicator[data-comments-count]{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;
  min-width:32px;min-height:30px;margin:0;padding:2px 6px;border:1px solid transparent;border-radius:999px;
  background:transparent;color:var(--comments-outline);font:400 12px/1.2 var(--g-body,system-ui,sans-serif);
  font-variant-numeric:tabular-nums;text-decoration:none;white-space:nowrap;cursor:pointer;
}
/* The lawmaker's Bills fold gives links a larger tap target. Keep it on upgrade. */
.g-record .comments-slot .comments-indicator[data-comments-count]{min-width:44px;min-height:44px}
.comments-slot .comments-indicator.has-comments,.glass-site .gb-fold-count.gc-comments{
  background:var(--comments-fill);color:var(--comments-on-fill);border:1px solid var(--comments-outline);
}
.comments-slot .comments-indicator:focus-visible{outline:3px solid var(--comments-outline);outline-offset:2px}
.comments-indicator::before,.glass-site .gc-comments::before{
  content:"";display:inline-block;flex:none;width:16px;height:16px;background:currentColor;
  --bubble:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' viewBox='0 0 18 18'%3E%3Cpath d='M5 2.5h8a3 3 0 0 1 3 3v4.8a3 3 0 0 1-3 3H9l-4.5 3v-3H5a3 3 0 0 1-3-3V5.5a3 3 0 0 1 3-3Z'/%3E%3C/svg%3E");
  -webkit-mask:var(--bubble) center/contain no-repeat;mask:var(--bubble) center/contain no-repeat;
}
.glass-site .gc-comments{display:inline-flex;align-items:center;gap:6px}
.glass-site .gc-comments[hidden]{display:none}
/* The classic look, which no live page uses now, gets the same shapes on its own colors. */
.comments3 .comments3-body{padding:0 0 12px}

/* Read-only previews at the end of glass rows. Their controls stay on the bill page. */
.glass-site button[data-comments-feed]{min-height:30px;font-weight:400!important;cursor:pointer}
.glass-site .comments-preview{grid-column:1/-1;min-width:0;margin-top:8px;padding:12px 0 0;border-top:1px solid var(--g-line,#d3d3d3)}
.glass-site .comments-preview[hidden]{display:none}
.glass-site .comments-preview .comment{min-width:0;padding:12px 0;border-bottom:1px solid var(--g-line,#d3d3d3)}
.glass-site .comments-preview .comment-head{margin:0;font-size:13px;line-height:1.4;color:var(--g-muted,#595a5a);overflow-wrap:anywhere}
.glass-site .comments-preview .comment-name{color:var(--g-text,#363737)}
.glass-site .comments-preview .comment-body{margin:6px 0 0;font-size:15px;line-height:1.55;color:var(--g-text,#363737);white-space:pre-wrap;overflow-wrap:anywhere}
.glass-site .comments-preview>div>p{margin:0;font-size:14px;line-height:1.5;color:var(--g-muted,#595a5a)}
.glass-site .comments-preview-links{display:flex;flex-wrap:wrap;gap:0 16px;margin:6px 0 0;font-size:14px;line-height:1.5}
.glass-site .comments-preview-links a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px}
