/* =========================================================
   Radix Support-portaal — bouwt voort op style.css
   Rustig: één bovenbalk met tabs, kaarten met hairlines.
   ========================================================= */

body.portal { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.pt-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.pt-main { flex: 1; padding: 36px 0 80px; }
.pt-muted { color: var(--muted); }
.pt-muted.small, .small { font-size: 13.5px; }
code { font: 13.5px ui-monospace, Consolas, monospace; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }

/* ---------- bovenbalk ---------- */
.pt-bar { position: sticky; top: 0; z-index: 30; background: rgba(9, 8, 13, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.pt-bar-inner { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); height: 68px; display: flex; align-items: center; gap: 28px; }
.pt-bar .logo-mark { width: 28px; height: 28px; }
.pt-bar .brand-name { font-size: 17px; }
.pt-tabs { display: flex; gap: 2px; height: 100%; }
.pt-tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 15px; color: var(--muted); transition: color .2s; }
.pt-tabs a:hover { color: var(--text); }
.pt-tabs a.is-active { color: var(--text); }
.pt-tabs a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); }
.pt-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; display: inline-grid; place-items: center; }
.pt-user { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pt-new .ico { width: 16px; height: 16px; }
.pt-menu { position: relative; }
.pt-menu summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border: 1px solid var(--line-2); border-radius: 99px; cursor: pointer; transition: border-color .2s; }
.pt-menu summary::-webkit-details-marker { display: none; }
.pt-menu summary:hover, .pt-menu[open] summary { border-color: rgba(255,255,255,.3); }
.pt-name { font-size: 14.5px; font-weight: 500; }
.pt-menu-pop { position: absolute; right: 0; top: calc(100% + 8px); width: 250px; padding: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.pt-menu-pop p { padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.pt-menu-pop p strong { font-weight: 500; }
.pt-menu-pop p span { font-size: 13px; color: var(--dim); overflow-wrap: anywhere; }
.pt-menu-pop a, .pt-menu-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 9px; background: none; color: var(--text); font: 400 14.5px var(--sans); cursor: pointer; text-align: left; }
.pt-menu-pop a:hover, .pt-menu-pop button:hover, .pt-menu-pop a.is-active { background: rgba(255,255,255,.05); }
.pt-menu-pop .ico { width: 17px; height: 17px; color: var(--muted); }

.pt-avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: .02em; }
.pt-avatar.is-admin { background: var(--accent); border-color: var(--accent); color: #fff; }
.pt-avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.pt-avatar.lg { width: 60px; height: 60px; font-size: 20px; }

/* ---------- koppen & melding ---------- */
.pt-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.pt-head h1 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.04em; margin-top: 10px; }
.pt-head h1 em { color: var(--accent); }
.pt-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; transition: color .2s; }
.pt-back:hover { color: var(--text); }
.pt-back .ico { width: 15px; height: 15px; transform: scaleX(-1); }
.pt-flash { display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 24px; border-radius: 12px; border: 1px solid rgba(62,207,142,.35); background: rgba(62,207,142,.06); font-size: 15px; animation: pvIn .4s var(--ease); }
.pt-flash .ico { color: var(--ok); }
.pt-flash.is-error { border-color: rgba(255,93,108,.4); background: rgba(255,93,108,.06); }
.pt-flash.is-error .ico { color: var(--bad); }
.pt-notice { display: flex; align-items: center; gap: 14px; padding: 16px 20px; margin-bottom: 22px; border-radius: 14px; border: 1px solid rgba(139,92,255,.35); background: rgba(139,92,255,.06); }
.pt-notice > .ico { color: var(--accent); }
.pt-notice.is-warn { border-color: rgba(245,196,81,.35); background: rgba(245,196,81,.05); }
.pt-notice.is-warn > .ico { color: #f5c451; }
.pt-notice span { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-input { flex: 1; min-width: 240px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 13px ui-monospace, Consolas, monospace; }
.form-ok { padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(62,207,142,.35); background: rgba(62,207,142,.06); font-size: 15px; }

/* ---------- kaarten & kolommen ---------- */
.pt-card { padding: 26px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); }
.pt-card h2 { font-size: 19px; letter-spacing: -.02em; }
.pt-card.pt-flush { padding: 0; overflow: hidden; }
.pt-card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.pt-card:not(.pt-flush) > .pt-card-head { padding: 0 0 16px; margin-bottom: 16px; }
.pt-card-head .link-arrow { font-size: 14px; border: 0; padding: 0; }
.pt-card-foot { padding: 14px 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pt-card-foot a { color: var(--accent); }
.pt-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.pt-cols-even { grid-template-columns: 1fr 1fr; }
.pt-side, .pt-stack { display: grid; gap: 20px; }
.pt-card.form { display: grid; gap: 20px; }
.pt-card.form h2 { margin-bottom: -4px; }

/* ---------- statistieken ---------- */
.pt-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 20px; }
.pt-stat { position: relative; display: grid; gap: 10px; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); overflow: hidden; transition: border-color .25s, transform .3s var(--ease); }
.pt-stat:hover { border-color: rgba(255,255,255,.24); transform: translateY(-2px); }
.pt-stat span { font-size: 13.5px; color: var(--muted); }
.pt-stat strong { font-size: 36px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.pt-stat i { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--line-2); }

