/* Shared pill tabs use the sharing page's original design. */
.toggle-wrapper{flex-wrap:wrap;justify-content:center;max-width:100%}
.toggle-container{display:flex;justify-content:center;margin-bottom:40px}
.toggle-wrapper a.toggle-btn{text-decoration:none;text-align:center;display:inline-flex;align-items:center;justify-content:center;min-height:44px}
.place-report-form{max-width:820px;margin:0 auto 50px}
.place-report-form .form-group{margin-top:24px}
.place-report-form select{width:100%;max-width:100%;padding:14px;border:1px solid #ddd;border-radius:10px;background:white;color:#222;font:inherit}
.place-report-form textarea,.place-report-form input{max-width:100%}
.place-report-form p{line-height:1.7}
.report-submit{border:0;border-radius:28px;background:#080808;color:white;font:inherit;font-weight:700;padding:16px 24px;cursor:pointer;margin-top:24px;width:100%;min-height:48px}
.report-notice{background:#e9f6ec;color:#155c2d;padding:16px;border-radius:12px;margin-top:20px}
.report-error{background:#fff0ed;color:#9f2716;padding:16px;border-radius:12px;margin-top:20px}
.report-caption{color:#667085;font-size:.9rem;margin-top:16px}
.report-honeypot{position:absolute;left:-10000px}
.place-review-panel{background:white;border-radius:20px;padding:24px;margin:24px 0}
.review-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.review-tabs a{display:block;padding:10px 16px;border-radius:24px;background:#f1f3f6;color:#222;text-decoration:none;min-height:44px}
.review-tabs a[aria-current]{background:#080808;color:white}
.review-card{border:1px solid #e2e8f0;border-radius:14px;padding:20px;margin-top:16px;overflow-wrap:anywhere}
.review-values{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:14px 0}
.review-values>div{background:#f8fafc;border-radius:10px;padding:12px;white-space:pre-wrap;min-width:0}
.review-card textarea{font:inherit;width:100%;max-width:100%;padding:12px;border:1px solid #ccc;border-radius:10px}
.review-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.review-actions button{font:inherit;padding:10px 16px;border-radius:10px;border:1px solid #ccc;background:white;cursor:pointer;min-height:44px}
.review-actions button[value=approve]{background:#146b3b;color:white;border-color:#146b3b}
.review-muted{color:#667085;font-size:.9rem}
@media(max-width:600px){.toggle-btn{padding:10px 14px;font-size:.9rem}.place-report-form{padding:22px}.review-values{grid-template-columns:1fr}.place-review-panel{padding:16px}.review-card{padding:14px}}
/* Keep the existing footer inside the page on narrow screens. */
.footer-bottom{left:0;padding-inline:5%;box-sizing:border-box}
.approval-view td form textarea{display:block;width:190px;max-width:100%;font:inherit;padding:8px;border:1px solid #d0d5dd;border-radius:8px;margin:8px 0}
.approval-view td form button{font:inherit;padding:8px 12px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;min-height:44px;cursor:pointer;margin:3px}
.approval-view td form button[value=approve]{background:#146b3b;color:#fff;border-color:#146b3b}

#modalHighlightText{white-space:pre-line}
.secret-main-title,.secret-info-col,.secret-content-grid{min-width:0;overflow-wrap:anywhere}

.ai-control-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ai-control-badge{padding:10px 16px;border-radius:24px;font-weight:700;display:inline-flex;align-items:center;gap:8px}
.ai-control-badge::before{content:'';width:10px;height:10px;border-radius:50%;background:currentColor;flex:none}
.ai-control-badge[data-state=off]{background:#fee2e2;color:#991b1b}
.ai-control-badge[data-state=waiting]{background:#fff4cb;color:#785000}
.ai-control-badge[data-state=running]{background:#dcfce7;color:#166534}
.ai-control-form{margin:18px 0}
.ai-control-toggle{border:0;font:inherit;font-weight:700;color:white;background:#15703d;border-radius:12px;padding:12px 22px;min-height:48px;cursor:pointer}
.ai-control-toggle[data-enabled="1"]{background:#b42318}
@media(max-width:600px){.ai-control-toggle{width:100%}.ai-control-badge{max-width:100%;overflow-wrap:anywhere}}

.place-picker,.report-select{position:relative;width:100%;min-width:0}
.report-select-trigger{width:100%;border:1px solid #ddd;border-radius:14px;padding:16px 44px 16px 18px;background:#f9f9f9;color:#222;font:inherit;text-align:left;cursor:pointer;min-height:54px;position:relative}
.report-select-trigger::after{content:'⌄';position:absolute;right:18px;top:50%;transform:translateY(-60%);font-size:22px}
.report-select-trigger:focus-visible,.place-picker input:focus{outline:2px solid #e0ad00;outline-offset:2px}
.report-select-trigger[data-status=open]{background:#eefaf2;border-color:#bde4cc;color:#166534}
.report-select-trigger[data-status=closed]{background:#fff9e7;border-color:#edda97;color:#805800}
.report-select-trigger[data-status=permanently_closed]{background:#fff0ef;border-color:#efc4c1;color:#a32924}
.report-options{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:50;background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 12px 36px rgba(16,24,40,.14);padding:6px;max-height:min(300px,40vh);overflow:auto;overscroll-behavior:contain}
.opens-up>.report-options{top:auto;bottom:calc(100% + 8px)}
.report-options[hidden]{display:none}
.report-options button,.place-result{display:block;width:100%;border:0;background:white;border-radius:10px;padding:13px 14px;text-align:left;font:inherit;color:#222;cursor:pointer;min-height:48px;overflow-wrap:anywhere}
.report-options button:hover,.report-options button.is-active,.place-result:hover,.place-result.is-active{background:#fff7d8}
.report-options button[aria-selected=true]{font-weight:700}
.report-options button[data-status=open]{color:#166534}
.report-options button[data-status=closed]{color:#805800}
.report-options button[data-status=permanently_closed]{color:#a32924}
.place-result-name{display:block;font-weight:600}
.place-result small{display:block;color:#667085;font-size:.85rem;margin-top:3px}
.place-no-results{padding:16px;color:#667085}
.place-search-feedback{font-size:.85rem;color:#667085;margin-top:8px}
.place-report-form .form-group select[hidden]{display:none}
