:root.pcf-open,
:root.pcf-open body { overflow: hidden !important; overscroll-behavior: none; }

.pcf-root, .pcf-root * { box-sizing: border-box; }
.pcf-root button, .pcf-root input, .pcf-root textarea { font: inherit; }
.pcf-root button { -webkit-tap-highlight-color: transparent; }
.pcf-root svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.pcf-root {
  position: fixed; inset: 0; z-index: 2147482000; display: grid; place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  color: var(--pcf-ink); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.pcf-backdrop { position: absolute; inset: 0; background: rgba(34, 50, 40, .48); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: pcf-fade .22s ease both; }
.pcf-sheet {
  --pcf-bg: #f3f1eb; --pcf-surface: rgba(255,255,255,.82); --pcf-surface-2: #edebe2; --pcf-line: rgba(37, 77, 52, .13);
  --pcf-ink: #173723; --pcf-muted: #77947d; --pcf-accent: #477759; --pcf-brand: #467658;
  position: relative; width: min(100%, 580px); height: min(920px, calc(100dvh - 36px)); overflow: hidden;
  display: flex; flex-direction: column; background: var(--pcf-bg); border: 1px solid rgba(49, 97, 67, .18);
  border-radius: 34px; box-shadow: 0 40px 120px rgba(9, 34, 19, .24); animation: pcf-sheet-in .32s cubic-bezier(.2,.8,.2,1) both;
}
.pcf-mode-admin .pcf-sheet {
  --pcf-bg: #f4f3ed; --pcf-surface: #fff; --pcf-surface-2: #efede5; --pcf-line: rgba(37, 77, 52, .13);
  --pcf-ink: #133420; --pcf-muted: #75917c; --pcf-accent: #3e7252; --pcf-brand: #417a57;
  width: min(1280px, calc(100vw - 36px));
}

.pcf-header {
  min-height: 94px; flex: 0 0 auto; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--pcf-line); background: color-mix(in srgb, var(--pcf-bg) 90%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 5;
}
.pcf-header > div { min-width: 0; text-align: center; }
.pcf-header small, .pcf-kicker, .pcf-section-title > span { display: block; color: var(--pcf-muted); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.pcf-header h2 { overflow: hidden; margin: 4px 0 0; color: var(--pcf-ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 23px; font-weight: 400; line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.pcf-header p { overflow: hidden; margin: 4px 0 0; color: var(--pcf-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pcf-icon-button { width: 44px; height: 44px; display: grid; place-items: center; color: var(--pcf-accent); background: var(--pcf-surface); border: 1px solid var(--pcf-line); border-radius: 15px; cursor: pointer; }
.pcf-header-mark { color: var(--pcf-ink); cursor: default; }
.pcf-header-mark span { font-family: "Cormorant Garamond", Georgia, serif; font-size: 13px; letter-spacing: .12em; }

.pcf-content { flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 28px 24px calc(30px + env(safe-area-inset-bottom)); }
.pcf-content::-webkit-scrollbar, .pcf-messages::-webkit-scrollbar, .pcf-admin-thread-list::-webkit-scrollbar { display: none; }
.pcf-hero { position: relative; padding: 20px 4px 28px; }
.pcf-hero::after { content: ""; position: absolute; width: 220px; height: 220px; right: -100px; top: -75px; border: 1px solid var(--pcf-line); border-radius: 50%; box-shadow: 0 0 80px rgba(79, 138, 102, .13) inset; pointer-events: none; }
.pcf-hero h1, .pcf-compose h1 { position: relative; margin: 13px 0 12px; color: var(--pcf-ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(37px, 9vw, 54px); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
.pcf-hero > p, .pcf-compose > p { max-width: 440px; margin: 0; color: var(--pcf-muted); font-size: 15px; line-height: 1.55; }
.pcf-online { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 12px; color: var(--pcf-accent); background: var(--pcf-surface); border: 1px solid var(--pcf-line); border-radius: 999px; font-size: 11px; }
.pcf-online i, .pcf-response-note > i { width: 7px; height: 7px; background: #86c99b; border-radius: 50%; box-shadow: 0 0 0 4px rgba(134,201,155,.12); }

.pcf-category-grid { display: grid; gap: 11px; }
.pcf-category-card {
  width: 100%; min-height: 96px; display: grid; grid-template-columns: 54px 1fr 24px; align-items: center; gap: 14px;
  padding: 17px; color: var(--pcf-ink); text-align: left; background: var(--pcf-surface); border: 1px solid var(--pcf-line); border-radius: 23px; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.pcf-category-card:active { transform: scale(.985); }
.pcf-category-card > svg { color: var(--pcf-muted); }
.pcf-category-icon, .pcf-thread-category { display: grid; place-items: center; color: #f0eddf; background: #3c6e4f; border-radius: 17px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 25px; }
.pcf-category-icon { width: 54px; height: 54px; }
.pcf-category-idea .pcf-category-icon, .pcf-thread-idea { color: #406e52; background: #eae8dc; }
.pcf-category-bug .pcf-category-icon, .pcf-thread-bug { color: #587664; background: #ecebe5; }
.pcf-category-card strong { display: block; margin-bottom: 6px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; font-weight: 400; }
.pcf-category-card small { display: block; color: var(--pcf-muted); font-size: 12px; line-height: 1.4; }

.pcf-history { margin-top: 34px; }
.pcf-section-title { display: flex; align-items: center; justify-content: space-between; margin: 0 5px 12px; }
.pcf-section-title small { display: grid; min-width: 24px; height: 24px; place-items: center; color: var(--pcf-muted); background: var(--pcf-surface); border-radius: 50%; font-size: 11px; }
.pcf-thread-card { width: 100%; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 12px; margin-top: 8px; padding: 14px; color: var(--pcf-ink); text-align: left; background: var(--pcf-surface); border: 1px solid var(--pcf-line); border-radius: 20px; cursor: pointer; }
.pcf-thread-card.is-unread { border-color: color-mix(in srgb, var(--pcf-brand) 68%, var(--pcf-line)); box-shadow: 0 8px 30px rgba(46, 104, 68, .12); }
.pcf-thread-category { width: 44px; height: 44px; border-radius: 14px; font-size: 20px; }
.pcf-thread-copy { min-width: 0; }
.pcf-thread-copy > span { display: flex; align-items: center; gap: 7px; }
.pcf-thread-copy strong, .pcf-admin-thread-copy strong { overflow: hidden; display: block; color: var(--pcf-ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.pcf-thread-copy i, .pcf-admin-thread-copy i { flex: 0 0 auto; width: 6px; height: 6px; background: #5c9c73; border-radius: 50%; }
.pcf-thread-copy small, .pcf-thread-copy em { overflow: hidden; display: block; text-overflow: ellipsis; white-space: nowrap; }
.pcf-thread-copy small { margin-top: 4px; color: var(--pcf-muted); font-size: 12px; }
.pcf-thread-copy em { margin-top: 5px; color: color-mix(in srgb, var(--pcf-muted) 70%, transparent); font-size: 10px; font-style: normal; }
.pcf-status { display: inline-flex; align-items: center; justify-content: center; padding: 6px 9px; color: #417956; background: rgba(93,153,115,.12); border-radius: 999px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.pcf-status.is-progress { color: #528716; background: rgba(161,225,87,.16); }
.pcf-status.is-resolved { color: #3f7a53; background: rgba(101,176,125,.14); }
.pcf-privacy { margin: 24px 0 0; color: var(--pcf-muted); text-align: center; font-size: 10px; }

.pcf-compose { padding-top: 35px; }
.pcf-compose-symbol { width: 68px; height: 68px; display: grid; place-items: center; margin-bottom: 26px; background: var(--pcf-surface); border: 1px solid var(--pcf-line); border-radius: 22px; }
.pcf-compose-symbol span { width: 48px; height: 48px; display: grid; place-items: center; color: #f0eddf; background: #3c6e4f; border-radius: 16px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 27px; }
.pcf-compose-symbol.pcf-category-idea span { color: #406e52; background: #eae8dc; }
.pcf-compose-symbol.pcf-category-bug span { color: #587664; background: #ecebe5; }
.pcf-compose h1 { font-size: clamp(36px, 8vw, 48px); }
.pcf-form { display: grid; gap: 13px; margin-top: 28px; }
.pcf-field { position: relative; display: block; padding: 15px 16px 11px; background: var(--pcf-surface); border: 1px solid var(--pcf-line); border-radius: 19px; }
.pcf-field > span { display: block; margin-bottom: 8px; color: var(--pcf-muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pcf-field > span small { font-weight: 400; letter-spacing: 0; text-transform: none; }
.pcf-field input, .pcf-field textarea { width: 100%; padding: 0; color: var(--pcf-ink); background: transparent; border: 0; outline: 0; font-size: 15px; }
.pcf-field textarea { min-height: 138px; resize: vertical; line-height: 1.5; }
.pcf-field input::placeholder, .pcf-field textarea::placeholder, .pcf-composer textarea::placeholder { color: color-mix(in srgb, var(--pcf-muted) 70%, transparent); }
.pcf-field em { display: block; color: var(--pcf-muted); text-align: right; font-size: 9px; font-style: normal; }
.pcf-attachment { position: relative; background: var(--pcf-surface); border: 1px dashed color-mix(in srgb, var(--pcf-muted) 42%, transparent); border-radius: 19px; }
.pcf-attachment label { min-height: 68px; display: flex; align-items: center; gap: 13px; padding: 12px 15px; cursor: pointer; }
.pcf-attachment input, .pcf-composer-attach input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pcf-attachment label > span:first-of-type { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; color: var(--pcf-accent); background: var(--pcf-surface-2); border-radius: 13px; }
.pcf-attachment strong, .pcf-attachment small { display: block; }
.pcf-attachment strong { color: var(--pcf-ink); font-size: 13px; }
.pcf-attachment small { margin-top: 3px; color: var(--pcf-muted); font-size: 10px; }
.pcf-attachment > button { position: absolute; right: 11px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--pcf-muted); background: var(--pcf-surface-2); border: 0; border-radius: 12px; cursor: pointer; }
.pcf-attachment > button svg { width: 17px; }
.pcf-primary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; color: #fff; background: linear-gradient(135deg,#447d5a,#335f44); border: 0; border-radius: 19px; box-shadow: 0 15px 35px rgba(41, 97, 62, .22); cursor: pointer; font-size: 14px; font-weight: 700; }
.pcf-primary:disabled, .pcf-composer button:disabled { opacity: .55; }
.pcf-response-note { display: flex; align-items: center; gap: 13px; margin: 21px 4px 0; }
.pcf-response-note span, .pcf-response-note strong, .pcf-response-note small { display: block; }
.pcf-response-note strong { color: var(--pcf-ink); font-size: 11px; }
.pcf-response-note small { margin-top: 3px; color: var(--pcf-muted); font-size: 10px; }
.pcf-inline-error { margin: 0; padding: 10px 12px; color: #9e4050; background: rgba(222,116,129,.12); border-radius: 12px; font-size: 12px; }

.pcf-thread-view { min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; overflow: hidden; }
.pcf-thread-summary { min-height: 77px; flex: 0 0 auto; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--pcf-line); }
.pcf-thread-summary > span:nth-child(2) { min-width: 0; }
.pcf-thread-summary small, .pcf-thread-summary strong { overflow: hidden; display: block; text-overflow: ellipsis; white-space: nowrap; }
.pcf-thread-summary small { color: var(--pcf-muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pcf-thread-summary strong { margin-top: 3px; color: var(--pcf-ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 17px; font-weight: 400; }
.pcf-messages { flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; padding: 18px 18px 10px; background: linear-gradient(180deg, color-mix(in srgb, var(--pcf-surface-2) 28%, transparent), transparent 160px); scrollbar-width: none; }
.pcf-date-separator { display: flex; align-items: center; gap: 12px; margin: 3px 0 20px; color: var(--pcf-muted); font-size: 8px; font-weight: 700; letter-spacing: .17em; }
.pcf-date-separator::before, .pcf-date-separator::after { content: ""; height: 1px; flex: 1; background: var(--pcf-line); }
.pcf-message { display: flex; margin: 9px 0; }
.pcf-message.is-mine { justify-content: flex-end; }
.pcf-message > div { max-width: 84%; padding: 11px 13px 8px; background: var(--pcf-surface); border: 1px solid var(--pcf-line); border-radius: 18px 18px 18px 5px; box-shadow: 0 6px 22px rgba(0,0,0,.05); }
.pcf-message.is-mine > div { color: #f8f6f0; background: #3c7050; border-color: rgba(195,209,172,.18); border-radius: 18px 18px 5px 18px; }
.pcf-message small { display: block; margin-bottom: 4px; color: var(--pcf-accent); font-size: 9px; font-weight: 700; }
.pcf-message.is-mine small { color: #e4e4ce; }
.pcf-message p { margin: 0; color: inherit; font-size: 13px; line-height: 1.48; overflow-wrap: anywhere; }
.pcf-message img { display: block; width: 100%; max-height: 300px; object-fit: cover; margin-top: 9px; border-radius: 12px; }
.pcf-message time { display: block; margin-top: 5px; color: var(--pcf-muted); text-align: right; font-size: 8px; }
.pcf-message.is-mine time { color: #c5ceb4; }
.pcf-resolved-note { width: fit-content; display: flex; align-items: center; gap: 7px; margin: 18px auto; padding: 9px 12px; color: #4f8060; background: rgba(96,169,121,.12); border-radius: 999px; font-size: 10px; }
.pcf-resolved-note svg { width: 15px; height: 15px; }
.pcf-composer { flex: 0 0 auto; display: grid; grid-template-columns: 44px 1fr 44px; align-items: end; gap: 9px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: var(--pcf-bg); border-top: 1px solid var(--pcf-line); }
.pcf-composer-attach, .pcf-composer > button { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: var(--pcf-accent); background: var(--pcf-surface); border: 1px solid var(--pcf-line); border-radius: 14px; cursor: pointer; }
.pcf-composer-attach i { position: absolute; right: 4px; top: 4px; width: 8px; height: 8px; background: #77bd8e; border: 2px solid var(--pcf-bg); border-radius: 50%; }
.pcf-composer textarea { min-height: 44px; max-height: 112px; padding: 12px 14px; resize: none; color: var(--pcf-ink); background: var(--pcf-surface); border: 1px solid var(--pcf-line); border-radius: 14px; outline: none; font-size: 13px; line-height: 1.35; }
.pcf-composer > button { color: #fff; background: #3c7050; border-color: transparent; }

.pcf-admin-workspace { min-height: 0; flex: 1; display: grid; grid-template-columns: minmax(330px, 38%) 1fr; overflow: hidden; }
.pcf-admin-list { min-width: 0; display: flex; flex-direction: column; background: #f8f7f3; border-right: 1px solid var(--pcf-line); }
.pcf-admin-list-head { min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 12px 17px; border-bottom: 1px solid var(--pcf-line); }
.pcf-admin-list-head span small, .pcf-admin-list-head span strong { display: block; }
.pcf-admin-list-head small { color: var(--pcf-muted); font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.pcf-admin-list-head strong { margin-top: 4px; color: var(--pcf-ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 18px; font-weight: 400; }
.pcf-admin-list-head button { width: 38px; height: 38px; display: grid; place-items: center; color: var(--pcf-accent); background: #fff; border: 1px solid var(--pcf-line); border-radius: 12px; cursor: pointer; }
.pcf-admin-list-head button svg { width: 18px; }
.pcf-admin-filters { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--pcf-line); }
.pcf-admin-filters button { padding: 7px 12px; color: #fff; background: #3c7050; border: 0; border-radius: 999px; font-size: 10px; }
.pcf-admin-filters span { color: var(--pcf-muted); font-size: 9px; }
.pcf-admin-thread-list { flex: 1; overflow: auto; scrollbar-width: none; }
.pcf-admin-thread { position: relative; width: 100%; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 11px; padding: 15px; color: var(--pcf-ink); text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--pcf-line); cursor: pointer; }
.pcf-admin-thread:hover, .pcf-admin-thread.is-selected { background: #f3f2ea; }
.pcf-admin-thread.is-unread::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; background: #518b67; border-radius: 0 4px 4px 0; }
.pcf-admin-thread-copy { min-width: 0; }
.pcf-admin-thread-copy > span { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 6px; }
.pcf-admin-thread-copy time { color: var(--pcf-muted); font-size: 8px; }
.pcf-admin-thread-copy em, .pcf-admin-thread-copy small { overflow: hidden; display: block; text-overflow: ellipsis; white-space: nowrap; font-style: normal; }
.pcf-admin-thread-copy em { margin-top: 4px; color: #3f694f; font-family: "Cormorant Garamond", Georgia, serif; font-size: 13px; }
.pcf-admin-thread-copy small { margin-top: 4px; color: var(--pcf-muted); font-size: 10px; }
.pcf-admin-thread > .pcf-status { align-self: end; padding: 5px 7px; font-size: 8px; }
.pcf-admin-detail { min-width: 0; min-height: 0; background: var(--pcf-bg); }
.pcf-admin-detail-shell { height: 100%; display: flex; flex-direction: column; }
.pcf-admin-detail-head { min-height: 70px; display: flex; align-items: center; gap: 11px; padding: 11px 17px; border-bottom: 1px solid var(--pcf-line); background: #fff; }
.pcf-admin-detail-head > button { display: none; width: 40px; height: 40px; place-items: center; color: var(--pcf-accent); background: var(--pcf-bg); border: 1px solid var(--pcf-line); border-radius: 12px; }
.pcf-admin-detail-head > span { min-width: 0; }
.pcf-admin-detail-head small, .pcf-admin-detail-head strong, .pcf-admin-detail-head em { overflow: hidden; display: block; text-overflow: ellipsis; white-space: nowrap; }
.pcf-admin-detail-head small { color: var(--pcf-muted); font-size: 9px; }
.pcf-admin-detail-head strong { margin-top: 2px; color: var(--pcf-ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 18px; font-weight: 400; }
.pcf-admin-detail-head em { margin-top: 2px; color: var(--pcf-muted); font-size: 9px; font-style: normal; }
.pcf-admin-detail .pcf-thread-summary { display: none; }
.pcf-admin-detail .pcf-messages { background: #f3f1ea; }
.pcf-admin-controls { display: flex; justify-content: flex-end; gap: 8px; padding: 9px 14px 0; background: #fff; border-top: 1px solid var(--pcf-line); }
.pcf-admin-controls button { min-height: 34px; display: flex; align-items: center; gap: 5px; padding: 0 12px; color: var(--pcf-muted); background: var(--pcf-bg); border: 1px solid var(--pcf-line); border-radius: 10px; cursor: pointer; font-size: 10px; }
.pcf-admin-controls button.is-active { color: #4e7c1a; background: #fff6d8; border-color: #caeba4; }
.pcf-admin-controls button.is-resolved { color: #39734d; background: #e8f6ed; border-color: #bfdfca; }
.pcf-admin-controls svg { width: 14px; height: 14px; }
.pcf-admin-composer { padding-bottom: 13px; background: #fff; }
.pcf-admin-empty, .pcf-empty-small { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 35px; text-align: center; }
.pcf-admin-empty > span { width: 66px; height: 66px; display: grid; place-items: center; color: var(--pcf-accent); background: #efede4; border-radius: 22px; }
.pcf-admin-empty > small { margin-top: 20px; color: var(--pcf-muted); font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.pcf-admin-empty h2 { margin: 11px 0 7px; color: var(--pcf-ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; font-weight: 400; }
.pcf-admin-empty p { max-width: 390px; margin: 0; color: var(--pcf-muted); font-size: 12px; line-height: 1.55; }
.pcf-empty-small { min-height: 280px; color: var(--pcf-muted); }
.pcf-empty-small span { width: 44px; height: 44px; display: grid; place-items: center; background: #f1efe7; border-radius: 14px; }
.pcf-empty-small strong { margin-top: 14px; color: var(--pcf-ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; font-weight: 400; }
.pcf-empty-small p { margin: 5px 0 0; font-size: 10px; }

.pcf-loading, .pcf-error { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; color: var(--pcf-muted); text-align: center; }
.pcf-loading > span { width: 35px; height: 35px; border: 2px solid var(--pcf-line); border-top-color: var(--pcf-accent); border-radius: 50%; animation: pcf-spin .8s linear infinite; }
.pcf-loading p { margin: 15px 0 0; font-size: 11px; }
.pcf-error > span { width: 55px; height: 55px; display: grid; place-items: center; color: #9b4350; background: rgba(221,119,132,.14); border-radius: 18px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; }
.pcf-error h2 { margin: 17px 0 7px; color: var(--pcf-ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; font-weight: 400; }
.pcf-error p { max-width: 340px; margin: 0 0 18px; font-size: 12px; line-height: 1.5; }
.pcf-error button { min-width: 180px; min-height: 44px; margin: 4px; color: #fff; background: #3c7050; border: 0; border-radius: 14px; cursor: pointer; }
.pcf-error button.is-quiet { color: var(--pcf-muted); background: transparent; }

.pcf-profile-entry { position: relative !important; width: 100%; display: flex !important; align-items: center; gap: 14px; text-align: left; }
.pcf-entry-icon { width: 46px; height: 46px; display: grid; flex: 0 0 auto; place-items: center; color: #4f7e61; background: rgba(97,154,116,.10); border: 1px solid rgba(97,154,116,.14); border-radius: 15px; }
.pcf-entry-copy { min-width: 0; flex: 1; }
.pcf-entry-copy strong, .pcf-entry-copy small { display: block; }
.pcf-entry-copy strong { color: inherit; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1em; font-weight: 400; }
.pcf-entry-copy small { overflow: hidden; margin-top: 4px; opacity: .65; font-size: .58em; text-overflow: ellipsis; white-space: nowrap; }
.pcf-entry-tail { display: flex; align-items: center; gap: 7px; }
.pcf-entry-tail svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pcf-badge { min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; color: #fff; background: #3c7050; border-radius: 999px; font-family: Inter, sans-serif; font-size: 10px; font-weight: 700; line-height: 1; }
.pcf-admin-entry-badge { position: absolute; right: 42px; top: 50%; transform: translateY(-50%); }
.pcf-admin-tab { position: relative; display: inline-flex !important; align-items: center; gap: 7px; white-space: nowrap; }
.pcf-admin-tab .pcf-badge { min-width: 19px; height: 19px; font-size: 8px; }

/* PlatSer Club: активный профиль в светлой теме */
html[data-theme="light"] .club-entry-context {
  color: #1d3a28;
  background: radial-gradient(circle at 100% 0, rgba(110, 164, 119, .13), transparent 9rem), linear-gradient(145deg, rgba(255,255,255,.94), rgba(234,232,221,.91));
  border-color: rgba(55, 90, 68, .18);
  box-shadow: 0 12px 30px rgba(53, 82, 64, .10), inset 0 1px rgba(255,255,255,.95);
}
html[data-theme="light"] .club-entry-context small { color: #77947d; }
html[data-theme="light"] .club-entry-context strong { color: #22422e; }
html[data-theme="light"] .club-entry-context > svg { color: #537b62; }
html[data-theme="light"] .club-entry-context img {
  border: 1px solid rgba(51, 88, 65, .22);
  box-shadow: 0 5px 14px rgba(39, 69, 50, .13);
}

.pcf-toast { position: fixed; z-index: 2147483000; left: 50%; top: max(18px, env(safe-area-inset-top)); min-width: 260px; max-width: calc(100vw - 28px); display: flex; align-items: center; gap: 10px; padding: 12px 15px; color: #1e402b; background: rgba(250,249,244,.96); border: 1px solid rgba(59,108,78,.16); border-radius: 16px; box-shadow: 0 18px 55px rgba(6,27,14,.25); backdrop-filter: blur(16px); transform: translate(-50%,-18px); opacity: 0; transition: .24s ease; pointer-events: none; }
.pcf-toast.is-visible { transform: translate(-50%,0); opacity: 1; }
.pcf-toast > span { width: 30px; height: 30px; display: grid; flex: 0 0 auto; place-items: center; color: #39734d; background: #e2f3e8; border-radius: 10px; font-family: Georgia,serif; font-size: 18px; }
.pcf-toast.is-error > span { color: #9b4350; background: #f7e2e5; }
.pcf-toast.is-notice > span { color: #3c7050; background: #f0ede3; }
.pcf-toast svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.pcf-toast p { margin: 0; font-size: 12px; font-weight: 600; }

@keyframes pcf-fade { from { opacity: 0; } }
@keyframes pcf-sheet-in { from { opacity: 0; transform: translateY(22px) scale(.985); } }
@keyframes pcf-spin { to { transform: rotate(360deg); } }

@media (hover: hover) {
  .pcf-category-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb,var(--pcf-brand) 48%,var(--pcf-line)); }
  .pcf-icon-button:hover, .pcf-composer-attach:hover { background: var(--pcf-surface-2); }
}

@media (max-width: 720px) {
  .pcf-root { padding: 0; }
  .pcf-sheet, .pcf-mode-admin .pcf-sheet { width: 100%; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  .pcf-header { min-height: calc(78px + env(safe-area-inset-top)); padding-top: calc(10px + env(safe-area-inset-top)); }
  .pcf-content { padding-left: 18px; padding-right: 18px; }
  .pcf-hero { padding-top: 11px; }
  .pcf-hero h1 { font-size: 44px; }
  .pcf-category-card { min-height: 88px; padding: 14px; }
  .pcf-admin-workspace { display: block; position: relative; }
  .pcf-admin-list, .pcf-admin-detail { position: absolute; inset: 0; }
  .pcf-admin-detail { display: none; }
  .pcf-admin-detail.is-mobile-open { display: block; z-index: 2; }
  .pcf-admin-detail-head > button { display: grid; }
  .pcf-admin-thread-list { padding-bottom: env(safe-area-inset-bottom); }
  .pcf-admin-controls { justify-content: center; }
}

@media (max-width: 390px) {
  .pcf-header { grid-template-columns: 42px 1fr 42px; gap: 8px; padding-left: 12px; padding-right: 12px; }
  .pcf-icon-button { width: 40px; height: 40px; }
  .pcf-category-card { grid-template-columns: 48px 1fr 18px; gap: 11px; }
  .pcf-category-icon { width: 48px; height: 48px; }
  .pcf-category-card strong { font-size: 18px; }
  .pcf-thread-card { grid-template-columns: 40px minmax(0,1fr); }
  .pcf-thread-card > .pcf-status { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pcf-backdrop, .pcf-sheet, .pcf-loading > span { animation: none; }
  .pcf-toast { transition: none; }
}