/* ---------- statuskleuren (neutraal, geen glow) ---------- */
.s-open { --c: #8b5cff; } .s-in_behandeling { --c: #7cc7ff; } .s-wacht_op_klant { --c: #f5c451; } .s-opgelost { --c: #3ecf8e; } .s-gesloten { --c: #6c6979; }
.pt-stat i[class^="s-"] { background: var(--c); }
.pt-status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; white-space: nowrap; padding: 4px 10px 4px 9px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text); }
.pt-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.pt-prio { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.pt-prio.p-hoog { color: #f5c451; }
.pt-prio.p-spoed { color: var(--bad); font-weight: 600; }
.pt-prio.p-laag { color: var(--dim); }
.pt-tag { display: inline-flex; font-size: 12.5px; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pt-tag.is-ok { color: var(--ok); border-color: rgba(62,207,142,.35); }
.pt-tag.is-warn { color: #f5c451; border-color: rgba(245,196,81,.35); }

/* ---------- ticketlijst ---------- */
.tr-list { display: grid; }
.tr { display: grid; grid-template-columns: 76px minmax(0, 1fr) 80px 150px 110px; gap: 18px; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); transition: background .2s; }
.tr:last-child { border-bottom: 0; }
a.tr:hover { background: rgba(255,255,255,.025); }
.tr-headrow { padding-block: 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); background: var(--bg-2); }
.tr-no { font: 13px ui-monospace, Consolas, monospace; color: var(--dim); }
.tr-main { display: grid; gap: 3px; min-width: 0; }
.tr-main strong { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-client { font-size: 13.5px; color: var(--text); opacity: .8; }
.tr-sub { font-size: 13px; color: var(--dim); }
.tr-time { font-size: 13px; color: var(--muted); text-align: right; white-space: nowrap; }
.tr-headrow span:last-child { text-align: right; }

.pt-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 56px 24px; }
.pt-empty-mark { width: 44px; height: 44px; color: var(--accent); opacity: .7; margin-bottom: 6px; }
.pt-empty h3 { font-size: 19px; }
.pt-empty p { color: var(--muted); max-width: 380px; font-size: 15px; }
.pt-empty .btn { margin-top: 8px; }

/* toolbar */
.pt-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.pt-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: all .2s; }
.pt-pills a span { font-size: 12px; color: var(--dim); }
.pt-pills a:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.pt-pills a.is-active { background: var(--text); color: var(--accent-ink); border-color: var(--text); }
.pt-pills a.is-active span { color: #6e6a7c; }
.pt-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.pt-search { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 42px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--surface); }
.pt-search .ico { width: 16px; height: 16px; color: var(--dim); }
.pt-search input { width: 240px; border: 0; background: none; color: var(--text); font: 400 14.5px var(--sans); outline: none; }
.pt-filter select, .pt-card select, .site-row input { height: 42px; padding: 0 36px 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%239b98a9' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center / 12px; color: var(--text); font: 400 14.5px var(--sans); appearance: none; outline: none; }
.pt-filter select { border-radius: 99px; background-color: var(--surface); }
.pt-card select:focus, .pt-filter select:focus { border-color: var(--accent); }
.site-row input { background-image: none; padding-right: 14px; }
.pt-pager { display: flex; gap: 6px; justify-content: center; margin-top: 20px; }
.pt-pager a { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); color: var(--muted); font-size: 14px; }
.pt-pager a.is-active { background: var(--text); color: var(--accent-ink); border-color: var(--text); }

/* activiteit */
.pt-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pt-feed li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 8px 0; }
.pt-feed a { font-size: 14px; color: var(--muted); line-height: 1.45; }
.pt-feed a strong { color: var(--text); font-weight: 500; }
.pt-feed a span { color: var(--text); }
.pt-feed small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 2px; }
.pt-feed li.is-internal a { opacity: .75; }

