/* ============================================================
   MÜŞTERİ PORTALI
   ------------------------------------------------------------
   `app.css` üzerine biner (değişkenler, .card, .btn, .cf-* oradan gelir).
   Buradaki her sınıf `pt-` önekli: portal ile personel paneli aynı CSS
   dosyasını paylaşmadığı için ad çakışması riski yok, ama önek arayan
   birinin "bu stil nereye ait" sorusunu bir bakışta cevaplıyor.

   Personel paneli yoğun bilgi ekranıdır; portal değil. Buradaki ölçüler
   daha ferah, kontrastlar daha yumuşak: müşteri günde 8 saat bu ekrana
   bakmıyor, ayda birkaç kez giriyor ve aradığını hemen bulmalı.
   ============================================================ */

.pt-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

/* ---------------------------------------------------------- ÜST ÇUBUK */
.pt-top {
  position: sticky; top: 0; z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15,23,42,.05);
}
.pt-top-in {
  max-width: 1180px; margin: 0 auto; padding: .55rem 1.1rem;
  display: flex; align-items: center; gap: 1.1rem;
}

.pt-brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; flex-shrink: 0; }
.pt-brand img { height: 34px; width: auto; max-width: 140px; object-fit: contain; }
.pt-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--primary-light); color: var(--primary);
}
.pt-brand-t { display: flex; flex-direction: column; line-height: 1.15; }
.pt-brand-t b { font-size: .88rem; font-weight: 700; }
.pt-brand-t em { font-style: normal; font-size: .66rem; color: var(--muted); }

.pt-nav { display: flex; gap: .15rem; flex: 1 1 auto; }
.pt-nav-a {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .48rem .7rem; border-radius: 9px;
  font-size: .82rem; font-weight: 600; color: var(--muted); text-decoration: none;
  white-space: nowrap;
}
.pt-nav-a:hover { background: var(--surface-2); color: var(--text); }
.pt-nav-a.on { background: var(--primary-light); color: var(--primary); }

