/* MHS Links Partner Workspace (/partner-login, /partner, /partner-admin).
 *
 * The pages reuse the Convotify panel's design as is (panel.css + panel-v2.css: the black frame, the light
 * sheets, the cards, the buttons, the tinted overview shells). This file only adds what the partner panel
 * has and the business panel has not: the MHS Links brand, the greeting, project and brand cards, the
 * content calendar, approvals, campaign tables, the message thread and the admin's editor. Everything is
 * scoped to `.pp` pages so nothing here reaches the Convotify panel.
 */

/* ------------------------------------------------------------------ sign-in (/partner-login, /partner-admin) */
.pp-logo img { width: auto; height: 22px; }
.pp-mark {
    display: grid; place-items: center; width: 54px; height: 54px; margin: 0 0 18px;
    border-radius: 15px; background: #0c0c0e;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 8px 18px -10px rgba(12, 12, 14, .7);
}
.pp-mark img { width: 36px; height: auto; }
.pp-help-note {
    display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; padding: 12px 14px;
    border: 1px solid rgba(17, 17, 26, .08); border-radius: 12px; background: #f7f7f9; color: #52525b;
}
.pp-help-note .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #6f45b0; }
.pp-help-note p { margin: 0; font-size: .82rem; line-height: 1.5; }
.pp-help-note a { color: #5b3794; font-weight: 600; }
.pp-login .pl-card #submitBtn { width: 100%; justify-content: center; }

/* ------------------------------------------------------------------ the panel's frame: brand and the client */
html[data-theme] body.pp .pp-brand .brand-mark { width: auto; height: 22px; }
html[data-theme] body.pp .sb-brand .pp-brand { gap: 10px; }
html[data-theme] body.pp .topbar .pp-brand .brand-mark { height: 20px; }
/* the client's logo: a white tile (most logos are dark on light) */
html[data-theme] body.pp .pp-ws-logo {
    display: grid; place-items: center; width: 34px; height: 34px; padding: 4px; overflow: hidden;
    border: 0; border-radius: 9px; background: #fff; color: #17171b; font-size: 13px; font-weight: 700;
}
html[data-theme] body.pp .pp-ws-logo img { width: 100%; height: 100%; object-fit: contain; }
html[data-theme] body.pp .sb-context.pp-context { padding: 8px; }
html[data-theme] body.pp .sb-context.pp-context b { font-size: 13.5px; }
/* the foot: the client's logo and name (no person) */
html[data-theme] body.pp .pp-foot-ws { display: flex; align-items: center; gap: 10px; padding: 4px 4px 10px; }
html[data-theme] body.pp .pp-foot-ws .pp-ws-logo { width: 36px; height: 36px; }
html[data-theme] body.pp .pp-foot-ws b { display: block; color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.25; }
html[data-theme] body.pp .pp-foot-ws small { display: block; color: var(--text-3); font-size: 11.5px; }
html[data-theme] body.pp .pp-foot-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html[data-theme] body.pp .pp-foot-actions .btn { justify-content: center; }
html[data-theme] body.pp .sb-count.is-new { background: #6f45b0; color: #fff; }

/* the team's announcements: the bell next to the logo and its list, the Convotify panel's notifications (.nb-btn,
   .nb-count, .np in panel.css) with the announcement's text under its title; the list is read, not clicked */
.pp .pp-np:focus { outline: none; }
.pp .pp-np .pp-np-title { display: grid; gap: 1px; min-width: 0; margin-inline-end: auto; }
.pp .pp-np .pp-np-title small { color: var(--text-3); font-size: .76rem; font-weight: 400; }
.pp .pp-np .np-list { display: grid; gap: 2px; }
.pp .pp-np .pp-np-item { gap: 4px; padding: 11px 12px 12px; cursor: default; }
.pp .pp-np .pp-np-item:hover { background: transparent; }
.pp .pp-np .pp-np-item.unread { background: #f6f2fc; }
.pp .pp-np .pp-np-item .np-text { color: var(--text); font-size: .9rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.pp .pp-np .pp-np-item p { margin: 0; color: var(--text-2); font-size: .84rem; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.pp .pp-np .pp-np-item small { display: flex; flex-wrap: wrap; align-items: center; margin-top: 2px; font-size: .76rem; }
.pp .pp-np .pp-empty { padding: 28px 16px; }
/* what the team asks for: at the top of the list, a row each with its picture, its state and a button on the right */
.pp .pp-np .pp-np-sec { margin: 8px 12px 4px; color: var(--text-3); font-size: .74rem; font-weight: 600; letter-spacing: .02em; }
.pp .pp-np .pp-np-sec:first-child { margin-top: 4px; }
.pp .pp-np .pp-ask { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 11px 12px; }
.pp .pp-np .pp-ask.is-requested, .pp .pp-np .pp-ask.is-changes { background: #f6f2fc; }
.pp .pp-np .pp-ask.is-changes { background: #fdf3f3; }
.pp .pp-np .pp-ask .pp-info-tile { width: 36px; height: 36px; }
.pp .pp-ask-text { display: grid; gap: 2px; min-width: 0; }
.pp .pp-np .pp-ask .np-text { font-size: .88rem; }
.pp .pp-np .pp-ask p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: .8rem; line-height: 1.4; }
.pp .pp-np .pp-ask p.is-bad { color: #9f1d1d; }
.pp .pp-np .pp-ask-btn { white-space: nowrap; }
/* a logo tile (Google): the logo whole on white */
html[data-theme] body.ui-v2 .pp-info-tile.has-logo { border-color: rgba(17, 17, 26, .1); background: #fff; }
.pp-info-tile .logo { width: 18px; height: 18px; }

/* the form of an information request (in a window): short fields two by two, long ones across */
.pp .pp-info-form { gap: 14px; }
.pp .pp-info-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pp .pp-info-fields > .is-wide { grid-column: 1 / -1; }
.pp .pp-info-fields .form-group { min-width: 0; margin: 0; }
.pp .pp-info-said { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid rgba(111, 69, 176, .18); border-radius: 12px; background: #f6f2fc; color: #3b2a5c; }
.pp .pp-info-said > .ic { flex: none; width: 17px; height: 17px; margin-top: 2px; color: #6f45b0; }
.pp .pp-info-said p { margin: 0; font-size: .88rem; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 760px) { .pp .pp-info-fields { grid-template-columns: minmax(0, 1fr); } }
.pp .pp-ir-label { display: block; color: var(--text); font-size: .84rem; font-weight: 500; }

/* social media platforms to pick from: the logo and the name in a box, four across (two on a phone); one the team
   named is shown, not chosen */
.pp .pp-plat-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .pp .pp-plat-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pp .pp-plat-opt { position: relative; display: block; min-width: 0; margin: 0; cursor: var(--cv-cur-hand, pointer); }
.pp .pp-plat-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.pp .pp-plat-box {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 78px; padding: 10px 8px;
    border: 1px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--text); font-size: .84rem; font-weight: 500; text-align: center;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.pp .pp-plat-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp .pp-plat-ok { position: absolute; top: 7px; right: 7px; width: 14px; height: 14px; color: #6f45b0; stroke-width: 3; opacity: 0; transition: opacity .15s ease; }
.pp .pp-plat-opt:hover .pp-plat-box { border-color: var(--accent-line); }
.pp .pp-plat-opt input:checked + .pp-plat-box { border-color: #8459c8; background: #faf7fe; box-shadow: 0 0 0 3px rgba(111, 69, 176, .12); }
.pp .pp-plat-opt input:checked + .pp-plat-box .pp-plat-ok { opacity: 1; }
.pp .pp-plat-opt input:focus-visible + .pp-plat-box { box-shadow: var(--ring); }
.pp .pp-plat-fixed { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-weight: 600; }
.pp .pp-info-tile.is-plat .pp-plat { box-shadow: none; }

/* ------------------------------------------------------------------ shared pieces */
.pp .pp-tab { animation: ppIn .25s ease both; }
/* drawn again for a live change (partner_live): no entry animation, nothing jumps */
.pp .pp-tab.is-quiet { animation: none; }
@keyframes ppIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pp .pp-tab { animation: none; } }
.pp .pp-dot { display: inline-block; width: 3px; height: 3px; margin: 0 7px; border-radius: 50%; background: #a1a1aa; vertical-align: middle; }
.pp .pp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; color: var(--text-3); font-size: .82rem; }
.pp .pp-meta > span:not(.pp-pill):not(.pp-dot):not(.pp-tag) { color: var(--text-2); }
.pp .pp-quiet { color: var(--text-3); font-size: .8rem; }
.pp .pp-desc { margin: 0; color: var(--text-2); font-size: .92rem; line-height: 1.55; }
.pp .pp-sub { margin: 4px 0 0; color: var(--text-3); font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.pp .pp-eyebrow { margin: 0 0 12px; color: var(--text-3); font-size: .76rem; font-weight: 600; letter-spacing: .02em; }
.pp .pp-empty { display: grid; justify-items: center; gap: 8px; padding: 36px 16px; color: var(--text-3); text-align: center; }
.pp .pp-empty .ic { width: 26px; height: 26px; color: #a1a1aa; }
.pp .pp-empty p { max-width: 42ch; margin: 0; font-size: .88rem; line-height: 1.5; }
.pp .card.pp-card { padding: 18px 20px; }
.pp .card.pp-card .card-head { margin-bottom: 14px; }
.pp .pp-grid2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; }
@media (min-width: 1100px) { .pp .pp-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pp .pp-grid2.is-wide { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }

/* status pills: a dot and a soft tint */
.pp .pp-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 8px; border-radius: 999px;
    background: #f1f1f4; color: #3f3f46; font-size: .76rem; font-weight: 600; line-height: 1.5; white-space: nowrap;
}
.pp .pp-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pp .pp-pill.is-info { background: #e8f0fd; color: #1f56b8; }
.pp .pp-pill.is-warn { background: #fdf2dc; color: #925207; }
.pp .pp-pill.is-ok { background: #e3f5ea; color: #12773f; }
.pp .pp-pill.is-bad { background: #fde8e8; color: #b42323; }
.pp .pp-pill.is-plain { background: #f1f1f4; color: #52525b; }

/* tags */
.pp .pp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.pp .pp-tag {
    display: inline-flex; align-items: center; padding: 2px 8px; border: 1px solid rgba(17, 17, 26, .1); border-radius: 7px;
    background: #fff; color: #3f3f46; font-size: .74rem; font-weight: 500; line-height: 1.5; white-space: nowrap;
}
.pp .pp-tag.is-brand { border-color: rgba(111, 69, 176, .22); background: #f6f2fc; color: #5b3794; }
.pp .pp-tag.is-urgent { margin-left: 8px; border-color: rgba(220, 38, 38, .25); background: #fdeeee; color: #b42323; }
.pp .pp-tag.is-cat { border-color: transparent; background: #ebe3f9; color: #5b3794; font-weight: 600; }

/* progress */
.pp .pp-bar { position: relative; flex: 1; height: 8px; overflow: hidden; border-radius: 999px; background: #ececf1; }
.pp .pp-bar > i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #8459c8, #6f45b0); }
.pp .pp-bar.is-thin { height: 5px; }
.pp .pp-progress-row { display: flex; align-items: center; gap: 12px; }
.pp .pp-progress-row b { color: var(--text); font-size: .9rem; }

/* check list */
.pp .pp-checks { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.pp .pp-checks.is-cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 9px 18px; }
.pp .pp-checks li { display: flex; align-items: flex-start; gap: 9px; color: var(--text); font-size: .9rem; line-height: 1.45; }
.pp .pp-check { display: grid; flex: none; place-items: center; width: 20px; height: 20px; margin-top: -1px; border-radius: 50%; background: #e3f5ea; color: #16a34a; }
.pp .pp-check .ic { width: 12px; height: 12px; stroke-width: 3; }

/* people: initials in a soft tint */
.pp .pp-person {
    --c: var(--c-violet);
    display: inline-grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 75%, #000);
    font-size: 13px; font-weight: 650; letter-spacing: .01em;
}
.pp .pp-person.has-photo { overflow: hidden; padding: 0; background: #ececf1; box-shadow: inset 0 0 0 1px rgba(17, 17, 26, .06); }
.pp .pp-person.has-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pp .pp-person.is-xs { width: 22px; height: 22px; font-size: 9.5px; }
.pp .pp-person.is-sm { width: 30px; height: 30px; font-size: 11px; }
.pp .pp-person.is-lg { width: 56px; height: 56px; font-size: 18px; }

/* platform marks and brand marks */
.pp .pp-plat {
    display: inline-grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    background: #fff; box-shadow: inset 0 0 0 1px rgba(17, 17, 26, .1);
}
.pp .pp-plat img, .pp .pp-plat svg { width: 16px; height: 16px; }
.pp .pp-plat.is-tiktok { background: #111; box-shadow: none; }
.pp .pp-plat.is-tiktok svg { width: 14px; height: 14px; }
.pp .pp-plat.is-generic { background: #f3eefb; color: #6f45b0; box-shadow: none; }
.pp .pp-plat.is-generic .ic { width: 15px; height: 15px; }
.pp .pp-plat.is-xs { width: 20px; height: 20px; }
.pp .pp-plat.is-xs img, .pp .pp-plat.is-xs svg { width: 11px; height: 11px; }
.pp .pp-plat.is-sm { width: 24px; height: 24px; }
.pp .pp-plat.is-sm img, .pp .pp-plat.is-sm svg { width: 13px; height: 13px; }
.pp .pp-plat.is-lg { width: 40px; height: 40px; }
.pp .pp-plat.is-lg img, .pp .pp-plat.is-lg svg { width: 20px; height: 20px; }
.pp .pp-plats { display: flex; gap: 4px; margin-top: 8px; }
.pp .pp-brandmark {
    --bc: #3f3f46;
    display: inline-grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 12px;
    background: var(--bc); color: #fff; font-size: 19px; font-weight: 700; letter-spacing: -.02em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 4px 10px -6px color-mix(in srgb, var(--bc) 70%, transparent);
}
/* a picture: one cell as big as the tile, so it is sized inside it (a logo whole, a portrait photo filling the tile) */
.pp .pp-brandmark.has-logo { grid-template: 100% / 100%; overflow: hidden; padding: 6px; background: #fff; box-shadow: inset 0 0 0 1px rgba(17, 17, 26, .1); }
.pp .pp-brandmark.has-logo img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.pp .pp-brandmark.has-logo.is-photo { padding: 0; }
.pp .pp-brandmark.has-logo.is-photo img { object-fit: cover; }
.pp .pp-brandmark.is-sm { width: 34px; height: 34px; border-radius: 9px; font-size: 14px; }
.pp .pp-brandmark.is-xs { width: 24px; height: 24px; border-radius: 7px; font-size: 11px; }
.pp .pp-brandmark.has-logo.is-sm:not(.is-photo) { padding: 4px; }
.pp .pp-brandmark.has-logo.is-xs:not(.is-photo) { padding: 2px; }
.pp .pp-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.pp .pp-brand-card {
    display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid rgba(17, 17, 26, .08); border-radius: 14px; background: #fafafb;
}
.pp .pp-brand-text { display: grid; min-width: 0; }
.pp .pp-brand-text b { color: var(--text); font-size: .95rem; }
.pp .pp-brand-text small { color: var(--text-3); font-size: .82rem; line-height: 1.35; }

/* ------------------------------------------------------------------ overview
   The boxes stand on the plain sheet with the same room between them everywhere (--ov-gap) and a soft shadow under
   each (the dotted board is gone). */
.pp .pp-ov { --ov-gap: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ov-gap); }
@media (max-width: 760px) { .pp .pp-ov { --ov-gap: 16px; } }
.pp .pp-ov > * { margin-block: 0; }
html[data-theme] body.ui-v2 .app-main .ov.pp-ov :is(.ov-card, .ov-kpi) {
    box-shadow: 0 1px 2px rgba(17, 17, 26, .05), 0 14px 30px -18px rgba(17, 17, 26, .3);
}
/* the projects: a title and a filter by state above the cards (a little closer to them than the room between boxes) */
.pp .pp-ov-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin-bottom: calc(14px - var(--ov-gap, 22px)); }
.pp .pp-ov-bar-t { min-width: 0; }
.pp .pp-ov-bar-t h2 { margin: 0; color: var(--text); font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.pp .pp-ov-bar-t p { margin: 2px 0 0; color: var(--text-3); font-size: .84rem; }
html[data-theme] body.pp .pp-ov-seg { flex: 0 1 auto; min-width: 0; background: #fff; box-shadow: 0 1px 2px rgba(17, 17, 26, .05), 0 10px 22px -16px rgba(17, 17, 26, .3); }
@media (max-width: 640px) { .pp .pp-ov-bar { align-items: stretch; } html[data-theme] body.pp .pp-ov-seg { flex-basis: 100%; } }
.pp .pp-features > .pp-ov-none { grid-column: 1 / -1; }
.pp .pp-ov-none .pp-empty { padding: 28px 16px; }
/* a project card is a link to its project: it lifts a little under the pointer and its arrow moves on */
html[data-theme] body.ui-v2 .app-main .ov :is(.pp-feature, .pp-pcard)[data-pp-card] { cursor: var(--cv-cur-hand, pointer); transition: transform .22s ease, box-shadow .22s ease; }
html[data-theme] body.ui-v2 .app-main .ov :is(.pp-feature, .pp-pcard)[data-pp-card]:hover {
    transform: translateY(-3px); box-shadow: 0 2px 4px rgba(17, 17, 26, .06), 0 24px 42px -24px rgba(17, 17, 26, .45);
}
html[data-theme] body.ui-v2 .app-main .ov :is(.pp-feature, .pp-pcard)[data-pp-card]:hover .ov-card-foot .ov-link .ic { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { html[data-theme] body.ui-v2 .app-main .ov :is(.pp-feature, .pp-pcard)[data-pp-card]:hover { transform: none; } }

/* the numbers: the same room between the boxes across and, when they make two rows, down */
.pp .pp-ov > .pp-kpis { column-gap: var(--ov-gap); }
@container ov (max-width: 879.98px) { .pp .pp-ov > .pp-kpis > .ov-kpi:nth-child(n+3) { margin-top: calc(var(--ov-gap) - 12px); } }

/* ------------------------------------------------------------------ overview */
.pp .pp-hero { display: flex; align-items: center; gap: 18px; margin: 4px 0 0; }
.pp .pp-hero-logo {
    display: grid; flex: none; place-items: center; width: 76px; height: 76px; padding: 10px; overflow: hidden;
    border: 1px solid rgba(17, 17, 26, .08); border-radius: 20px; background: #fff; color: #17171b; font-size: 28px; font-weight: 700;
    box-shadow: 0 1px 2px rgba(17, 17, 26, .05), 0 10px 24px -16px rgba(17, 17, 26, .3);
}
.pp .pp-hero-logo img { width: 100%; height: 100%; object-fit: contain; }
.pp .pp-hero-text { min-width: 0; }
.pp .pp-date { margin: 0 0 2px; color: var(--text-3); font-size: .86rem; }
.pp .pp-hero h1 { margin: 0; color: var(--text); font-size: 1.85rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.pp .pp-hero-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0 0; color: var(--text-2); font-size: .92rem; }
.pp .pp-live {
    display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 9px; border-radius: 999px;
    background: #e3f5ea; color: #12773f; font-size: .8rem; font-weight: 650;
}
.pp .pp-live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }
.pp .pp-live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(22, 163, 74, .25); animation: ppPulse 2s ease-out infinite; }
@keyframes ppPulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pp .pp-live i::after { animation: none; } }
.pp .pp-kpis .ov-kpi .value { font-variant-numeric: normal; }
/* the line under a number: a short summary (P.projectSummary, P.brandSummary), two lines at most */
.pp .pp-kpis .ov-kpi .detail { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; color: var(--text-2); font-size: .84rem; }
.pp .pp-kpis .stat-top .label { color: var(--text); font-size: .86rem; font-weight: 600; }
/* the sample note: close under the numbers it is about */
.pp .pp-sample { display: flex; align-items: center; gap: 7px; margin: calc(10px - var(--ov-gap, 22px)) 0 0; color: var(--text-3); font-size: .82rem; }
.pp .pp-sample .ic { width: 14px; height: 14px; }
.pp .pp-features { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ov-gap, 14px); }
@container ov (min-width: 1000px) { .pp .pp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pp .pp-feature-head { align-items: center; }
/* A project card's state and phase: the dot goes with the phase. When the phase wraps to its own line the dot is
   clipped off its start (the line is pulled 17px left and cut there) instead of hanging at the end of the line above */
.pp .pp-feature-head .pp-meta { margin-left: -17px; clip-path: inset(-6px -6px -6px 17px); }
.pp .pp-feature-head .pp-meta > :first-child { margin-left: 17px; }
.pp .pp-feature-head .pp-meta > .pp-dot { display: none; }
.pp .pp-feature-head .pp-meta > .pp-dot + * { position: relative; padding-left: 17px; }
.pp .pp-feature-head .pp-meta > .pp-dot + *::before { content: ""; position: absolute; top: calc(.5lh - 1.5px); left: 7px; width: 3px; height: 3px; border-radius: 50%; background: #a1a1aa; }
.pp .pp-num {
    display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    background: var(--sh, #f1f1f4); color: var(--sh-ink, #3f3f46); font-size: .95rem; font-weight: 750; letter-spacing: -.01em;
    box-shadow: inset 0 0 0 1px var(--sh-line, rgba(17, 17, 26, .08));
}
.pp .ov-card-head h2 { font-size: 1.04rem; }
.pp .pp-feature .ov-card-body { gap: 14px; }
.pp .pp-foot-note { color: var(--text-3); font-size: .8rem; }
/* the line on the shell under each box: a step larger on the overview */
html[data-theme] body.ui-v2 .app-main .ov.pp-ov :is(.ov-card-foot, .ov-kpi-foot) { font-size: .82rem; }
html[data-theme] body.ui-v2 .app-main .ov.pp-ov .ov-card-foot .ov-link { font-size: .86rem; }
.pp .ov .ov-card-foot .ov-link .ic { width: 15px; height: 15px; }

/* timeline and news */
.pp .pp-timeline { position: relative; display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.pp .pp-timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 7px; width: 2px; border-radius: 2px; background: #ececf1; }
.pp .pp-timeline li { position: relative; display: flex; gap: 14px; }
.pp .pp-tl-dot { position: relative; z-index: 1; flex: none; width: 16px; height: 16px; margin-top: 2px; border: 4px solid #fff; border-radius: 50%; background: #8459c8; box-shadow: 0 0 0 1px rgba(111, 69, 176, .3); }
.pp .pp-tl-dot.is-done { background: #16a34a; box-shadow: 0 0 0 1px rgba(22, 163, 74, .3); }
.pp .pp-tl-dot.is-review { background: #d97706; box-shadow: 0 0 0 1px rgba(217, 119, 6, .3); }
.pp .pp-tl-dot.is-todo { background: #a1a1aa; box-shadow: 0 0 0 1px rgba(17, 17, 26, .15); }
.pp .pp-timeline b { display: block; color: var(--text); font-size: .95rem; font-weight: 600; }
.pp .pp-timeline p { margin: 2px 0 0; color: var(--text-2); font-size: .9rem; line-height: 1.5; }
.pp .pp-tl-meta { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 2px !important; color: var(--text-3) !important; font-size: .8rem !important; }
.pp .pp-tl-by { display: flex; align-items: center; gap: 7px; margin-top: 8px !important; color: var(--text-3) !important; font-size: .8rem !important; }
.pp .pp-new { margin-left: 8px; padding: 1px 7px; border-radius: 6px; background: #e8f0fd; color: #1f56b8; font-size: .7rem; font-weight: 650; }

/* stars: a grey row with a gold row over it, cut to the score (4,1 fills 82 %) */
.pp .pp-stars { position: relative; display: inline-flex; flex: none; vertical-align: middle; line-height: 0; }
.pp .pp-stars-base, .pp .pp-stars-row { display: inline-flex; gap: 1px; }
.pp .pp-stars .ic { width: 14px; height: 14px; stroke-width: 1.5; }
.pp .pp-stars-base .ic { color: #dedee3; fill: #dedee3; }
.pp .pp-stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; }
.pp .pp-stars-row .ic { color: #f2a900; fill: #fbbc04; }
.pp .pp-stars.is-sm .ic { width: 12px; height: 12px; }
.pp .pp-opt { margin-left: 4px; color: var(--text-3); font-size: .78rem; font-weight: 400; }

/* ------------------------------------------------------------------ the website's domain: its form in a window
   (the box on the overview is gone: the request comes to the client's notifications) */
/* the window */
.pp .pp-dm-form { gap: 14px; }
.pp .pp-dm-fix { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid rgba(220, 38, 38, .2); border-radius: 12px; background: #fdf1f1; color: #7f1d1d; }
.pp .pp-dm-fix > .ic { flex: none; width: 17px; height: 17px; margin-top: 1px; color: #b42323; }
.pp .pp-dm-fix b { display: block; font-size: .86rem; }
.pp .pp-dm-fix p { margin: 2px 0 0; font-size: .86rem; line-height: 1.5; }
.pp .pp-dm-lock { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text-3); font-size: .8rem; line-height: 1.4; }
.pp .pp-dm-lock .ic { flex: none; width: 16px; height: 16px; color: #16a34a; }

/* ------------------------------------------------------------------ overview: Google reviews */
.pp .pp-gr-head { flex-wrap: wrap; row-gap: 10px; }
html[data-theme] body.ui-v2 .app-main .ov .pp-gr .tile.pp-gr-logo { border-color: rgba(17, 17, 26, .1); background: #fff; }
.pp .pp-gr-logo .logo { width: 18px; height: 18px; }
.pp .pp-gr-profile { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 3px 0 0 !important; color: var(--text-2) !important; font-size: .86rem !important; }
.pp .pp-gr-profile > b { color: var(--text); font-weight: 600; }
.pp .pp-gr-rate { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.pp .pp-gr-rate > b { color: var(--text); font-weight: 650; }
.pp .pp-gr-rate > span:last-child { color: var(--text-3); }
.pp .pp-gr-addr { display: flex; align-items: flex-start; gap: 6px; margin: 4px 0 0 !important; color: var(--text-3) !important; font-size: .8rem !important; line-height: 1.4; }
.pp .pp-gr-addr .ic { flex: none; width: 14px; height: 14px; margin-top: 1px; }
.pp .pp-gr-order { display: grid; flex: none; justify-items: end; gap: 5px; margin-left: auto; text-align: right; }
.pp .pp-gr-order small { color: var(--text-3); font-size: .8rem; }
.pp .pp-gr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pp .pp-gr-stat { display: grid; gap: 2px; align-content: start; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fafafb; }
.pp .pp-gr-stat span { display: flex; align-items: center; gap: 7px; color: var(--text-2); font-size: .82rem; font-weight: 500; }
.pp .pp-gr-stat span::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, #a1a1aa); }
.pp .pp-gr-stat b { color: var(--text); font-size: 1.5rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.pp .pp-gr-stat small { color: var(--text-3); font-size: .78rem; line-height: 1.35; }
.pp .pp-gr-stat.is-ok { --dot: #16a34a; }
.pp .pp-gr-stat.is-warn { --dot: #d97706; }
.pp .pp-gr-stat.is-violet { --dot: #7c4fc4; }
.pp .pp-gr-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pp .pp-ring {
    position: relative; display: grid; flex: none; place-content: center; width: 78px; height: 78px; border-radius: 50%;
    background: conic-gradient(#16a34a calc(var(--p, 0) * 1%), #ececf1 0); text-align: center;
}
.pp .pp-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.pp .pp-ring b, .pp .pp-ring small { position: relative; display: block; }
.pp .pp-ring b { color: var(--text); font-size: 1.05rem; font-weight: 700; line-height: 1.1; }
.pp .pp-ring small { color: var(--text-3); font-size: .66rem; font-weight: 600; }
.pp .pp-gr-ptext { flex: 1 1 220px; min-width: 0; }
.pp .pp-gr-ptext p { margin: 0; color: var(--text-2); font-size: .92rem; }
.pp .pp-gr-ptext p b { color: var(--text); font-size: 1rem; font-weight: 700; }
.pp .pp-gr-ptext small { color: var(--text-3); font-size: .82rem; }
.pp .pp-gr-bar { max-width: 380px; margin: 8px 0 6px; }
.pp .pp-gr-bar > i { background: linear-gradient(90deg, #22c55e, #16a34a); }
.pp .pp-gr-seg { flex: none; margin-left: auto; }
/* the reviews, a box each: a removed one on soft red, one still on Google on soft green with the work going on beside it */
.pp .pp-rvs { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pp .pp-rv { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pp .pp-rv.is-gone { border-color: rgba(220, 38, 38, .16); background: #fdf4f4; }
.pp .pp-rv.is-live { border-color: rgba(22, 163, 74, .18); background: #f1faf4; }
.pp .pp-rv .pp-rv-tag { background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(17, 17, 26, .06); }
.pp .pp-rv-busy { display: inline-flex; align-items: center; gap: 6px; color: #15803d; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.pp .pp-spin { flex: none; width: 12px; height: 12px; border: 2px solid rgba(22, 163, 74, .22); border-top-color: #16a34a; border-radius: 50%; animation: ppSpin .9s linear infinite; }
@keyframes ppSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pp .pp-spin { animation-duration: 2.4s; } }
.pp .pp-rv-main { min-width: 0; }
.pp .pp-rv-who { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 10px; margin: 0; }
.pp .pp-rv-who b { color: var(--text); font-size: .93rem; font-weight: 600; }
.pp .pp-rv-when { color: var(--text-3); font-size: .8rem; }
.pp .pp-rv-text { margin: 3px 0 0; color: var(--text-2); font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.pp .pp-rv.is-gone .pp-rv-text { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(17, 17, 26, .35); }
.pp .pp-rv.is-gone .pp-person { opacity: .6; }
.pp .pp-rv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 7px 0 0; }
.pp .pp-rv-tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; background: #f2f2f5; color: var(--text-2); font-size: .76rem; font-weight: 500; }
.pp .pp-rv-tag .ic { width: 12px; height: 12px; }
.pp .pp-rv-side { display: grid; justify-items: end; gap: 4px; padding-top: 1px; }
.pp .pp-rv-side small { color: var(--text-3); font-size: .78rem; white-space: nowrap; }
.pp .pp-rv-more {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin: 0; padding: 11px 8px 2px;
    border: 0; border-top: 1px solid var(--line); background: none; color: var(--text-2); font: inherit; font-size: .84rem; font-weight: 600;
    cursor: var(--cv-cur-hand, pointer);
}
.pp .pp-rvs + .pp-rv-more { margin-top: 12px; }
.pp .pp-rv-more:hover { color: var(--text); }
.pp .pp-rv-more:focus-visible { outline: none; border-radius: 999px; box-shadow: var(--ring); }
.pp .pp-rv-more .ic { width: 15px; height: 15px; transition: transform .2s ease; }
.pp .pp-rv-more .ic.is-up { transform: rotate(180deg); }
@container ov (max-width: 759.98px) {
    .pp .pp-gr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp .pp-gr-order { justify-items: start; width: calc(100% - 44px); margin-left: 44px; text-align: left; }
    .pp .pp-gr-seg { width: 100%; margin-left: 0; }
    .pp .pp-gr-seg [role="tab"] { flex: 1 1 0; justify-content: center; }
}
@container ov (max-width: 519.98px) {
    .pp .pp-gr-order { width: 100%; margin-left: 0; }
    .pp .pp-rv { grid-template-columns: 30px minmax(0, 1fr); }
    .pp .pp-rv-side { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-items: start; gap: 6px 8px; padding: 0; }
}

/* ------------------------------------------------------------------ projects */
.pp .pp-plist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@container ov (min-width: 900px) { .pp .pp-plist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pp .pp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 2px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.pp .pp-facts.is-3 { padding: 10px 0 0; }
.pp .pp-facts dt { color: var(--text-3); font-size: .74rem; }
.pp .pp-facts dd { margin: 2px 0 0; color: var(--text); font-size: .88rem; font-weight: 600; }
.pp .pp-facts em { font-style: normal; font-weight: 600; font-size: .75rem; }
.pp .pp-ongoing { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text-2); font-size: .9rem; }
.pp .pp-ongoing .ic { width: 15px; height: 15px; color: #6f45b0; }

/* ------------------------------------------------------------------ overview: project cards side by side
   Two project cards next to each other keep their parts on the same lines: the head, the description (three lines at
   most until "Devamını oku"), the progress or "Sürekli operasyon", the brands and the scope, and the link under the
   card. Each card takes five rows of the grid and hands them to its parts (subgrid). The spaces between the parts are
   margins, so a part that one card lacks leaves no gap of its own. A long scope shows about eight lines (partner.js,
   fitMore); "Devamını oku" sits at the foot of the card, on the same line as the one next to it. */
.pp .pp-feature .pp-fbody { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pp .pp-feature .pp-more { margin-top: auto; }
.pp .pp-feature:not(.is-open) .pp-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.pp .pp-feature .pp-desc:empty { display: none; }
/* at most two columns, so whole rows stay even */
.pp .pp-feature .pp-checks.is-cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(240px, calc((100% - 18px) / 2))), 1fr)); }
.pp .pp-more-n { color: var(--text-3); font-weight: 500; }
@supports (grid-template-rows: subgrid) {
    .pp .pp-features { row-gap: 0; }
    .pp .pp-features > * + * { margin-top: var(--ov-gap, 14px); }
    @container ov (min-width: 1000px) { .pp .pp-features > :nth-child(2) { margin-top: 0; } }
    html[data-theme] body.ui-v2 .app-main .ov .pp-feature { display: grid; grid-row: span 5; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); }
    html[data-theme] body.ui-v2 .app-main .ov .pp-feature > .ov-card-in { display: grid; grid-row: 1 / span 4; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 0; }
    html[data-theme] body.ui-v2 .app-main .ov .pp-feature > .ov-card-foot { grid-row: 5; }
    .pp .pp-feature .ov-card-body { display: contents; }
    .pp .pp-feature .ov-card-head { grid-row: 1; align-self: start; }
    .pp .pp-feature .pp-desc { grid-row: 2; align-self: start; margin-top: 16px; }
    .pp .pp-feature .pp-fstat { grid-row: 3; align-self: start; margin-top: 14px; }
    .pp .pp-feature .pp-fbody { grid-row: 4; align-self: stretch; margin-top: 14px; }
}
.pp .pp-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 4px 0; border: 0; background: none; color: var(--text-2); font: inherit; font-size: .86rem; font-weight: 500; cursor: var(--cv-cur-hand, pointer); }
.pp .pp-back:hover { color: var(--text); }
.pp .pp-back .ic { width: 15px; height: 15px; }
.pp .pp-dhead { margin: 0 0 18px; }
.pp .pp-dhead h1 { margin: 8px 0 6px; color: var(--text); font-size: 1.75rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.pp .pp-dhead .lead { max-width: 70ch; margin: 0; color: var(--text-2); font-size: .95rem; line-height: 1.55; }
.pp .pp-dhead--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.pp .pp-factrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pp .pp-factrow > div { display: grid; gap: 4px; align-content: start; padding: 14px 18px; border-left: 1px solid var(--line); }
.pp .pp-factrow > div:first-child { border-left: 0; }
.pp .pp-factrow span { color: var(--text-3); font-size: .76rem; }
.pp .pp-factrow b { color: var(--text); font-size: .98rem; }
.pp .pp-factrow .pp-bar { flex: none; margin-top: 4px; }
.pp .pp-factrow b.is-empty { color: var(--text-3); font-weight: 500; }
/* a project's own page: its icon beside the title, like the page heads of the other sections */
.pp .pp-dhead--project { display: flex; align-items: flex-start; gap: 16px; }
.pp .pp-dhead--project > div { min-width: 0; }
.pp .pp-dhead--project h1 { margin-top: 6px; }
.pp .pp-dhead-tile { width: 50px; height: 50px; margin-top: 2px; border-radius: 14px; }
.pp .pp-dhead-tile .ic { width: 22px; height: 22px; }
/* the wide column holds what the project is made of; the narrow one who runs it and what happened lately */
.pp .pp-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 1180px) { .pp .pp-detail { grid-template-columns: minmax(0, 1fr) 340px; } }
.pp .pp-detail-main, .pp .pp-aside { display: grid; gap: 14px; align-content: start; min-width: 0; }
.pp .pp-scope-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px 24px; }
.pp .pp-scope-list li { font-size: .9rem; }
.pp .pp-scope .pp-empty { padding: 22px 16px; }
.pp .pp-quiet-note { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: var(--text-3); font-size: .86rem; line-height: 1.5; }
.pp .pp-quiet-note .ic { flex: none; width: 17px; height: 17px; margin-top: 2px; color: #a1a1aa; }
.pp .pp-updates .pp-timeline li.is-extra { display: none; }
.pp .pp-updates.is-open .pp-timeline li.is-extra { display: flex; }
.pp .pp-updates .pp-more { margin-top: 14px; }
/* under the page (narrower screens) the manager card is one row: the person, then the button */
@media (min-width: 641px) and (max-width: 1179.98px) {
    .pp .pp-manager { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; }
    .pp .pp-manager .pp-eyebrow { grid-column: 1 / -1; }
    .pp .pp-manager .pp-mgr { margin-bottom: 0; }
    .pp .pp-manager .btn { width: auto; }
}
.pp .pp-steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px 12px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1279.98px) { .pp .pp-steps { grid-template-columns: repeat(var(--n-mid, 3), minmax(0, 1fr)); } }
@media (max-width: 640px) { .pp .pp-steps { grid-template-columns: repeat(var(--n-phone, 2), minmax(0, 1fr)); } }
.pp .pp-steps li { display: grid; gap: 3px; }
.pp .pp-steps i { display: block; height: 5px; margin-bottom: 8px; border-radius: 999px; background: #ececf1; }
.pp .pp-steps .is-done i { background: #6f45b0; }
.pp .pp-steps .is-current i { background: linear-gradient(90deg, #6f45b0 55%, #d9cdf1 55%); }
/* names take two lines everywhere, so the dates and states below line up across the row */
.pp .pp-steps b { display: flex; align-items: flex-start; gap: 5px; min-height: 2.7em; color: var(--text); font-size: .86rem; font-weight: 600; line-height: 1.35; }
.pp .pp-steps b .ic { margin-top: 2px; }
.pp .pp-steps b .ic { width: 13px; height: 13px; color: #6f45b0; stroke-width: 3; }
.pp .pp-steps .is-next b { color: var(--text-2); font-weight: 500; }
.pp .pp-steps span { color: var(--text-3); font-size: .76rem; }
.pp .pp-steps small { color: var(--text-3); font-size: .74rem; }
.pp .pp-steps .is-current small { color: #1f56b8; font-weight: 600; }
.pp .pp-manager .pp-mgr { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pp .pp-mgr b { display: block; color: var(--text); }
.pp .pp-mgr small { color: var(--text-3); font-size: .8rem; }
.pp .pp-manager .btn { width: 100%; justify-content: center; }
.pp .pp-mini { display: grid; margin: 0; padding: 0; list-style: none; }
.pp .pp-mini li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.pp .pp-mini li:first-child { border-top: 0; padding-top: 0; }
.pp .pp-mini .pp-tl-dot { width: 12px; height: 12px; margin: 0; border-width: 3px; }
.pp .pp-mini-t { flex: 1; min-width: 0; color: var(--text); font-size: .88rem; }
.pp .pp-mini-m { display: flex; flex: none; align-items: center; gap: 10px; color: var(--text-3); font-size: .78rem; }
/* phones: the icon sits beside the status line, the title and the description take the whole width under them;
   an open task's title gets its own line, its status and date go under it */
@media (max-width: 640px) {
    .pp .pp-dhead--project { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; }
    .pp .pp-dhead--project > div { display: contents; }
    .pp .pp-dhead--project h1, .pp .pp-dhead--project .lead { grid-column: 1 / -1; }
    .pp .pp-dhead--project h1 { margin-top: 12px; }
    .pp .pp-dhead-tile { width: 42px; height: 42px; margin: 0; border-radius: 12px; }
    .pp .pp-dhead-tile .ic { width: 20px; height: 20px; }
    .pp .pp-mini li { flex-wrap: wrap; align-items: flex-start; row-gap: 6px; }
    .pp .pp-mini .pp-tl-dot { margin-top: 4px; }
    .pp .pp-mini-t { flex: 1 1 calc(100% - 24px); }
    .pp .pp-mini-m { margin-left: 24px; }
}
.pp .is-late { color: #b42323 !important; font-weight: 600; }

/* ------------------------------------------------------------------ tasks: a board */
.pp .pp-segn { display: inline-grid; min-width: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: rgba(17, 17, 26, .06); font-size: .72rem; font-weight: 600; }
.pp .seg [aria-selected="true"] .pp-segn { background: #ebe3f9; color: #5b3794; }
.pp .pp-board { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 12px; align-items: start; }
.pp .pp-col { display: grid; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #ececf0; }
.pp .pp-col > header { display: flex; align-items: center; gap: 8px; padding: 2px 4px; }
.pp .pp-col h2 { flex: 1; margin: 0; color: var(--text); font-size: .88rem; font-weight: 650; }
.pp .pp-col-dot { width: 8px; height: 8px; border-radius: 50%; background: #a1a1aa; }
.pp .pp-col.is-progress .pp-col-dot { background: #2b6fd6; }
.pp .pp-col.is-review .pp-col-dot { background: #d97706; }
.pp .pp-col.is-done .pp-col-dot { background: #16a34a; }
.pp .pp-col-n { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #fff; color: var(--text-2); font-size: .74rem; font-weight: 650; text-align: center; }
.pp .pp-col-empty { margin: 0; padding: 14px 4px; color: var(--text-3); font-size: .82rem; text-align: center; }
.pp .pp-task {
    display: grid; gap: 9px; padding: 12px 13px; border: 1px solid rgba(17, 17, 26, .07); border-radius: 12px; background: #fff;
    box-shadow: 0 1px 2px rgba(17, 17, 26, .05);
}
.pp .pp-task.is-high { box-shadow: inset 3px 0 0 #d97706, 0 1px 2px rgba(17, 17, 26, .05); }
.pp .pp-task h3 { margin: 0; color: var(--text); font-size: .9rem; font-weight: 600; line-height: 1.35; }
.pp .pp-col.is-done .pp-task h3 { color: var(--text-2); text-decoration: line-through; text-decoration-color: #a1a1aa; }
.pp .pp-task-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin: 0; color: var(--text-3); font-size: .76rem; }
.pp .pp-owner, .pp .pp-due { display: inline-flex; align-items: center; gap: 5px; }
.pp .pp-owner .ic, .pp .pp-due .ic { width: 13px; height: 13px; }
.pp .pp-due.is-soon { color: #925207; font-weight: 600; }
.pp .pp-due.is-late { color: #b42323; font-weight: 600; }
@media (max-width: 1023.98px) { .pp .pp-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pp .pp-board { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ content calendar */
.pp .pp-calcard { padding: 16px; }
.pp .pp-cal-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.pp .pp-cal-nav h2 { min-width: 150px; margin: 0 4px; color: var(--text); font-size: 1.08rem; text-align: center; }
.pp .pp-cal-nav .btn { margin-left: auto; }
/* Narrow phones: the month gives way so "Bugün" stays inside the card */
@media (max-width: 480px) {
    .pp .pp-cal-nav { gap: 6px; }
    .pp .pp-cal-nav h2 { flex: 1 1 auto; min-width: 0; margin: 0; overflow: hidden; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
    .pp .pp-cal-nav .btn { flex: none; margin-left: 0; }
}
@media (max-width: 350px) {
    .pp .pp-cal-nav { gap: 4px; }
    .pp .pp-cal-nav h2 { font-size: .94rem; }
    .pp .pp-cal-nav .icon-btn { width: 34px; height: 34px; }
    .pp .pp-cal-nav .btn { padding: 0 10px; font-size: .8rem; }
}
.pp .pp-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 12px; color: var(--text-3); font-size: .76rem; }
.pp .pp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pp .pp-legend i { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid #6f45b0; }
.pp .pp-legend i.is-ready { background: #d9cdf1; }
.pp .pp-legend i.is-published { background: #6f45b0; }
.pp .pp-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); gap: 1px; }
.pp .pp-cal-wd { padding: 8px 10px; background: #fafafb; color: var(--text-3); font-size: .74rem; font-weight: 600; }
.pp .pp-cal-cell { display: grid; align-content: start; gap: 4px; min-height: 108px; padding: 6px; background: #fff; }
.pp .pp-cal-cell.is-pad { background: #fafafb; }
.pp .pp-cal-day { color: var(--text-2); font-size: .78rem; font-weight: 600; }
.pp .pp-cal-cell.is-today .pp-cal-day { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #6f45b0; color: #fff; }
.pp .pp-chip {
    --bc: #6f45b0;
    display: flex; align-items: center; gap: 5px; width: 100%; min-width: 0; padding: 3px 6px; border: 1px solid color-mix(in srgb, var(--bc) 22%, #fff);
    border-radius: 6px; background: color-mix(in srgb, var(--bc) 7%, #fff); color: var(--text); font: inherit; font-size: .72rem; line-height: 1.35;
    text-align: left; cursor: var(--cv-cur-hand, pointer);
}
.pp .pp-chip i { flex: none; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--bc); }
.pp .pp-chip.is-ready i { background: color-mix(in srgb, var(--bc) 40%, #fff); }
.pp .pp-chip.is-published i { background: var(--bc); }
.pp .pp-chip.is-published { opacity: .78; }
.pp .pp-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp .pp-chip:hover { border-color: color-mix(in srgb, var(--bc) 45%, #fff); }
.pp .pp-chip:focus-visible { outline: none; box-shadow: var(--ring); }
.pp .pp-cal-more { color: var(--text-3); font-size: .7rem; }
.pp .pp-clist { display: grid; margin: 0; padding: 0; list-style: none; }
.pp .pp-clist li + li { border-top: 1px solid var(--line); }
.pp .pp-clist button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 2px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: var(--cv-cur-hand, pointer); }
.pp .pp-clist button:hover .pp-clist-t b { color: #5b3794; }
.pp .pp-clist-date { display: grid; flex: none; width: 40px; justify-items: center; line-height: 1.1; }
.pp .pp-clist-date b { color: var(--text); font-size: 1.05rem; }
.pp .pp-clist-date small { color: var(--text-3); font-size: .7rem; }
.pp .pp-clist-t { display: grid; flex: 1; min-width: 0; }
.pp .pp-clist-t b { overflow: hidden; color: var(--text); font-size: .9rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pp .pp-clist-t small { color: var(--text-3); font-size: .78rem; }
@media (max-width: 760px) {
    .pp .pp-cal-cell { min-height: 54px; padding: 4px; }
    .pp .pp-cal-wd { padding: 6px 4px; text-align: center; }
    .pp .pp-cal-cell .pp-chip { justify-content: center; padding: 2px; }
    .pp .pp-cal-cell .pp-chip span, .pp .pp-cal-more { display: none; }
    .pp .pp-cal-cell .pp-chip { width: auto; border-radius: 4px; }
    .pp .pp-cal-cell { justify-items: center; }
}

/* ------------------------------------------------------------------ approvals */
/* Two cards side by side only when each gets 520px (the preview plus both buttons); at most two, so the rows stay even.
   The sheet's width decides, not the window's: a classic scrollbar or a narrower sheet falls back to one column. */
.pp .pp-approvals { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, max(520px, calc((100% - 14px) / 2))), 1fr)); gap: 14px; }
.pp .card.pp-approval { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 14px; }
.pp .pp-preview { display: grid; place-items: stretch; overflow: hidden; border-radius: 12px; background: #f3f3f5; }
.pp .pp-preview img { width: 100%; height: 100%; object-fit: cover; }
.pp .pp-post { display: grid; align-content: start; gap: 10px; margin: 12px; padding: 12px; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(17, 17, 26, .06), 0 8px 18px -14px rgba(17, 17, 26, .35); }
.pp .pp-post-head { display: flex; align-items: center; gap: 7px; }
.pp .pp-post-head b { flex: 1; min-width: 0; overflow: hidden; color: var(--text); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.pp .pp-post p { margin: 0; color: var(--text-2); font-size: .78rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.pp .pp-post-type { justify-self: start; padding: 2px 7px; border-radius: 6px; background: #f3eefb; color: #5b3794; font-size: .68rem; font-weight: 600; }
.pp .pp-approval-body { display: grid; align-content: start; gap: 9px; min-width: 0; padding: 4px 4px 4px 0; }
.pp .pp-approval-body h3 { margin: 0; color: var(--text); font-size: 1rem; line-height: 1.35; }
.pp .pp-approval .pp-due { color: var(--text-2); font-size: .8rem; }
.pp .pp-decision { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #f4fbf6; color: #12773f; }
.pp .pp-decision.is-changes { background: #fdf3f3; color: #b42323; }
.pp .pp-decision .ic { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.pp .pp-decision b { font-size: .82rem; }
.pp .pp-decision p { margin: 2px 0 0; color: var(--text-2); font-size: .84rem; }
.pp .pp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.pp .pp-actions .btn { justify-content: center; }
@media (max-width: 640px) {
    .pp .card.pp-approval { grid-template-columns: minmax(0, 1fr); }
    .pp .pp-preview { max-height: 220px; }
}

/* ------------------------------------------------------------------ figures: social, ads, SEO, reports */
.pp .pp-statrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.pp .pp-statrow.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pp .pp-statrow.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp .pp-statrow.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp .pp-stat { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 1px 0 rgba(17, 17, 26, .03); }
.pp .pp-stat > span { color: var(--text-3); font-size: .78rem; font-weight: 500; }
.pp .pp-stat > b { color: var(--text); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.pp .pp-stat > small { color: var(--text-3); font-size: .76rem; }
.pp em.is-up, .pp .pp-delta.is-up { color: #12773f; font-style: normal; font-weight: 650; }
.pp .pp-delta.is-down { color: #b42323; font-weight: 650; }
.pp .pp-delta { display: inline-flex; align-items: center; gap: 2px; font-size: .78rem; }
.pp .pp-delta .ic { width: 13px; height: 13px; stroke-width: 2.4; }
@media (max-width: 1023.98px) { .pp .pp-statrow, .pp .pp-statrow.is-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pp .pp-sgroup { margin: 0 0 16px; }
.pp .pp-sgroup > header { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.pp .pp-sgroup h2 { margin: 0; color: var(--text); font-size: 1.02rem; }
.pp .pp-sgroup > header span { color: var(--text-3); font-size: .8rem; }
.pp .pp-accounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.pp .card.pp-account { display: grid; align-content: start; gap: 10px; padding: 14px 16px; }
.pp .pp-sub-delta { display: block; margin-top: 2px; }
.pp .pp-account > header { display: flex; align-items: center; gap: 10px; }
.pp .pp-account > header div { flex: 1; min-width: 0; }
.pp .pp-account > header b { display: block; color: var(--text); font-size: .92rem; }
.pp .pp-account > header small { color: var(--text-3); font-size: .76rem; }
.pp .pp-account-n { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.pp .pp-account-n b { color: var(--text); font-size: 1.45rem; letter-spacing: -.02em; }
.pp .pp-account-n span { color: var(--text-3); font-size: .8rem; }
.pp .pp-platsums { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; margin: 0 0 14px; }
.pp .pp-platsum { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pp .pp-platsum b { display: block; color: var(--text); font-size: .9rem; }
.pp .pp-platsum small { color: var(--text-3); font-size: .78rem; }
.pp .pp-table table { width: 100%; }
.pp .pp-table th, .pp .pp-table td { padding: 11px 12px; text-align: left; vertical-align: middle; }
.pp .pp-table th.num, .pp .pp-table td.num { text-align: right; white-space: nowrap; }
.pp .pp-camp { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.pp .pp-camp b { display: block; color: var(--text); font-size: .88rem; }
.pp .pp-camp small { color: var(--text-3); font-size: .76rem; }
.pp .pp-budget { display: grid; gap: 5px; min-width: 150px; }
.pp .pp-budget small { color: var(--text-3); font-size: .74rem; white-space: nowrap; }
.pp .pp-rank { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 6px; border-radius: 7px; background: #f1f1f4; color: var(--text); font-weight: 700; font-size: .82rem; }
.pp .pp-rank.is-top { background: #e3f5ea; color: #12773f; }
.pp .pp-findings { display: grid; margin: 0; padding: 0; list-style: none; }
.pp .pp-findings li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.pp .pp-findings li:first-child { padding-top: 0; border-top: 0; }
.pp .pp-findings .ic { grid-row: span 2; width: 18px; height: 18px; margin-top: 1px; }
.pp .pp-findings .is-ok .ic { color: #16a34a; }
.pp .pp-findings .is-warn .ic { color: #d97706; }
.pp .pp-findings span { color: var(--text); font-size: .88rem; line-height: 1.45; }
.pp .pp-findings em { color: var(--text-3); font-size: .74rem; font-style: normal; }
.pp .pp-reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.pp .card.pp-report { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.pp .pp-report .pp-meta .pp-tag { margin-right: 8px; }
.pp .pp-report h3 { margin: 0; color: var(--text); font-size: 1.05rem; line-height: 1.35; }
.pp .pp-report .pp-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pp .pp-highlight { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 2px 0 0; padding: 10px 12px; border-radius: 10px; background: #f7f5fb; }
.pp .pp-highlight span { color: var(--text-3); font-size: .78rem; }
.pp .pp-highlight b { color: var(--text); font-size: 1.15rem; }
.pp .pp-report footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.pp .pp-report-acts { display: flex; gap: 8px; }
.pp .pp-rmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; }
.pp .pp-rmeta .ic { width: 14px; height: 14px; }
.pp .pp-summary { max-width: 80ch; margin: 0 0 16px; color: var(--text); font-size: .98rem; line-height: 1.65; }
.pp .pp-bullets { display: grid; margin: 0; padding: 0; list-style: none; }
.pp .pp-bullets li { display: flex; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--text); font-size: .9rem; line-height: 1.5; }
.pp .pp-bullets li:first-child { padding-top: 0; border-top: 0; }
.pp .pp-bullets .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #6f45b0; }

/* ------------------------------------------------------------------ files, requests, messages, team */
.pp .pp-toolbar { margin: 0 0 12px; overflow-x: auto; }
.pp .pp-files { display: grid; margin: 0; padding: 0; list-style: none; }
.pp .pp-files li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.pp .pp-files li:first-child { padding-top: 0; border-top: 0; }
.pp .pp-ficon { display: grid; flex: none; place-items: center; width: 40px; height: 46px; border-radius: 8px; background: #f1f1f4; color: #52525b; font-size: .64rem; font-weight: 800; letter-spacing: .02em; box-shadow: inset 0 0 0 1px rgba(17, 17, 26, .08); }
.pp .pp-ficon.is-pdf { background: #fdeeee; color: #b42323; }
.pp .pp-ficon.is-xls { background: #e6f5ec; color: #12773f; }
.pp .pp-ficon.is-doc { background: #e8f0fd; color: #1f56b8; }
.pp .pp-ficon.is-ppt { background: #fdf0e6; color: #b4500e; }
.pp .pp-ficon.is-img { background: #f3eefb; color: #5b3794; }
.pp .pp-ftext { display: grid; flex: 1; min-width: 0; }
.pp .pp-ftext b { overflow: hidden; color: var(--text); font-size: .9rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pp .pp-ftext small { color: var(--text-3); font-size: .76rem; }
.pp .pp-files.is-compact .pp-ficon { width: 34px; height: 40px; }
.pp .pp-files.is-compact .pp-ftext b { overflow-wrap: anywhere; white-space: normal; }
.pp .pp-upload { cursor: var(--cv-cur-hand, pointer); }
.pp .pp-fnote { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; }
.pp .pp-fnote .ic { width: 14px; height: 14px; }
.pp .pp-requests { display: grid; gap: 12px; }
.pp .card.pp-request { display: grid; gap: 10px; padding: 16px 18px; }
.pp .pp-request > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pp .pp-request h3 { margin: 6px 0 0; color: var(--text); font-size: 1rem; }
.pp .pp-reply { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #f7f5fb; }
.pp .pp-reply b { color: var(--text); font-size: .82rem; }
.pp .pp-reply p { margin: 2px 0 0; color: var(--text-2); font-size: .86rem; line-height: 1.5; }
.pp .card.pp-chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: min(680px, calc(100dvh - 210px)); min-height: 420px; padding: 0; overflow: hidden; }
.pp .pp-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.pp .pp-chat-head b { display: block; color: var(--text); font-size: .95rem; }
.pp .pp-chat-head small { color: var(--text-3); font-size: .78rem; }
.pp .pp-stack { display: flex; }
.pp .pp-stack .pp-person { margin-left: -6px; box-shadow: 0 0 0 2px #fff; }
.pp .pp-stack .pp-person:first-child { margin-left: 0; }
.pp .pp-thread { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 18px; overflow-y: auto; list-style: none; background: #fafafb; }
.pp .pp-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 78%; }
.pp .pp-msg.is-mine { align-self: flex-end; flex-direction: row-reverse; }
.pp .pp-bubble { padding: 9px 13px; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; background: #fff; }
.pp .pp-msg.is-mine .pp-bubble { border-color: transparent; border-radius: 14px 14px 4px 14px; background: #17171b; color: #fff; }
.pp .pp-bubble p { margin: 0; font-size: .9rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.pp .pp-msg-who { display: flex; gap: 8px; margin: 0 0 2px !important; color: var(--text-3); font-size: .72rem !important; font-weight: 600; }
.pp .pp-msg.is-mine .pp-msg-who { color: rgba(255, 255, 255, .6); }
.pp .pp-msg-who span { font-weight: 500; }
.pp .pp-msg-day { align-self: center; padding: 2px 10px; border-radius: 999px; background: #ececf1; color: var(--text-3); font-size: .72rem; }
.pp .pp-compose { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.pp .pp-compose textarea { flex: 1; min-height: 42px; max-height: 160px; padding: 10px 12px; resize: none; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; font-size: .92rem; overflow-y: auto; }
.pp .pp-compose textarea:focus { outline: none; border-color: #6f45b0; box-shadow: var(--ring); }
/* a short last row is centred, not left hanging */
.pp .pp-team { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pp .card.pp-member {
    display: flex; flex: 0 1 calc((100% - 36px) / 4); flex-direction: column; align-items: center; gap: 6px; min-width: 0;
    padding: 22px 16px 18px; text-align: center;
}
.pp .pp-member .btn { margin-top: auto; }
@media (max-width: 1279.98px) { .pp .card.pp-member { flex-basis: calc((100% - 24px) / 3); } }
@media (max-width: 760px) { .pp .card.pp-member { flex-basis: calc((100% - 12px) / 2); } }
.pp .pp-member h3 { margin: 8px 0 0; color: var(--text); font-size: 1rem; }
.pp .pp-member > p { margin: 0; color: var(--text-3); font-size: .84rem; }
.pp .pp-member .pp-tags { justify-content: center; margin: 6px 0 8px; }
@media (max-width: 760px) {
    .pp .pp-msg { max-width: 92%; }
    .pp .pp-compose .btn span { display: none; }
    .pp .card.pp-chat { height: calc(100dvh - 250px); }
}

/* ------------------------------------------------------------------ windows */
html[data-theme] body.pp .pp-modal > .modal { width: min(560px, calc(100vw - 32px)); max-width: 560px; padding: 22px; }
.pp .pp-mhead { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; }
.pp .pp-mhead h2 { margin: 0; color: var(--text); font-size: 1.1rem; }
.pp .pp-mhead p { margin: 3px 0 0; color: var(--text-3); font-size: .86rem; }
.pp .pp-form { display: grid; gap: 12px; }
.pp .pp-form .form-group { margin: 0; }
.pp .pp-form textarea { width: 100%; resize: vertical; }
.pp .pp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pp .pp-label { display: block; margin-bottom: 6px; color: var(--text); font-size: .86rem; font-weight: 500; }
.pp .pp-err { color: #b42323; font-size: .8rem; }
.pp .pp-mfoot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.pp .pp-mfoot .btn { justify-content: center; }
.pp .pp-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 12px; }
.pp .pp-kv dt { color: var(--text-3); font-size: .76rem; }
.pp .pp-kv dd { margin: 3px 0 0; color: var(--text); font-size: .9rem; font-weight: 600; }
.pp .pp-mtext { margin: 0 0 14px; color: var(--text-2); font-size: .9rem; line-height: 1.55; }
/* the priority switch: two equal halves across its column */
.pp .pp-prio { display: flex; width: 100%; }
.pp .pp-prio label { position: relative; flex: 1 1 0; min-width: 0; }
.pp .pp-prio input { position: absolute; opacity: 0; pointer-events: none; }
/* only the options: the strip's own edge pieces (ui.js) are spans too and must stay zero wide */
.pp .pp-prio label > span { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 34px; padding: 0 14px; border-radius: 9px; font-size: .86rem; cursor: var(--cv-cur-hand, pointer); }
.pp .pp-prio input:checked + span { background: #fff; color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(17, 17, 26, .1); }
.pp .pp-prio input:focus-visible + span { box-shadow: var(--ring); }
@media (max-width: 760px) {
    .pp .pp-form-row { grid-template-columns: minmax(0, 1fr); }
    .pp .pp-mfoot { grid-template-columns: minmax(0, 1fr); }
    .pp .pp-mfoot .btn-primary { order: -1; }
    html[data-theme] body.pp .pp-modal > .modal { width: 100%; max-width: none; padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
}

/* ------------------------------------------------------------------ support: the bottom-right button and its panel */
/* The Convotify panel's help button and side panel (saas.css .hw-fab / .hw-panel, panel-v2.css); only what differs. */
.pp-help-fab .pp-help-count {
    position: absolute; top: -5px; inset-inline-end: -5px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
    border: 2px solid #fff; border-radius: 999px; background: #e11d48; color: #fff; font-size: .68rem; font-weight: 700; line-height: 1;
}
.pp-help-fab .pp-help-count[hidden] { display: none; }
/* the page leaves room under its last line for the button */
html[data-theme] body.pp-app:not(.pa) .app-main > .page { padding-bottom: 100px; }
.pp-help .hw-mark { border-color: #111113; background: #111113; }
.pp-help .hw-mark img { width: 28px; height: auto; }
.pp-help .hw-title small .ic { flex: none; width: 13px; height: 13px; }
.pp-help-tabs { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.pp-help-tabs .seg { display: flex; width: 100%; }
.pp-help-tabs .seg [role="tab"] { flex: 1 1 0; justify-content: center; min-width: 0; }
.pp-help-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px; }
.pp-help .hw-log { gap: 10px; }
.pp-help-day { display: flex; justify-content: center; margin: 6px 0 2px; }
.pp-help-day span { padding: 3px 10px; border-radius: 999px; background: #f1f1f4; color: var(--text-3); font-size: .72rem; font-weight: 600; }
.pp-help .hw-msg { align-items: flex-end; }
.pp-help .hw-msg .pp-person { flex: none; width: 26px; height: 26px; font-size: 9.5px; }
.pp-help-who { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 3px; color: var(--text-3); font-size: .72rem; font-weight: 600; }
.pp-help-who span { font-weight: 500; }
.pp-help .hw-msg.me .pp-help-who { color: rgba(255, 255, 255, .78); }
.pp-help-lead { margin: 0; color: var(--text-2); font-size: .86rem; line-height: 1.5; }
.pp-help-ticket { gap: 14px; }
.pp-help-submit { width: 100%; justify-content: center; }
.pp-help-done { display: grid; justify-items: center; gap: 8px; padding: 22px 6px; text-align: center; }
.pp-help-done h3 { margin: 4px 0 0; color: var(--text); font-size: 1.1rem; font-weight: 650; }
.pp-help-done p { max-width: 36ch; margin: 0; color: var(--text-2); font-size: .88rem; line-height: 1.55; }
html[data-theme] body.ui-v2 .pp-help .hw-intro-ic.is-ok { background: #16a34a; }
.pp-help-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; margin-top: 10px; }
.pp-help-acts .btn { justify-content: center; }
.pp-help-tickets { display: grid; margin: 0 0 14px; padding: 0; list-style: none; }
.pp-help-tickets li { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.pp-help-tickets li:first-child { padding-top: 0; border-top: 0; }
.pp-help-tickets b { color: var(--text); font-size: .92rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.pp-help-tickets .pp-reply { margin-top: 6px; }
.pp-help-all { width: 100%; justify-content: center; }
.pp-help .hw-intro .btn { margin-top: 6px; }
/* the phone's top bar: the unread count sits on the message button (it was placed against the bar's corner) */
.pp .topbar-actions .icon-btn { position: relative; }

/* ------------------------------------------------------------------ the admin's preview of a client panel */
.pp .pp-preview-bar {
    position: sticky; top: 0; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
    padding: 10px 18px; border-bottom: 1px solid rgba(146, 82, 7, .18); background: #fdf2dc; color: #6b3d06; font-size: .86rem; line-height: 1.45;
}
.pp .pp-preview-bar > .ic { flex: none; width: 17px; height: 17px; }
.pp .pp-preview-bar > span { flex: 1; min-width: 200px; }
.pp .pp-preview-bar .btn { flex: none; }

/* ------------------------------------------------------------------ the admin (/partner-admin) */
/* the sidebar's foot: the team, one sign-out button */
html[data-theme] body.pa .pa-me-logo { padding: 7px; background: #2b2b31; }
html[data-theme] body.pa .pa-foot-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
html[data-theme] body.pa .pa-foot-actions .btn { justify-content: center; }
/* customers: the Convotify admin's tenant cards */
.pa .t-card-top .pp-ws-logo { width: 44px; height: 44px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; }
.pa .chip-soft.is-warn { border-color: rgba(217, 119, 6, .3); background: #fdf6e7; color: #925207; }
.pa .pa-first p { max-width: 52ch; margin-inline: auto; }
.pa .pa-first-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pa .list-tools { margin-top: 2px; }

/* cards with a list and an add button in the head */
.pa .pa-card + .pa-card, .pa .pa-card + .pp-grid2, .pa .pp-grid2 + .pa-card { margin-top: 14px; }
/* the title starts at the same height in cards side by side, with or without an add button */
.pa .pa-card .card-head { align-items: flex-start; }
.pa .pa-card .card-head .btn { flex: none; }
.pa .pp-statrow + .pp-grid2 { margin-top: 0; }

/* rows: a mark, the text, the actions */
.pa .pa-rows { display: grid; margin: 0; padding: 0; list-style: none; }
.pa .pa-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.pa .pa-row:first-child { padding-top: 0; border-top: 0; }
.pa .pa-row:last-child { padding-bottom: 0; }
.pa .pa-row-lead { display: grid; place-items: center; width: 44px; min-height: 38px; }
.pa .pa-row-lead .tile { width: 38px; height: 38px; }
.pa .pa-row-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; min-width: 0; }
.pa .pa-row-main > b { color: var(--text); font-size: .92rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.pa .pa-row-main > b .pp-new { vertical-align: 1px; }
.pa .pa-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; color: var(--text-3); font-size: .8rem; line-height: 1.55; }
/* The facts carry their dot in front (meta() in partner-admin.js) and the line is pulled 17px (one dot with its
   margins) to the left and clipped there: the dot of a fact that starts a line is cut off, and no line ends on a dot */
.pa .pa-row-meta { margin-left: -17px; clip-path: inset(-6px -6px -6px 17px); }
/* the dot sits in the fact's own 17px at the left, level with its first line: a fact that wraps (a long text, a row of
   tags) keeps every line clear of the clipped strip */
.pa .pa-row-meta > .pa-mi { position: relative; min-width: 0; padding-left: 17px; }
.pa .pa-row-meta > .pa-mi::before { content: ""; position: absolute; top: calc(.5lh - 1.5px); left: 7px; width: 3px; height: 3px; border-radius: 50%; background: #a1a1aa; }
.pa .pa-row-meta > .pa-mi > :is(.pa-tags, .pa-plats) { margin-left: 0; vertical-align: middle; }
.pa .pa-row-meta em { font-style: normal; font-weight: 600; }
.pa .pa-row-text { margin: 2px 0 0; color: var(--text-2); font-size: .84rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pa .pa-row-side { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.pa .pa-row-side .icon-btn { width: 34px; height: 34px; }
.pa .pa-row-side .icon-btn .ic { width: 17px; height: 17px; }
.pa .pa-row-side select { margin-right: 6px; }
.pa .pa-del:hover, .pa .pa-del:focus-visible { color: #b42323; }
.pa .pa-row.is-done .pa-row-main > b { color: var(--text-2); text-decoration: line-through; text-decoration-color: #a1a1aa; }
.pa .pa-date {
    display: grid; justify-items: center; align-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px;
    background: #fff; line-height: 1.1;
}
.pa .pa-date b { color: var(--text); font-size: 1rem; }
.pa .pa-date small { color: var(--text-3); font-size: .68rem; }
.pa .pa-date.is-late { border-color: rgba(220, 38, 38, .28); background: #fdf3f3; }
.pa .pa-date.is-late b, .pa .pa-date.is-late small { color: #b42323; }
.pa .pa-date.is-none { place-items: center; border-style: dashed; color: var(--text-3); }
.pa .pa-thumb { display: block; width: 44px; height: 44px; overflow: hidden; border-radius: 11px; background: #f3f3f5; box-shadow: inset 0 0 0 1px rgba(17, 17, 26, .08); }
.pa .pa-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pa .pa-flag { display: inline-flex; align-items: center; padding: 0 7px; border-radius: 6px; background: #fdf2dc; color: #925207; font-size: .72rem; font-weight: 600; line-height: 1.65; }
.pa .pa-flag.is-ok { background: #e3f5ea; color: #12773f; }
.pa .pa-flag.is-partner { background: #ebe3f9; color: #5b3794; }
.pa .pa-plats { display: inline-flex; gap: 3px; margin-left: 8px; }
.pa .pa-plat-inline { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }
.pa .pa-tags { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-left: 8px; }
.pa .pa-tags .pp-tag { font-size: .72rem; }
.pa .pa-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.pa .pa-chips .chip-soft { color: var(--text-2); }
.pa .pa-chips .chip-soft:hover { border-color: var(--line-2); color: var(--text); }
.pa .pa-val { color: var(--text); font-weight: 650; }
.pa .pa-find { display: grid; place-items: center; width: 38px; height: 38px; }
.pa .pa-find .ic { width: 20px; height: 20px; }
.pa .pa-find.is-ok .ic { color: #16a34a; }
.pa .pa-find.is-warn .ic { color: #d97706; }
.pa .pa-note { display: flex; gap: 8px; margin: 6px 0 0; padding: 8px 10px; border-radius: 10px; background: #f4fbf6; color: var(--text-2); font-size: .82rem; line-height: 1.5; }
.pa .pa-note.is-bad { background: #fdf3f3; }
.pa .pa-note > .ic { flex: none; width: 15px; height: 15px; margin-top: 2px; color: #16a34a; }
.pa .pa-note.is-bad > .ic { color: #b42323; }
.pa .pa-note b { display: block; color: var(--text); font-size: .76rem; font-weight: 600; }

/* a status as a small pill-shaped select */
html[data-theme] body.pa select.pa-status {
    width: auto; min-width: 0; height: 30px; min-height: 30px; padding: 0 28px 0 11px; border: 1px solid transparent; border-radius: 999px;
    background-color: #f1f1f4; background-position: right 9px center; background-size: 14px; box-shadow: none;
    color: #3f3f46; font-size: .78rem; font-weight: 600; line-height: 28px;
}
html[data-theme] body.pa select.pa-status.is-info { background-color: #e8f0fd; color: #1f56b8; }
html[data-theme] body.pa select.pa-status.is-warn { background-color: #fdf2dc; color: #925207; }
html[data-theme] body.pa select.pa-status.is-ok { background-color: #e3f5ea; color: #12773f; }
html[data-theme] body.pa select.pa-status.is-bad { background-color: #fde8e8; color: #b42323; }
html[data-theme] body.pa select.pa-status:hover { border-color: rgba(17, 17, 26, .14); }
html[data-theme] body.pa select.pa-status:focus-visible { outline: none; box-shadow: var(--ring); }

/* overview: what is waiting for the team, the welcome texts */
.pa .pa-todo { display: grid; margin: 0; padding: 0; list-style: none; }
.pa .pa-todo li + li { border-top: 1px solid var(--line); }
.pa .pa-todo button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 2px; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: var(--cv-cur-hand, pointer); }
.pa .pa-todo li:first-child button { padding-top: 0; }
.pa .pa-todo-t { display: grid; flex: 1; min-width: 0; }
.pa .pa-todo-t b { overflow: hidden; color: var(--text); font-size: .9rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pa .pa-todo-t small { color: var(--text-3); font-size: .78rem; }
.pa .pa-todo .pa-go { flex: none; width: 16px; height: 16px; color: #a1a1aa; }
.pa .pa-todo button:hover b { color: #5b3794; }
.pa .pa-todo button:focus-visible { outline: none; border-radius: 8px; box-shadow: var(--ring); }
.pa .pa-kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 18px; margin: 0; }
.pa .pa-kv dt { color: var(--text-3); font-size: .76rem; }
.pa .pa-kv dd { margin: 5px 0 0; color: var(--text); font-size: .9rem; font-weight: 600; line-height: 1.4; }
@media (max-width: 1023.98px) { .pa .pa-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pa .pa-kv { grid-template-columns: minmax(0, 1fr); } }

/* requests and messages */
.pa .pa-request .pp-meta { gap: 6px 0; }
.pa .pa-request-acts { display: flex; justify-content: flex-end; gap: 8px; }
.pa .pa-del-text:hover { color: #b42323; }
.pa .pp-msg .pa-msg-logo { width: 30px; height: 30px; padding: 3px; border: 1px solid var(--line); border-radius: 50%; }
.pa .pp-chat-head .pp-ws-logo { border: 1px solid var(--line); }
.pa .pa-msg-del {
    display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: auto; padding: 0; border: 0; border-radius: 6px;
    background: none; color: inherit; opacity: 0; cursor: var(--cv-cur-hand, pointer); transition: opacity .15s ease;
}
.pa .pa-msg-del .ic { width: 13px; height: 13px; }
.pa .pp-msg:hover .pa-msg-del, .pa .pa-msg-del:focus-visible { opacity: .85; }
.pa .pa-msg-del:focus-visible { outline: none; box-shadow: var(--ring); }
@media (hover: none) { .pa .pa-msg-del { opacity: .6; } }
html[data-theme] body.pa .pa-compose .pa-sender { flex: none; width: auto; max-width: 190px; min-height: 42px; border-radius: 12px; font-size: .86rem; }
@media (max-width: 760px) {
    .pa .pa-compose { flex-wrap: wrap; }
    html[data-theme] body.pa .pa-compose .pa-sender { flex: 1 1 100%; max-width: none; }
}

/* settings */
.pa .pa-settings { align-items: start; margin-top: 0; }
.pa .pa-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; min-width: 0; }
.pa .pa-col > .pa-card + .pa-card { margin-top: 0; }
/* cards side by side start on the same line (the gap of the grid is their only space) */
.pa .pp-grid2 > .pa-card + .pa-card { margin-top: 0; }
.pa .pa-form-foot { display: flex; justify-content: flex-end; margin-top: 2px; }
.pa .pa-logo-row { display: flex; align-items: center; gap: 16px; }
.pa .pa-logo-big {
    display: grid; flex: none; place-items: center; width: 88px; height: 88px; padding: 10px; overflow: hidden;
    border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--text); font-size: 30px; font-weight: 700;
}
.pa .pa-logo-big img { width: 100%; height: 100%; object-fit: contain; }
.pa .pa-logo-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.pa .pa-logo-acts .hint { flex-basis: 100%; margin: 0; }
.pa .toggle-row.pa-toggle { margin-top: 0; }
.pa .pa-toggle b { display: block; color: var(--text); font-size: .9rem; }
.pa .pa-toggle small { color: var(--text-3); font-size: .8rem; }
.pa .pa-login-url { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fafafb; }
.pa .pa-login-url span { flex-basis: 100%; color: var(--text-3); font-size: .8rem; }
.pa .pa-login-url a { flex: 1 1 auto; min-width: 0; color: #5b3794; font-weight: 600; overflow-wrap: anywhere; }
.pa .pa-danger { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pa .pa-danger b { display: block; color: var(--text); font-size: .9rem; }
.pa .pa-danger small { color: var(--text-3); font-size: .8rem; line-height: 1.45; }
.pa .pa-danger .btn { flex: none; }

/* a field with suggestions: the panel's own chevron instead of the browser's black triangle */
html[data-theme] body.pp input[list] {
    padding-inline-end: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
html[data-theme] body.pp input[list]::-webkit-calendar-picker-indicator { opacity: 0; cursor: var(--cv-cur-hand, pointer); }

/* forms in the windows */
html[data-theme] body.pp .pp-modal > .modal.pa-wide { width: min(680px, calc(100vw - 32px)); max-width: 680px; }
.pp .pp-form-row.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pa .pp-form .hint { display: block; margin-top: 6px; }
.pa .pa-switch-group { display: grid; gap: 4px; align-content: center; }
.pa .pp-form-row > .pa-switch-group { align-self: end; min-height: 40px; }
/* channels: one row of equal chips (the box itself is hidden; a chosen chip is tinted), a list on phones */
.pa .pa-checks { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 8px; }
.pa .pa-check {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 38px; padding: 0 10px;
    border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--text-2); font-size: .84rem; cursor: var(--cv-cur-hand, pointer);
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pa .pa-check input { position: absolute; opacity: 0; pointer-events: none; }
.pa .pa-check span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pa .pa-check:hover { border-color: rgba(17, 17, 26, .22); color: var(--text); }
.pa .pa-check:has(input:checked) { border-color: rgba(111, 69, 176, .5); background: #f3eefb; color: #3b2366; font-weight: 600; }
.pa .pa-check:has(input:focus-visible) { box-shadow: var(--ring); }
@media (max-width: 560px) { .pa .pa-checks { grid-template-columns: minmax(0, 1fr); } .pa .pa-check { justify-content: flex-start; padding: 0 14px; } }
.pa .pa-hues { display: flex; flex-wrap: wrap; gap: 8px; }
.pa .pa-hue { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; cursor: var(--cv-cur-hand, pointer); }
.pa .pa-hue input { position: absolute; opacity: 0; pointer-events: none; }
.pa .pa-hue i { width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--c) 18%, #fff); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 60%, #fff); }
.pa .pa-hue:has(input:checked) { box-shadow: 0 0 0 2px var(--c); }
.pa .pa-hue:has(input:focus-visible) { box-shadow: 0 0 0 2px var(--c), var(--ring); }
.pa .pa-color { display: flex; align-items: center; gap: 10px; min-height: 40px; }
html[data-theme] body.pa .pa-color input[type=color] { flex: none; width: 46px; height: 40px; min-height: 40px; padding: 3px; border-radius: 10px; cursor: var(--cv-cur-hand, pointer); }
.pa .pa-color span { color: var(--text-3); font-size: .8rem; line-height: 1.35; }
.pa .pa-image { display: flex; align-items: center; gap: 14px; }
.pa .pa-image-prev {
    display: grid; flex: none; place-items: center; width: 64px; height: 64px; overflow: hidden;
    border: 1px dashed var(--line-2); border-radius: 14px; background: #fafafb; color: #a1a1aa;
}
.pa .pa-image-prev img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pa .pa-image-prev .ic { width: 22px; height: 22px; }
.pa .pa-image-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.pa .pa-image-name { flex-basis: 100%; color: var(--text-3); font-size: .78rem; overflow-wrap: anywhere; }
.pa .pa-remove { font-size: .84rem; }
.pa .pa-attached { display: grid; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.pa .pa-attached li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: .86rem; }
.pa .pa-attached li span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pa .pa-attached .ic { width: 15px; height: 15px; color: var(--text-3); }
.pa .pa-rep { display: grid; gap: 8px; margin-bottom: 8px; }
.pa .pa-rep:empty { display: none; }
.pa .pa-rep-row { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)) 34px; align-items: center; gap: 8px; }
.pa .pa-rep-cell { display: block; min-width: 0; margin: 0; }
html[data-theme] body.pa .pa-rep-cell input, html[data-theme] body.pa .pa-rep-cell select { min-height: 38px; font-size: .86rem; }
.pa .pa-rep-del { width: 34px; height: 34px; }
.pa .pa-rep-add { align-self: flex-start; justify-self: start; width: auto; }
.pa .pa-pw { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.pa .pa-pw .btn { min-height: 40px; }
.pa .pa-msample { margin: 0; }
.pa .pa-form-sec { display: flex; align-items: center; gap: 7px; margin: 6px 0 -2px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--text); font-size: .86rem; font-weight: 650; }
.pa .pa-form-sec .ic { width: 15px; height: 15px; color: #6f45b0; }
.pa .pa-cred { display: grid; margin: 0 0 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.pa .pa-cred > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); }
.pa .pa-cred > div:first-child { border-top: 0; }
.pa .pa-cred dt { color: var(--text-3); font-size: .82rem; }
.pa .pa-cred dd { margin: 0; color: var(--text); font-size: .92rem; font-weight: 650; text-align: end; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ admin: domain details sent by a client */
/* the notice above the customer list, and the strip on the client's card */
.pa .pa-alert { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 16px; padding: 14px 16px; border: 1px solid #f1ddb2; border-radius: 16px; background: #fdf6e7; }
.pa .pa-alert > .tile { flex: none; }
.pa .pa-alert-t { flex: 1; min-width: 0; }
.pa .pa-alert-t > b { display: block; color: var(--text); font-size: .95rem; font-weight: 650; }
.pa .pa-alert-t > p { margin: 2px 0 0; color: var(--text-2); font-size: .84rem; line-height: 1.5; }
.pa .pa-alert ul { display: grid; gap: 0; margin: 10px 0 0; padding: 0; list-style: none; }
.pa .pa-alert li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(146, 82, 7, .14); }
.pa .pa-alert li > span { display: grid; min-width: 0; color: var(--text); font-size: .9rem; font-weight: 600; }
.pa .pa-alert li small { color: var(--text-3); font-size: .76rem; font-weight: 400; }
.pa .pa-alert li .btn { flex: none; }
.pa .pa-ws-alert {
    display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #f1ddb2; border-radius: 10px;
    background: #fdf6e7; color: #7a4705; font-size: .82rem; font-weight: 600; text-decoration: none;
}
.pa .pa-ws-alert > .ic { flex: none; width: 15px; height: 15px; }
.pa .pa-ws-alert > span { flex: 1; min-width: 0; }
.pa .pa-ws-alert .pa-go { color: #b07a2a; }
.pa .pa-ws-alert:hover { border-color: #e9c98a; color: #5c3504; }
.pa .pa-ws-alert:focus-visible { outline: none; box-shadow: var(--ring); }
.pa .pa-ws-alert.is-req { border-color: #ddd0f3; background: #f6f2fc; color: #5b3794; }
.pa .pa-ws-alert.is-req .pa-go { color: #8b6cc4; }
.pa .pa-ws-alert.is-req:hover { border-color: #c9b6ec; color: #45297a; }
.pa .pa-ws-alert + .pa-ws-alert { margin-top: -4px; }
.pa .sb-back .sb-count { margin-inline-start: auto; }

/* the section: what was asked for, what the client sent, the decision */
.pa .pa-dm-ask { display: flex; align-items: center; gap: 16px; }
.pa .pa-dm-ask > .tile { flex: none; width: 44px; height: 44px; }
.pa .pa-dm-ask-t { flex: 1; min-width: 0; }
.pa .pa-dm-ask-t h2 { margin: 0; color: var(--text); font-size: 1rem; }
.pa .pa-dm-ask-t p { max-width: 72ch; margin: 3px 0 0; color: var(--text-2); font-size: .86rem; line-height: 1.5; }
.pa .pa-dm-ask > .btn { flex: none; }
.pa .pa-dm-state { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.pa .pa-dm-state > .ic { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.pa .pa-dm-state b { color: var(--text); font-size: .92rem; font-weight: 650; }
.pa .pa-dm-state p { margin: 2px 0 0; color: var(--text-2); font-size: .84rem; line-height: 1.5; }
.pa .pa-dm-state .pa-dm-said { margin-top: 6px; color: var(--text); }
.pa .pa-dm-state.is-info { border-color: #d0def8; background: #f3f7fe; }
.pa .pa-dm-state.is-info > .ic { color: #2b5bc4; }
.pa .pa-dm-state.is-warn { border-color: #f1ddb2; background: #fdf6e7; }
.pa .pa-dm-state.is-warn > .ic { color: #b26a05; }
.pa .pa-dm-state.is-ok { border-color: #cbe8d7; background: #f2faf5; }
.pa .pa-dm-state.is-ok > .ic { color: #16a34a; }
.pa .pa-dm-state.is-bad { border-color: #f3d0d0; background: #fdf3f3; }
.pa .pa-dm-state.is-bad > .ic { color: #b42323; }
.pa .pa-dm-grid { margin-top: 0; }
.pa .pa-dm-list { display: grid; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.pa .pa-dm-line { display: grid; grid-template-columns: minmax(150px, 34%) minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; min-height: 52px; padding: 8px 8px 8px 14px; border-top: 1px solid var(--line); }
.pa .pa-dm-line:first-child { border-top: 0; }
.pa .pa-dm-line dt { color: var(--text-3); font-size: .8rem; }
.pa .pa-dm-line dd { margin: 0; min-width: 0; color: var(--text); font-size: .92rem; line-height: 1.45; overflow-wrap: anywhere; }
.pa .pa-dm-line dd b { font-weight: 650; }
.pa .pa-dm-tools { display: flex; gap: 2px; }
.pa .pa-dm-tools .icon-btn { width: 34px; height: 34px; }
.pa .pa-dm-tools .icon-btn .ic { width: 16px; height: 16px; }
.pa .pa-dm-tools .icon-btn[aria-pressed="true"] { color: #5b3794; background: #f3eefb; }
.pa .pa-dots { color: var(--text-2); letter-spacing: .14em; }
.pa .pa-secret { padding: 2px 8px; border-radius: 6px; background: #f3eefb; color: #3b2366; font-weight: 600; letter-spacing: .02em; user-select: all; }
.pa .pa-dm-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.pa .pa-dm-acts .btn { justify-content: center; }
.pa .pa-dm-more { display: grid; }
.pa .pa-dm-more > .pa-danger { padding: 12px 0; border-top: 1px solid var(--line); }
.pa .pa-dm-more > .pa-danger:first-child { padding-top: 0; border-top: 0; }

/* information requests: one card each (the domain among them), the template cards, the custom form's fields */
.pa .pa-ir-stats { margin-bottom: 16px; }
.pa .pa-ir-list { display: grid; gap: 14px; }
.pa .pa-ir-list > .card { margin: 0; }
.pa .pa-ir-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; margin: 0 0 14px; }
.pa .pa-ir-head > .pp-info-tile { width: 40px; height: 40px; }
.pa .pa-ir-t h2 { margin: 0; color: var(--text); font-size: 1rem; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.pa .pa-ir-t p { margin: 2px 0 0; color: var(--text-3); font-size: .82rem; }
.pa .pa-ir .pa-dm-state { margin-bottom: 12px; }
.pa .pa-ir-said { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 12px; color: var(--text-2); font-size: .86rem; line-height: 1.5; }
.pa .pa-ir-said .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #6f45b0; }
.pa .pa-ir-wait { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--text-3); font-size: .86rem; line-height: 1.5; }
.pa .pa-ir-wait .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.pa .pa-ir-lead { margin: 0 0 14px; color: var(--text-2); font-size: .9rem; line-height: 1.55; }
.pa .pa-ir-label { display: block; margin: 0 0 8px; color: var(--text); font-size: .86rem; font-weight: 600; }
/* six templates: two by two (three rows), three by three on a wide page (two rows) */
.pa .pa-ir-templates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
@media (min-width: 1280px) { .pa .pa-ir-start .pa-ir-templates { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; } }
@media (max-width: 640px) { .pa .pa-ir-templates { grid-template-columns: minmax(0, 1fr); } }
.pa .pa-ir-tpl {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 72px; margin: 0; padding: 12px 12px 12px 14px;
    border: 1px solid var(--line); border-radius: 14px; background: #fff; color: inherit; font: inherit; text-align: start; cursor: var(--cv-cur-hand, pointer);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.pa .pa-ir-tpl:hover:not(:disabled) { border-color: var(--accent-line); box-shadow: 0 6px 18px -12px rgba(17, 17, 26, .3); }
.pa .pa-ir-tpl:focus-visible { outline: none; box-shadow: var(--ring); }
.pa .pa-ir-tpl:disabled { background: #fafafb; cursor: default; opacity: .7; }
.pa .pa-ir-tpl > .pp-info-tile { width: 40px; height: 40px; }
.pa .pa-plat-val { display: inline-flex; align-items: center; gap: 8px; }
.pa .pa-ir-tpl-t { display: grid; gap: 2px; min-width: 0; }
.pa .pa-ir-tpl-t b { color: var(--text); font-size: .92rem; font-weight: 650; }
.pa .pa-ir-tpl-t small { color: var(--text-3); font-size: .8rem; line-height: 1.4; }
.pa .pa-ir-tpl .pa-go { width: 16px; height: 16px; color: var(--text-3); }
.pa .pa-ir-foot1 { grid-template-columns: minmax(0, 1fr); }
.pa .pa-ir-preview ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
/* an odd one out at the end takes the whole row, so the rows stay even */
.pa .pa-ir-preview li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pa .pa-ir-preview li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fafafb; color: var(--text); font-size: .86rem; }
.pa .pa-ir-preview li span { min-width: 0; overflow-wrap: anywhere; }
.pa .pa-ir-preview li small { margin-inline-start: auto; color: var(--text-3); font-size: .74rem; white-space: nowrap; }
.pa .pa-ir-preview li .ic { flex: none; width: 15px; height: 15px; color: #16a34a; }
.pa .pa-ir-preview li .ic.is-lock { color: #6f45b0; }
.pa .pa-ir-frows { display: grid; gap: 8px; margin-bottom: 8px; }
.pa .pa-ir-frow { display: grid; grid-template-columns: minmax(0, 1fr) 160px auto 34px; align-items: center; gap: 8px; }
html[data-theme] body.pa .pa-ir-frow input[type="text"], html[data-theme] body.pa .pa-ir-frow select { min-height: 38px; font-size: .86rem; }
.pa .pa-ir-req { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--text-2); font-size: .84rem; white-space: nowrap; cursor: var(--cv-cur-hand, pointer); }
.pa .pa-ir-req input { width: 16px; height: 16px; margin: 0; accent-color: #6f45b0; }
.pa .pa-ir-form .hint { display: block; margin-top: 6px; color: var(--text-3); font-size: .78rem; }
@media (max-width: 640px) {
    .pa .pa-ir-head { grid-template-columns: auto minmax(0, 1fr) auto; }
    .pa .pa-ir-head > .pp-pill { grid-column: 2; grid-row: 2; justify-self: start; }
    .pa .pa-ir-preview ul { grid-template-columns: minmax(0, 1fr); }
    .pa .pa-ir-frow { grid-template-columns: minmax(0, 1fr) auto 34px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
    .pa .pa-ir-frow > .pa-rep-cell:first-child { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ admin: Google reviews */
.pa .pa-gprofile dd { overflow-wrap: anywhere; }
.pa .pa-rate { display: inline-flex; align-items: center; gap: 6px; }
.pa .pa-row-main > b .pp-stars { margin-left: 8px; vertical-align: -1px; }
.pa .pa-review .pa-row-lead .pp-person { width: 34px; height: 34px; font-size: 12px; }
.pa .pa-row-text.is-gone { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(17, 17, 26, .35); }
.pa .pa-stars { display: flex; align-items: center; gap: 4px; min-height: 40px; }
.pa .pa-star { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #d4d4da; cursor: var(--cv-cur-hand, pointer); }
.pa .pa-star input { position: absolute; opacity: 0; pointer-events: none; }
.pa .pa-star .ic { width: 24px; height: 24px; fill: currentColor; stroke-width: 1.4; transition: transform .15s ease; }
.pa .pa-star.is-on { color: #f2a900; }
.pa .pa-star.is-on .ic { fill: #fbbc04; }
.pa .pa-star:hover .ic { transform: scale(1.12); }
.pa .pa-star:has(input:focus-visible) { box-shadow: var(--ring); }
@media (max-width: 760px) {
    .pa .pa-dm-ask { flex-direction: column; align-items: flex-start; }
    .pa .pa-dm-ask > .btn { width: 100%; justify-content: center; }
    .pa .pa-dm-line { grid-template-columns: minmax(0, 1fr) auto; }
    .pa .pa-dm-line dt { grid-column: 1 / -1; }
    .pa .pa-alert { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .pa .pa-star .ic { transition: none; } }
@media (max-width: 760px) {
    .pp .pp-form-row.is-3 { grid-template-columns: minmax(0, 1fr); }
    .pa .pa-row { grid-template-columns: 44px minmax(0, 1fr); }
    .pa .pa-row-side { grid-column: 2; justify-content: flex-start; margin-left: -6px; }
    .pa .pa-tags, .pa .pa-plats { margin-left: 0; }
    .pa .pa-danger { flex-direction: column; align-items: flex-start; }
    .pa .pa-rep-row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
    .pa .pa-rep-del { grid-column: 2; justify-self: end; }
    html[data-theme] body.pp .pp-modal > .modal.pa-wide { width: 100%; max-width: none; }
}

/* ------------------------------------------------------------------ phones */
/* a filter in the page head (tasks, calendar, approvals, social) gets its own row under the description, like a
   select does in the Convotify panel; it scrolls sideways when its options do not fit */
@media (max-width: 760px) {
    .pp .page-head > .head-actions:has(.seg) { grid-column: 1 / -1; grid-row: 3; min-width: 0; margin-top: 6px; }
    .pp .page-head > .head-actions:has(.seg) > .seg { flex: 0 1 auto; min-width: 0; }
}
/* the scroll fades of a sideways filter also cover the filter's own padding, so no letter shows past the arrow */
.pp .stx-s::before { inset-inline-start: -4px; }
.pp .stx-e::before { inset-inline-end: -4px; }
@media (max-width: 1023.98px) {
    .pp .pp-factrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp .pp-factrow > div:nth-child(3) { border-left: 0; }
    .pp .pp-factrow > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
    .pp .pp-hero { gap: 14px; }
    .pp .pp-hero-logo { width: 60px; height: 60px; border-radius: 16px; }
    .pp .pp-hero h1 { font-size: 1.45rem; }
    .pp .pp-hero-sub { font-size: .86rem; }
    .pp .pp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp .pp-dhead h1 { font-size: 1.4rem; }
    .pp .pp-table table thead { display: none; }
}

/* ================================================================== a quieter, more corporate look
   Last in the file, so it settles what the rules above and panel-v2.css leave open (partner pages only):
   - the content sheet's corners rounder; cards a little less round; small round things (icon buttons, tags, chips,
     counts) fully round
   - every box on the overview and on Projeler in one pearl shell instead of a colour per box; its icon tile keeps
     a quiet hue
   - buttons are pills with a Shopify-like build: the primary one dark, with a soft light at its top and a fine rim
     (like the reference "Subscribe" button); the secondary one white with a hairline and a darker bottom edge. Under
     the pointer a touch lighter, pressed they sink. */
html[data-theme] body.pp { --sheet-r: 22px; }
@media (max-width: 1023.98px) { html[data-theme] body.pp .app-main { border-radius: 22px 22px 0 0; } }

/* the boxes: a pearl shell round a white card, one for every box. A light sheen of blue, lilac and mint (like
   mother-of-pearl) with a fine violet rim and a soft lift: apart from the plain grey page at a glance, and no
   colour per box. The row on the shell (the section link, a note, the round arrow) in a deep slate. */
html[data-theme] body.pp .app-main .ov :is(.ov-card, .ov-kpi),
html[data-theme] body.pp .app-main .ov :is(.ov-card, .ov-kpi):is(.c-blue, .c-green, .c-violet, .c-amber) {
    --sh: #fff; --sh-line: rgba(111, 69, 176, .14); --sh-ink: #3f3a59; border-radius: 16px; border-color: rgba(111, 69, 176, .14);
    background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .65) 0%, rgba(255, 255, 255, 0) 52%), linear-gradient(135deg, #e4e9ff 0%, #efe5fb 48%, #dff3ec 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 1px 2px rgba(60, 40, 110, .05), 0 10px 24px -16px rgba(60, 40, 110, .26);
}
html[data-theme] body.pp .app-main .ov :is(.ov-card-in, .ov-kpi-in) { border-color: rgba(111, 69, 176, .08); border-radius: 12px; }
html[data-theme] body.pp .app-main .ov :is(.ov-card-foot, .ov-kpi-foot) :is(.ov-quiet, .pp-foot-note) { color: #4a4566; }
html[data-theme] body.pp .app-main .ov .ov-card-foot .ov-link { color: #2a2540; }
html[data-theme] body.pp .app-main .ov .ov-card-foot .ov-link:hover { color: #6f45b0; }
html[data-theme] body.pp .app-main .ov :is(.ov-card, .ov-kpi).c-blue .tile { border-color: #dbe5fa; background: #eef3fd; color: #2b5bc4; }
html[data-theme] body.pp .app-main .ov :is(.ov-card, .ov-kpi).c-green .tile { border-color: #d5ebde; background: #edf7f1; color: #17804a; }
html[data-theme] body.pp .app-main .ov :is(.ov-card, .ov-kpi).c-violet .tile { border-color: #e3daf5; background: #f4f0fb; color: #6f45b0; }
html[data-theme] body.pp .app-main .ov :is(.ov-card, .ov-kpi).c-amber .tile { border-color: #f1e2c3; background: #fcf5e6; color: #9a5a06; }
html[data-theme] body.pp .app-main .ov :is(.ov-card, .ov-kpi) .tile:not(:is(.c-blue, .c-green, .c-violet, .c-amber) *) { background: #fff; }

/* buttons: pills */
html[data-theme] body.pp :is(.btn, .mi-btn, .mp-btn, .icon-btn),
html[data-theme] body.pp .sb-actions .btn,
html[data-theme] body.pp .sb-brand .nb-btn { border-radius: 999px; }
html[data-theme] body.pp .btn { transition: background .16s ease, box-shadow .16s ease, color .16s ease, transform .12s ease; }
/* primary: dark */
html[data-theme] body.pp .btn-primary {
    border: 0; color: #fff;
    background: radial-gradient(120% 120% at 50% -10%, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, 0) 58%), linear-gradient(180deg, #303034 0%, #141416 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 1px 2px rgba(12, 12, 14, .3), 0 6px 14px -8px rgba(12, 12, 14, .55);
}
html[data-theme] body.pp .btn-primary:hover:not(:disabled) {
    background: radial-gradient(120% 120% at 50% -10%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #3a3a3f 0%, #1b1b1e 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 1px 2px rgba(12, 12, 14, .32), 0 8px 18px -9px rgba(12, 12, 14, .6);
}
html[data-theme] body.pp .btn-primary:active:not(:disabled) {
    background: linear-gradient(180deg, #19191c 0%, #26262a 100%); transform: translateY(1px);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .04);
}
/* secondary: white */
html[data-theme] body.pp :is(.app-main, .modal, .np, .hw-panel, .pp-help) .btn-secondary,
html[data-theme] body.pp :is(.app-main, .modal, .np, .hw-panel, .pp-help) :is(.mi-btn-light, .mp-btn-light) {
    border: 0; color: #18181b; background: #fff;
    box-shadow: inset 0 -1px 0 rgba(17, 17, 26, .16), inset 0 0 0 1px rgba(17, 17, 26, .12), 0 1px 1px rgba(17, 17, 26, .04), 0 2px 6px -3px rgba(17, 17, 26, .14);
}
html[data-theme] body.pp :is(.app-main, .modal, .np, .hw-panel, .pp-help) .btn-secondary:hover:not(:disabled) {
    background: #f7f7f8;
    box-shadow: inset 0 -1px 0 rgba(17, 17, 26, .2), inset 0 0 0 1px rgba(17, 17, 26, .14), 0 1px 1px rgba(17, 17, 26, .05), 0 4px 10px -5px rgba(17, 17, 26, .2);
}
html[data-theme] body.pp :is(.app-main, .modal, .np, .hw-panel, .pp-help) .btn-secondary:active:not(:disabled) {
    background: #f1f1f3; transform: translateY(1px);
    box-shadow: inset 0 1px 2px rgba(17, 17, 26, .16), inset 0 0 0 1px rgba(17, 17, 26, .12);
}
/* danger: white with red text, the same build */
html[data-theme] body.pp :is(.app-main, .modal, .hw-panel) .btn-danger {
    border: 0; color: #c62828; background: #fff;
    box-shadow: inset 0 -1px 0 rgba(198, 40, 40, .24), inset 0 0 0 1px rgba(198, 40, 40, .2), 0 1px 1px rgba(17, 17, 26, .04), 0 2px 6px -3px rgba(198, 40, 40, .2);
}
html[data-theme] body.pp :is(.app-main, .modal, .hw-panel) .btn-danger:hover:not(:disabled) { background: #fef6f6; color: #b91c1c; }
/* round icon buttons in the content: white, the same build */
html[data-theme] body.pp :is(.app-main, .modal) .icon-btn:not(:where(.mi-compose *, .mi-reply *)) {
    border: 0; background: #fff;
    box-shadow: inset 0 -1px 0 rgba(17, 17, 26, .16), inset 0 0 0 1px rgba(17, 17, 26, .12), 0 1px 1px rgba(17, 17, 26, .04), 0 2px 6px -3px rgba(17, 17, 26, .14);
}
html[data-theme] body.pp :is(.app-main, .modal) .icon-btn:not(:where(.mi-compose *, .mi-reply *)):hover:not(:disabled) { background: #f7f7f8; }
/* the dark sidebar's own: a quiet glass pill */
html[data-theme] body.pp .sb-actions .btn { border: 0; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .06); }
html[data-theme] body.pp .sb-actions .btn:hover { background: rgba(255, 255, 255, .12); }
/* small round things: fully round */
html[data-theme] body.pp :is(.pp-tag, .chip-soft, .id-chip, .pa-flag, .pp-post-type, .pp-segn, .seg-count, .pp-due) { border-radius: 999px; }
html[data-theme] body.pp .seg, html[data-theme] body.pp .seg [role="tab"] { border-radius: 999px; }

/* the projects' states on the numbers row: a thin bar in parts and a legend under it */
.pp .pp-mix { display: flex; gap: 3px; height: 6px; margin: 8px 0 0; overflow: hidden; border-radius: 999px; }
.pp .pp-mix > i { flex: 1 1 0; min-width: 6px; border-radius: 999px; }
.pp :is(.pp-mix > i, .pp-mix-legend li::before).is-progress, .pp .pp-mix-legend li.is-progress::before { background: #3b6fd9; }
.pp .pp-mix > i.is-review, .pp .pp-mix-legend li.is-review::before { background: #e0a106; }
.pp .pp-mix > i.is-planned, .pp .pp-mix-legend li.is-planned::before { background: #a1a1aa; }
.pp .pp-mix > i.is-done, .pp .pp-mix-legend li.is-done::before { background: #1f9d55; }
/* two even columns (one on a phone), so three states read as a grid, not as a line that broke */
.pp .pp-mix-legend { display: grid; grid-template-columns: repeat(2, max-content); gap: 3px 14px; margin: 8px 0 0; padding: 0; color: var(--text-2); font-size: .8rem; line-height: 1.35; list-style: none; }
@media (max-width: 640px) { .pp .pp-mix-legend { grid-template-columns: max-content; } }
.pp .pp-mix-legend li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.pp .pp-mix-legend li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; }
.pp .pp-mix-legend b { color: var(--text); font-weight: 650; }

/* a numbers card's facts: the dot goes with the fact after it and is clipped off where that fact starts a line */
.pp .pp-kpis .ov-kpi .detail.pp-kd { display: flex; flex-wrap: wrap; margin-left: -17px; overflow: visible; -webkit-line-clamp: unset; line-clamp: none; clip-path: inset(-6px -6px -6px 17px); }
.pp .pp-kd > span { position: relative; padding-left: 17px; }
.pp .pp-kd > span::before { content: ""; position: absolute; top: calc(.5lh - 1.5px); left: 7px; width: 3px; height: 3px; border-radius: 50%; background: #a1a1aa; }

/* message receipts: one tick delivered, two ticks read (light blue on the dark bubble, violet on a light one) */
.pp .pp-rcpt { display: inline-flex; align-items: center; gap: 3px; margin-inline-start: 2px; font-weight: 600; white-space: nowrap; }
.pp .pp-rcpt .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.pp .pp-msg.is-mine .pp-rcpt, .pp-help .hw-msg.me .pp-rcpt { color: rgba(255, 255, 255, .62); }
.pp .pp-msg.is-mine .pp-rcpt.is-read, .pp-help .hw-msg.me .pp-rcpt.is-read { color: #8ecbff; }
.pp .pp-rcpt.is-read { color: #6f45b0; }
.pp-help .pp-help-who > span { display: inline-flex; align-items: center; gap: 6px; }

/* the foot of the sidebar: the person who is signed in, with an initials badge, and the business under the name */
html[data-theme] body.pp .pp-foot-user {
    display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 14px; background: rgba(255, 255, 255, .04);
}
html[data-theme] body.pp .pp-foot-user > div { display: grid; min-width: 0; }
html[data-theme] body.pp .pp-foot-user b { overflow: hidden; color: var(--text); font-size: 13.5px; font-weight: 600; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme] body.pp .pp-foot-user small { overflow: hidden; color: var(--text-3); font-size: 11.5px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme] body.pp .pp-me-ava {
    --a1: #8b5cf6; --a2: #6d28d9;
    display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(140deg, var(--a1) 0%, var(--a2) 100%); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .25), 0 2px 6px rgba(0, 0, 0, .35);
}
html[data-theme] body.pp .pp-me-ava.c-blue { --a1: #4f86f7; --a2: #2f5fd0; }
html[data-theme] body.pp .pp-me-ava.c-teal { --a1: #2bb3a4; --a2: #138577; }
html[data-theme] body.pp .pp-me-ava.c-orange { --a1: #f28b46; --a2: #d5621c; }
html[data-theme] body.pp .pp-me-ava.c-pink { --a1: #ec6aa8; --a2: #c7407f; }
html[data-theme] body.pp .pp-me-ava.c-green { --a1: #3fb46f; --a2: #1f8a4c; }
html[data-theme] body.pp .pp-me-ava.c-amber { --a1: #e9ad2f; --a2: #c08410; }
/* the search box under the business: the Convotify panel's (panel-v2.css .sb-search) */
html[data-theme] body.pp .sidebar .sb-search { margin: 0 0 12px; border-radius: 999px; }
html[data-theme] body.pp .sidebar .sb-search kbd { border-radius: 999px; }
/* the search window: a little wider than the Convotify panel's, room for a project's state beside its name */
html[data-theme] body.pp .pp-cmdk .cmdk-panel { border-radius: 16px; }
/* (below 1024px the window spans the screen with a margin: panel-v2.css) */
@media (min-width: 1024px) { html[data-theme] body.pp .pp-cmdk .cmdk-panel { width: 500px; } }
html[data-theme] body.pp .pp-cmdk .cmdk-item { border-radius: 10px; }
html[data-theme] body.pp .pp-cmdk .cmdk-ic { border-radius: 999px; }
html[data-theme] body.pp .pp-cmdk .cmdk-hint { max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* a row a search opened: a short glow round it */
.pp [data-pp-find].is-found { border-radius: 12px; animation: ppFound 2.1s ease-out; }
@keyframes ppFound { 0%, 35% { box-shadow: 0 0 0 3px rgba(111, 69, 176, .34); } 100% { box-shadow: 0 0 0 3px rgba(111, 69, 176, 0); } }
@media (prefers-reduced-motion: reduce) { .pp [data-pp-find].is-found { animation-duration: .01s; outline: 2px solid rgba(111, 69, 176, .4); outline-offset: 2px; } }

/* ------------------------------------------------------------------ opening: "MHS Links Workspace" is loading
   On the dark frame: the logo in a glass tile, the name, six tiles of the workspace lighting up one after another and a
   thin running bar; partner.js fades it out once the workspace is ready (is-done). Still for less motion. */
.pp-boot {
    position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 24px;
    background: radial-gradient(900px 520px at 50% 0%, rgba(132, 89, 200, .2), rgba(132, 89, 200, 0) 62%), #0c0c0e;
    color: #f4f4f5; transition: opacity .45s ease, visibility .45s ease;
}
.pp-boot.is-done { opacity: 0; visibility: hidden; }
.pp-boot-in { display: grid; justify-items: center; gap: 16px; text-align: center; animation: ppBootIn .5s cubic-bezier(.2, .8, .2, 1) both; }
.pp-boot-mark {
    display: grid; place-items: center; width: 88px; height: 88px; border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .18), 0 24px 50px -24px rgba(0, 0, 0, .9);
    animation: ppBootMark 2.4s ease-in-out infinite;
}
.pp-boot-mark img { width: 58px; height: auto; }
.pp-boot-name { margin: 4px 0 0; color: #fff; font-size: 1.32rem; font-weight: 600; letter-spacing: -.01em; }
.pp-boot-name b { font-weight: 700; }
.pp-boot-name span { color: #b9b9c2; font-weight: 500; }
.pp-boot-tiles { display: grid; grid-template-columns: repeat(6, 38px); gap: 10px; margin-top: 6px; }
.pp-boot-tiles i {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
    background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: #d9d2f5;
    animation: ppBootTile 1.8s ease-in-out infinite both;
}
.pp-boot-tiles i:nth-child(1) { color: #8fb3ff; }
.pp-boot-tiles i:nth-child(2) { color: #c4b1f5; animation-delay: .12s; }
.pp-boot-tiles i:nth-child(3) { color: #f3c26b; animation-delay: .24s; }
.pp-boot-tiles i:nth-child(4) { color: #7fd8a5; animation-delay: .36s; }
.pp-boot-tiles i:nth-child(5) { color: #8fb3ff; animation-delay: .48s; }
.pp-boot-tiles i:nth-child(6) { color: #f29ac3; animation-delay: .6s; }
.pp-boot-tiles .ic { width: 17px; height: 17px; }
.pp-boot-text { min-height: 1.4em; margin: 2px 0 0; color: #a1a1aa; font-size: .9rem; }
.pp-boot-bar { position: relative; display: block; width: 200px; height: 3px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.pp-boot-bar i { position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: 999px; background: linear-gradient(90deg, #8b5cf6, #ec6aa8); animation: ppBootBar 1.25s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes ppBootIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ppBootMark { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes ppBootTile { 0%, 100% { opacity: .35; transform: translateY(0) scale(.94); } 35% { opacity: 1; transform: translateY(-4px) scale(1); } 70% { opacity: .6; transform: translateY(0) scale(.97); } }
@keyframes ppBootBar { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
@media (max-width: 420px) { .pp-boot-tiles { grid-template-columns: repeat(6, 32px); gap: 8px; } .pp-boot-tiles i { width: 32px; height: 32px; border-radius: 10px; } }
@media (prefers-reduced-motion: reduce) {
    .pp-boot-in, .pp-boot-mark, .pp-boot-tiles i, .pp-boot-bar i { animation: none; }
    .pp-boot-tiles i { opacity: .85; }
    .pp-boot-bar i { width: 100%; opacity: .5; }
}
/* right after signing in (partner.js: is-long, six seconds): the tiles light up one after another, the one being
   prepared bobbing softly, and the bar fills from the left in the same time (is-run; its duration set by partner.js) */
.pp-boot.is-long .pp-boot-tiles i {
    opacity: .3; transform: scale(.92); animation: none;
    transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1), background-color .45s ease, box-shadow .45s ease;
}
.pp-boot.is-long .pp-boot-tiles i.is-on {
    opacity: 1; transform: none; background-color: rgba(255, 255, 255, .1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 10px 22px -12px currentColor;
}
.pp-boot.is-long .pp-boot-tiles i.is-now { animation: ppBootNow 1s ease-in-out infinite; }
.pp-boot.is-long .pp-boot-bar i { width: 0; opacity: 1; transform: none; animation: none; transition: none; }
.pp-boot.is-long.is-run .pp-boot-bar i { width: 100%; transition: width 6s cubic-bezier(.45, .05, .35, 1); }
@keyframes ppBootNow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
    .pp-boot.is-long .pp-boot-tiles i, .pp-boot.is-long .pp-boot-tiles i.is-now { transform: none; animation: none; transition: none; }
}

/* ------------------------------------------------------------------ the notifications, one by one (after signing in)
   A window in the middle: the bell and how many, one notification at a time sliding sideways to the next, dots and
   Geri / Sonraki under it. A click outside closes it. */
.pp-note { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; }
.pp-note-bg { position: absolute; inset: 0; background: rgba(12, 12, 14, .42); opacity: 0; transition: opacity .25s ease; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.pp-note-box {
    position: relative; display: flex; flex-direction: column; width: min(470px, 100%); max-height: calc(100dvh - 32px); overflow: hidden;
    border-radius: 22px; background: #fff; color: var(--text, #17171b);
    box-shadow: 0 0 0 1px rgba(17, 17, 26, .06), 0 30px 70px -28px rgba(12, 12, 14, .55), 0 8px 20px -12px rgba(12, 12, 14, .25);
    opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .28s ease, transform .34s cubic-bezier(.2, .8, .2, 1);
}
.pp-note-box:focus { outline: none; }
.pp-note.is-in .pp-note-bg { opacity: 1; }
.pp-note.is-in .pp-note-box { opacity: 1; transform: none; }
.pp-note.is-out .pp-note-bg { opacity: 0; }
.pp-note.is-out .pp-note-box { opacity: 0; transform: translateY(6px) scale(.98); }
.pp-note-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 10px 18px; }
.pp-note-head > div { display: grid; flex: 1; min-width: 0; }
.pp-note-head b { font-size: 1rem; font-weight: 700; }
.pp-note-head small { color: var(--text-3, #6b6b74); font-size: .8rem; }
.pp-note-bell {
    display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; color: #fff;
    background: radial-gradient(120% 120% at 50% -10%, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #303034, #141416);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 14px -8px rgba(12, 12, 14, .6);
}
.pp-note-bell .ic { width: 18px; height: 18px; }
.pp-note-view { overflow: hidden; transition: height .32s cubic-bezier(.2, .8, .2, 1); touch-action: pan-y; }
.pp-note-track { display: flex; align-items: flex-start; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.pp-note-slide { flex: 0 0 100%; min-width: 0; padding: 6px 22px 18px; }
.pp-note-top { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.pp-note-top .tile { width: 40px; height: 40px; border-radius: 12px; }
.pp-note-kicker { color: var(--text-3, #6b6b74); font-size: .8rem; font-weight: 600; }
.pp-note-kicker.is-ask { padding: 2px 10px; border-radius: 999px; background: #fdf3e3; color: #925207; }
.pp-note-slide h3 { margin: 0; color: var(--text, #17171b); font-size: 1.14rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; overflow-wrap: anywhere; }
.pp-note-slide p { margin: 6px 0 0; color: var(--text-2, #52525b); font-size: .92rem; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; }
.pp-note-slide .pp-note-act { margin-top: 14px; }
.pp-note-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 16px 22px; border-top: 1px solid rgba(17, 17, 26, .07); }
.pp-note-dots { display: flex; gap: 6px; }
.pp-note-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: #d4d4d8; cursor: var(--cv-cur-hand, pointer); transition: width .25s ease, background .25s ease; }
.pp-note-dots button[aria-current="true"] { width: 20px; background: #17171b; }
.pp-note-dots button:focus-visible { outline: none; box-shadow: var(--ring); }
.pp-note-acts { display: flex; gap: 8px; margin-inline-start: auto; }
@media (prefers-reduced-motion: reduce) {
    .pp-note-bg, .pp-note-box, .pp-note-view, .pp-note-track, .pp-note-dots button { transition: none; }
}
/* the menu's items and the calendar's chips: round as well */
html[data-theme] body.pp .sb-nav .tab { border-radius: 999px; }
.pp .pp-chip { border-radius: 999px; }
/* the sign-in pages: the same pill buttons as the panels */
body.pp-login .btn { border-radius: 999px; }
body.pp-login .btn-primary {
    border: 0; color: #fff;
    background: radial-gradient(120% 120% at 50% -10%, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, 0) 58%), linear-gradient(180deg, #303034 0%, #141416 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 1px 2px rgba(12, 12, 14, .3), 0 6px 14px -8px rgba(12, 12, 14, .55);
}
body.pp-login .btn-primary:hover:not(:disabled) {
    background: radial-gradient(120% 120% at 50% -10%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #3a3a3f 0%, #1b1b1e 100%);
}
body.pp-login .btn-primary:active:not(:disabled) { background: linear-gradient(180deg, #19191c 0%, #26262a 100%); transform: translateY(1px); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .55); }

/* ------------------------------------------------------------------ Google Yorumları: the menu item and its page
   Google's own "G" stands where the other items have a line icon (in the menu, the page's tile, the search). */
html[data-theme] body.pp .sb-nav .sb-ic .pp-g { width: 17px; height: 17px; }
.pp .head-title .tile.pp-head-g { border-color: rgba(17, 17, 26, .1); background: #fff; }
.pp .head-title .tile .pp-g { width: 21px; height: 21px; }
html[data-theme] body.pp .pp-cmdk .cmdk-ic .pp-g { width: 14px; height: 14px; }

/* ------------------------------------------------------------------ messages: attachments
   The paperclip beside the box; files dragged over the chat get a veil saying where to drop them. In the thread a
   picture shows in its own proportions (opens large), another file as its mark, name and size (downloads). A file on
   its way: its picture or mark, a ring filling with what was sent, a stop; a failed one says why, "Tekrar dene". */
.pp .card.pp-chat { position: relative; }
.pp .pp-att-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pp .pp-att-btn {
    display: grid; flex: none; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 999px;
    background: #fff; color: #3f3f46; cursor: var(--cv-cur-hand, pointer);
    box-shadow: inset 0 -1px 0 rgba(17, 17, 26, .16), inset 0 0 0 1px rgba(17, 17, 26, .12), 0 1px 1px rgba(17, 17, 26, .04), 0 2px 6px -3px rgba(17, 17, 26, .14);
    transition: background .15s ease, color .15s ease, transform .12s ease;
}
.pp .pp-att-btn .ic { width: 19px; height: 19px; }
.pp .pp-att-btn:hover { background: #f7f7f8; color: #17171b; }
.pp .pp-att-btn:active { transform: translateY(1px); }
.pp .pp-att-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.pp .pa-compose .pp-att-btn { align-self: flex-end; }
/* the veil over the chat while files are dragged over it */
.pp .pp-drop {
    position: absolute; inset: 8px; z-index: 5; display: grid; align-content: center; justify-items: center; gap: 6px; padding: 20px;
    border: 2px dashed rgba(111, 69, 176, .45); border-radius: 16px; background: rgba(250, 248, 255, .94); color: #3f2a6b; text-align: center;
    opacity: 0; visibility: hidden; transform: scale(.985); transition: opacity .16s ease, transform .16s ease, visibility .16s;
    pointer-events: none;
}
.pp .pp-chat.is-drop .pp-drop { opacity: 1; visibility: visible; transform: none; }
.pp .pp-drop-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 4px; border-radius: 999px; background: #fff; color: #6f45b0; box-shadow: 0 6px 16px -8px rgba(111, 69, 176, .5), inset 0 0 0 1px rgba(111, 69, 176, .18); }
.pp .pp-drop-ic .ic { width: 24px; height: 24px; }
.pp .pp-drop b { font-size: 1rem; }
.pp .pp-drop small { color: #6b5d8c; font-size: .82rem; }
/* a bubble with an attachment: the attachment fills it, the words under it */
.pp .pp-msg.has-att .pp-bubble { min-width: 0; padding: 7px 7px 8px; }
.pp .pp-msg.has-att .pp-msg-who { padding: 0 6px; }
.pp .pp-msg.has-att .pp-bubble > p:not(.pp-msg-who) { padding: 6px 6px 0; }
.pp .pp-att-pic {
    display: block; width: 300px; max-width: 100%; max-height: 340px; margin: 4px 0 0; padding: 0; overflow: hidden; border: 0; border-radius: 10px;
    background: #ececf1; cursor: zoom-in;
}
.pp .pp-att-pic:not([style]) { min-height: 120px; }
.pp .pp-att-pic img { display: block; width: 100%; height: 100%; max-height: 340px; object-fit: cover; }
.pp .pp-att-pic:focus-visible { outline: none; box-shadow: var(--ring); }
.pp .pp-att-file {
    display: flex; align-items: center; gap: 10px; min-width: min(240px, 100%); max-width: 340px; margin: 4px 0 0; padding: 8px 10px 8px 8px;
    border-radius: 12px; background: #f4f4f7; color: var(--text); text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(17, 17, 26, .06); transition: background .15s ease;
}
.pp a.pp-att-file:hover { background: #ececf1; }
.pp .pp-msg.is-mine .pp-att-file { background: rgba(255, 255, 255, .09); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.pp .pp-msg.is-mine a.pp-att-file:hover { background: rgba(255, 255, 255, .14); }
.pp .pp-att-file .pp-ficon { width: 36px; height: 42px; font-size: .6rem; }
.pp .pp-att-t { display: grid; flex: 1; min-width: 0; gap: 1px; }
.pp .pp-att-t b { overflow: hidden; font-size: .86rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pp .pp-att-t small { color: var(--text-3); font-size: .74rem; }
.pp .pp-msg.is-mine .pp-att-t small { color: rgba(255, 255, 255, .62); }
.pp .pp-att-dl { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: #fff; color: #3f3f46; box-shadow: inset 0 0 0 1px rgba(17, 17, 26, .1); }
.pp .pp-msg.is-mine .pp-att-dl { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; }
.pp .pp-att-dl .ic { width: 15px; height: 15px; }
.pp .pp-att-file.is-gone { opacity: .7; }
.pp .pp-ficon.is-vid { background: #fde9f1; color: #a3245e; }
.pp .pp-ficon.is-aud { background: #e6f6f7; color: #0f6e76; }
.pp .pp-ficon.is-zip { background: #f5f0e4; color: #7a5b12; }
.pp .pp-ficon .ic { width: 18px; height: 18px; }
/* a file on its way */
.pp .pp-att-pending { display: flex; align-items: center; gap: 10px; min-width: min(280px, 100%); padding: 8px 8px 8px 8px !important; }
.pp .pp-att-thumb { flex: none; width: 46px; height: 46px; overflow: hidden; border-radius: 9px; background: rgba(255, 255, 255, .1); }
.pp .pp-att-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.pp .pp-att-pending .pp-ficon { width: 36px; height: 42px; font-size: .6rem; }
.pp .pp-att-pending .pp-att-t small { color: rgba(255, 255, 255, .66); }
.pp .pp-att-ring {
    --p: 0; flex: none; width: 26px; height: 26px; border-radius: 999px;
    background: conic-gradient(#fff calc(var(--p) * 1%), rgba(255, 255, 255, .2) 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
}
.pp .pp-att-x, .pp .pp-att-act {
    display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 5px; height: 28px; padding: 0 9px; border: 0; border-radius: 999px;
    background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: .78rem; font-weight: 600; cursor: var(--cv-cur-hand, pointer);
}
.pp .pp-att-x { width: 28px; padding: 0; }
.pp .pp-att-x .ic, .pp .pp-att-act .ic { width: 14px; height: 14px; }
.pp .pp-att-x:hover, .pp .pp-att-act:hover { background: rgba(255, 255, 255, .2); }
.pp .pp-att-up.is-error .pp-bubble { border: 1px solid #f1c9c9; background: #fff; color: var(--text); }
.pp .pp-att-up.is-error .pp-att-t small { color: #b42323; }
.pp .pp-att-err { display: inline-flex; align-items: center; gap: 4px; white-space: normal; }
.pp .pp-att-err .ic { width: 13px; height: 13px; flex: none; }
.pp .pp-att-up.is-error :is(.pp-att-x, .pp-att-act) { background: #f4f4f7; color: #27272a; }
.pp .pp-att-up.is-error :is(.pp-att-x, .pp-att-act):hover { background: #ececf1; }
.pp .pp-att-up.is-error .pp-att-thumb { background: #f4f4f7; }
/* the support panel's log: a little smaller */
.pp .hw-bubble.has-att .pp-att-pic { width: 220px; max-height: 240px; }
.pp .hw-bubble.has-att .pp-att-pic img { max-height: 240px; }
.pp .hw-bubble.has-att .pp-att-file { min-width: 0; }
@media (max-width: 760px) {
    .pp .pp-att-btn { width: 40px; height: 40px; }
    .pp .pp-att-pic { width: 240px; }
}
/* a picture large (P.lightbox) */
.pp-lb {
    position: fixed; inset: 0; z-index: 3100; display: grid; grid-template-rows: auto minmax(0, 1fr);
    background: rgba(10, 10, 12, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    opacity: 0; transition: opacity .18s ease;
}
.pp-lb.is-in { opacity: 1; }
.pp-lb-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px 12px 20px; color: #fff; }
.pp-lb-bar b { flex: 1; min-width: 0; overflow: hidden; font-size: .92rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pp-lb-btn, a.pp-lb-btn, a.pp-lb-btn:hover {
    display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1);
    color: #fff; cursor: var(--cv-cur-hand, pointer); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.pp-lb-btn:hover { background: rgba(255, 255, 255, .18); }
html[data-theme] body .pp-lb a.pp-lb-btn, html[data-theme] body .pp-lb a.pp-lb-btn:hover { color: #fff; }
.pp-lb-btn:focus-visible { outline: 2px solid #c4b1f5; outline-offset: 2px; }
.pp-lb-btn .ic { width: 18px; height: 18px; }
.pp-lb-stage { display: grid; place-items: center; min-height: 0; padding: 4px 20px 24px; cursor: zoom-out; }
.pp-lb-stage img { width: auto; height: auto; max-width: calc(100vw - 40px); max-height: calc(100dvh - 96px); object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); cursor: default; transform: scale(.97); transition: transform .2s ease; }
.pp-lb.is-in .pp-lb-stage img { transform: none; }
@media (prefers-reduced-motion: reduce) { .pp-lb, .pp-lb-stage img, .pp .pp-drop { transition: none; } }
/* on a phone the support button would sit on the chat's send button; on Mesajlar (the same chat) it steps aside */
@media (max-width: 1023.98px) { body.pp.pp-on-messages .pp-help-fab { display: none; } }