/* websites + contact */
.pt-sites { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pt-sites li { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.pt-site-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); color: var(--accent); }
.pt-site-ico .ico { width: 18px; height: 18px; }
.pt-sites a { font-weight: 500; }
.pt-sites a:hover { color: var(--accent); }
.pt-sites small { display: block; font-size: 13px; color: var(--dim); }
.pt-help { display: grid; gap: 10px; }
.pt-help a { display: flex; align-items: center; gap: 10px; font-size: 15px; transition: color .2s; }
.pt-help a:hover { color: var(--accent); }
.pt-help .ico { width: 17px; height: 17px; color: var(--accent); }
.pt-tips ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; color: var(--muted); }
.pt-tips li { display: flex; gap: 10px; }
.pt-tips .ico { width: 17px; height: 17px; color: var(--accent); margin-top: 3px; }

/* ---------- formulieren in het portaal ---------- */
.field-label { font-size: 14.5px; font-weight: 500; }
.field-row.three { grid-template-columns: 1.3fr 1fr 1fr; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.label-row a { font-size: 13.5px; color: var(--accent); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pt-card .field input:disabled { opacity: .6; }
.dropzone { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 22px; border: 1px dashed var(--line-2); border-radius: 14px; background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: rgba(139,92,255,.04); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .ico { width: 24px; height: 24px; color: var(--accent); }
.dropzone span { font-size: 14.5px; color: var(--muted); }
.dropzone strong { color: var(--text); font-weight: 500; }
.dropzone small { font-size: 12.5px; color: var(--dim); }
.dz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dz-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 8px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.dz-list li small { color: var(--dim); }
.dz-list li.is-bad { border-color: rgba(255,93,108,.4); color: #ffb3bb; }

/* ---------- ticket ---------- */
.tk-no { font: 13px ui-monospace, Consolas, monospace; color: var(--dim); }
.tk-title { font-size: clamp(26px, 3vw, 38px) !important; margin-top: 6px !important; max-width: 900px; }
.tk-badges { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.thread { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 18px; }
.th-msg { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; scroll-margin-top: 90px; }
.th-bubble { border: 1px solid var(--line-2); border-radius: 4px 16px 16px 16px; background: var(--surface); overflow: hidden; }
.from-admin .th-bubble { border-color: rgba(139,92,255,.35); }
.th-bubble header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.th-bubble header strong { font-weight: 500; }
.th-bubble time { margin-left: auto; color: var(--dim); font-size: 13px; }
.th-role { font-size: 12px; color: var(--accent); }
.th-internal { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #f5c451; }
.th-internal .ico { width: 13px; height: 13px; }
.is-internal .th-bubble { border-style: dashed; border-color: rgba(245,196,81,.4); background: rgba(245,196,81,.03); }
.th-body { padding: 16px 18px; font-size: 15.5px; line-height: 1.65; color: #e2dfea; overflow-wrap: anywhere; }
.th-files { list-style: none; margin: 0; padding: 0 18px 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.th-files a { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); font-size: 13.5px; max-width: 280px; transition: border-color .2s; }
.th-files a:hover { border-color: var(--accent); }
.th-files img { width: 54px; height: 40px; object-fit: cover; border-radius: 6px; }
.th-files .ico { width: 20px; height: 20px; color: var(--accent); margin-left: 4px; }
.th-files span { display: grid; min-width: 0; }
.th-files span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-files small { color: var(--dim); font-size: 12px; }
.th-event { text-align: center; scroll-margin-top: 90px; }
.th-event span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); }
.th-event .ico { width: 14px; height: 14px; }
.tk-reply { gap: 16px; }
.reply-mode { display: flex; gap: 8px; flex-wrap: wrap; }
.reply-mode .choice span { gap: 8px; align-items: center; }
.reply-mode .ico { width: 15px; height: 15px; }
.tk-reply.is-note textarea { border-color: rgba(245,196,81,.45); background: rgba(245,196,81,.03); }
.reply-actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; flex-wrap: wrap; }
.reply-status { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.reply-status select { height: 40px; }
.tk-details dl, .acct dl { display: grid; gap: 14px; margin: 16px 0 0; }
.tk-details dt, .acct dt { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.tk-details dd, .acct dd { margin: 4px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.tk-details dd a:hover { color: var(--accent); }
.tk-details dd small { display: block; color: var(--muted); font-size: 13.5px; }
.tk-meta { gap: 14px !important; }
.tk-solve { display: grid; gap: 10px; justify-items: start; }
.tk-danger button { display: flex; align-items: center; gap: 8px; width: 100%; justify-content: center; padding: 12px; border: 1px dashed rgba(255,93,108,.35); border-radius: 12px; background: none; color: #ff8d98; font: 400 14px var(--sans); cursor: pointer; transition: background .2s; }
.tk-danger button:hover { background: rgba(255,93,108,.06); }
.tk-danger .ico { width: 16px; height: 16px; }

/* ---------- klanten ---------- */
.new-client { margin-bottom: 24px; }
.cl-list { display: grid; }
.cl-row { display: grid; grid-template-columns: 34px minmax(0, 1.2fr) minmax(0, 1fr) 140px 70px; gap: 16px; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--line); transition: background .2s; }
.cl-row:last-child { border-bottom: 0; }
.cl-row:hover { background: rgba(255,255,255,.025); }
.cl-row.is-inactive { opacity: .55; }
.cl-main { display: grid; min-width: 0; }
.cl-main strong { font-weight: 500; }
.cl-main small, .cl-domains { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-open { font-size: 13.5px; color: var(--dim); text-align: right; }
.cl-title { display: flex; align-items: center; gap: 18px; }
.cl-title h1 { margin-top: 0 !important; }
.site-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 170px auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.site-row:first-of-type { padding-top: 0; }
.site-add { border-bottom: 0; padding-top: 16px; grid-template-columns: minmax(0, 1fr) 150px 170px auto; }
.site-domain { display: flex; align-items: center; gap: 10px; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-domain .ico { color: var(--accent); width: 18px; height: 18px; }
.site-row select { width: 100%; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: none; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.icon-btn:hover { color: #ff8d98; border-color: rgba(255,93,108,.4); }
.icon-btn .ico { width: 16px; height: 16px; }
.acct { display: grid; gap: 10px; }
.acct dl { margin-bottom: 8px; }
.acct form .btn { width: 100%; }

/* ---------- auth-pagina's ---------- */
.pt-auth { display: grid; place-items: center; padding: 40px 0; }
.pt-auth-card { width: min(520px, 100%); display: grid; gap: 18px; padding: clamp(26px, 4vw, 40px); }
.pt-auth-card h1 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; }

/* ---------- voet ---------- */
.pt-foot { border-top: 1px solid var(--line); padding: 22px 0; font-size: 13.5px; color: var(--dim); }
.pt-foot .pt-wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.pt-foot a { color: var(--muted); }
.pt-foot a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pt-stats { grid-template-columns: repeat(3, 1fr); }
  .pt-cols, .pt-cols-even { grid-template-columns: 1fr; }
  .tr { grid-template-columns: 70px minmax(0, 1fr) 140px 100px; }
  .tr .pt-prio, .tr-headrow span:nth-child(3) { display: none; }
}
@media (max-width: 760px) {
  .pt-bar-inner { height: auto; flex-wrap: wrap; gap: 0 14px; padding-top: 12px; }
  .pt-tabs { order: 3; width: 100%; height: 48px; overflow-x: auto; margin-inline: -8px; }
  .pt-tabs a { white-space: nowrap; padding: 0 10px; }
  .pt-tabs a.is-active::after { left: 10px; right: 10px; }
  .pt-name, .pt-new span { display: none; }
  .pt-new { padding: 0 12px; }
  .pt-main { padding-top: 26px; }
  .pt-stats { grid-template-columns: 1fr 1fr; }
  .tr { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 18px; }
  .tr-headrow { display: none; }
  .tr-no { grid-column: 1; }
  .tr .pt-status { grid-column: 2; grid-row: 1; justify-self: end; }
  .tr-main { grid-column: 1 / -1; }
  .tr-time { grid-column: 1 / -1; text-align: left; }
  .pt-search input { width: 100%; }
  .pt-filter, .pt-search { width: 100%; }
  .field-row.three { grid-template-columns: 1fr; }
  .cl-row { grid-template-columns: 34px 1fr auto; padding: 14px 18px; }
  .cl-domains, .cl-open { display: none; }
  .site-row, .site-add { grid-template-columns: 1fr 1fr; }
  .site-domain, .site-add input { grid-column: 1 / -1; }
  .th-msg { grid-template-columns: 1fr; }
  .th-msg > .pt-avatar { display: none; }
  .th-bubble time { margin-left: 0; width: 100%; }
  .reply-actions { justify-content: stretch; }
  .reply-actions .btn { width: 100%; }
  .pt-card { padding: 20px; }
  .pt-card-head { padding: 16px 18px; }
}