.pt-top-r { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.pt-theme { width: 34px; height: 34px; }

.pt-user { position: relative; }
.pt-user-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .3rem .5rem .3rem .3rem; border: 1px solid var(--border); border-radius: 999px;
  background: var(--card); cursor: pointer; font: inherit; color: inherit;
}
.pt-user-btn:hover { border-color: var(--primary); }
.pt-user-n { font-size: .8rem; font-weight: 600; max-width: 140px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.pt-av {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: .78rem; font-weight: 700; flex-shrink: 0;
}
.pt-av-lg { width: 44px; height: 44px; font-size: 1rem; }

.pt-user-menu {
  position: absolute; top: calc(100% + .45rem); right: 0; z-index: 60; min-width: 180px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 16px 38px rgba(15,23,42,.18); overflow: hidden; padding: .25rem;
}
.pt-user-menu[hidden] { display: none; }
.pt-user-menu a {
  display: flex; align-items: center; gap: .45rem; padding: .5rem .6rem;
  border-radius: 8px; font-size: .82rem; color: inherit; text-decoration: none;
}
.pt-user-menu a:hover { background: var(--primary-light); color: var(--primary); }

.pt-burger { display: none; border: 0; background: transparent; cursor: pointer; color: var(--muted); }

/* ------------------------------------------------------------- GÖVDE */
.pt-main { flex: 1 1 auto; width: 100%; max-width: 1180px; margin: 0 auto; padding: 1.3rem 1.1rem 2.4rem; }

.pt-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.pt-hero h1 { font-size: 1.5rem; font-weight: 700; margin: 0 0 .2rem; }
.pt-hero p { margin: 0; font-size: .87rem; color: var(--muted); }
.pt-hero-act { display: flex; gap: .45rem; flex-wrap: wrap; }

.pt-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.pt-head h1 { display: flex; align-items: center; gap: .45rem; font-size: 1.3rem; font-weight: 700; margin: 0; }
.pt-sub { margin: .2rem 0 0; font-size: .8rem; color: var(--muted); }
.pt-back {
  display: inline-flex; align-items: center; gap: .2rem; margin-bottom: .3rem;
  font-size: .76rem; color: var(--muted); text-decoration: none;
}
.pt-back:hover { color: var(--primary); }

/* --------------------------------------------------------------- KPI */
.pt-kpis {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .7rem; margin-bottom: 1.1rem;
}
.pt-kpi {
  position: relative; display: block; padding: .95rem 1rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  text-decoration: none; color: inherit; transition: transform .13s, border-color .13s;
}
.pt-kpi:hover { transform: translateY(-2px); border-color: var(--primary); }
.pt-kpi.is-warn { border-color: rgba(217,119,6,.4); }
.pt-kpi-i {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; margin-bottom: .5rem;
}
.pt-kpi b { display: block; font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.pt-kpi em { display: block; font-style: normal; font-size: .8rem; font-weight: 600; margin-top: .1rem; }
.pt-kpi small { display: block; font-size: .7rem; color: var(--muted); margin-top: .15rem; }

.pt-i-blue   { background: rgba(37,99,235,.11);  color: #2563eb; }
.pt-i-amber  { background: rgba(217,119,6,.13);  color: #d97706; }
.pt-i-violet { background: rgba(124,58,237,.12); color: #7c3aed; }
.pt-i-red    { background: rgba(220,38,38,.11);  color: #dc2626; }
.pt-i-cyan   { background: rgba(8,145,178,.12);  color: #0891b2; }

/* -------------------------------------------------------------- IZGARA */
.pt-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.pt-col { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }

.pt-card { padding: 0; overflow: hidden; }
.pt-card-h {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .8rem 1rem; border-bottom: 1px solid var(--border);
}
.pt-card-h h2 { display: flex; align-items: center; gap: .4rem; font-size: .92rem; font-weight: 700; margin: 0; }
.pt-card-h a { display: inline-flex; align-items: center; gap: .15rem; font-size: .76rem;
  font-weight: 600; color: var(--primary); text-decoration: none; }
.pt-card > form, .pt-card > .pt-quick, .pt-card > dl, .pt-card > p,
.pt-card > .pt-note, .pt-card > .btn, .pt-card > ul.pt-sess { margin: 0; }
.pt-form { padding: 0 0 .2rem; }
.pt-form form { padding: 1rem; }
.pt-p { padding: 0 1rem; font-size: .82rem; color: var(--muted); }
.pt-w { display: flex; justify-content: center; margin: .7rem 1rem 1rem; }

/* --------------------------------------------------------------- LİSTE */
.pt-list { list-style: none; margin: 0; padding: 0; }
.pt-list-i { border-bottom: 1px solid var(--border); position: relative; }
.pt-list-i:last-child { border-bottom: 0; }
.pt-list-i > a { display: flex; align-items: center; justify-content: space-between; gap: .7rem;
  padding: .7rem 1rem; text-decoration: none; color: inherit; }
.pt-list-i > a:hover { background: var(--surface-2); }
.pt-li-m { display: flex; flex-direction: column; min-width: 0; }
.pt-li-m b { font-size: .85rem; font-weight: 600; }
.pt-li-m em { font-style: normal; font-size: .73rem; color: var(--muted); }
.pt-li-r { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.pt-li-r b { font-size: .85rem; font-weight: 700; }
.pt-li-r em { font-style: normal; font-size: .7rem; color: var(--muted); }
.pt-list-i.is-red   .pt-li-r b { color: var(--danger); }
.pt-list-i.is-amber .pt-li-r b { color: var(--warn); }
.pt-li-cta {
  display: inline-flex; align-items: center; gap: .25rem;
  margin: 0 1rem .7rem; font-size: .72rem; font-weight: 600;
  color: var(--primary); text-decoration: none;
}
.pt-li-cta:hover { text-decoration: underline; }

/* Satır kartları (talep / hasar / randevu / bilet listeleri) */
.pt-rows { display: flex; flex-direction: column; gap: .55rem; }
.pt-row {
  display: flex; align-items: flex-start; gap: .75rem; padding: .85rem 1rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 13px;
  text-decoration: none; color: inherit; transition: border-color .13s, transform .13s;
}
a.pt-row:hover { border-color: var(--primary); transform: translateY(-1px); }
.pt-row.is-past { opacity: .62; }
.pt-row-i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; }
.pt-row-m { display: flex; flex-direction: column; gap: .12rem; min-width: 0; flex: 1 1 auto; }
.pt-row-m b { font-size: .87rem; font-weight: 600; }
.pt-row-m em { font-style: normal; font-size: .74rem; color: var(--muted); }
.pt-hint { font-style: normal; font-size: .73rem; color: var(--primary); font-weight: 600; }
.pt-row-r { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.pt-row-r form { margin: 0; }
.pt-amt { font-style: normal; font-size: .74rem; color: var(--muted); }
.pt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }

/* --------------------------------------------------------- POLİÇE KARTI */
.pt-pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .8rem; }
.pt-pcard {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; border-left: 4px solid var(--success);
}
.pt-pcard.is-amber  { border-left-color: var(--warn); }
.pt-pcard.is-red    { border-left-color: var(--danger); }
.pt-pcard.is-past,
.pt-pcard.is-cancel { border-left-color: var(--muted); opacity: .78; }
.pt-pcard > header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem;
  padding: .85rem 1rem .6rem;
}
.pt-pcard > header b { display: block; font-size: .95rem; font-weight: 700; }
.pt-pcard > header em { font-style: normal; font-size: .75rem; color: var(--muted); }
.pt-pmeta { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .8rem; margin: 0; padding: 0 1rem .6rem; }
.pt-pmeta div { min-width: 0; }
.pt-pmeta dt { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.pt-pmeta dd { margin: 0; font-size: .82rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.pt-pwarn {
  display: flex; align-items: center; gap: .35rem; margin: 0 1rem .6rem;
  padding: .4rem .6rem; border-radius: 9px;
  background: rgba(217,119,6,.1); color: var(--warn); font-size: .76rem;
}
.pt-pcard > footer {
  display: flex; gap: .35rem; flex-wrap: wrap; margin-top: auto;
  padding: .6rem 1rem .85rem; border-top: 1px solid var(--border);
}
.pt-badge {
  padding: 0 .3rem; margin-left: .25rem; border-radius: 999px;
  background: var(--surface-2); font-size: .66rem; font-weight: 700; color: var(--muted);
}

/* ---------------------------------------------------------------- ROZET */
.pt-pill {
  display: inline-flex; align-items: center; padding: .18rem .5rem; border-radius: 999px;
  background: var(--surface-2); color: var(--muted);
  font-size: .7rem; font-weight: 700; white-space: nowrap;
}
.pt-pill.is-ok, .pt-pill.is-ok   { background: rgba(22,163,74,.13); color: var(--success); }
.pt-pill.is-warn { background: rgba(217,119,6,.14); color: var(--warn); }
.pt-pill.is-info { background: var(--primary-light); color: var(--primary); }
.pt-pill.is-cancel { background: rgba(220,38,38,.12); color: var(--danger); }
.pt-pill.is-past, .pt-pill.is-off { background: var(--surface-2); color: var(--muted); }

/* ------------------------------------------------------------ TANIM LİSTESİ */
.pt-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .55rem 1rem; margin: 0; padding: 1rem; }
.pt-dl div { min-width: 0; }
.pt-dl dt { font-size: .69rem; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.pt-dl dd { margin: .1rem 0 0; font-size: .86rem; word-break: break-word; }

.pt-quote { margin: 0 1rem 1rem; padding: .65rem .8rem; border-left: 3px solid var(--border);
  background: var(--surface-2); border-radius: 0 10px 10px 0; }
.pt-quote span { display: block; font-size: .68rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .03em; margin-bottom: .2rem; }
.pt-quote p { margin: 0; font-size: .83rem; line-height: 1.5; }
.pt-quote-staff { border-left-color: var(--primary); }

/* --------------------------------------------------------------- NOTLAR */
.pt-note {
  display: flex; align-items: flex-start; gap: .55rem; margin: 0 1rem 1rem;
  padding: .7rem .85rem; border-radius: 11px;
  background: var(--primary-light); color: var(--text);
}
.pt-note b { display: block; font-size: .84rem; }
.pt-note p { margin: .15rem 0 0; font-size: .79rem; color: var(--muted); line-height: 1.5; }
.pt-note .btn { margin-top: .5rem; }
.pt-note-warn { background: rgba(217,119,6,.11); }
.pt-note-ok   { background: rgba(22,163,74,.11); }
.pt-note-soft { background: var(--surface-2); }
.pt-note-mini { display: flex; align-items: center; gap: .3rem; margin: 0; padding: 0 1rem 1rem;
  font-size: .71rem; color: var(--muted); }

/* ---------------------------------------------------------------- BOŞLUK */
.pt-empty { display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: 2rem 1.2rem; text-align: center; color: var(--muted); }
.pt-empty svg { opacity: .4; }
.pt-empty p { margin: .4rem 0 0; font-size: .9rem; font-weight: 600; color: var(--text); }
.pt-empty small { font-size: .77rem; max-width: 420px; }
.pt-empty .btn { margin-top: .7rem; }
.pt-empty-ok svg { color: var(--success); opacity: .55; }

/* ----------------------------------------------------------------- AKIŞ */
.pt-feed { list-style: none; margin: 0; padding: .3rem 0; }
.pt-feed li { display: flex; align-items: center; gap: .6rem; padding: .5rem 1rem; }
.pt-feed li:hover { background: var(--surface-2); }
.pt-feed-i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; }
.pt-feed a { flex: 1 1 auto; min-width: 0; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.pt-feed a b { font-size: .82rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-feed a em { font-style: normal; font-size: .72rem; color: var(--muted); }
.pt-feed time { font-size: .7rem; color: var(--muted); flex-shrink: 0; }

/* -------------------------------------------------------------- TEMSİLCİ */
.pt-rep-b { display: flex; align-items: center; gap: .7rem; padding: 1rem 1rem .6rem; }
.pt-rep-b b { display: block; font-size: .9rem; font-weight: 700; }
.pt-rep-b em { font-style: normal; font-size: .75rem; color: var(--muted); }
.pt-rep-c { display: flex; flex-direction: column; gap: .3rem; padding: 0 1rem; }
.pt-rep-c a { display: flex; align-items: center; gap: .4rem; font-size: .82rem;
  color: var(--text); text-decoration: none; }
.pt-rep-c a:hover { color: var(--primary); }

/* ------------------------------------------------------------ HIZLI İŞLEM */
.pt-quick { display: flex; flex-direction: column; padding: .3rem; }
.pt-quick a {
  display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto;
  column-gap: .55rem; align-items: center;
  padding: .55rem .6rem; border-radius: 10px; text-decoration: none; color: inherit;
}
.pt-quick a:hover { background: var(--surface-2); }
.pt-quick a > span { grid-row: 1 / 3; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px; }
.pt-quick a b { font-size: .83rem; font-weight: 600; }
.pt-quick a em { font-style: normal; font-size: .71rem; color: var(--muted); }

.pt-mini { display: flex; flex-direction: column; }
.pt-mini a { display: flex; align-items: center; gap: .4rem; padding: .6rem 1rem;
  font-size: .8rem; color: inherit; text-decoration: none; border-bottom: 1px solid var(--border); }
.pt-mini a:last-child { border-bottom: 0; }
.pt-mini a:hover { background: var(--surface-2); color: var(--primary); }

/* -------------------------------------------------------------- SEKMELER */
.pt-tabs { display: flex; gap: .3rem; margin-bottom: .9rem; flex-wrap: wrap; }
.pt-tab {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .42rem .8rem; border: 1px solid var(--border); border-radius: 999px;
  background: var(--card); font-size: .8rem; font-weight: 600;
  color: var(--muted); text-decoration: none;
}
.pt-tab:hover { border-color: var(--primary); color: var(--primary); }
.pt-tab.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pt-tab span { padding: 0 .32rem; border-radius: 999px; background: rgba(0,0,0,.08); font-size: .68rem; }
.pt-tab.on span { background: rgba(255,255,255,.22); }

/* ---------------------------------------------------------------- DOSYA */
.pt-files { list-style: none; margin: 0; padding: .3rem; }
.pt-files li { border-bottom: 1px solid var(--border); }
.pt-files li:last-child { border-bottom: 0; }
.pt-files a, .pt-files li > span:first-child { }
.pt-files li > a {
  display: flex; align-items: center; gap: .55rem; padding: .55rem .6rem;
  border-radius: 9px; text-decoration: none; color: inherit;
}
.pt-files li > a:hover { background: var(--surface-2); color: var(--primary); }
.pt-files li { display: block; }
.pt-files li > span.pt-file-i,
.pt-file-i { display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 8px; background: var(--surface-2); color: var(--muted); flex-shrink: 0; }
.pt-file-t { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.pt-file-t b { font-size: .8rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-file-t em { font-style: normal; font-size: .7rem; color: var(--muted); }
.pt-files li:not(:has(a)) { display: flex; align-items: center; gap: .55rem; padding: .55rem .6rem; }

/* --------------------------------------------------------------- ZAMAN */
.pt-time { list-style: none; margin: 0; padding: 1rem 1rem 1rem 1.3rem; position: relative; }
.pt-time::before { content: ''; position: absolute; left: 1.55rem; top: 1.2rem; bottom: 1.2rem;
  width: 2px; background: var(--border); }
.pt-time li { position: relative; padding: 0 0 .9rem 1.3rem; }
.pt-time li:last-child { padding-bottom: 0; }
.pt-time-d { position: absolute; left: -.2rem; top: .25rem; width: 10px; height: 10px;
  border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px var(--card); }
.pt-time b { font-size: .84rem; font-weight: 600; }
.pt-time p { margin: .1rem 0 0; font-size: .78rem; color: var(--muted); }
.pt-time time { font-size: .7rem; color: var(--muted); }

/* -------------------------------------------------------------- YAZIŞMA */
.pt-thread { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.pt-bub { background: var(--card); border: 1px solid var(--border); border-radius: 13px; padding: .8rem .95rem; }
.pt-bub.is-mine { margin-left: 2rem; background: var(--primary-light); border-color: var(--primary); }
.pt-bub header { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .35rem; }
.pt-bub header b { font-size: .82rem; font-weight: 700; }
.pt-bub header time { font-size: .7rem; color: var(--muted); }
.pt-bub-t { font-size: .85rem; line-height: 1.55; word-break: break-word; }
.pt-close { display: flex; justify-content: center; margin-top: .8rem; }

/* ------------------------------------------------------------- RANDEVU */
.pt-slots { display: flex; flex-wrap: wrap; gap: .35rem; padding: .55rem; min-height: 54px;
  border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); }
.pt-slots-msg { margin: auto; font-size: .8rem; color: var(--muted); }
.pt-slot {
  padding: .38rem .62rem; border: 1px solid var(--border); border-radius: 8px;
  background: var(--card); font-size: .8rem; font-weight: 600; cursor: pointer;
  color: var(--text); font-family: inherit;
}
.pt-slot:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.pt-slot.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pt-slot:disabled { opacity: .38; cursor: not-allowed; text-decoration: line-through; }

/* -------------------------------------------------------------- OTURUM */
.pt-sess { list-style: none; margin: 0; padding: .3rem; }
.pt-sess li { display: flex; flex-direction: column; padding: .5rem .6rem; border-radius: 9px; position: relative; }
.pt-sess li:hover { background: var(--surface-2); }
.pt-sess li b { font-size: .81rem; font-weight: 600; }
.pt-sess li em { font-style: normal; font-size: .71rem; color: var(--muted); }
.pt-sess li span { position: absolute; right: .6rem; top: .55rem;
  padding: .05rem .35rem; border-radius: 999px;
  background: rgba(22,163,74,.14); color: var(--success); font-size: .64rem; font-weight: 700; }

/* ---------------------------------------------------------------- ALT */
.pt-foot {
  border-top: 1px solid var(--border); background: var(--card);
  padding: .8rem 1.1rem; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
  font-size: .74rem; color: var(--muted);
}
.pt-foot-sec { display: inline-flex; align-items: center; gap: .25rem; }

/* -------------------------------------------------------- GİRİŞ EKRANI */
.pt-lgn .lgn-help-2 { margin-top: .3rem; opacity: .85; }
.pt-lgn .lgn-alert.is-ok {
  background: rgba(22,163,74,.11); border-color: rgba(22,163,74,.3); color: var(--success);
}

/* ------------------------------------------------------------- DAR EKRAN */
@media (max-width: 940px) {
  .pt-grid { grid-template-columns: 1fr; }
  .pt-col-side { order: -1; }
}
@media (max-width: 780px) {
  .pt-burger { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; }
  .pt-burger:hover { background: var(--surface-2); }
  .pt-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 55;
    flex-direction: column; gap: 0; padding: .4rem;
    background: var(--card); border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(15,23,42,.14);
  }
  .pt-nav:not(.is-open) { display: none; }
  .pt-nav-a { padding: .65rem .8rem; border-radius: 9px; }
  .pt-user-n { display: none; }
  .pt-top-in { position: relative; }
  .pt-pmeta { grid-template-columns: 1fr; }
  .pt-bub.is-mine { margin-left: .7rem; }
}

/* ---------------------------------------------------------- KOYU TEMA */
html[data-theme="dark"] .pt-top { box-shadow: 0 1px 3px rgba(0,0,0,.4); }
html[data-theme="dark"] .pt-user-menu { box-shadow: 0 16px 38px rgba(0,0,0,.55); }
html[data-theme="dark"] .pt-i-blue   { background: rgba(56,189,248,.16);  color: #7dd3fc; }
html[data-theme="dark"] .pt-i-amber  { background: rgba(251,191,36,.16);  color: #fcd34d; }
html[data-theme="dark"] .pt-i-violet { background: rgba(167,139,250,.18); color: #c4b5fd; }
html[data-theme="dark"] .pt-i-red    { background: rgba(248,113,113,.16); color: #fca5a5; }
html[data-theme="dark"] .pt-i-cyan   { background: rgba(34,211,238,.16);  color: #67e8f9; }
html[data-theme="dark"] .pt-bub.is-mine { background: rgba(16,185,129,.10); }
html[data-theme="dark"] .pt-tab span { background: rgba(255,255,255,.1); }
