/* =========================================================
   merged-dedup.css
   Bezpiecznie odchudzona wersja merged.css

   Usunięte:
   - 85 zduplikowanych reguł 1:1
   - 0 zduplikowanych deklaracji wewnątrz reguł
   Oszczędność: 10233 B (6.33%)

   Strategia:
   - usuwanie tylko kolejnych powtórek tego samego selektora
     z identycznym zestawem deklaracji
   - bez ingerencji w reguły, które później zmieniają zachowanie
   ========================================================= */

/* =========================================================
   merged.css
   Połączone pliki CSS w kolejności: base -> widoki -> responsive

   Kolejność plików:
   01. style.css
   02. desktop.css
   03. account.css
   04. myaccount.css
   05. settings.css
   06. contact.css
   07. links.css
   08. messages.css
   09. photo.css
   10. add_photo.css
   11. profil.css
   12. portfolios.css
   13. subscriptions.css
   14. ghost.css
   15. responsive.css
   ========================================================= */



:root {
  /* Typography */
  --brand-font: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Brand / light */
  --brand-accent: #ff9f2d;
  --brand-accent-hover: #f08d18;
  --brand-accent-soft: #f1f3f5;

  --brand-link: #0f766e;
  --brand-link-hover: #0b5f59;
  --brand-link-active: #f08d18;

  /* Neutral greys — no beige/brown */
  --brand-bg: #f5f6f7;
  --brand-surface: #ffffff;
  --brand-surface-2: #ffffff;
  --brand-surface-3: #eceff3;
  --brand-text: #171717;
  --brand-muted: #5f6368;
  --brand-line: #dfe3e8;

  /* Support colors */
  --brand-teal: #0f766e;
  --brand-blue: #345995;
  --brand-plum: #7a3f64;

  /* Logo */
  --logo-mark: #ff9f2d;
  --logo-text: #171717;
  --logo-detail: #0f766e;

  /* States */
  --state-success: #16a34a;
  --state-info: #345995;
  --state-warning: #d97706;
  --state-error: #dc2626;

  /* Existing WO tokens — corrected */
  --wo-shadow: none;
  --wo-radius: 6px;
  --wo-header-h: 66px;
  --wo-sticky-top: 16px;

  --wo-gap-x: 14px;     /* odstęp między kolumnami */
  --wo-gap-y: 18px;     /* odstęp pionowy */
  --wo-card-r: 6px;
  --wo-fill-op: .22;
  --wo-border-radius: 5px;
  --wo-card-radius: 12px;

  /* Global bars / toasts */
  --glo-bar-height: 56px;
  --glo-bg-success: #16a34a;
  --glo-bg-error:   #e11d48;
  --glo-bg-info:    #4f46e5;
  --glo-text:       #fff;
  --glo-text-dim:   rgba(255,255,255,.86);

  /* Kolory typów */
  --wo-good: #22c55e;
  --wo-bad:  #ef4444;
  --wo-warn: #f59e0b;
  --wo-info: #3b82f6;

  /* Scrollbars */
  --wo-scroll-track: #f5f6f7;
  --wo-scroll-thumb: color-mix(in srgb, var(--brand-muted) 55%, var(--brand-bg));
  --wo-scroll-thumb-hover: color-mix(in srgb, var(--brand-muted) 75%, var(--brand-bg));

  /* h1, h2, ... sizes */
  --h1-font-size: clamp(22px, 3vw, 34px);
  --h2-font-size: clamp(18px, 2vw, 22px);
  --h3-font-size: clamp(22px, 3vw, 34px);
}

[data-theme="dark"] {
  /* Brand / dark */
  --brand-accent: #ffad4d;
  --brand-accent-hover: #ffc078;
  --brand-accent-soft: #1f232b;

  --brand-link: #2dd4bf;
  --brand-link-hover: #5eead4;
  --brand-link-active: #ffc078;

  /* Neutral graphite — no brown */
  --brand-bg: #0f1115;
  --brand-surface: #15171c;
  --brand-surface-2: #1b1e24;
  --brand-surface-3: #23262d;
  --brand-line: #2f333d;
  --brand-text: #f4f6f8;
  --brand-muted: #9aa3af;

  /* Support colors */
  --brand-teal: #2dd4bf;
  --brand-blue: #8fb3d9;
  --brand-plum: #d8a3c7;

  /* Logo */
  --logo-mark: #ffad4d;
  --logo-text: #f4f4f5;
  --logo-detail: #2dd4bf;

  /* States */
  --state-success: #4ade80;
  --state-info: #8fb3d9;
  --state-warning: #fbbf24;
  --state-error: #fb7185;

  /* Existing WO tokens — corrected */
  --wo-shadow: none;
  --wo-radius: 6px;
  --wo-card-r: 6px;

  /* Scrollbars */
  --wo-scroll-track: var(--brand-bg);
  --wo-scroll-thumb: color-mix(in srgb, var(--brand-muted) 70%, var(--brand-bg));
  --wo-scroll-thumb-hover: color-mix(in srgb, var(--brand-muted) 85%, var(--brand-bg));
}

html[data-theme="dark"] .wo-card{ box-shadow: 0 18px 50px rgba(0,0,0,.22); }


*{box-sizing:border-box;}
html { color-scheme: light; }


html,body{height:100%;}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--brand-text);
}

/* ==== GENERAL ==== */
.hand { cursor: pointer ;}
.clear { clear:both ;}
.clicked { color: var(--brand-accent) !important;}
.new {border-color: var(--brand-accent) !important; color: var(--brand-accent); }
.promoted {border-color: var(--brand-accent) !important; color: var(--brand-accent); }

.wo-button{
  padding:0 10px;height:40px;border-radius:5px;
  background: var(--brand-line); 

  display:grid;place-items:center;color:var(--brand-muted) !important;
  font-weight:600;cursor:pointer;user-select:none;
}
.wo-button:hover{background:var(--brand-surface);color:var(--brand-text);}


.wo-mobile {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {
  .wo-mobile {
    display: inline-flex;
  }
  .wo-mobile-big-logo{
    display: none;
  }
}

a {color: var(--brand-text); text-decoration: none !important; transition: color 0.25s ease, opacity 0.25s ease;}
a:hover {color: var(--brand-accent); opacity: 0.85;}

a.wo-black {color: var(--brand-bg); text-decoration: none !important;}
a.wo-black:hover {color: var(--brand-accent); }

.wo-input-row{ display:flex; gap:8px; align-items:center; }
.wo-clear-input{ background:none; border:0; cursor:pointer; opacity:.6; }
.wo-clear-input:hover{ opacity:1; }

.wo-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius: var(--wo-border-radius);
  background: var(--brand-surface);
  color: var(--brand-muted);
  font-size: 11px;
  user-select:none;
  white-space:nowrap;
}
.wo-pill i {
  font-size:11px;
  color: var(--brand-text);
}

/* H1, H2, H3 */
h1 {
  margin: 0 0 6px;
  font-size: var(--h1-font-size);
  font-weight: 900;
  letter-spacing: .2px;
  line-height: 1.2;

}

h2{
  margin:0;
  font-size: var(--h2-font-size);
  font-weight: 900;
  letter-spacing:.2px;
}

hr{
  border: 1px solid var(--brand-surface-3);
  opacity: 0.8;
}

.wo-board{
  width: calc(100vw - (100vw - 100%)); 
  height:100vh;
  background: var(--brand-text);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.wo-icon-stack{
  position: relative;
  display: inline-block;
  line-height: 1;
  color: var(--brand-accent);
}

.wo-icon-stack > .fa-certificate{
  font-size: 1.4em;
}

.wo-icon-overlay{
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%) rotate(-10deg);
  font-size: .65em;
  opacity: .95;
  pointer-events: none;
  color: #FFFFFF;
}

/* ===== HEADER ===== */
.wo-header{
  height: var(--wo-header-h);
  background: var(--brand-bg);
  flex: 0 0 auto;
}
.wo-header-container{
  height:100%;
  padding: 0 18px;
  display:grid;
  grid-template-columns: 260px 1fr 260px;
  align-items:center;
  gap: 14px;
}
.wo-header-left{display:flex;align-items:center;gap:12px;min-width:0;}
.wo-header-logo{
  align-items:center;gap:10px;height:42px;padding:8px 10px;
  border-radius:12px;text-decoration:none;color:var(--brand-text);
}
.wo-header-logo:hover{background:color-mix(in srgb, var(--brand-surface) 70%, transparent);}
.wo-header-logo img{height:22px;width:auto;object-fit:contain;filter:drop-shadow(0 10px 20px rgba(16,24,40,.10));}
html[data-theme="dark"] .wo-header-logo img{filter:drop-shadow(0 14px 26px rgba(0,0,0,.45));}
.wo-header-logo-text{display:flex;flex-direction:column;line-height:1.05;min-width:0;}
.wo-header-logo-title{font-weight:900;font-size:12px;letter-spacing:.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px;}
.wo-header-logo-sub{font-size:10px;color:var(--brand-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px;margin-top:2px;}

.wo-header-center{display:flex;align-items:center;justify-content:center;min-width:0;}
.wo-header-search{flex:1 1 auto;max-width:620px;position:relative;margin:0 auto;}
.wo-header-search i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--brand-text);font-size:13px;}
.wo-header-search input{
  width:100%;height:40px;border-radius: var(--wo-border-radius);border:0;
  background:color-mix(in srgb, var(--brand-surface) 70%, var(--brand-bg));
  padding:0 14px 0 38px;outline:none;font-size:12px;color:var(--brand-text);
}
.wo-header-search input::placeholder{color:var(--brand-muted);}

.wo-header-right{display:flex;align-items:center;justify-content:flex-end;gap:12px;}
.wo-header-iconbtn,.wo-theme-btn{
  width:36px;height:36px;border-radius:999px;display:grid;place-items:center;
  border:0px solid transparent;background:transparent;cursor:pointer;color:var(--brand-text);position:relative;
}
.wo-header-iconbtn:hover,.wo-theme-btn:hover{background:var(--brand-surface);border-color:var(--brand-line);color:var(--brand-text);}
.wo-header-dot{
  position:absolute;right:10px;top:10px;width:8px;height:8px;border-radius:999px;
  background: var(--brand-accent);
  border: 2px solid var(--brand-accent-hover);
}

/* ===== HEADER AVATAR ===== */
.wo-header-avatar{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--brand-line);
  background: var(--brand-surface);
  overflow: hidden;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.wo-header-avatar:hover{
  background: var(--brand-surface);
  border-color: color-mix(in srgb, var(--brand-line) 60%, var(--brand-accent));
}

.wo-header-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* opcjonalnie: mała kropka statusu */
.wo-header-avatar .wo-status-dot{
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--wo-good);
  border: 2px solid var(--brand-bg);
  right: -1px;
  bottom: -1px;
}
.wo-header-avatar-wrap{
  position: relative;
  width: 34px;
  height: 34px;
}

/* ===== TOASTS W HEADERZE ===== */
.wo-header-right{ position: relative; } /* kotwica dla absolutnych toastów */

.wo-header-toasts{
  position: absolute;
  right: 0;
  top: calc(100% + 10px); /* pod headerem */
  display: grid;
  gap: 10px;
  z-index: 999;
  width: min(380px, calc(100vw - 36px));
  pointer-events: none; /* klik działa tylko na samych toastach */
}

/* łatwa skala całego toastu */
:root{
  --wo-toast-scale: 1;               /* 1 = jak ustawisz niżej, 1.1 / 1.2 = większy */
  --wo-toast-min-w: 320px;
  --wo-toast-max-w: 520px;
  --wo-toast-stripe-w: 8px;
}

.wo-toast{
  pointer-events: auto;
  border-radius: var(--wo-border-radius);
  border: 1px solid var(--brand-line);
  background: var(--brand-bg);

  display: grid;
  grid-template-columns: var(--wo-toast-stripe-w) 1fr auto;
  overflow: hidden;

  /* większe „ciało” */
  min-width: min(var(--wo-toast-min-w), 92vw);
  max-width: min(var(--wo-toast-max-w), 92vw);

  /* jeśli toast jest w miejscu gdzie font bywa mały, to to go ratuje */
  font-size: calc(14px * var(--wo-toast-scale));

  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}

.wo-toast.wo-show{
  opacity: 1;
  transform: translateY(0);
}

.wo-toast-stripe{ background: var(--wo-info); }
.wo-toast--success .wo-toast-stripe{ background: var(--wo-good); }
.wo-toast--error   .wo-toast-stripe{ background: var(--wo-bad); }
.wo-toast--warning .wo-toast-stripe{ background: var(--wo-warn); }

.wo-toast-body{
  padding: calc(12px * var(--wo-toast-scale)) calc(14px * var(--wo-toast-scale));
  min-width: 0;
}

.wo-toast-title{
  font-weight: 900;
  font-size: calc(14px * var(--wo-toast-scale)); /* było 12px */
  margin: 0 0 4px;
  letter-spacing: .2px;
  color: color-mix(in srgb, var(--brand-text) 92%, transparent);
}

.wo-toast-msg{
  margin: 0;
  font-size: calc(13px * var(--wo-toast-scale)); /* było 11px */
  line-height: 1.45;                              /* było 1.35 */
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
}

.wo-toast-actions{
  padding: calc(10px * var(--wo-toast-scale)) calc(10px * var(--wo-toast-scale)) calc(10px * var(--wo-toast-scale)) 0;
  display: grid;
  place-items: start;
}

.wo-toast-close{
  width: calc(36px * var(--wo-toast-scale));  /* było 30px */
  height: calc(36px * var(--wo-toast-scale));
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--brand-muted);
  cursor: pointer;
}

.wo-toast-close:hover{
  background: var(--brand-surface);
  border-color: var(--brand-line);
  color: var(--brand-text);
}




/* ===== CONTENT ===== */
.wo-content{
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display:flex;
  flex-direction:column;
}

.wo-card{
  /*
  padding: 12px;
  background: var(--brand-surface);
  */
  padding: 0;
  border-radius: 8px;
  overflow: hidden;

  /* box-shadow: 0 12px 30px rgba(16,24,40,.06); */
}

.wo-card + .wo-card{ margin-top: 12px; }

.wo-card h3{
  margin:0 0 10px;
  font-size: 12px;
  font-weight: 900;
  color: color-mix(in srgb, var(--brand-text) 88%, transparent);
  letter-spacing: .2px;
}
.wo-card p{
  margin: 0 0 10px;
  font-size: 11px;
  color: color-mix(in srgb, var(--brand-muted) 88%, transparent);
  line-height: 1.55;
}

.wo-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
   
.wo-card-sub{
  margin:4px 0 0;
  font-size:11px;
  color: color-mix(in srgb, var(--brand-muted) 90%, transparent);
  line-height:1.5;
}




/* ===== GRID ===== */
.wo-gridwrap{
  display:grid;
  min-height: 0;
  flex: 0 0 auto;
  background: var(--brand-bg);
}

.wo-gridwrap-cols-1{
  grid-template-columns: 260px 1fr; /* kol2+kol3 to galeria (będzie span) */
}

.wo-gridwrap-cols-2{
  grid-template-columns: 260px 1fr 1fr; /* kol2+kol3 to galeria (będzie span) */
}
.wo-gridwrap-cols-3{
  grid-template-columns: 260px 380px 1fr;
}

.wo-col{
  padding: 16px 16px 18px;
  min-height: 0;
  overflow: visible;
  background: var(--brand-bg);
}

.wo-left-sticky{ position: static; }
.wo-left-sticky.wo-is-sticky{ position: sticky; top: var(--wo-sticky-top); }

/* ===== LOGO (SIDEBAR) ===== */
.wo-logo{ margin: 6px 0 18px; border:0; background:transparent; box-shadow:none; }
.wo-logo-link{ display:flex;align-items:center;justify-content:center;text-decoration:none;padding: 6px 0; }
.wo-logo-img{
  width: min(220px, 100%); height: 84px; object-fit: contain; display:block;
  filter: drop-shadow(0 14px 30px rgba(16,24,40,.14));
}
html[data-theme="dark"] .wo-logo-img{ filter: drop-shadow(0 18px 40px rgba(0,0,0,.55)); }

    
    .logo-img-dark {
      display: none;
    }

    html[data-theme="dark"] .logo-img-light {
      display: none;
    }

    html[data-theme="dark"] .logo-img-dark {
      display: block;
    }



/* ===== LEFT NAV ===== */
.wo-side-nav{margin-top:10px;padding:10px 6px 6px;}
.wo-side-link{
  display:flex;align-items:center;gap:10px;padding:14px 14px;border-radius:12px;
  text-decoration:none;color:var(--brand-muted);font-size:14px;position:relative;
}
.wo-side-link i{width:18px;text-align:center;font-size:13px;color:var(--brand-text);}
.wo-side-link:hover{ background: var(--brand-line); }
.wo-side-subtitle{
  margin:12px 10px 8px;font-size:10px;color:color-mix(in srgb, var(--brand-muted) 70%, transparent);
  letter-spacing:.9px;
}
.wo-side-link.wo-is-active{color:var(--brand-text);font-weight:700;background:transparent;}
.wo-side-link.wo-is-active::before{
  content:"";position:absolute;left:-16px;top:50%;transform:translateY(-50%);
  width:3px;height:22px;border-radius:999px;background:var(--brand-accent);
}
.wo-side-red-dot{ margin-left:auto;width:6px;height:6px;border-radius:999px;background:var(--brand-accent);opacity:.9; }
.wo-side-bottom{
  margin-top:18px;padding-top:12px;
  display:flex;gap:10px;justify-content:space-between;
}
.wo-side-square{
  flex:1 1 0;height:44px;border-radius:5px;border:1px solid var(--brand-line);
  background:var(--brand-surface);color:var(--brand-text);display:grid;place-items:center;cursor:pointer;
  margin-bottom: 2px;
}
.wo-side-square:hover{color:var(--brand-text);background:var(--brand-surface);}

/* małe kółko zamiast ikony w .wo-side-link */
.wo-side-mini{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--brand-line);
  background: var(--brand-surface);
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.wo-side-mini img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* fallback (np. gdy brak zdjęcia) */
.wo-side-mini span{
  font-size: 10px;
  font-weight: 900;
  color: var(--brand-muted);
  line-height: 1;
}

/* ===== GALLERY COL (span kol2+kol3) ===== */
.wo-gallery-col{
  grid-column: 2 / 4;
  min-height: 0;
  padding: 16px 16px 18px;
}

.wo-gallery-top{
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;
  margin: 2px 0 14px;
}

.wo-gallery-title p{
  margin:4px 0 0;font-size:12px;color:color-mix(in srgb, var(--brand-muted) 88%, transparent);
}

.wo-gallery-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.wo-chip{
  display:inline-flex;align-items:center;gap:10px;padding:8px 12px;border-radius:var(--wo-border-radius);border:1px solid var(--brand-line);
  background:var(--brand-surface);color:var(--brand-muted);font-size:12px;cursor:pointer;user-select:none;
}
.wo-chip i{font-size:10px;}
.wo-chip:hover{ background: var(--brand-surface); color: var(--brand-text); }

/* ===========================
    GALERIA – MASONRY (jak u Ciebie)
    =========================== */
.wo-gallery{
  position: relative;
  margin: 0 auto;
}

/* Desktop: 4 kolumny */
.wo-gallery-sizer,
.wo-gallery-item{
  width: 25%;
}

.wo-gallery-item{
  float: left;
  margin-bottom: var(--wo-gap-y);
}

.wo-gallery::after{
  content:"";
  display:block;
  clear:both;
}

.wo-gallery-link{
  display:block;
  position:relative;
  margin: 0 calc(var(--wo-gap-x) / 2);
  border-radius: var(--wo-card-r);
  overflow:hidden;
  /* background:#e5e5e5; */
  text-decoration:none;
  color:inherit;
  cursor:pointer;
  box-shadow: 0 16px 40px rgba(16,24,40,.10);
  transform: translateZ(0); 
}

.wo-gallery-link-aspect{
  aspect-ratio: 3 / 4;   /* dobierz proporcję pod swoje miniatury */
}
html[data-theme="dark"] .wo-gallery-link{ box-shadow: 0 18px 46px rgba(0,0,0,.40); }

.wo-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.wo-gallery-overlay{
  position:absolute;
  left:0;right:0;bottom:0;
  padding: 10px 10px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.86), rgba(0,0,0,0));
  color:#fff;
  display:flex;
  flex-direction:column;
  gap: 6px;
}

.wo-shot-author{
  display:inline-flex;align-items:center;gap:8px;
  font-size: 12px;
  opacity:.95;
}
.wo-shot-avatar{
  width:28px;height:28px;border-radius:8px;object-fit:cover;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 0 0 1px rgba(15,23,42,.25);
  background: rgba(255,255,255,.1);
}
.wo-shot-author-name{
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:140px;
  font-weight:800;
}

.wo-shot-topline{
  display:flex;flex-wrap:wrap;gap:2px;align-items:center;
  font-size: 12px;
  opacity: .92;
}
.wo-shot-pill{
  padding: 3px 9px;
  border-radius:var(--wo-border-radius);
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(8,16,28,.30);
  backdrop-filter: blur(8px);
  font-size: 11px;
  white-space:nowrap;
}
.wo-shot-dot{opacity:.65;}

.wo-shot-bottom{
  display:flex;align-items:center;gap:10px;
  margin-top: 2px;
}

.wo-shot-actions{display:inline-flex;align-items:center;gap:8px;}
.wo-shot-action-btn{
  width:42px;height:42px;border-radius:var(--wo-border-radius);border:none;
  background: rgba(15, 23, 42, 0.72);
  color: #f9fafb;
  display:inline-flex;align-items:center;justify-content:center;
  font-size: .85rem;
  cursor:pointer;
  transition: background-color 120ms ease-out, transform 100ms ease-out, box-shadow 120ms ease-out;
}

.wo-shot-mini-action-btn {
  width:25px;height:25px;
  font-size: 80%;
}

.wo-shot-action-btn:hover{
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.wo-shot-action-btn:active{transform: translateY(0); box-shadow:none;}







/* ===========================
    PLACEHOLDERY (łatki) — to jest klucz
    =========================== */
.wo-gallery-fill-rect{
  position:absolute;
  background: var(--brand-text);
  opacity: var(--wo-fill-op);
  border-radius: var(--wo-card-r);
  pointer-events:none;
}

/* PAGINATION */
.wo-pagination{display:flex;justify-content:center;gap:10px;padding:22px 0 10px;}
.wo-page{
  width:40px;height:40px;border-radius:5px;
  background: color-mix(in srgb, var(--brand-text) 25%, transparent);

  display:grid;place-items:center;color:var(--brand-text);
  font-weight:800;cursor:pointer;user-select:none;
}
.wo-page:hover{background:var(--brand-surface);color:var(--brand-text);}
.wo-page.wo-is-active{background:var(--brand-accent);border-color:color-mix(in srgb, #2d6bff 70%, #000);color:#fff; opacity: 1;}

.wo-page-dots { cursor: default; }
.wo-page-arrow.wo-is-disabled { opacity: .4; pointer-events: none; }


/* BACK TO TOP */
.wo-topbtn{
  position: fixed;right: 35px;bottom: 55px;width: 44px;height: 44px;border-radius: 999px;
  border: 1px solid var(--brand-line);
  background: color-mix(in srgb, var(--brand-bg) 88%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 45px rgba(16,24,40,.12);
  display: grid;place-items: center;color: var(--brand-text);cursor: pointer;
  opacity: 0;transform: translateY(12px);pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
  z-index: 50;
}

/* ZOBACZ */
html[data-theme="dark"] .wo-topbtn{
  background: color-mix(in srgb, var(--brand-bg) 65%, transparent);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
  color: var(--brand-text);
}
.wo-topbtn:hover{ background: var(--brand-surface); }
.wo-topbtn.wo-is-visible{opacity: 1;transform: translateY(0);pointer-events: auto;}
.wo-topbtn i{ font-size: 14px; }

/* ==== FOOTER ==== */
.wo-footer{
  background: var(--brand-surface-2);
  padding: 30px 35px 18px;
  flex: 0 0 auto;
}

.wo-footer-inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 18px;
  align-items:start;
}
.wo-footer-mark{display:flex;align-items:center;gap:10px;text-decoration:none;color: var(--brand-text);margin-bottom: 10px;}
.wo-footer-mark img{
  height: 22px;width: auto;object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(16,24,40,.10));
}
html[data-theme="dark"] .wo-footer-mark img{ filter: drop-shadow(0 14px 26px rgba(0,0,0,.45)); }
.wo-footer-title{font-weight:900;letter-spacing:.2px;font-size:12px;line-height:1.1;}
.wo-footer-desc{margin:0;color: color-mix(in srgb, var(--brand-muted) 88%, transparent);font-size:11px;line-height:1.6;max-width:380px;}
.wo-footer-kicker{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap;}
.wo-footer-pill{
  display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:var(--wo-border-radius);border:1px solid var(--brand-line);
  background:var(--brand-surface);color:var(--brand-muted);font-size:11px;text-decoration:none;white-space:nowrap;
}
.wo-footer-pill:hover{background:var(--brand-surface);color:var(--brand-text);}
.wo-footer-col h4{margin:2px 0 10px;font-size:16px;font-weight:900;color:color-mix(in srgb, var(--brand-text) 88%, transparent);}
.wo-footer-list{display:grid;gap:8px;margin:0;padding:0;list-style:none;}
.wo-footer-list a{
  display:inline-flex;align-items:center;gap:10px;color:color-mix(in srgb, var(--brand-muted) 92%, transparent);
  text-decoration:none;font-size:12px;padding:6px 8px;border-radius:var(--wo-border-radius);width:fit-content;
}
.wo-footer-list a i{width:16px;text-align:center;color:var(--brand-text);}
.wo-footer-list a:hover{color:var(--brand-text);background:var(--brand-line);border-color:var(--brand-line);}
.wo-footer-news{
  background: color-mix(in srgb, var(--brand-surface) 60%, var(--brand-bg));
  border-radius: 5px;
  padding: 14px;
}
.wo-footer-news p{margin:0 0 10px;font-size:11px;color:color-mix(in srgb, var(--brand-muted) 88%, transparent);line-height:1.5;}
.wo-footer-form{display:flex;gap:10px;}
.wo-footer-form input{
  flex:1 1 auto;height:38px;border-radius:var(--wo-border-radius);border:1px solid var(--brand-line);
  background:var(--brand-bg);padding:0 14px;font-size:12px;color:var(--brand-text);outline:none;
}
.wo-footer-form input::placeholder{ color: var(--brand-muted); }
.wo-footer-form button{
  height:38px;padding:0 14px;border-radius:var(--wo-border-radius);border:1px solid transparent;
  background: color-mix(in srgb, var(--brand-accent) 92%, #fff);
  color:#111;font-weight:800;cursor:pointer;white-space:nowrap;
}
.wo-footer-form button:hover{ background: var(--brand-accent); }
.wo-footer-bottom{
  margin-top:18px;
  padding-top:14px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;color:color-mix(in srgb, var(--brand-muted) 88%, transparent);
  font-size:11px;flex-wrap:wrap;
}
.wo-footer-social{display:flex;align-items:center;gap:10px;}
.wo-footer-social a{
  width:34px;height:34px;border-radius:var(--wo-border-radius);border:1px solid var(--brand-line);background:var(--brand-surface);
  display:grid;place-items:center;color:var(--brand-muted);text-decoration:none;
}
.wo-footer-social a:hover{background:var(--brand-surface);color:var(--brand-text);}


/* ==== Abount ==== */
.wo-about{
  display:grid;
  grid-template-columns: .8fr 1.2fr; /* zdjęcie większe niż formularz */
  gap: 18px;
  min-height: calc(100vh - var(--wo-header-h) - 160px);
  align-items: stretch;
  padding: 6px;
}





/* ==== GLO ==== */
    /*
    body.glo-bar-open{
      padding-top: calc(var(--glo-bar-height) + env(safe-area-inset-top));
    }
      */

    /* ✅ Overlay: ciemniejszy + lekki blur (żeby było WIDAĆ) */
    .glo-overlay{
      position: fixed; inset: 0;
      background: rgba(0,0,0,.48);                 /* było .22 */
      backdrop-filter: blur(2px);                  /* minimalnie */
      -webkit-backdrop-filter: blur(2px);
      opacity: 0;
      pointer-events: none;
      transition: opacity .16s ease;
      z-index: 9990; /* pod paskiem */
    }
    .glo-overlay.glo-is-visible{
      opacity: 1;
      pointer-events: auto;
    }

    .glo-bar{
      position: fixed;
      left: 0; right: 0; top: 0;

      height: calc(var(--glo-bar-height) + env(safe-area-inset-top));
      padding-top: env(safe-area-inset-top);

      box-shadow: none;
      border: 0;

      transform: translateY(-110%);
      opacity: 0;
      transition: transform .20s ease, opacity .16s ease;
      z-index: 9999;
    }
    .glo-bar.glo-is-visible{
      transform: translateY(0);
      opacity: 1;
    }

    .glo-bar.glo-success{ background: var(--glo-bg-success); }
    .glo-bar.glo-error{   background: var(--glo-bg-error); }
    .glo-bar.glo-info{    background: var(--glo-bg-info); }

    .glo-bar-inner{
      height: var(--glo-bar-height);
      display: grid;
      grid-template-columns: 22px 1fr auto;
      gap: 12px;
      align-items: center;
      padding: 0 14px;
      color: var(--glo-text);
      font-size: 14px;
      letter-spacing: .2px;
    }

    .glo-bar-icon{ font-size: 16px; opacity: .95; line-height: 1; }
    .glo-bar-text{ overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

    .glo-bar-meta{
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--glo-text-dim);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .9px;
    }

    .glo-bar-close{
      width: 38px; height: 38px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,.35);
      background: transparent;
      color: rgba(255,255,255,.96);
      cursor: pointer;
      display:flex; align-items:center; justify-content:center;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
    }
    .glo-bar-close:hover{ background: rgba(255,255,255,.14); }

    @media (max-width: 520px){
      :root{ --glo-bar-height: 60px; }
      .glo-bar-inner{ grid-template-columns: 20px 1fr auto; gap: 10px; padding: 0 10px; }
      .glo-bar-meta{ display:none; }
      .glo-bar-close{ width: 44px; height: 44px; border-radius: 14px; }
      .glo-bar-text{ font-size: 13px; }
    }

    @media (prefers-reduced-motion: reduce){
      body{ transition:none; }
      .glo-bar{ transition:none; }
      .glo-overlay{ transition:none; }
    }





/* ==== MENU MOBILE ==== */
/* Przycisk domyślnie ukryty (desktop) */
.wo-side-toggle {
  display: none;

}





/* Firefox */
html{
  scrollbar-width: thin;
  scrollbar-color: var(--wo-scroll-thumb) var(--wo-scroll-track);
}

/* Chrome/Edge/Safari */
html::-webkit-scrollbar{
  width: 12px;
  height: 12px;
}
html::-webkit-scrollbar-track{
  background: var(--wo-scroll-track);
}
html::-webkit-scrollbar-thumb{
  background: var(--wo-scroll-thumb);
  border-radius: 999px;
  border: 3px solid var(--wo-scroll-track);
}
html::-webkit-scrollbar-thumb:hover{
  background: var(--wo-scroll-thumb-hover);
}


/* ==== FIX: przeglądarkowy autofill (Chrome/Safari) ==== */
.wo-field input:-webkit-autofill,
.wo-field textarea:-webkit-autofill,
.wo-field select:-webkit-autofill{
  -webkit-text-fill-color: var(--brand-text) !important;
  caret-color: var(--brand-text) !important;

  /* “zamaluj” żółto-zielony autofill */
  -webkit-box-shadow: 0 0 0 1000px var(--brand-surface) inset !important;
  box-shadow: 0 0 0 1000px var(--brand-surface) inset !important;

  border: 1px solid var(--brand-line) !important;
  transition: background-color 999999s ease-in-out 0s;
}

.wo-field input:-webkit-autofill:focus,
.wo-field textarea:-webkit-autofill:focus,
.wo-field select:-webkit-autofill:focus{
  -webkit-box-shadow: 0 0 0 1000px var(--brand-surface) inset !important;
  box-shadow: 0 0 0 1000px var(--brand-surface) inset !important;
}




/* DO ZDJEC */
.wo-gallery-overlay{
  opacity: 0.4;
  transition: opacity 200ms ease;
}

.wo-gallery-link:hover .wo-gallery-overlay{
  opacity: 1;
}



/* Rules *//* === Czytelność regulaminu (bez „ścisku”) === */
  .service-regulations{
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    word-break: break-word;
  }

  .service-regulations header{
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0,0,0,.12);
  }



  .service-regulations .meta{
    margin: 0 0 18px;
    opacity: .8;
  }

  .service-regulations .reg-toc{
    margin-top: 10px;
  }

  .service-regulations .reg-toc ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
  }

  .service-regulations .reg-toc a{
    display: inline-block;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(0,0,0,.04);
  }

  .service-regulations .reg-toc a:hover,
  .service-regulations .reg-toc a:focus{
    background: rgba(0,0,0,.08);
  }



  .service-regulations p{
    margin: 10px 0;
  }

  .service-regulations ol{
    padding-left: 1.25rem;
    margin: 10px 0 0;
  }

  .service-regulations ol > li{
    margin: 10px 0;
    padding-left: 4px;
  }

  .service-regulations li > p{
    margin: 8px 0;
  }

  .service-regulations a[target="_blank"]{
    word-break: break-all;
  }

  /* Na bardzo wąskich ekranach: trochę większy „oddech” */
  @media (max-width: 520px){
    .service-regulations{
      font-size: 15px;
      line-height: 1.75;
    }

    .service-regulations .reg-toc a{
      width: 100%;
    }
  }

/* ===== END: style.css ===== */


/* ===== START: desktop.css ===== */


/* ===== DASH UI ===== */
.wo-dash-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding-bottom: 12px;
}

.wo-dash-head p{
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--brand-muted) 88%, transparent);
  max-width: 560px;
}



/* ==========================
    PROFIL: DUŻE ZDJĘCIE NA 100% SZEROKOŚCI
    ========================== */
.wo-profmini{ display:block; } /* było grid — teraz “hero” */
.wo-profavatar{
  width:100%;
  aspect-ratio: 1 / 1;         /* kwadrat (jak chciałeś) */
  border-radius: 16px;
  overflow:hidden;
}
.wo-profavatar img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;            /* wypełnia div, ewentualnie przycina */
}
.wo-profname{
  font-weight: 600;
  font-size: 18px;
  align-items:center;
  gap: 8px;
  margin: 10px 0 0;
}
.wo-verdot{width:8px;height:8px;border-radius:999px;background: var(--brand-accent);display:inline-block;transform: translateY(1px);}
.wo-profmeta{
  margin-top: 4px;
  margin-bottom: 20px;
  font-size: 12px;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}

.wo-quick{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.wo-qbtn{
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--brand-line);
  background: var(--brand-bg);
  color: color-mix(in srgb, var(--brand-text) 90%, transparent);
  cursor:pointer;
  font-weight: 950;
  font-size: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
}
.wo-qbtn:hover{ background: var(--brand-surface); }
.wo-qbtn.wo-primary{
  border-color: transparent;
  background: color-mix(in srgb, var(--brand-accent) 92%, #fff);
  color:#111;
}
.wo-qbtn.wo-primary:hover{ background: var(--brand-accent); }

.wo-statsgrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.wo-statsgridthree {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.wo-statbox{
  background: var(--brand-surface);
  border-radius: var(--wo-radius);
  padding: 12px;
  min-height: 74px;
}
.wo-statbox .k{
  font-size: 10px;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--brand-muted) 88%, transparent);
}
.wo-statbox .v{
  margin-top: 8px;
  font-size: 16px;
  font-weight: 950;
  color: color-mix(in srgb, var(--brand-text) 92%, transparent);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.wo-badge{
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--brand-line);
  background: var(--brand-surface);
  color: var(--brand-muted);
  white-space: nowrap;
}
.wo-badge.good{ border-color: color-mix(in srgb, var(--wo-good) 35%, var(--brand-line)); color: color-mix(in srgb, var(--wo-good) 85%, var(--brand-text)); }
.wo-badge.info{ border-color: color-mix(in srgb, var(--wo-info) 35%, var(--brand-line)); color: color-mix(in srgb, var(--wo-info) 85%, var(--brand-text)); }
.wo-badge.warn{ border-color: color-mix(in srgb, var(--wo-warn) 35%, var(--brand-line)); color: color-mix(in srgb, var(--wo-warn) 85%, var(--brand-text)); }

.wo-list{display:grid;gap:10px;margin-top:10px;}
.wo-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding: 10px;
  border-radius: var(--wo-radius);
  background: var(--brand-surface);
}
.wo-ico{
  width:34px;height:34px;border-radius:12px;border:1px solid var(--brand-line);
  background: var(--brand-surface);
  display:grid;place-items:center;color: var(--brand-text);
  flex:0 0 auto;
}
.wo-itext{min-width:0;}
.wo-ititle{margin:1px 0 0;font-size:12px;font-weight:950;color: color-mix(in srgb, var(--brand-text) 92%, transparent);}
.wo-isub{margin:4px 0 0;font-size:11px;color: color-mix(in srgb, var(--brand-muted) 90%, transparent);line-height:1.45;}
.wo-itime{margin-left:auto;font-size:10px;color: color-mix(in srgb, var(--brand-muted) 90%, transparent);white-space:nowrap;}

/* ===== END: desktop.css ===== */


/* ===== START: account.css ===== */

/* ===== LOGIN LAYOUT (DUŻE ZDJĘCIE DESKTOP) ===== */
.wo-login{
  display:grid;
  grid-template-columns: 1.2fr .8fr; /* zdjęcie większe niż formularz */
  gap: 18px;
  min-height: calc(100vh - var(--wo-header-h) - 160px);
  align-items: stretch;
  padding: 6px;
}

.wo-login-hero{
  border-radius: 16px;
  overflow:hidden;
  background: var(--brand-surface);
  position: relative;
  min-height: 520px;
}
.wo-login-hero img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.wo-login-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
  pointer-events:none;
}
.wo-login-hero-caption{
  position:absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  color: #fff;
  z-index: 2;
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.wo-login-hero-caption strong{
  font-size: 14px;
  letter-spacing: .2px;
}
.wo-login-hero-caption span{
  font-size: 11px;
  opacity: .9;
  line-height: 1.35;
  max-width: 44ch;
}

.wo-login-panel{
  border-radius: 16px;
  background: var(--brand-bg);
  padding: 16px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height: 520px;
}

.wo-login-sub{
  margin: 0 0 14px;
  font-size: 11px;
  color: color-mix(in srgb, var(--brand-muted) 90%, transparent);
  line-height: 1.5;
}

.wo-form{
  display:grid;
  gap: 10px;
  margin-top: 6px;
}

.wo-field{
  display:grid;
  gap: 6px;
}

.wo-input{
  height: 40px;
  border-radius: var(--wo-border-radius);
  border: 1px solid var(--brand-line);
  background: var(--brand-surface);
  padding: 0 12px;
  font-size: 12px;
  color: var(--brand-text);
  outline:none;
}
.wo-input:focus{
  border-color: color-mix(in srgb, var(--brand-accent) 55%, var(--brand-line));
  background: color-mix(in srgb, var(--brand-surface) 75%, var(--brand-bg));
}

.wo-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.wo-check{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 11px;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  user-select:none;
}

.wo-check input{ margin-top: 2px; accent-color: var(--brand-accent);  transform: translateY(1px); }

.wo-link{
  font-size: 11px;
  color: color-mix(in srgb, var(--brand-text) 75%, var(--brand-accent));
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.wo-link:hover{ border-bottom-color: currentColor; }

.wo-btn{
  height: 40px;
  border-radius: var(--wo-border-radius);
  border: 1px solid transparent;
  background: var(--brand-accent);
  color: #111;
  font-weight: 900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin-top: 4px;
}
.wo-btn:hover{
  background: color-mix(in srgb, var(--brand-accent) 88%, #fff);
}

.wo-divider{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 12px 0 10px;
  color: color-mix(in srgb, var(--brand-muted) 90%, transparent);
  font-size: 10px;
}
.wo-divider::before,
.wo-divider::after{
  content:"";
  height: 1px;
  background: var(--brand-line);
  flex: 1 1 auto;
}

.wo-btn-ghost{
  height: 40px;
  border-radius: var(--wo-border-radius);
  border: 1px solid var(--brand-line);
  background: var(--brand-bg);
  color: var(--brand-text);
  font-weight: 900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
}
.wo-btn-ghost:hover{
  background: var(--brand-surface);
}


/* ===== REGISTER LAYOUT ===== */
.wo-register{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  min-height: calc(100vh - var(--wo-header-h) - 160px);
  align-items: stretch;
  padding: 6px;
}

.wo-register-hero{
  border-radius: var(--wo-border-radius);
  overflow:hidden;
  background: var(--brand-surface);
  position: relative;
  min-height: 560px;
}
.wo-register-hero img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.wo-register-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 58%);
  pointer-events:none;
}
.wo-register-hero-caption{
  position:absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  color: #fff;
  z-index: 2;
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.wo-register-hero-caption strong{
  font-size: 14px;
  letter-spacing: .2px;
}
.wo-register-hero-caption span{
  font-size: 11px;
  opacity: .92;
  line-height: 1.35;
  max-width: 52ch;
}

.wo-register-panel{
  border-radius: 16px;
  background: var(--brand-bg);
  padding: 16px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height: 560px;
}

.wo-register-sub{
  margin: 0 0 14px;
  font-size: 11px;
  color: color-mix(in srgb, var(--brand-muted) 90%, transparent);
  line-height: 1.5;
}

.wo-grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wo-check{
  display:inline-flex;
  align-items:flex-start;
  gap: 8px;
  font-size: 11px;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  user-select:none;
  line-height: 1.35;
}


.wo-hint{
  font-size: 10px;
  color: color-mix(in srgb, var(--brand-muted) 88%, transparent);
  line-height: 1.45;
  margin-top: 2px;
}














/* ===== REGISTER: 2+3 kolumna razem ===== */
.wo-auth-wide{
  grid-column: 2 / 4;
  padding: 18px;
  background: var(--brand-bg);
}
.wo-auth-shell{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: start;
}

/* bez cieni, czysto */
.wo-auth-card{
  background: var(--brand-bg);
  overflow: hidden;
}
.wo-auth-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.wo-auth-title{
  margin:0;
  font-size: 18px;
  font-weight: 1000;
  letter-spacing: .2px;
  display:flex;
  align-items:center;
  gap: 10px;
}
.wo-auth-sub{
  margin: 8px 0 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  line-height: 1.55;
}

.wo-auth-body{padding: 14px;display:grid;gap: 12px;}

.wo-two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}



.wo-input{
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--brand-line);
  background: var(--brand-surface);
  padding: 0 12px;
  font-size: 12px;
  color: var(--brand-text);
  outline:none;
}
.wo-input::placeholder{color: var(--brand-muted);}

.wo-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}

.wo-check{
  display:inline-flex;align-items:center;gap:8px;
  font-size: 12px;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  user-select:none;
  line-height:1.4;
}

.wo-link{
  color: color-mix(in srgb, var(--brand-text) 80%, var(--brand-accent));
  text-decoration:none;
  font-weight: 900;
  font-size: 12px;
}
.wo-link:hover{text-decoration: underline;}

.wo-auth-actions{
  display:flex;gap: 10px;flex-wrap: wrap;
  align-items:center;justify-content:flex-start;margin-top: 4px;
}
.wo-btn{
  height: 42px;padding: 0 14px;border-radius: 999px;
  border: 1px solid var(--brand-line);
  background: var(--brand-surface);
  color: var(--brand-text);
  cursor:pointer;
  font-weight: 1000;
  font-size: 12px;
  display:inline-flex;align-items:center;gap: 8px;white-space: nowrap;
}
.wo-btn:hover{ background: var(--brand-surface); }

.wo-btn-primary{
  border-color: color-mix(in srgb, var(--brand-accent) 40%, var(--brand-line));
  background: color-mix(in srgb, var(--brand-accent) 20%, var(--brand-bg));
}
.wo-btn-primary:hover{ background: color-mix(in srgb, var(--brand-accent) 28%, var(--brand-bg)); }

.wo-hint{
  font-size: 11px;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  line-height: 1.55;
  margin-top: 2px;
}

/* panel info */
.wo-auth-aside{
  border: 1px solid var(--brand-line);
  border-radius: 6px;
  padding: 14px;
  display:grid;
  gap: 12px;
}
.wo-aside-h{
  margin:0;font-size:12px;font-weight:1000;color: color-mix(in srgb, var(--brand-text) 86%, transparent);
  letter-spacing:.2px;display:flex;align-items:center;gap:10px;
}
.wo-aside-p{margin:0;font-size:12px;line-height:1.65;color: color-mix(in srgb, var(--brand-muted) 92%, transparent);}
.wo-aside-list{margin:0;padding:0;list-style:none;display:grid;gap:10px;}
.wo-aside-list li{display:flex;gap:10px;align-items:flex-start;font-size:12px;color: color-mix(in srgb, var(--brand-muted) 92%, transparent);line-height:1.55;}
.wo-aside-list i{width:18px;text-align:center;color: var(--brand-text);margin-top:2px;}

/* error text (demo) */
.wo-err{
  display:none;
  border: 1px solid color-mix(in srgb, #ef4444 35%, var(--brand-line));
  background: color-mix(in srgb, #ef4444 10%, var(--brand-bg));
  color: color-mix(in srgb, #ef4444 70%, var(--brand-text));
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
}
.wo-err.wo-show{display:block;}

/* ===== UPLOAD 6 ZDJĘĆ ===== */
.wo-upload-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.wo-upload-slot{
  position:relative;
  display:block;
  border: 1px dashed color-mix(in srgb, var(--brand-line) 85%, var(--brand-muted));
  border-radius: 16px;
  background: color-mix(in srgb, var(--brand-surface) 65%, var(--brand-bg));
  overflow:hidden;
  aspect-ratio: 1 / 1;
  cursor:pointer;
}
.wo-upload-slot:hover{
  background: var(--brand-surface);
  border-color: color-mix(in srgb, var(--brand-accent) 35%, var(--brand-line));
}
.wo-upload-input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}
.wo-upload-ui{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  gap: 6px;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  font-size: 12px;
  text-align:center;
  pointer-events:none;
}
.wo-upload-ui i{ font-size: 14px; color: var(--brand-text); }

.wo-upload-preview{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:none;
}
.wo-upload-slot.wo-has-image{
  border-style: solid;
  border-color: var(--brand-line);
}
.wo-upload-slot.wo-has-image .wo-upload-preview{ display:block; }
.wo-upload-slot.wo-has-image .wo-upload-ui{ display:none; }

.wo-upload-remove{
  position:absolute;
  right:8px;
  top:8px;
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid color-mix(in srgb, var(--brand-line) 85%, transparent);
  background: color-mix(in srgb, var(--brand-bg) 85%, transparent);
  backdrop-filter: blur(8px);
  display:none;
  place-items:center;
  color: var(--brand-text);
  cursor:pointer;
}
.wo-upload-slot.wo-has-image .wo-upload-remove{ display:grid; }
.wo-upload-remove:hover{ background: var(--brand-surface); }



    /* ====== Avatar PRESIGNUP ====== */
.wo-avatar-field{margin-top:10px;}
.wo-avatar-row{display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
.wo-avatar-uploader{display:flex; align-items:center; gap:10px; cursor:pointer; user-select:none;}
.wo-avatar-input{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); border:0;
}
.wo-avatar-circle{
  width:74px; height:74px; border-radius:999px; overflow:hidden;
  display:grid; place-items:center;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.wo-avatar-preview{
  width:100%; height:100%; object-fit:cover; display:none;
}
.wo-avatar-preview.is-on{display:block;}
.wo-avatar-fallback{opacity:.85; font-size:18px;}
.wo-avatar-cta{font-weight:650;}
.wo-avatar-remove{
  width:auto;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
}
.wo-avatar-remove:hover{background: rgba(255,255,255,.09);}

/* ====== Inline crop panel ====== */
.wo-avatar-crop{
  margin-top:12px;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.wo-avatar-crop-head{margin-bottom:10px;}
.wo-avatar-crop-title{font-weight:750;}
.wo-avatar-crop-sub{font-size:12px; opacity:.75; margin-top:3px;}

.wo-crop-viewport{
  width:100%;
  max-width:320px;
  aspect-ratio:1/1;
  margin:0 auto;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.12);
  overflow:hidden;
  position:relative;
  touch-action:none;
  user-select:none;
}

.wo-crop-viewport img{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  will-change: transform;
  pointer-events:none;
}

.wo-crop-controls{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
}
.wo-crop-label{font-size:12px; opacity:.75;}
.wo-crop-controls input[type="range"]{width:100%;}

.wo-crop-actions{
  display:flex;
  gap:10px;
  margin-top:10px;
}

.wo-btn-ghost{
  border:1px solid rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.06) !important;
}
.wo-btn-ghost:hover{background: rgba(255,255,255,.09) !important;}







/* Forms */

.wo-label{font-size:12px;font-weight:700;color: var(--brand-text);}

/* ===== END: account.css ===== */


/* ===== START: myaccount.css ===== */


    /* ===== MIDDLE: "Moje konto" – wizytówka + szybkie skróty ===== */

    .wo-me-hero{
      width:100%;
      aspect-ratio: 16 / 11;
      background: #0b0f14;
      overflow:hidden;
    }
    .wo-me-hero img{width:100%;height:100%;object-fit:cover;display:block;}

    .wo-me-body{padding: 14px 14px 12px;}
    .wo-me-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
    .wo-me-name{
      margin: 0;
      font-size: 16px;
      font-weight: 980;
      letter-spacing: .2px;
      color: color-mix(in srgb, var(--brand-text) 92%, transparent);
    }
    .wo-me-sub{
      margin: 4px 0 0;
      font-size: 11px;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
      line-height: 1.35;
    }
    .wo-me-badges{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;}


    .wo-me-stats{
      display:grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 10px;
      padding: 12px 14px 14px;
      border-top: 1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-surface) 55%, var(--brand-bg));
    }
    .wo-me-stat{
      border: 1px solid var(--brand-line);
      background: var(--brand-bg);
      border-radius: var(--wo-border-radius);
      padding: 10px 10px;
      text-align:center;
    }
    .wo-me-stat strong{display:block;font-size:13px;}
    .wo-me-stat span{display:block;font-size:10px;color:var(--brand-muted);text-transform:uppercase;letter-spacing:.8px;margin-top:3px;}

    .wo-quick-menu{
      margin-top: 14px;
      display:grid;
      gap: 10px;
    }
    .wo-qitem{
      display:flex;align-items:center;justify-content:space-between;gap:10px;
      border: 1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-surface) 60%, var(--brand-bg));
      border-radius: var(--wo-border-radius);
      padding: 12px;
      text-decoration:none;
      color: inherit;
    }
    .wo-qitem:hover{background: var(--brand-surface);}



.wo-qitem.wo-is-active{
  color: color-mix(in srgb, var(--brand-text) 92%, transparent);
  background: transparent; /* zero “plamy” */
  border-color: color-mix(in srgb, var(--brand-line) 70%, transparent);
}

.wo-qitem.wo-is-active::before{
  content:"";
  position:absolute;
  left:-16px;
  top:50%;
  transform:translateY(-50%);
  width:2px;              /* cieńszy */
  height:22px;            /* krótszy */
  border-radius:999px;
  background: color-mix(in srgb, var(--brand-accent) 70%, transparent); /* mniej agresywny */
  opacity:.9;
}

/* ikona tylko odrobinkę mocniej */
.wo-qitem.wo-is-active .wo-qicon{
  border-color: color-mix(in srgb, var(--brand-line) 60%, var(--brand-accent));
  background: color-mix(in srgb, var(--brand-surface) 92%, var(--brand-accent));
  color: color-mix(in srgb, var(--brand-text) 60%, var(--brand-accent));
}

/* tytuł lekko pogrub */
.wo-qitem.wo-is-active .wo-qtitle{
  font-weight: 900;
}

/* meta subtelniej */
.wo-qitem .wo-qmeta{
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
}
.wo-qitem.wo-is-active .wo-qmeta{
  color: color-mix(in srgb, var(--brand-muted) 72%, var(--brand-text));
}


    .wo-qleft{display:flex;align-items:center;gap:10px;min-width:0;}
    .wo-qicon{
      width: 40px;height:40px;border-radius: var(--wo-border-radius);
      border: 1px solid var(--brand-line);
      background: var(--brand-bg);
      display:grid;place-items:center;
      color: var(--brand-text);
    }
    .wo-qtitle{font-weight:950;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
    .wo-qsub{font-size:11px;color: var(--brand-muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
    .wo-qmeta{display:flex;gap:8px;align-items:center;color: var(--brand-muted);font-size:11px;white-space:nowrap;}
    .wo-qmeta i{color: var(--brand-text);}

    /* ===== RIGHT: ustawienia konta (formularz) ===== */
    .wo-section-title{
      margin: 0 0 8px;
      font-size: 16px;
      font-weight: 980;
      color: color-mix(in srgb, var(--brand-text) 90%, transparent);
    }
    .wo-section-sub{
      margin: 0 0 12px;
      font-size: 12px;
      color: color-mix(in srgb, var(--brand-muted) 90%, transparent);
      line-height: 1.55;
    }

    .wo-form{
      border: 1px solid var(--brand-line);
      background: var(--brand-bg);
      border-radius: var(--wo-border-radius);
      padding: 14px;
    }

    .wo-row{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    .wo-field{display:flex;flex-direction:column;gap:6px;margin-bottom: 10px;}

    .wo-input, .wo-select, .wo-textarea{
      height: 38px;
      border-radius: var(--wo-border-radius);
      border: 1px solid var(--brand-line);
      background: var(--brand-surface);
      padding: 0 12px;
      font-size: 12px;
      color: var(--brand-text);
      outline: none;
    }
    .wo-textarea{
      height: auto;
      min-height: 96px;
      padding: 10px 12px;
      line-height: 1.5;
      resize: vertical;
    }
    .wo-input::placeholder, .wo-textarea::placeholder{color: var(--brand-muted);}

    .wo-actions{
      display:flex;
      gap:10px;
      justify-content:flex-end;
      flex-wrap: wrap;
      margin-top: 12px;
    }
    .wo-btn{
      height: 38px;
      padding: 0 14px;
      border-radius: var(--wo-border-radius);
      border: 1px solid transparent;
      background: color-mix(in srgb, var(--brand-accent) 92%, #fff);
      color: #111;
      font-weight: 950;
      cursor:pointer;
      display:inline-flex;
      align-items:center;
      gap: 8px;
      white-space: nowrap;
    }
    .wo-btn:hover{background: var(--brand-accent);}
    .wo-btn.wo-ghost{
      background: var(--brand-surface);
      border-color: var(--brand-line);
      color: var(--brand-text);
    }
    .wo-btn.wo-ghost:hover{background: var(--brand-surface);}

    .wo-divider{
      height: 1px;
      background: var(--brand-line);
      margin: 14px 0;
    }

    .wo-danger{
      border: 1px solid color-mix(in srgb, #ef4444 35%, var(--brand-line));
      background: color-mix(in srgb, #ef4444 7%, var(--brand-bg));
      border-radius: var(--wo-border-radius);
      padding: 14px;
    }
    .wo-danger h4{margin:0 0 6px;font-size:12px;font-weight:980;}
    .wo-danger p{margin:0;font-size:12px;line-height:1.55;color: color-mix(in srgb, var(--brand-muted) 92%, transparent);}


      /* ===== ZAKRES WSPÓŁPRACY (CSS) ===== */
 .wo-coop-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}

.wo-coopbtn{
  position:relative;
  height:36px;
  padding:0 12px;
  border-radius:var(--wo-border-radius);
  border:2px solid var(--brand-line);
  background: var(--brand-surface);
  color: var(--brand-muted);
  font-weight:950;
  font-size:12px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition: background .14s ease, color .14s ease, border-color .14s ease, transform .10s ease, box-shadow .14s ease;
}

.wo-coopbtn i{ color: var(--brand-text); }

.wo-coopbtn:hover{
  background: var(--brand-surface);
  color: var(--brand-text);
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--brand-line) 40%, var(--brand-text));
}

/* WYRAŹNY aktywny */
.wo-coopbtn[aria-pressed="true"]{
  border-color: var(--brand-accent);
  background: color-mix(in srgb, var(--brand-accent) 18%, var(--brand-surface));
  color: var(--brand-text);
  transform: translateY(-1px);
}
.wo-coopbtn[aria-pressed="true"] i{ color: var(--brand-accent); }

/* checkmark */
.wo-coopbtn::after{
  content:"✓";
  position:absolute;
  top:-7px;
  right:-7px;
  width:20px;
  height:20px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:950;
  background: var(--brand-accent);
  color:#111;
  opacity:0;
  transform: scale(.6);
  transition: opacity .12s ease, transform .12s ease;
}
.wo-coopbtn[aria-pressed="true"]::after{
  opacity:1;
  transform: scale(1);
}

/* narzędzia pod multi */
.wo-coop-tools{
  display:flex;
  gap:10px;
  align-items:center;
  margin-top:10px;
}

.wo-coop-tool{
  height:30px;
  padding:0 10px;
  border-radius:var(--wo-border-radius);
  border:1px solid var(--brand-line);
  background: var(--brand-surface);
  cursor:pointer;
}

.wo-coop-count{
  opacity:.8;
  font-weight:800;
}

/* ==== AVATAR ==== */
.wo-hidden{display:none !important;}

.wo-drop{
  border: 1px dashed color-mix(in srgb, var(--brand-line) 80%, var(--brand-muted));
  background: color-mix(in srgb, var(--brand-surface) 70%, var(--brand-bg));
  border-radius: 16px;
  padding: 26px 16px;
  display:grid;
  place-items:center;
  text-align:center;
  cursor:pointer;
  min-height: 240px;
}
.wo-drop i{font-size:26px;color: var(--brand-text);margin-bottom:8px;}
.wo-drop strong{display:block;font-size:13px;font-weight:1000;}
.wo-drop span{display:block;margin-top:6px;font-size:11px;color: var(--brand-muted);}
.wo-drop.wo-drop--hover{
  border-color: color-mix(in srgb, var(--brand-accent) 70%, var(--brand-line));
  background: color-mix(in srgb, var(--brand-accent) 8%, var(--brand-bg));
}

.wo-preview{
  display:grid;
  /* grid-template-columns: 1fr 340px; */
  gap: 14px;
  align-items:start;
}

.wo-avatarbox--big{
  width: min(720px, 100%);
  aspect-ratio: 1/1;
  border-radius: 20px;
  border: 1px solid var(--brand-line);
  background: #0b0f14;
  overflow:hidden;
  position:relative;
  box-shadow: 0 18px 45px rgba(16,24,40,.10);
}
html[data-theme="dark"] .wo-avatarbox--big{ box-shadow: 0 22px 60px rgba(0,0,0,.38); }

.wo-avatarbox--big img{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%) scale(1);
  transform-origin:center;
  max-width:none;
  max-height:none;
  width:auto;
  height:auto;
  user-select:none;
  -webkit-user-drag:none;
  cursor: grab;
}
.wo-avatarbox--big img:active{ cursor: grabbing; }

.wo-overui{
  position:absolute;
  inset: 0;
  pointer-events:none;
}

.wo-overui-top,
.wo-overui-bottom,
.wo-overui-right{
  position:absolute;
  display:flex;
  gap: 10px;
  align-items:center;
  pointer-events:auto;
}

.wo-overui-top{
  left: 12px; right: 12px; top: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
}

.wo-overui-bottom{
  left: 12px; right: 12px; bottom: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
}

.wo-overui-right{
  top: 74px;
  bottom: 74px;
  right: 12px;
  width: 58px;
  padding: 12px 8px;
  border-radius: 16px;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  flex-direction:column;
  justify-content:center;
}

.wo-overpill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size: 11px;
  white-space: nowrap;
}
.wo-overpill i{ font-size: 11px; opacity:.9; }

.wo-slider{ width: 100%; accent-color: var(--brand-accent); }
.wo-slider--vertical{
  width: 240px;
  transform: rotate(-90deg);
  transform-origin: center;
  accent-color: var(--brand-accent);
}

.wo-overhint{
  margin-top: 10px;
  font-size: 11px;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
}

.wo-help{
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.5;
  background: color-mix(in srgb, var(--brand-surface) 60%, var(--brand-bg));
  color: color-mix(in srgb, var(--brand-text) 86%, transparent);
}
.wo-note-ok{
  border-color: color-mix(in srgb, #22c55e 35%, var(--brand-line));
  background: color-mix(in srgb, #22c55e 10%, var(--brand-bg));
}
.wo-note-bad{
  border-color: color-mix(in srgb, #ef4444 35%, var(--brand-line));
  background: color-mix(in srgb, #ef4444 10%, var(--brand-bg));
}

@media (max-width: 900px){
  .wo-preview{ grid-template-columns: 1fr; }
}



    /* ===== 2FA components ===== */
    .wo-switch{
      display:flex;align-items:center;justify-content:space-between;gap:12px;
      padding:10px 10px;border-radius:14px;border:1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-surface) 55%, var(--brand-bg));
      margin-top:10px;
    }
    .wo-switch .t b{display:block;font-size:12px;}
    .wo-switch .t span{display:block;font-size:11px;color: var(--brand-muted);margin-top:2px;line-height:1.4;}

    .wo-toggle{
      width:46px;height:28px;border-radius:999px;border:1px solid var(--brand-line);
      background: var(--brand-bg);position:relative;cursor:pointer;flex:0 0 auto;
    }
    .wo-toggle::after{
      content:"";position:absolute;top:50%;left:4px;transform:translateY(-50%);
      width:20px;height:20px;border-radius:999px;background: color-mix(in srgb, var(--brand-text) 65%, var(--brand-bg));
      transition: left .16s ease, background .16s ease;
    }
    .wo-toggle[aria-checked="true"]{
      background: color-mix(in srgb, var(--brand-accent) 22%, var(--brand-bg));
      border-color: color-mix(in srgb, var(--brand-line) 60%, var(--brand-accent));
    }
    .wo-toggle[aria-checked="true"]::after{
      left:22px;background: color-mix(in srgb, var(--brand-accent) 85%, #fff);
    }

    .wo-group-title{
      display:flex;align-items:center;justify-content:space-between;gap:10px;
      margin: 12px 0 10px;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
      font-size: 11px;
      letter-spacing: .6px;
      text-transform: uppercase;
    }
    .wo-group-title .count{
      display:inline-flex;align-items:center;gap:8px;
      padding:6px 10px;border-radius:999px;border:1px solid var(--brand-line);
      background: var(--brand-surface);
      text-transform:none;letter-spacing:0;
    }

    .wo-radio{
      display:block;border:1px solid var(--brand-line);border-radius:16px;
      background: color-mix(in srgb, var(--brand-bg) 92%, transparent);
      cursor:pointer;overflow:hidden;position:relative;
    }
    .wo-radio input{position:absolute;opacity:0;pointer-events:none;}
    .wo-radio-ui{display:block;padding:12px;}
    .wo-radio-title{
      display:flex;align-items:center;gap:10px;
      font-size:12px;font-weight:1000;
      color: color-mix(in srgb, var(--brand-text) 92%, transparent);
    }
    .wo-radio-title i{color: var(--brand-text);}
    .wo-radio-sub{
      display:block;margin-top:6px;
      font-size:11px;color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
      line-height:1.45;
    }
    .wo-radio:has(input:checked){
      border-color: color-mix(in srgb, var(--brand-line) 55%, var(--brand-accent));
      background: color-mix(in srgb, var(--brand-surface) 65%, transparent);
    }

    .wo-panel{
      margin-top:12px;
      border:1px solid var(--brand-line);
      border-radius:16px;
      background: var(--brand-bg);
      padding:12px;
    }
    .wo-row{/*display:flex;*/align-items:center;gap:10px;}
    .wo-ico{
      width:44px;height:44px;border-radius:14px;border:1px solid var(--brand-line);
      background: var(--brand-surface);
      display:grid;place-items:center;color: var(--brand-text);
      flex:0 0 auto;
    }
    .wo-t{font-weight:1000;font-size:12px;}
    .wo-s{margin-top:3px;font-size:11px;color: var(--brand-muted);line-height:1.45;}

    .wo-qrwrap{
      display:grid;
      grid-template-columns: 200px 1fr;
      gap: 12px;
      align-items:start;
      margin-top:10px;
    }
    .wo-qrbox{
      width:200px;height:200px;border-radius:18px;border:1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-surface) 65%, var(--brand-bg));
      display:grid;place-items:center;
      overflow:hidden;
    }
    .wo-qrbox img{width:180px;height:180px;object-fit:contain;display:block;}

    .wo-note{
      margin-top:10px;
      border:1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-surface) 65%, var(--brand-bg));
      border-radius:14px;
      padding:10px;
      font-size:11px;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
      line-height:1.5;
    }

    .wo-codes{
      margin-top:12px;
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap:10px;
    }
    .wo-code{
      border:1px dashed color-mix(in srgb, var(--brand-line) 70%, var(--brand-muted));
      background: color-mix(in srgb, var(--brand-surface) 85%, transparent);
      border-radius:14px;
      padding:10px;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-size:12px;
      color: color-mix(in srgb, var(--brand-text) 88%, transparent);
    }

/* ===== END: myaccount.css ===== */


/* ===== START: settings.css ===== */


    /* TITLES / CARDS / SWITCHES */

    .wo-switch .t{min-width:0;}
    
    
    .wo-toggle{
      width:46px;height:28px;border-radius:var(--wo-border-radius);border:1px solid var(--brand-line);
      background: var(--brand-bg);position:relative;cursor:pointer;flex:0 0 auto;
    }
    .wo-toggle::after{
      content:"";position:absolute;top:50%;left:4px;transform:translateY(-50%);
      width:20px;height:20px;border-radius:var(--wo-border-radius);background: color-mix(in srgb, var(--brand-text) 65%, var(--brand-bg));
      transition: left .16s ease;
    }
    
    .wo-toggle[aria-checked="true"]::after{ left: 22px; background: color-mix(in srgb, var(--brand-accent) 85%, #fff); }

    .wo-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;}
    .wo-btn{
      height:38px;padding:0 14px;border-radius:var(--wo-border-radius);border:1px solid var(--brand-line);
      background: var(--brand-surface);color: var(--brand-text);font-weight:900;font-size:12px;cursor:pointer;
      display:inline-flex;align-items:center;gap:10px;text-decoration:none;
    }
    .wo-btn i{color: var(--brand-text);}
    .wo-btn:hover{background: var(--brand-surface);}
    .wo-btn.wo-primary{border-color:transparent;background: color-mix(in srgb, var(--brand-accent) 92%, #fff);color:#111;}
    .wo-btn.wo-primary i{color:#111;}
    .wo-btn.wo-primary:hover{background: var(--brand-accent);}

    /* MIDDLE MENU (kolumna 2) */
    .wo-menu{display:grid;gap:10px;}
    .wo-menu-group{margin-top:6px;}

    .wo-menu-item{
      display:flex;margin-bottom: 5px;align-items:center;justify-content:space-between;gap:10px;
      padding: 10px 10px;border-radius:5px;border:1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-bg) 92%, transparent);
      text-decoration:none;color: var(--brand-muted);font-size:12px;
    }
    .wo-menu-item:hover{background: var(--brand-surface);color: var(--brand-text);}
    .wo-menu-item .l{display:flex;align-items:center;gap:10px;min-width:0;}
    .wo-menu-item .l i{width:18px;text-align:center;color: var(--brand-text);}
    .wo-menu-item .r{display:inline-flex;align-items:center;gap:8px;}
    .wo-menu-item.wo-is-active{
      color: var(--brand-text);
      border-color: color-mix(in srgb, var(--brand-line) 60%, var(--brand-accent));
      box-shadow: 0 18px 45px rgba(16,24,40,.06);
    }
    .wo-dot{width:8px;height:8px;border-radius:999px;background: var(--brand-accent);/* border:2px solid var(--brand-bg); */}



    /* ==== SECURE ==== */

        /* SWITCH */
    
    
    
    
    .wo-toggle{
      width:46px;height:28px;border-radius:999px;border:1px solid var(--brand-line);
      background: var(--brand-bg);position:relative;cursor:pointer;flex:0 0 auto;
    }
    .wo-toggle::after{
      content:"";position:absolute;top:50%;left:4px;transform:translateY(-50%);
      width:20px;height:20px;border-radius:999px;background: color-mix(in srgb, var(--brand-text) 65%, var(--brand-bg));
      transition: left .16s ease;
    }
    
    


    /* 2FA method buttons */
    .wo-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;}
    .wo-tab{
      height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--brand-line);
      background: var(--brand-surface);color: var(--brand-muted);font-weight:1000;font-size:11px;
      display:inline-flex;align-items:center;gap:10px;cursor:pointer;
    }
    .wo-tab i{color: var(--brand-text);}
    .wo-tab:hover{background: var(--brand-surface);color: var(--brand-text);}
    .wo-tab.wo-is-active{color: var(--brand-text);border-color: color-mix(in srgb, var(--brand-line) 60%, var(--brand-accent));}

    .wo-pane{margin-top:10px;border:1px solid var(--brand-line);border-radius:16px;background: color-mix(in srgb, var(--brand-bg) 92%, transparent);padding:12px;}
    .wo-pane[hidden]{display:none;}

    .wo-qr{
      border:1px solid var(--brand-line);background: var(--brand-surface);
      border-radius:16px;padding:12px;display:grid;place-items:center;min-height:160px;
      position:relative;overflow:hidden;margin-top:10px;
    }
    .wo-qr svg{width:140px;height:140px;opacity:.92;}
    .wo-qrbadge{
      position:absolute;left:12px;top:12px;
      font-size:10px;font-weight:1000;
      padding:4px 8px;border-radius:999px;border:1px solid var(--brand-line);
      background: var(--brand-bg);color: var(--brand-muted);
      display:inline-flex;align-items:center;gap:8px;
    }
    .wo-code{
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
      font-size: 12px;border:1px solid var(--brand-line);background: var(--brand-surface);
      padding:10px 12px;border-radius:12px;overflow:auto;white-space:nowrap;
      margin-top:10px;
    }

/* ===== END: settings.css ===== */


/* ===== START: contact.css ===== */

    /* ===== CONTENT: KONTAKT ===== */
    .wo-title{
      margin: 6px 0 12px;
      font-weight: 1000;
      font-size: 16px;
      color: color-mix(in srgb, var(--brand-text) 88%, transparent);
      display:flex;align-items:center;justify-content:space-between;gap:10px;
    }
    .wo-badge{
      display:inline-flex;align-items:center;gap:8px;
      padding:6px 10px;border-radius:999px;border:1px solid var(--brand-line);
      background: var(--brand-surface);color: var(--brand-muted);font-size:11px;white-space:nowrap;
    }
    .wo-badge i{color: var(--brand-text);}




    
    

    .wo-form{display:grid;gap:10px;margin-top:10px;max-width:720px;}
    .wo-field{display:grid;gap:6px;}

    .wo-input,.wo-textarea,.wo-select{
      border-radius:12px;
      border:1px solid var(--brand-line);
      background: var(--brand-bg);
      color: var(--brand-text);
      outline:none;
      font-size:12px;
      padding:10px 12px;
    }
    .wo-input::placeholder,.wo-textarea::placeholder{color: var(--brand-muted);}
    .wo-textarea{min-height:120px;resize:vertical;line-height:1.5;}

    .wo-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px;align-items:center;}

    
    
    



    .wo-grid2{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      max-width:720px;
    }
    @media (max-width: 700px){
      .wo-grid2{grid-template-columns:1fr;}
    }

    .wo-kv{display:grid;gap:8px;margin-top:10px;max-width:720px;}
    .wo-kvrow{
      display:flex;align-items:center;justify-content:space-between;gap:10px;
      padding:10px;border-radius:14px;border:1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-surface) 55%, var(--brand-bg));
      font-size:12px;
    }
    .wo-kvrow b{font-weight:1000;}
    .wo-kvrow span{color: var(--brand-muted);font-size:11px;}

/* ===== END: contact.css ===== */


/* ===== START: links.css ===== */

   /* ===== RIGHT: LINKI (form + list) ===== */

    .wo-form{display:grid;gap:10px;margin-top:10px;}
    


    .wo-input{
      width:100%;
      border-radius:14px;
      border:1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-surface) 60%, var(--brand-bg));
      color: var(--brand-text);
      outline:none;
      font-size:12px;
      padding:11px 12px;
    }
    
    

    .wo-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px;}

    /* list items (bardziej “compact” niż karty) */
    .wo-links{
      display:grid;
      gap:10px;
      margin-top:12px;
    }
    .wo-linkrow{
      border:1px solid var(--brand-line);
      border-radius:16px;
      background: color-mix(in srgb, var(--brand-bg) 92%, transparent);
      padding:12px;
      display:grid;
      grid-template-columns: 44px 1fr auto;
      gap:12px;
      align-items:center;
      position:relative;
      overflow:hidden;
    }
    .wo-linkrow::before{
      content:"";
      position:absolute;left:0;top:0;bottom:0;width:3px;
      background: color-mix(in srgb, var(--brand-line) 70%, transparent);
    }
    .wo-linkrow:hover{ background: color-mix(in srgb, var(--brand-surface) 65%, transparent); }
    .wo-l-ico{
      width:44px;height:44px;border-radius:14px;border:1px solid var(--brand-line);
      background: var(--brand-surface);display:grid;place-items:center;color: var(--brand-text);
    }
    .wo-l-body{min-width:0;}
    .wo-l-title{
      margin:0;
      font-size:12px;
      font-weight:1000;
      color: color-mix(in srgb, var(--brand-text) 92%, transparent);
      display:flex;
      gap:8px;
      align-items:center;
      min-width:0;
    }
    .wo-l-title span{
      white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    }
    .wo-l-url{
      margin:6px 0 0;
      font-size:11px;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .wo-l-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
    .wo-iconbtn{
      width:38px;height:38px;border-radius:999px;border:1px solid var(--brand-line);
      background: var(--brand-surface);color: var(--brand-muted);padding:0 !important;
      display:grid;place-items:center;cursor:pointer;text-decoration:none;
    }
    .wo-iconbtn:hover{background: var(--brand-surface);color: var(--brand-text);}
    .wo-iconbtn.wo-danger{ color: color-mix(in srgb, #ef4444 78%, var(--brand-muted)); }
    .wo-iconbtn.wo-danger:hover{
      background: color-mix(in srgb, #ef4444 10%, var(--brand-bg));
      border-color: color-mix(in srgb, #ef4444 25%, var(--brand-line));
      color: color-mix(in srgb, #ef4444 92%, var(--brand-text));
    }

    .wo-empty{
      border:1px dashed color-mix(in srgb, var(--brand-line) 70%, transparent);
      background: color-mix(in srgb, var(--brand-surface) 55%, var(--brand-bg));
      border-radius: 18px;
      padding: 14px;
      font-size: 11px;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
      line-height: 1.6;
    }

/* ===== END: links.css ===== */


/* ===== START: messages.css ===== */


    /* ===== UI bits ===== */
    
    .wo-badge{
      display:inline-flex;align-items:center;gap:8px;
      padding:6px 10px;border-radius:999px;border:1px solid var(--brand-line);
      background:var(--brand-surface);color:var(--brand-muted);font-size:11px;white-space:nowrap;
    }
    .wo-badge i{color:var(--brand-text);}
    .wo-btn{
      height:38px;padding:0 14px;border-radius:999px;border:1px solid var(--brand-line);
      background:var(--brand-surface);color:var(--brand-text);font-weight:900;font-size:12px;cursor:pointer;
      display:inline-flex;align-items:center;gap:10px;
    }
    .wo-btn i{color:var(--brand-text);}
    .wo-btn:hover{background:var(--brand-surface);}
    .wo-btn.wo-primary{border-color:transparent;background:color-mix(in srgb, var(--brand-accent) 92%, #fff);color:#111;}
    
    .wo-btn.wo-primary:hover{background:var(--brand-accent);}

    .wo-inbox-top{
      display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;
      margin-bottom:10px;
    }
    .wo-inbox-search{position:relative;flex:1 1 auto;min-width:220px;}
    .wo-inbox-search i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--brand-text);font-size:12px;}
    .wo-inbox-search input{
      width:100%;height:36px;border-radius:999px;border:1px solid var(--brand-line);
      background:var(--brand-surface);padding:0 12px 0 34px;outline:none;font-size:12px;color:var(--brand-text);
    }
    .wo-inbox-search input::placeholder{color:var(--brand-muted);}

    .wo-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 12px;}
    .wo-tab{
      display:inline-flex;align-items:center;gap:8px;
      padding:8px 10px;border-radius:999px;border:1px solid var(--brand-line);
      background:var(--brand-surface);color:var(--brand-muted);font-size:11px;cursor:pointer;user-select:none;
    }
    .wo-tab i{color:var(--brand-text);}
    .wo-tab.wo-active{color:var(--brand-text);background:var(--brand-surface);}

    /* ===== LISTA KONWERSACJI (mini-wizytówki) ===== */
    .wo-threadlist{display:grid;gap:12px;margin-top:10px;}

    /* klucz: zero paddingu -> avatar od krawędzi, pełna wysokość -> align-items:stretch */
    .wo-thread{
      border:1px solid var(--brand-line);
      border-radius:5px;

      padding:0;                 /* WAŻNE */
      display:grid;
      grid-template-columns: auto 1fr auto;
      gap: 12px;

      align-items: stretch;      /* WAŻNE */
      cursor:pointer;
      position:relative;
      overflow:hidden;           /* WAŻNE (przycina do radiusu) */
      min-height: 118px;         /* stabilna wysokość karty */
    }
    .wo-thread:hover{background:color-mix(in srgb, var(--brand-surface) 70%, var(--brand-bg));}
    /*.wo-thread.wo-active{outline:2px solid color-mix(in srgb, var(--brand-accent) 42%, transparent);}*/

    .wo-thread.wo-unread::before{
      content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
      z-index:2;
    }

    /* avatar jako "okładka": kwadrat na pełną wysokość wiersza */
    .wo-tava{
      height: 150px;
      aspect-ratio: 1 / 1;       /* kwadrat = wysokość */
      width: auto;
      border: 0;
      border-radius: 0;          /* kwadrat */
      overflow:hidden;
    }
    .wo-tava img{width:100%;height:100%;object-fit:cover;display:block;}

    /* środek dostaje padding, nie cały wiersz */
    .wo-tmid{padding:12px 0 12px 12px;min-width:0;display:flex;flex-direction:column;gap:6px;justify-content:center;}
    .wo-tright{padding:12px 12px 12px 0;text-align:right;display:flex;flex-direction:column;gap:8px;justify-content:center;align-items:flex-end;min-width:0;}

    .wo-tname{
      margin:0;
      font-size: 13px;
      font-weight: 1000;
      display:flex;
      align-items:center;
      gap:8px;
      min-width:0;
      color:#000000 !important;
    }
    .wo-tname span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width: 520px;}
    .wo-verified{
      width:18px;height:18px;border-radius:999px;
      background:color-mix(in srgb, var(--brand-accent) 20%, var(--brand-bg));
      border:1px solid color-mix(in srgb, var(--brand-accent) 55%, var(--brand-line));
      display:grid;place-items:center;color:color-mix(in srgb, var(--brand-accent) 85%, var(--brand-text));
      flex:0 0 auto;
    }
    .wo-verified i{font-size:10px;}

    .wo-tmeta{
      flex-wrap:wrap;gap:10px;align-items:center;
      font-size:11px;color:color-mix(in srgb, var(--brand-muted) 92%, transparent);
    }
    .wo-tmeta .dot{opacity:.55;}
    .wo-chip{
      display:inline-flex;align-items:center;gap:8px;
      padding:5px 10px;border-radius:999px;border:1px solid var(--brand-line);
      background:var(--brand-surface);color:var(--brand-muted);font-size:11px;white-space:nowrap;
    }
    .wo-chip i{color:var(--brand-text);font-size:11px;}

    .wo-tsnippet{
      margin:0;
      font-size: 11px;
      line-height: 1.35;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
      white-space: nowrap;
      overflow:hidden;
      text-overflow: ellipsis;
      max-width: 720px;
    }

    .wo-time{font-size:10px;color:var(--brand-muted);white-space:nowrap;}
    .wo-new{
      display:inline-flex;align-items:center;justify-content:center;
      min-width:26px;height:20px;padding:0 8px;border-radius:999px;
      background:color-mix(in srgb, var(--brand-accent) 92%, #fff);
      color:#111;font-weight:1000;font-size:11px;
    }

    .wo-actions{
      display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap;
    }
    .wo-miniicon{
      width:34px;height:34px;border-radius:999px;border:1px solid var(--brand-line);
      background:var(--brand-surface);display:grid;place-items:center;color:var(--brand-muted);cursor:pointer;
    }
    .wo-miniicon:hover{background:var(--brand-surface);color:var(--brand-text);}





    /* Thread */


  

    /* ===== CHAT – wariant A: “profile rail” + timeline ===== */
    
    

    .wo-chat-shell{
      /* border:1px solid var(--brand-line); */
      border-radius:16px;
      overflow:hidden;
      background: color-mix(in srgb, var(--brand-bg) 92%, transparent);
      display:grid;
      grid-template-columns: 320px 1fr;
      min-height: calc(100vh - var(--wo-header-h) - 92px);
    }

    /* lewy panel rozmowy */
    .wo-peer{
      padding:0;
      display:flex;
      flex-direction:column;
      min-height:0;
    }

    .wo-peer-cover{
      position:relative;
      /* height: 160px; */
      overflow:hidden;
      border-bottom:1px solid var(--brand-line);
    }
    .wo-peer-cover img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(1.05);}
    .wo-peer-cover::after{
      content:"";
      position:absolute;inset:0;
      background: linear-gradient(to top, rgba(0,0,0,.70), rgba(0,0,0,0));
    }

    .wo-peer-card{
      /* margin-top:-46px; */
      padding: 0 14px 14px;
      position:relative;
    }
    .wo-peer-ava{
      width:92px;height:92px;border-radius:18px;
      border: 3px solid var(--brand-bg);
      overflow:hidden;background:#ddd;
      box-shadow: 0 18px 45px rgba(16,24,40,.18);
    }
    .wo-peer-ava img{width:100%;height:100%;object-fit:cover;display:block;}

    .wo-peer-name{
      margin:12px 0 0;
      font-weight:1000;
      font-size:15px;
      display:flex;align-items:center;gap:10px;
      color: color-mix(in srgb, var(--brand-text) 92%, transparent);
    }
    .wo-ver{
      width:18px;height:18px;border-radius:999px;
      display:grid;place-items:center;
      background:color-mix(in srgb, var(--brand-accent) 18%, var(--brand-bg));
      border:1px solid color-mix(in srgb, var(--brand-accent) 55%, var(--brand-line));
      color: color-mix(in srgb, var(--brand-accent) 85%, var(--brand-text));
      flex:0 0 auto;
    }
    .wo-ver i{font-size:10px;}

    .wo-peer-meta{
      margin:8px 0 0;
      display:flex;flex-wrap:wrap;gap:10px;align-items:center;
      font-size:11px;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
    }
    .wo-chip{
      display:inline-flex;align-items:center;gap:8px;
      padding:6px 10px;border-radius:999px;border:1px solid var(--brand-line);
      background:var(--brand-surface);color:var(--brand-muted);font-size:11px;white-space:nowrap;
    }
    

    .wo-peer-actions{
      display:flex;gap:8px;flex-wrap:wrap;
      padding: 12px 14px 14px;
      margin-top:auto;
      border-top:1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-bg) 92%, transparent);
    }
    .wo-iconbtn{
      width:38px;height:38px;border-radius:999px;border:1px solid var(--brand-line);
      background:var(--brand-surface);
      color:var(--brand-muted);
      display:grid;place-items:center;cursor:pointer;
    }
    .wo-iconbtn:hover{background:var(--brand-surface);color:var(--brand-text);}

    /* prawy panel wiadomości */
    .wo-talk{
      display:grid;
      grid-template-rows: auto 1fr auto;
      min-height:0;
    }

    .wo-talk-top{
      padding: 14px;
      /* border-bottom:1px solid var(--brand-line); */
      display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;
      background: color-mix(in srgb, var(--brand-bg) 92%, transparent);
    }
    .wo-talk-top .left{
      display:flex;align-items:center;gap:10px;min-width:0;
    }
    .wo-dot{
      width:8px;height:8px;border-radius:999px;background: var(--wo-good);
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--wo-good) 18%, transparent);
    }
    .wo-talk-title{
      margin:0;
      font-weight:1000;
      font-size:13px;
      white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
      max-width: 520px;
    }
    .wo-talk-sub{
      margin:4px 0 0;
      font-size:11px;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
    }

    .wo-tools{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}

    .wo-messages{
      padding: 14px;
      overflow:auto;
      display:flex;
      flex-direction:column;
      gap: 10px;
      min-height: 0;
      background: linear-gradient(
        to bottom,
        color-mix(in srgb, var(--brand-surface) 55%, var(--brand-bg)),
        color-mix(in srgb, var(--brand-bg) 92%, transparent)
      );
    }

    .wo-day{
      align-self:center;
      font-size:10px;
      letter-spacing:.6px;
      text-transform:uppercase;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
      padding:6px 10px;
      border-radius:999px;
      border:1px solid var(--brand-line);
      background: var(--brand-surface);
      margin: 6px 0;
    }

    .wo-bubble{
      max-width: 72%;
      border:1px solid var(--brand-line);
      border-radius: 16px;
      padding: 10px 12px;
      background: var(--brand-bg);
      color: var(--brand-text);
      font-size:12px;
      line-height:1.5;
      position:relative;
      box-shadow: 0 10px 22px rgba(16,24,40,.06);
    }
    .wo-bubble .mmeta{
      margin-top:7px;
      font-size:10px;
      color: var(--brand-muted);
      display:flex;gap:8px;align-items:center;flex-wrap:wrap;
    }

    .wo-bubble--me{
      margin-left:auto;
      background: color-mix(in srgb, var(--brand-accent) 12%, var(--brand-bg));
    }

    .wo-bubble--peer{ margin-right:auto; }

    .wo-attach{
      margin-top:8px;
      border:1px dashed color-mix(in srgb, var(--brand-line) 85%, transparent);
      background: color-mix(in srgb, var(--brand-surface) 60%, transparent);
      border-radius:14px;
      padding:10px;
      display:flex;align-items:center;gap:10px;
    }
    .wo-attach i{color: var(--brand-text);}
    .wo-attach b{font-size:11px;}
    .wo-attach span{font-size:10px;color: var(--brand-muted);}

    .wo-compose{
      padding: 12px 14px 14px;
      border-top:1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-bg) 92%, transparent);
    }
    .wo-compose-row{
      display:flex;gap:10px;align-items:flex-end;
    }
    .wo-textarea{
      flex:1 1 auto;
      min-height: 44px;
      max-height: 140px;
      resize: vertical;
      width:100%;
      border-radius:14px;
      border:1px solid var(--brand-line);
      background: var(--brand-bg);
      padding:10px 12px;
      font-size:12px;
      color: var(--brand-text);
      outline:none;
    }
    .wo-textarea::placeholder{color: var(--brand-muted);}
    .wo-send{
      height:44px;
      padding:0 14px;
      border-radius:999px;
      border:1px solid transparent;
      background: color-mix(in srgb, var(--brand-accent) 92%, #fff);
      color:#111;
      font-weight:1000;
      cursor:pointer;
      display:inline-flex;
      align-items:center;
      gap:10px;
      white-space:nowrap;
    }
    .wo-send:hover{background: var(--brand-accent);}

    .wo-compose-tools{
      display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;
      margin-top:10px;
    }
    .wo-help{
      margin:0;
      font-size:11px;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
    }

/* ===== END: messages.css ===== */


/* ===== START: photo.css ===== */

    /* ===== 2 kolumna: wizytówka profilu ===== */
    .wo-prof-card{
      border:1px solid var(--brand-line);
      border-radius: 18px;
      background: var(--brand-bg);
      overflow:hidden;
    }
    .wo-prof-hero{
      width:100%;
      height: 100%;
      border-bottom: 1px solid var(--brand-line);
      background: var(--brand-surface);
    }
    .wo-prof-hero img{width:100%;height:100%;object-fit:cover;display:block;}
    .wo-prof-body{padding: 14px;}
    .wo-prof-name{
      margin: 0 0 6px;
      font-weight: 1000;
      font-size: 16px;
      display:flex;
      align-items:center;
      gap: 8px;
    }
    .wo-verify{
      width:8px;height:8px;border-radius:999px;background:var(--brand-accent);display:inline-block;transform:translateY(1px);
    }
    .wo-prof-meta{
      color: var(--brand-muted);
      font-size: 11px;
      /* display:flex; */
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 10px;
    }
    .wo-prof-desc{
      margin:0;
      color: color-mix(in srgb, var(--brand-muted) 78%, transparent);
      font-size: 11px;
      line-height: 1.6;
    }
    .wo-prof-kv{display:grid;gap:12px;margin-top:12px;}
    .wo-k{font-weight:900;font-size:11px;color: color-mix(in srgb, var(--brand-text) 78%, transparent);margin-bottom:6px;}
    .wo-v{font-size:10px;line-height:1.55;color: color-mix(in srgb, var(--brand-muted) 80%, transparent);}

    .wo-prof-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;}
    .wo-chip{
      display:inline-flex;align-items:center;gap:8px;
      padding:7px 10px;border-radius:999px;border:1px solid var(--brand-line);
      background: var(--brand-surface);
      color: var(--brand-muted);
      font-size: 11px;
      text-decoration:none;
      white-space: nowrap;
      cursor:pointer;
    }
    .wo-chip:hover{background: var(--brand-surface);color: var(--brand-text);}




    .wo-photo-title{
      margin: 10px 0 6px;
      font-weight: 980;
      letter-spacing: .2px;
      font-size: 16px;
      color: color-mix(in srgb, var(--brand-text) 92%, transparent);
    }
    .wo-photo-desc{
      margin: 0 0 12px;
      font-size: 11px;
      line-height: 1.6;
      color: color-mix(in srgb, var(--brand-muted) 88%, transparent);
    }

    .wo-photo-facts{
      display:grid;
      gap: 10px;
      margin-top: 10px;
    }
    .wo-fact{
      border: 1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-surface) 60%, var(--brand-bg));
      border-radius: 14px;
      padding: 12px;
    }
    .wo-fact .wo-k{font-weight:950;font-size:11px;color: color-mix(in srgb, var(--brand-text) 78%, transparent);margin-bottom:6px;}
    .wo-fact .wo-v{font-size:11px;color: color-mix(in srgb, var(--brand-muted) 90%, transparent);line-height:1.5;}

    .wo-tags{display:flex;flex-wrap:wrap;gap:8px;}
    .wo-tag{
      display:inline-flex;align-items:center;gap:8px;
      padding: 7px 10px;border-radius: 5px;
      border: 1px solid var(--brand-line);
      background: var(--brand-surface);
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
      font-size: 11px;
      text-decoration:none;
    }
    .wo-tag:hover{background: var(--brand-surface); color: var(--brand-text);}
    .wo-tag i{font-size:11px;color: var(--brand-text);}

    /* ===== PRAWA KOLUMNA: duże zdjęcie + akcje + komentarze ===== */
    .wo-photo-hero{
      border: 1px solid var(--brand-line);
      background: var(--brand-bg);
      border-radius: 16px;
      overflow: hidden;
      /* box-shadow: 0 18px 45px rgba(16,24,40,.10); */
    }
    html[data-theme="dark"] .wo-photo-hero{box-shadow: 0 22px 60px rgba(0,0,0,.38);}

    .wo-photo-media{
      position: relative;
      background: #0b0f14;
    }

    .wo-photo-media img {
      width: 100%;
      height: min(70vh, 720px);
      object-fit: contain;
      display: block;
      background: #0b0f14;
    }

    /* Po kliknięciu: “wyłącz” height */
    .wo-photo-media.is-expanded img {
      height: auto; /* albo: unset; */
    }

    /* Przycisk i ikony */
    .wo-photo-toggle .icon-collapse { display: none; }
    .wo-photo-media.is-expanded .wo-photo-toggle .icon-expand { display: none; }
    .wo-photo-media.is-expanded .wo-photo-toggle .icon-collapse { display: inline; }

    .wo-photo-tools{
      position:absolute;
      left: 14px;
      right: 14px;
      bottom: 14px;
      display:flex;
      justify-content:space-between;
      gap: 10px;
      pointer-events:none;
    }
    
    .wo-toolrow{display:flex;gap:10px;align-items:center;pointer-events:auto;}
    .wo-toolbtn{
      width: 44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.18);
      background: rgba(15,23,42,.62);
      backdrop-filter: blur(10px);
      color: #fff;
      cursor:pointer;
      display:grid;place-items:center;
      transition: transform .10s ease, background .14s ease, box-shadow .14s ease;
    }
    .wo-toolbtn:hover{
      background: rgba(15,23,42,.88);
      transform: translateY(-1px);
      box-shadow: 0 10px 20px rgba(0,0,0,.28);
    }

    .wo-photo-bar{
      display:flex;
      gap: 10px;
      align-items:center;
      justify-content:space-between;
      padding: 12px 12px;
      border-top: 1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-bg) 85%, transparent);
    }
    .wo-metrics{display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
    .wo-metric{
      display:inline-flex;align-items:center;gap:8px;
      padding: 7px 10px;
      border-radius: 5px;
      border: 1px solid var(--brand-line);
      background: var(--brand-surface);
      color: var(--brand-muted);
      font-size: 11px;
      white-space: nowrap;
    }
    .wo-metric i{color: var(--brand-text);}

    .wo-actionrow{display:flex;gap:10px;align-items:center;}
    .wo-action{
      height: 36px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid transparent;
      background: color-mix(in srgb, var(--brand-accent) 92%, #fff);
      color: #111;
      font-weight: 950;
      cursor:pointer;
      display:inline-flex;
      align-items:center;
      gap: 8px;
      white-space: nowrap;
    }
    .wo-action:hover{background: var(--brand-accent);}
    .wo-action.wo-ghost{
      background: var(--brand-surface);
      border-color: var(--brand-line);
      color: var(--brand-text);
    }
    .wo-action.wo-ghost:hover{background: var(--brand-surface);}

    /* komentarze (styl “pasek + avatar”) */
    .wo-cwrap{margin-top: 0; /* USUNAC */}
    
    .wo-ctitle{
      margin: 0 0 6px;
      font-size: 16px;
      font-weight: 950;
      color: color-mix(in srgb, var(--brand-text) 88%, transparent);
    }
    .wo-csub{margin:0 0 12px;font-size:12px;color: color-mix(in srgb, var(--brand-muted) 90%, transparent);line-height:1.5;}
    .wo-clist{display:flex;flex-direction:column;gap:12px;}

    .wo-ccard{
      position: relative;
      display: grid;
      grid-template-columns: 6px minmax(0, 1fr);
      border-radius: 14px;
      background: var(--brand-bg);
      border: 1px solid var(--brand-line);
      overflow: hidden;
      box-shadow: 0 12px 28px rgba(16,24,40,.06);
    }
    html[data-theme="dark"] .wo-ccard{box-shadow: 0 16px 40px rgba(0,0,0,.28);}
    .wo-cstripe{background: rgba(59,130,246,.90);}
    .wo-ccard.wo-is-hot .wo-cstripe{background: rgba(34,197,94,.90);}
    .wo-ccard.wo-is-note .wo-cstripe{background: rgba(245,158,11,.92);}

    .wo-cavatar{
      position:absolute;
      left:7px;top:14px;transform: translateX(-50%);
      width:48px;height:48px;border-radius:999px;
      background: var(--brand-bg);
      border: 2px solid color-mix(in srgb, var(--brand-muted) 55%, transparent);
      display:flex;align-items:center;justify-content:center;
      font-size:12px;font-weight:950;color: color-mix(in srgb, var(--brand-text) 80%, transparent);
      overflow:hidden;
    }
    .wo-cavatar img{width:100%;height:100%;object-fit:cover;display:block;}
    .wo-ccard.wo-is-hot .wo-cavatar{border-color: rgba(34,197,94,.70);}
    .wo-ccard.wo-is-note .wo-cavatar{border-color: rgba(245,158,11,.75);}

    .wo-ccontent{padding:14px 14px 12px 26px;}
    .wo-chead{
      display:flex;justify-content:space-between;align-items:baseline;gap:10px;
      margin-bottom:6px;padding-left:32px;
    }
    .wo-cwho{min-width:0;}
    .wo-cname{font-size:13px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
    .wo-crole{font-size:11px;color: color-mix(in srgb, var(--brand-muted) 92%, transparent);margin-top:2px;}
    .wo-cmeta{text-align:right;font-size:11px;color: color-mix(in srgb, var(--brand-muted) 92%, transparent);white-space:nowrap;}
    .wo-cbadge{
      display:inline-block;font-size:10px;padding:2px 8px;border-radius:999px;
      border: 1px solid rgba(59,130,246,.35);
      background: rgba(191,219,254,.65);
      color:#1d4ed8;
      margin-bottom:4px;
      font-weight:950;
      letter-spacing:.2px;
    }
    .wo-ccard.wo-is-hot .wo-cbadge{
      border-color: rgba(34,197,94,.35);
      background: rgba(187,247,208,.65);
      color:#166534;
    }
    .wo-ccard.wo-is-note .wo-cbadge{
      border-color: rgba(245,158,11,.40);
      background: rgba(254,243,199,.70);
      color:#92400e;
    }
    .wo-cbody{
      font-size:12px;line-height:1.55;padding-left:32px;
      color: color-mix(in srgb, var(--brand-text) 88%, transparent);
    }
    .wo-cbody b{color: color-mix(in srgb, var(--brand-text) 96%, transparent);}

    .wo-addc{
      margin-top: 12px;
      border: 1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-surface) 60%, var(--brand-bg));
      border-radius: 16px;
      padding: 12px;
      display:flex;
      gap: 10px;
      align-items:flex-start;
    }
    .wo-addc img{width:42px;height:42px;border-radius:14px;object-fit:cover;border:1px solid var(--brand-line);}
    .wo-addc textarea{
      flex:1 1 auto;
      min-height: 44px;
      max-height: 140px;
      resize: vertical;
      border-radius: 14px;
      border: 1px solid var(--brand-line);
      background: var(--brand-bg);
      padding: 10px 12px;
      font-size: 12px;
      color: var(--brand-text);
      outline:none;
      line-height:1.4;
    }
    .wo-addc textarea::placeholder{color: var(--brand-muted);}
    .wo-addc .wo-addc-actions{display:flex;gap:10px;flex-direction:column;}
    .wo-addc button{
      height: 38px;
      padding: 0 14px;
      border-radius: 999px;
      border: 1px solid transparent;
      background: color-mix(in srgb, var(--brand-accent) 92%, #fff);
      color: #111;
      font-weight: 950;
      cursor:pointer;
      white-space: nowrap;
      display:inline-flex;
      align-items:center;
      gap: 8px;
      justify-content:center;
    }
    .wo-addc button:hover{background: var(--brand-accent);}
    .wo-addc .wo-ghostbtn{
      background: var(--brand-surface);
      border-color: var(--brand-line);
      color: var(--brand-text);
    }
    .wo-addc .wo-ghostbtn:hover{background: var(--brand-surface);}





    /* ===== Lightbox ====*/

      .wo-lightbox{ position:fixed; inset:0; z-index:99999; display:none; }
  .wo-lightbox.is-open{ display:block; }
  .wo-lightbox__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.92); }

  .wo-lightbox__panel{
    position:absolute; inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    touch-action: pan-y;
  }

  .wo-lightbox__figure{
    margin:0;
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .wo-lightbox__figure img{
    max-width:100%;
    max-height:92vh;
    width:auto;
    height:auto;
    border-radius:14px;
    box-shadow:0 10px 40px rgba(0,0,0,.4);
    user-select:none;
    -webkit-user-drag:none;
  }

  /* X zawsze w LEWYM górnym */
.wo-lightbox__close{
  position: absolute !important;
  top: 16px !important;

  right: 16px !important;
  left: auto !important;

  z-index: 999999 !important;

  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: rgba(255,255,255,.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
}


  /* Nawigacja */
  .wo-lightbox__nav{
    position:absolute;
    z-index:6;
    width:56px;
    height:56px;
    border:0;
    border-radius:18px;
    background:rgba(255,255,255,.14);
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    pointer-events:auto;
  }
  .wo-lightbox__nav:disabled{ opacity:.35; cursor:default; }

  .wo-lightbox__nav--left{ left:16px; top:50%; transform:translateY(-50%); }
  .wo-lightbox__nav--right{ right:16px; top:50%; transform:translateY(-50%); }

  /* Bottom LIKE – zawsze widoczny */
  .wo-lightbox__bottom{
    position:absolute;
    left:0; right:0;
    bottom:16px;
    z-index:7;
    display:grid;
    grid-template-columns: 1fr auto 1fr;
    align-items:center;
    pointer-events:none;
  }
  .wo-lightbox__bottom-center{ pointer-events:auto; display:flex; justify-content:center; }

  .wo-lightbox__likebottom{
    width:66px;
    height:66px;
    border:0;
    border-radius:22px;
    background:rgba(255,255,255,.16);
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    pointer-events:auto;
  }
  .wo-lightbox__likebottom i{ font-size:22px; }

  .wo-lightbox__hint{
    position:absolute;
    left:0; right:0;
    bottom:92px;
    text-align:center;
    color:rgba(255,255,255,.65);
    font-size:13px;
    z-index:6;
    pointer-events:none;
  }

  .wo-lightbox__likebottom.is-liked{
  box-shadow: 0 0 0 2px rgba(255,255,255,.25), 0 10px 30px rgba(255,120,0,.35);
  background: rgba(255,255,255,.22);
  transform: translateZ(0) scale(1.04);
}

.wo-lightbox__likebottom.is-liked i{
  filter: drop-shadow(0 6px 10px rgba(255,120,0,.45));
}


  /* Mobile: nav na dole */
  @media (max-width:720px){
    .wo-lightbox__panel{ padding:0; }
    .wo-lightbox__figure img{
      max-height:100vh;
      border-radius:0;
      box-shadow:none;
    }

    .wo-lightbox__nav--left{ left:16px; bottom:18px; top:auto; transform:none; }
    .wo-lightbox__nav--right{ right:16px; bottom:18px; top:auto; transform:none; }
  }

/* ===== END: photo.css ===== */


/* ===== START: add_photo.css ===== */

/* ==== PHOTO: ADD ==== */
.wo-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin: 4px 0 14px;
  flex-wrap: wrap;
  padding: 6px;
}
.wo-title{
  margin:0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .2px;
}
.wo-sub{
  margin: 4px 0 0;
  font-size: 11px;
  color: color-mix(in srgb, var(--brand-muted) 90%, transparent);
  line-height: 1.45;
}

.wo-upload{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  padding: 6px;
  align-items:start;
  min-height: calc(100vh - var(--wo-header-h) - 160px);
}


/* ===== CENTER: DROPZONE -> PREVIEW MODE ===== */
.wo-drop{
  border-radius: 5px;
  border: 1px dashed color-mix(in srgb, var(--brand-line) 70%, var(--brand-text));
  background: color-mix(in srgb, var(--brand-surface) 68%, var(--brand-bg));
  min-height: 520px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 18px;
  position: relative;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
  user-select:none;
  overflow:hidden;
}
.wo-drop.wo-dragover{
  border-color: color-mix(in srgb, var(--brand-accent) 70%, var(--brand-line));
  background: color-mix(in srgb, var(--brand-accent) 10%, var(--brand-surface));
  transform: translateY(-1px);
}


.wo-drop strong{font-size: 14px;letter-spacing: .2px;}
.wo-drop span{
  display:block;margin-top: 6px;font-size: 11px;
  color: color-mix(in srgb, var(--brand-muted) 90%, transparent);
  line-height: 1.45;max-width: 54ch;
}

.wo-drop-actions{
  display:flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content:center;
}

.wo-btn{
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--brand-accent);
  color: #111;
  font-weight: 900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  white-space: nowrap;
}
.wo-btn:hover{ background: color-mix(in srgb, var(--brand-accent) 88%, #fff); }


.wo-file{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}

/* ===== Preview state ===== */
.wo-drop.wo-has-preview{
  padding: 0;
  border-style: solid;
  border-color: var(--brand-line);
  background: var(--brand-bg);
  text-align:left;
  justify-content:flex-start;
  align-items:stretch;
}

.wo-preview-wrap{
  display:none;
  height: 100%;
  min-height: 520px;
  grid-template-rows: 1fr auto;
  background: var(--brand-bg);
}
.wo-drop.wo-has-preview .wo-preview-wrap{ display:grid; }

.wo-preview-media{
  background: #0b0f14;
  display:grid;
  place-items:center;
  position: relative;
}
.wo-preview-media img{
  width:100%;
  height: min(70vh, 640px);
  object-fit: contain;
  display:block;
  background:#0b0f14;
}

.wo-preview-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--brand-line);
  background: color-mix(in srgb, var(--brand-bg) 85%, transparent);
  flex-wrap: wrap;
}
.wo-preview-meta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  color: var(--brand-muted);
  font-size: 11px;
}
.wo-chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--brand-line);
  background: var(--brand-surface);
  color: var(--brand-muted);
  font-size: 11px;
  white-space: nowrap;
}
.wo-chip i{ color: var(--brand-text); }

.wo-inline-actions{
  display:flex; gap: 10px; align-items:center; flex-wrap: wrap;
}

/* ukryj instrukcje gdy preview */
.wo-drop-inner{ padding: 18px; }
.wo-drop.wo-has-preview .wo-drop-inner{ display:none; }

/* ===== RIGHT FORM ===== */
.wo-form{ display:grid; gap: 10px; margin-top: 2px; }
.wo-row2{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wo-field label{
  display:block;
  font-size: 10px;
  font-weight: 900;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  letter-spacing: .7px;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.wo-field input,
.wo-field textarea,
.wo-field select{
  width:100%;
  border: 1px solid var(--brand-line);
  background: var(--brand-surface);
  color: var(--brand-text);
  border-radius: var(--wo-border-radius);
  padding: 10px 12px;
  outline:none;
  font-size: 12px;
}
.wo-field textarea{ min-height: 92px; resize: vertical; }

.wo-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.wo-hint{
  font-size: 11px;
  color: color-mix(in srgb, var(--brand-muted) 90%, transparent);
  line-height: 1.45;
}


/* ==== GALLERY UPLOADER CARD ==== */
.wo-gallery-uploader{
  padding: 16px;
}

.wo-gu-head{
  display:grid;
  gap: 6px;
  margin-bottom: 12px;
}

.wo-gu-title{
  margin:0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .2px;
  color: color-mix(in srgb, var(--brand-text) 92%, transparent);
  display:flex;
  align-items:center;
  gap: 10px;
}
.wo-gu-title i{
  color: var(--brand-accent);
}

.wo-gu-sub{
  margin:0;
  font-size: 11px;
  color: color-mix(in srgb, var(--brand-muted) 90%, transparent);
  line-height: 1.45;
}

/* “dropzone-lite” */
.wo-gu-zone{
  border-radius: var(--wo-border-radius);
  border: 1px dashed color-mix(in srgb, var(--brand-line) 65%, var(--brand-text));
  background: color-mix(in srgb, var(--brand-surface) 70%, var(--brand-bg));
  padding: 14px;
  position: relative;
  overflow:hidden;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

/* hover dla całej sekcji */
.wo-gallery-uploader:hover .wo-gu-zone{
  border-color: color-mix(in srgb, var(--brand-accent) 70%, var(--brand-line));
  background: color-mix(in srgb, var(--brand-accent) 10%, var(--brand-surface));
  transform: translateY(-1px);
}

.wo-gu-hint{
  display:grid;
  gap: 4px;
  padding: 4px 2px 10px;
}

.wo-gu-big{
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 13px;
  color: color-mix(in srgb, var(--brand-text) 92%, transparent);
}

.wo-gu-small{
  font-size: 11px;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  line-height: 1.45;
  max-width: 62ch;
}

.wo-gu-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* przycisk “ładniejszy” w tej karcie */
.wo-gu-btn{
  height: 42px;
  border-radius: 14px;
  padding: 0 16px;
  box-shadow: 0 14px 32px rgba(0,0,0,.08);
}

.wo-gu-meta{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items:center;
}

.wo-gu-chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--brand-line);
  background: var(--brand-surface);
  color: var(--brand-muted);
  font-size: 11px;
  white-space: nowrap;
}
.wo-gu-chip i{ color: var(--brand-text); }

/* input file – niewidoczny, ale dostępny */
.wo-gu-file{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}

/* ===== END: add_photo.css ===== */


/* ===== START: profil.css ===== */



/* ===== ŚRODKOWA KOLUMNA: profil (info + mini-wizytówka) ===== */
.wo-photo-author{
    display:flex;align-items:center;gap:10px;
    padding: 10px 10px;
    border: 1px solid var(--brand-line);
    background: var(--brand-surface);
    border-radius: 14px;
    margin-bottom: 12px;
}
.wo-photo-author img{
    width:46px;height:46px;border-radius:14px;object-fit:cover;
    border: 1px solid color-mix(in srgb, var(--brand-line) 85%, transparent);
}
.wo-photo-author .wo-a-name{font-weight:950;font-size:13px;line-height:1.05;}
.wo-photo-author .wo-a-sub{font-size:11px;color: var(--brand-muted);margin-top:3px;}
.wo-photo-author .wo-a-badges{margin-left:auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap;}



.wo-profil-desc{
    margin: 0 0 12px;
    font-size: 11px;
    line-height: 1.6;
    color: color-mix(in srgb, var(--brand-muted) 88%, transparent);
}




/* ===== PRAWA KOLUMNA: cover profilu + akcje + opinie ===== */
.wo-photo-hero{
    border: 1px solid var(--brand-line);
    background: var(--brand-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(16,24,40,.10);
}








.wo-metric{
    display:inline-flex;align-items:center;gap:8px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--brand-line);
    background: var(--brand-surface);
    color: var(--brand-muted);
    font-size: 11px;
    white-space: nowrap;
}








/* ===== END: profil.css ===== */


/* ===== START: portfolios.css ===== */


    /* ============================================================
       PORTFOLIOS: łączymy kolumny 2 i 3
       ============================================================ */
    html[data-page="portfolios"] .wo-midcol{ display:none; }
    html[data-page="portfolios"] .wo-maincol{
      grid-column: 2 / 4;
    }

    /* ============================================================
       UI: Portfolia (prawa — merged)
       ============================================================ */
    .wo-herohead{
      display:flex;align-items:flex-end;justify-content:space-between;gap:12px;
      margin: 4px 0 14px;flex-wrap:wrap;
    }


    .wo-searchbar{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      align-items:center;
      background: var(--brand-surface);
      border-radius: var(--wo-border-radius);
      padding: 10px;
    }
    .wo-sfield{
      position:relative;
      flex: 1 1 260px;
      min-width: 220px;
    }
    .wo-sfield i{
      position:absolute;left:12px;top:50%;transform:translateY(-50%);
      color: var(--brand-text);
      font-size: 13px;
    }
    .wo-sinput{
      width:100%;
      height: 38px;
      border-radius: var(--wo-border-radius);
      border: 1px solid var(--brand-line);
      background: var(--brand-bg);
      padding: 0 14px 0 36px;
      outline:none;
      font-size: 12px;
      color: var(--brand-text);
    }
    .wo-sinput::placeholder{ color: var(--brand-muted); }

    .wo-select{
      height: 38px;
      border-radius: 5px;
      border: 1px solid var(--brand-line);
      background: var(--brand-bg);
      padding: 0 12px;
      font-size: 12px;
      color: var(--brand-text);
      outline:none;
    }

    .wo-chipbtn{
      height: 38px;
      border-radius: 5px;
      border: 1px solid var(--brand-line);
      background: var(--brand-bg);
      padding: 0 12px;
      font-size: 12px;
      color: var(--brand-text);
      cursor:pointer;
      display:inline-flex;
      align-items:center;
      gap: 8px;
      text-decoration:none;
      white-space:nowrap;
    }
    .wo-chipbtn i{ color: var(--brand-text); }
    .wo-chipbtn:hover{ background: var(--brand-surface); }
    .wo-chipbtn.wo-primary{
      background: color-mix(in srgb, var(--brand-accent) 92%, #fff);
      border-color: transparent;
      color:#111;
      font-weight: 900;
    }
    .wo-chipbtn.wo-primary i{ color:#111; }

    .wo-minirow{
      margin: 12px 0 10px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
      flex-wrap:wrap;
    }
    .wo-minirow .meta{
      font-size: 12px;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
    }

    /* ===== GALERIA PROFILI (Masonry) ===== */

    .wo-gallery-overlay{
      position:absolute; left:0; right:0; bottom:0;
      padding: 10px 10px 10px;
      background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,0));
      color:#fff;
      display:flex;
      flex-direction:column;
      gap: 6px;
    }
    .wo-gallery-title{
      font-weight: 900;
      font-size: 13px;
      display:flex;
      align-items:center;
      gap: 8px;
      text-shadow: 0 1px 2px rgba(0,0,0,.6);
    }
    .wo-gallery-ver{
      width:8px;height:8px;border-radius:999px;background: var(--brand-accent);
      display:inline-block;
      transform: translateY(1px);
    }
    .wo-gallery-sub{
      font-size: 11px;
      opacity: .92;
      display:flex;
      flex-wrap:wrap;
      gap: 6px;
      align-items:center;
    }
    .wo-gallery-pill{
      display:inline-flex;
      align-items:center;
      gap: 6px;
      padding: 2px 8px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.25);
      background: rgba(0,0,0,.22);
      color:#fff;
      font-size: 11px;
      white-space:nowrap;
    }
    .wo-gallery-dot{ opacity:.65; }

    .wo-gallery-author{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
      margin-top: 4px;
    }
    .wo-gallery-handle{
      font-size: 11px;
      opacity:.92;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
      max-width: 70%;
    }
    .wo-gallery-actions{ display:inline-flex; gap: 8px; }
    .wo-gallery-btn{
      width: 38px; height: 38px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.18);
      background: rgba(15,23,42,.62);
      color:#fff;
      display:grid;
      place-items:center;
      cursor:pointer;
    }
    .wo-gallery-btn:hover{ background: rgba(15,23,42,.9); }

    .wo-empty{
      display:none;
      margin-top: 14px;
      padding: 14px;
      border-radius: 5px;
      border: 1px solid var(--brand-line);
      background: var(--brand-surface);
      color: var(--brand-muted);
      font-size: 12px;
    }

/* ===== END: portfolios.css ===== */


/* ===== START: subscriptions.css ===== */

/* ===== PLAN HERO (Bieżący plan) ===== */
.wo-plan-hero{
  border-radius: 18px;
  padding: 16px;
  overflow: hidden;
  position: relative;
}

.wo-plan-hero-orange{
  background:
    radial-gradient(1200px 600px at 10% 10%, color-mix(in srgb, var(--brand-accent) 18%, transparent), transparent 55%),
    radial-gradient(900px 520px at 90% 0%, color-mix(in srgb, var(--brand-text) 8%, transparent), transparent 60%),
    color-mix(in srgb, var(--brand-bg) 92%, transparent);
}

.wo-plan-hero-intro{
  background:
    radial-gradient(1200px 600px at 10% 10%, color-mix(in srgb, #94a3b8 18%, transparent), transparent 55%),
    radial-gradient(900px 520px at 90% 0%, color-mix(in srgb, var(--brand-text) 8%, transparent), transparent 60%),
    color-mix(in srgb, var(--brand-bg) 92%, transparent);
}

.wo-plan-hero-focus{
  background:
    radial-gradient(1200px 600px at 10% 10%, color-mix(in srgb, var(--brand-accent) 18%, transparent), transparent 55%),
    radial-gradient(900px 520px at 90% 0%, color-mix(in srgb, var(--brand-text) 8%, transparent), transparent 60%),
    color-mix(in srgb, var(--brand-bg) 92%, transparent);
}

.wo-plan-hero-portfolio{
  background:
    radial-gradient(1200px 600px at 10% 10%, color-mix(in srgb, #22c55e 18%, transparent), transparent 55%),
    radial-gradient(900px 520px at 90% 0%, color-mix(in srgb, var(--brand-text) 8%, transparent), transparent 60%),
    color-mix(in srgb, var(--brand-bg) 92%, transparent);
}

.wo-plan-hero-studio{
  background:
    radial-gradient(1200px 600px at 10% 10%, color-mix(in srgb, #DA4CC8 18%, transparent), transparent 55%),
    radial-gradient(900px 520px at 90% 0%, color-mix(in srgb, var(--brand-text) 8%, transparent), transparent 60%),
    color-mix(in srgb, var(--brand-bg) 92%, transparent);
}


.wo-plan-hero::after{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  opacity:.55;
}

.wo-plan-hero-orange::after{
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--brand-accent) 16%, transparent), transparent 40%,
    color-mix(in srgb, var(--brand-text) 6%, transparent));
}

.wo-plan-hero-intro::after{
  background: linear-gradient(135deg,
    color-mix(in srgb, #94a3b8 16%, transparent), transparent 40%,
    color-mix(in srgb, var(--brand-text) 6%, transparent));
}

.wo-plan-hero-focus::after{
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--brand-accent) 16%, transparent), transparent 40%,
    color-mix(in srgb, var(--brand-text) 6%, transparent));
}

.wo-plan-hero-portfolio::after{
  background: linear-gradient(135deg,
    color-mix(in srgb, #22c55e 16%, transparent), transparent 40%,
    color-mix(in srgb, var(--brand-text) 6%, transparent));
}

.wo-plan-hero-studio::after{
  background: linear-gradient(135deg,
    color-mix(in srgb, #DA4CC8 16%, transparent), transparent 40%,
    color-mix(in srgb, var(--brand-text) 6%, transparent));
}

.wo-plan-head{
  position: relative;
  z-index: 1;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}

.wo-plan-title{
  margin:0;
  font-size: 18px;
  font-weight: 1000;
  letter-spacing:.2px;
  color: color-mix(in srgb, var(--brand-text) 92%, transparent);
}

.wo-plan-sub{
  margin:6px 0 0;
  font-size: 12px;
  line-height:1.55;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  max-width: 70ch;
}

.wo-plan-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

.wo-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 9px 12px;
  border-radius: var(--wo-border-radius);
  border: 1px solid var(--brand-line);
  background: color-mix(in srgb, var(--brand-surface) 92%, transparent);
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  font-size: 11px;
  white-space: nowrap;
}

.wo-chip.ok{
  border-color: color-mix(in srgb, var(--brand-accent) 45%, var(--brand-line));
  background: color-mix(in srgb, var(--brand-accent) 14%, var(--brand-bg));
  color: color-mix(in srgb, var(--brand-text) 85%, transparent);
}
.wo-chip.ok i{ color: color-mix(in srgb, var(--brand-accent) 90%, var(--brand-text)); }

.wo-plan-grid{
  position: relative;
  z-index: 1;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
  align-items: stretch;
}

.wo-plan-card{
  border: 1px solid var(--brand-line);
  background: color-mix(in srgb, var(--brand-bg) 90%, transparent);
  border-radius: var(--wo-border-radius);
  padding: 14px;
}

.wo-plan-card h4{
  margin:0 0 8px;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing:.2px;
  color: color-mix(in srgb, var(--brand-text) 88%, transparent);
}

.wo-plan-price{
  display:flex;
  align-items:baseline;
  gap: 10px;
  margin-top: 6px;
}
.wo-plan-price strong{
  font-size: 26px;
  font-weight: 1000;
  letter-spacing:.2px;
}
.wo-plan-price span{
  font-size: 12px;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
}

.wo-kpi-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.wo-kpi{
  border: 1px solid var(--brand-line);
  background: color-mix(in srgb, var(--brand-surface) 92%, transparent);
  border-radius: 14px;
  padding: 10px;
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.wo-kpi .ico{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--brand-line);
  background: color-mix(in srgb, var(--brand-surface) 65%, var(--brand-bg));
  display:grid;
  place-items:center;
  color: var(--brand-text);
  flex: 0 0 auto;
}
.wo-kpi .t{min-width:0;}
.wo-kpi .t b{
  display:block;
  font-size: 14px;
  font-weight: 1000;
  color: color-mix(in srgb, var(--brand-text) 92%, transparent);
  line-height:1.1;
}
.wo-kpi .t span{
  display:block;
  margin-top: 3px;
  font-size: 10px;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  line-height:1.35;
}

/* meters */
.wo-meters{display:grid;gap:10px;margin-top:10px;}
.wo-meter{
  border: 1px solid var(--brand-line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--brand-surface) 55%, var(--brand-bg));
  padding: 12px;
}
.wo-meter-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.wo-meter-top b{
  font-size: 12px;
  font-weight: 1000;
  color: color-mix(in srgb, var(--brand-text) 88%, transparent);
}
.wo-meter-top .meta{
  font-size: 11px;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  white-space: nowrap;
}
.wo-progress{
  height: 12px;
  border-radius: 999px;
  border: 1px solid var(--brand-line);
  background: color-mix(in srgb, var(--brand-bg) 70%, transparent);
  overflow:hidden;
}
.wo-progress > i{
  display:block;
  height:100%;
  width:0%;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-accent) 78%, #fff);
  transition: width .22s ease;
}
.wo-meter-note{
  margin-top:8px;
  font-size: 11px;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  line-height:1.45;
}

.wo-plan-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
}
.wo-plan-actions .wo-btn{
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
}

.wo-btn.wo-danger{
  border-color: color-mix(in srgb, #ef4444 35%, var(--brand-line));
  background: color-mix(in srgb, #ef4444 12%, var(--brand-surface));
}
.wo-btn.wo-danger:hover{ background: color-mix(in srgb, #ef4444 16%, var(--brand-surface)); }

/* right column mini list */
.wo-plan-list{display:grid;gap:10px;margin-top:10px;}
.wo-li{
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand-bg) 90%, transparent);
  padding: 10px;
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.wo-li .ico{
  width:40px;height:40px;border-radius:14px;border:1px solid var(--brand-line);
  background: color-mix(in srgb, var(--brand-surface) 70%, var(--brand-bg));
  display:grid;place-items:center;color: var(--brand-text);
  flex:0 0 auto;
}
.wo-li b{display:block;font-size:12px;font-weight:1000;}
.wo-li span{display:block;margin-top:3px;font-size:11px;color: color-mix(in srgb, var(--brand-muted) 92%, transparent);line-height:1.35;}

@media (max-width: 900px){
  .wo-plan-grid{grid-template-columns:1fr;}
  .wo-kpi-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width: 520px){
  .wo-kpi-grid{grid-template-columns:1fr;}
}







    /* ===== PLANS: każdy pakiet w osobnym rzędzie ===== */
    .wo-sub-plans{
      display:grid;
      grid-template-columns: 1fr;
      gap:12px;
      margin-top:10px;
    }

    .wo-sub-plan{
      border-radius: var(--wo-border-radius);
      background: color-mix(in srgb, var(--brand-bg) 92%, transparent);
      overflow:hidden;
      position:relative;

      display:grid;
      grid-template-columns: 240px 1fr 180px;
      min-height: 148px;

      transition: border-color .14s ease, background .14s ease, transform .14s ease;
      --wo-sub-plan-accent: var(--brand-accent);
      cursor: pointer;
    }

    .wo-sub-plan[data-plan="free"]{ --wo-sub-plan-accent: #94a3b8; }
    .wo-sub-plan[data-plan="pro"]{ --wo-sub-plan-accent: var(--brand-accent); }
    .wo-sub-plan[data-plan="studio"]{ --wo-sub-plan-accent: #22c55e; }
    .wo-sub-plan[data-plan="studiopro"]{ --wo-sub-plan-accent: #DA4CC8; }
    .wo-sub-plan[data-plan="special"]{ --wo-sub-plan-accent: gold; }

    .wo-sub-plan::before{
      content:"";
      position:absolute;
      left:0; top:0; bottom:0;
      width:4px;
      background: color-mix(in srgb, var(--wo-sub-plan-accent) 92%, #fff);
      opacity:.9;
    }

    .wo-sub-plan:hover{
      border-color: color-mix(in srgb, var(--brand-line) 60%, var(--brand-text));
      background: color-mix(in srgb, var(--brand-surface) 35%, var(--brand-bg));
      transform: translateY(-1px);
    }

    .wo-sub-plan-top{
      padding:14px 14px 12px;
      border-right:1px solid var(--brand-line);
      display:flex;
      align-items:flex-start;
      justify-content:flex-start; /* cena wyniesiona do prawej kolumny */
      gap:12px;

      background:
        radial-gradient(900px 220px at 0% -30%,
          color-mix(in srgb, var(--wo-sub-plan-accent) 18%, transparent),
          transparent 60%);
    }

    .wo-sub-plan h4{
      margin:0;
      font-size:12px;
      font-weight:1100;
      color: color-mix(in srgb, var(--brand-text) 92%, transparent);
    }
    .wo-sub-plan p{
      margin:6px 0 0;
      font-size:11px;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
      line-height:1.45;
    }

    .wo-sub-price{
      display:flex;flex-direction:column;align-items:flex-end;gap:4px;
      color: color-mix(in srgb, var(--brand-text) 92%, transparent);
      flex:0 0 auto;
    }
    .wo-sub-price strong{font-size:18px;letter-spacing:.2px;}
    .wo-sub-price span{font-size:10px;color: var(--brand-muted);}

    .wo-sub-plan-mid{
      padding:14px;
      display:flex;
      align-items:center;
    }

    /* ===== Metrics: infografika (compact + centered) ===== */
    .wo-sub-metrics{
      width:100%;
      display:grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap:8px;
    }

    .wo-sub-metric{
      position:relative;
      border: 1px solid color-mix(in srgb, var(--brand-line) 80%, transparent);
      background:
        linear-gradient(180deg,
          color-mix(in srgb, var(--brand-bg) 85%, transparent),
          color-mix(in srgb, var(--brand-surface) 55%, var(--brand-bg)));
      border-radius:14px;
      padding:10px 10px 10px;
      overflow:hidden;
      min-height: 84px;

      box-shadow: 0 12px 26px rgba(16,24,40,.06);
      transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;

      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      text-align:center;
    }

    .wo-sub-metric:hover{
      transform: translateY(-1px);
      border-color: color-mix(in srgb, var(--wo-sub-plan-accent) 40%, var(--brand-line));
      box-shadow: 0 16px 34px rgba(16,24,40,.10);
    }

    .wo-sub-metric::before{
      content:"";
      position:absolute;
      width:150px;height:150px;
      right:-95px;top:-105px;
      border-radius:999px;
      background: radial-gradient(circle at 30% 30%,
        color-mix(in srgb, var(--wo-sub-plan-accent) 26%, transparent),
        transparent 60%);
      opacity:.85;
      pointer-events:none;
    }

    .wo-sub-metric::after{
      content:"";
      position:absolute; inset:0;
      background:
        linear-gradient(transparent 0, transparent 18px, color-mix(in srgb, var(--brand-line) 22%, transparent) 18px, transparent 19px),
        linear-gradient(90deg, transparent 0, transparent 18px, color-mix(in srgb, var(--brand-line) 18%, transparent) 18px, transparent 19px);
      background-size: 56px 56px;
      opacity:.28;
      pointer-events:none;
    }

    .wo-sub-mlabel{
      position:relative;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:7px;
      font-size:9px;
      letter-spacing:.55px;
      text-transform:uppercase;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
      z-index:1;

      flex-wrap:wrap;
      max-width:100%;
      overflow:hidden;
      line-height:1.15;
      text-wrap:balance;
      hyphens:auto;
      text-align:center;
    }

    .wo-sub-micon{
      width:24px;height:24px;
      border-radius:999px;
      display:grid;place-items:center;
      border: 1px solid color-mix(in srgb, var(--wo-sub-plan-accent) 28%, var(--brand-line));
      background: color-mix(in srgb, var(--wo-sub-plan-accent) 10%, var(--brand-surface));
      box-shadow: 0 8px 14px rgba(16,24,40,.07);
      flex:0 0 auto;
    }
    .wo-sub-micon i{
      font-size:11px;
      color: color-mix(in srgb, var(--wo-sub-plan-accent) 70%, var(--brand-text));
    }

    .wo-sub-mvalue{
      position:relative;
      margin-top:8px;
      align-items:baseline;
      justify-content:center;
      gap:6px;
      z-index:1;

      flex-direction:column;
      width:100%;
    }

    .wo-sub-mvalue b{
      font-size:24px;
      letter-spacing:.2px;
      font-weight:1200;
      color: color-mix(in srgb, var(--brand-text) 92%, transparent);
      line-height:1;
    }

    .wo-sub-mvalue span{
      font-size:10px;
      color: var(--brand-muted);
      padding:4px 8px;
      border-radius:999px;
      border:1px solid color-mix(in srgb, var(--brand-line) 85%, transparent);
      background: color-mix(in srgb, var(--brand-surface) 75%, transparent);
      white-space:nowrap;

      max-width:100%;
      overflow:hidden;
      text-overflow:ellipsis;
    }

    .wo-sub-meter{
      position:relative;
      margin-top:8px;
      height:9px;
      border-radius:999px;
      border:1px solid color-mix(in srgb, var(--brand-line) 85%, transparent);
      background: color-mix(in srgb, var(--brand-surface) 70%, transparent);
      overflow:hidden;
      z-index:1;

      width: min(120px, 88%);
      margin-left:auto;
      margin-right:auto;
    }

    .wo-sub-meter::before{
      content:"";
      position:absolute; inset:0;
      background: repeating-linear-gradient(
        90deg,
        transparent 0 26px,
        color-mix(in srgb, var(--brand-line) 55%, transparent) 26px 27px
      );
      opacity:.75;
    }

    .wo-sub-meter > span{
      display:block;
      height:100%;
      width: calc(var(--wo-sub-fill, .33) * 100%);
      background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--wo-sub-plan-accent) 70%, #fff),
        color-mix(in srgb, var(--wo-sub-plan-accent) 92%, #fff)
      );
      border-radius:inherit;
      box-shadow: 0 10px 22px rgba(16,24,40,.12);
    }

    .wo-sub-metric[data-level="1"]{ --wo-sub-fill: .33; }
    .wo-sub-metric[data-level="2"]{ --wo-sub-fill: .66; }
    .wo-sub-metric[data-level="3"]{ --wo-sub-fill: 1; }

    html[data-theme="dark"] .wo-sub-metric{
      box-shadow: 0 18px 46px rgba(0,0,0,.28);
    }
    html[data-theme="dark"] .wo-sub-metric::after{ opacity:.20; }

    /* prawa kolumna: cena + CTA */
    .wo-sub-plan-actions{
      padding:14px;
      border-left:1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-surface) 65%, transparent);
      display:flex;
      flex-direction:column;
      gap:12px;
      justify-content:center;
      align-items:stretch;
    }

    .wo-sub-plan-actions .wo-sub-pill{ justify-content:center; }
    .wo-sub-plan-actions .wo-sub-btn{ width:100%; }

    .wo-sub-plan-actions .wo-sub-btn[disabled]{
      opacity:.7;
      cursor:not-allowed;
    }

    /* cena w prawej kolumnie */
    .wo-sub-plan-pricebox{
      border:1px solid color-mix(in srgb, var(--brand-line) 90%, transparent);
      background: color-mix(in srgb, var(--brand-bg) 70%, var(--brand-surface));
      border-radius: var(--wo-border-radius);
      padding:10px 12px;
      display:flex;
      align-items:center;
      justify-content:center;
    }
    .wo-sub-plan-pricebox .wo-sub-price{
      align-items:center;
      text-align:center;
    }
    .wo-sub-plan-pricebox .wo-sub-price strong{ font-size:18px; }
    .wo-sub-plan-pricebox .wo-sub-price span{ font-size:10px; color: var(--brand-muted); }

    .wo-sub-plan[aria-current="true"]{
      border-color: color-mix(in srgb, var(--wo-sub-plan-accent) 55%, var(--brand-line));
      box-shadow: 0 18px 45px rgba(16,24,40,.10);
      transform: none;
    }

    .wo-sub-ribbon{
      position:absolute;top:10px;right:10px;
      padding:6px 10px;border-radius:999px;
      border:1px solid var(--brand-line);
      background: color-mix(in srgb, var(--wo-sub-plan-accent) 14%, var(--brand-surface));
      color: color-mix(in srgb, var(--brand-text) 82%, var(--wo-sub-plan-accent));
      font-size:10px;font-weight:1000;
      z-index:2;
    }

    /* mobile: plan jako karta */
    @media (max-width: 900px){
      .wo-sub-plan{ grid-template-columns: 1fr; }
      .wo-sub-plan-top{ border-right:none; border-bottom:1px solid var(--brand-line); }
      .wo-sub-plan-mid{ padding-top:12px; }
      .wo-sub-metrics{ grid-template-columns: 1fr; }

      .wo-sub-plan-actions{
        border-left:none;
        border-top:1px solid var(--brand-line);
        flex-direction:row;
        flex-wrap:wrap;
        align-items:center;
        justify-content:space-between;
      }
      .wo-sub-plan-actions .wo-sub-btn{
        width:auto;
        flex: 0 0 auto;
      }
      .wo-sub-plan-pricebox{
        width:100%;
        justify-content:flex-start;
      }
      .wo-sub-plan-pricebox .wo-sub-price{
        align-items:flex-start;
        text-align:left;
      }
    }

    /* ===== Invoice list ===== */
    .wo-sub-table{
      border:1px solid var(--brand-line);
      border-radius:16px;
      overflow:hidden;
      background: color-mix(in srgb, var(--brand-bg) 92%, transparent);
    }
    .wo-sub-tr{
      display:grid;
      grid-template-columns: 1.2fr .8fr .8fr auto;
      gap:10px;
      padding:10px 12px;
      border-top:1px solid var(--brand-line);
      align-items:center;
      font-size:11px;
      color: color-mix(in srgb, var(--brand-text) 88%, transparent);
    }
    .wo-sub-tr:first-child{border-top:none;}
    .wo-sub-th{
      font-size:10px;
      letter-spacing:.6px;
      text-transform:uppercase;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
      background: color-mix(in srgb, var(--brand-surface) 75%, transparent);
    }
    .wo-sub-chip{
      display:inline-flex;align-items:center;gap:8px;
      padding:6px 10px;border-radius:999px;
      border:1px solid var(--brand-line);
      background: var(--brand-surface);
      font-size:11px;color: var(--brand-muted);
      white-space:nowrap;
      width:fit-content;
    }
    .wo-sub-chip.ok{ color: color-mix(in srgb, #22c55e 70%, var(--brand-muted)); border-color: color-mix(in srgb, #22c55e 25%, var(--brand-line)); }
    .wo-sub-chip.warn{ color: color-mix(in srgb, #f59e0b 75%, var(--brand-muted)); border-color: color-mix(in srgb, #f59e0b 25%, var(--brand-line)); }

/* ===== END: subscriptions.css ===== */


/* ===== START: ghost.css ===== */


    /* ===== ACTIVATION UI ===== */
    .wo-hero{
      background:
        radial-gradient(1200px 500px at 40% -10%, color-mix(in srgb, var(--brand-accent) 22%, transparent), transparent 55%),
        color-mix(in srgb, var(--brand-surface) 65%, var(--brand-bg));
      border-radius: var(--wo-card-radius);
      padding: 18px;
      overflow:hidden;
      position:relative;
    }
    .wo-hero-top{
      display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
      margin-bottom:12px;
    }
    .wo-hero-kicker{
      display:flex;align-items:center;gap:10px;flex-wrap:wrap;
    }
    .wo-ghost-chip{
      display:inline-flex;align-items:center;gap:8px;
      padding:8px 12px;border-radius:999px;
      border:1px solid color-mix(in srgb, var(--brand-line) 70%, transparent);
      background: color-mix(in srgb, var(--brand-bg) 88%, transparent);
      font-size:11px;font-weight:1000;
    }
    .wo-ghost-chip i{color: var(--brand-accent);}
    .wo-hero-title{
      margin: 0;
      font-size: 18px;
      font-weight: 1000;
      letter-spacing: .2px;
      line-height:1.2;
    }
    .wo-hero-desc{
      margin: 8px 0 0;
      font-size: 13px;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
      line-height: 1.7;
    }

    .wo-warn{
      margin-top:12px;
      display:grid;gap:10px;
    }
    .wo-warn-item{
      display:flex;gap:10px;align-items:flex-start;
      padding:10px 12px;border-radius:16px;
      border:1px solid color-mix(in srgb, var(--brand-line) 75%, transparent);
      background: color-mix(in srgb, var(--brand-bg) 88%, transparent);
    }
    .wo-warn-item i{
      width:34px;height:34px;border-radius:12px;
      display:grid;place-items:center;
      border:1px solid var(--brand-line);
      background: var(--brand-surface);
      color: var(--brand-text);
      flex:0 0 auto;
    }
    .wo-warn-item b{display:block;font-size:12px;}
    .wo-warn-item span{display:block;margin-top:2px;font-size:11px;color: var(--brand-muted);line-height:1.5;}

    .wo-steps{
      margin-top: 12px;
      display:grid;
      gap:10px;
    }
    .wo-step{
      display:grid;
      grid-template-columns: 44px 1fr auto;
      gap:12px;
      align-items:center;
      padding:12px;
      border-radius: var(--wo-card-radius);
      border:1px solid var(--brand-line);
      background: color-mix(in srgb, var(--brand-bg) 92%, transparent);
      position:relative;
      overflow:hidden;
    }
    .wo-step::before{
      content:"";
      position:absolute;left:0;top:0;bottom:0;width:3px;
      background: color-mix(in srgb, var(--brand-line) 70%, transparent);
    }
    .wo-step.wo-done::before{ background: rgba(34,197,94,.85); }
    .wo-step.wo-done{ background: color-mix(in srgb, rgba(34,197,94,.10) 45%, var(--brand-bg)); }
    .wo-step.wo-done .wo-step-ico{
      border-color: rgba(34,197,94,.35);
      color: rgba(22,101,52,.95);
      background: rgba(187,247,208,.55);
    }

    .wo-step-ico{
      width:44px;height:44px;border-radius:14px;border:1px solid var(--brand-line);
      background: var(--brand-surface);
      display:grid;place-items:center;color: var(--brand-text);
    }
    .wo-step-body{min-width:0;}
    .wo-step-title{
      margin:0;
      font-size:12px;
      font-weight:1000;
      color: color-mix(in srgb, var(--brand-text) 92%, transparent);
      white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    }
    .wo-step-sub{
      margin:4px 0 0;
      font-size:11px;
      color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
    }
    .wo-step-cta{
      display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;
    }
    .wo-mini{
      height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--brand-line);
      background: var(--brand-surface);
      color: var(--brand-text);
      font-weight:1000;font-size:11px;
      cursor:pointer;
      display:inline-flex;align-items:center;gap:8px;
      text-decoration:none;
      white-space:nowrap;
    }
    .wo-mini i{color: var(--brand-text);}
    .wo-mini:hover{background: var(--brand-surface);}
    .wo-mini.wo-primary{border-color:transparent;background: color-mix(in srgb, var(--brand-accent) 92%, #fff);color:#111;}
    .wo-mini.wo-primary i{color:#111;}
    .wo-mini.wo-primary:hover{background: var(--brand-accent);}

    .wo-final{
      margin-top:12px;
      border:1px solid var(--brand-line);
      border-radius: 18px;
      background: color-mix(in srgb, var(--brand-surface) 55%, var(--brand-bg));
      padding: 12px;
      display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;
    }
    .wo-final .txt{
      font-size:11px;color: color-mix(in srgb, var(--brand-muted) 92%, transparent);line-height:1.6;
    }


    /* ==== GHOST NA HEADERZE ==== */


  .wrap { max-width: 900px; margin: 0 auto; }

  .woNotice {
    overflow: hidden;
    height: 0;
    transition: height 260ms ease;
    color: var(--brand-text);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    background: #111; /* fallback */
  }

  @supports (background: color-mix(in srgb, white 10%, transparent)) {
    .woNotice {
      border-bottom: 1px solid color-mix(in srgb, var(--brand-text) 12%, transparent);
      background:
        radial-gradient(1200px 600px at 10% 10%,
          color-mix(in srgb, var(--brand-accent) 18%, transparent),
          transparent 55%
        ),
        radial-gradient(900px 520px at 90% 0%,
          color-mix(in srgb, var(--brand-text) 8%, transparent),
          transparent 60%
        ),
        color-mix(in srgb, var(--brand-bg) 92%, transparent);
    }
  }

  .woNotice__inner {
    padding: 14px 16px;
    display: grid;
    gap: 12px;
  }

  .woNotice__topRow {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
  }

  .woNotice__title {
    margin: 10px 0 0;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;
  }

  .woNotice__subtitle {
    margin: 8px 0 0;
    opacity: 0.95;
    font-size: 14px;
    line-height: 1.45;
  }

  .woNotice__close {
    border: 0;
    background: rgba(255,255,255,0.12);
    color: inherit;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    flex: 0 0 auto;
  }
  .woNotice__close:hover { background: rgba(255,255,255,0.18); }

  .woNotice__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .woNotice__hint {
    font-size: 12px;
    opacity: 0.9;
  }

  /* MAX UX BUTTON */
  .woNotice__cta {
    position: relative;
    border: 0;
    cursor: pointer;
    color: #0b0c10;
    font-weight: 900;
    letter-spacing: 0.01em;
    padding: 12px 16px;
    border-radius: 14px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    user-select: none;

    /* czytelna baza */
    background: linear-gradient(135deg,
      color-mix(in srgb, var(--brand-accent) 92%, white),
      color-mix(in srgb, var(--brand-accent) 68%, white)
    );

    /* “podniesienie” */
    transform: translateY(0);
    transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
  }

  /* świecąca poświata (glow) */
  .woNotice__cta::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 18px;
    background: radial-gradient(closest-side,
      color-mix(in srgb, var(--brand-accent) 55%, transparent),
      transparent 65%
    );
    opacity: 0.9;
    filter: blur(10px);
    z-index: -1;
    transition: opacity 120ms ease, filter 120ms ease;

  }

  /* błysk “shine” */
  .woNotice__cta::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(120deg,
      rgba(255,255,255,0.55),
      rgba(255,255,255,0.05) 40%,
      rgba(255,255,255,0.0) 60%
    );
    opacity: 0.45;
    pointer-events: none;
  }

  .woNotice__cta:hover {
    transform: translateY(-1px);
    filter: saturate(1.05) brightness(1.02);
  }

  .woNotice__cta:hover::before {
    opacity: 1;
    filter: blur(12px);
  }

  .woNotice__cta:active {
    transform: translateY(1px);
    box-shadow:
      0 8px 18px rgba(0,0,0,0.26),
      0 2px 0 rgba(255,255,255,0.18) inset;
  }

  .woNotice__cta:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand-accent) 60%, white);
    outline-offset: 3px;
  }

  .woNotice__ctaIcon {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.45);
    box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset;
    font-size: 14px;
  }



  /* Disabled (gdybyś chciał blokować do czasu uzupełnienia danych) */
  .woNotice__cta[disabled]{
    cursor: not-allowed;
    opacity: 0.55;
    filter: grayscale(0.2);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  }
  .woNotice__cta[disabled]::before { opacity: 0.35; }

  @supports not (background: color-mix(in srgb, white 10%, transparent)) {
    .woNotice__cta {
      background: linear-gradient(135deg, #a896ff, #7c5cff);
    }
  }

/* ===== END: ghost.css ===== */


/* ===== START: responsive.css ===== */

/* ===== Responsive ===== */
@media (max-width: 1100px){
  /* GLOBALNE */

  .wo-content { overflow-x: unset;  }
  .wo-gridwrap { display:block; }

  .wo-col { padding: 0 !important;}

  .wo-gallery-col {
    padding: 0px !important;
    border-top: 0 !important;
  }
  .wo-gallery-sizer { width: 100%; }
  .wo-gallery-item{ 
    width: 100%;
    padding: 0 16px;
  }



  .wo-auth-shell{ grid-template-columns: 1fr; }
  .wo-two{ grid-template-columns: 1fr; }

  /* LOGIN */
  .wo-login{ grid-template-columns: 1fr; }
  .wo-login-hero{ min-height: 360px; }
  .wo-login-panel{ min-height: auto; }

  /* REJESTRACJA */
  .wo-register{ grid-template-columns: 1fr; }
  .wo-register-hero{ min-height: 360px; }
  .wo-register-panel{ min-height: auto; }

  /* DO ZDJEC */
  .wo-gallery-overlay{
    opacity: 1;
  }

  /* Mobile */

  .wo-side-toggle {
    display: inline-flex;
  }

  /* zwijanie/rozwijanie z animacją */
  .wo-side-nav {
    overflow: hidden;
    transition: max-height 220ms ease, opacity 160ms ease;
    display: none;
  }

  .wo-side-nav.wo-is-open {
    max-height: 2000px; /* wystarczająco duże na menu */
    opacity: 1;
    pointer-events: auto;
    display: block;
  }


@media (prefers-reduced-motion: reduce) {
  .wo-side-nav {
    transition: none;
  }


}


}
@media (max-width: 900px){
  .wo-header-container{grid-template-columns:1fr 0fr 1fr;height:auto;padding:10px 14px;gap:10px;}
  .wo-header-center{flex-direction:column;align-items:stretch;}
  .wo-header-logo-text{display:none;}

  .wo-gridwrap, .wo-gridwrap-cols-1, .wo-gridwrap-cols-2{grid-template-columns:1fr;}
  .wo-col + .wo-col{border-left:none;border-top:1px solid var(--brand-line);}
  .wo-gallery-col{grid-column:auto;border-left:0;border-top:1px solid var(--brand-line);}
  .wo-left-sticky.wo-is-sticky{position:static;top:auto;}

  .wo-logo-img{ height: 92px; width: min(260px, 100%); }

  /* 2 kolumny */


  
  .wo-grid2{ grid-template-columns: 1fr; }

  .wo-auth-wide{ grid-column: auto; border-left: 0; padding: 16px; }

  /* Portfolios */
  .wo-select{ min-width: 160px; }

  /* Photos */
  .wo-photo-media img{height: min(62vh, 560px);}

  /* DESKTOP */
  .wo-quick{ grid-template-columns: 1fr; }
  .wo-statsgrid{ grid-template-columns: 1fr; }
  .wo-statsgridthree{ grid-template-columns: repeat(2, 1fr); }

  /* MESSAGES */
  .wo-tname span{max-width: 240px;}
  .wo-tsnippet{max-width: 320px;}
  .wo-tright{display:none;} /* na mobile chowamy prawą kolumnę */
  .wo-chat-shell {
    grid-template-columns: 1fr !important;
  }



  /* UPLOAD */
  .wo-upload{
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 520px){





  .wo-gallery-link{ margin: 0; }

  /* DESKTOP */
  .wo-statsgridthree{ grid-template-columns: 1fr; }

  .wo-upload{
    grid-template-columns: 1fr !important;
  }
  .wo-chat-shell {
    grid-template-columns: 1fr !important;
  }

}










/* MESSAGES */
@media (max-width: 900px){

  /* tytuł + badge: ciaśniej */
  .wo-title{ margin: 4px 0 10px; font-size: 15px; }
  .wo-badge{ padding:6px 9px; font-size:10px; }

  /* search + button: full width */
  .wo-inbox-top{ gap:10px; }
  .wo-inbox-search{ min-width: 0; flex: 1 1 100%; }
  .wo-btn{ width: 100%; justify-content:center; }

  /* filtry: przewijane w poziomie */
  .wo-tabs{
    flex-wrap: nowrap;
    overflow:auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .wo-tabs::-webkit-scrollbar{ display:none; }
  .wo-tab{ flex: 0 0 auto; }

  /* LISTA */
  .wo-threadlist{ gap: 12px; }

  /* KARTA: na mobile robimy 2 rzędy:
     [AVATAR | MID | RIGHT]
     [AVATAR | MID (snippet+chips) | RIGHT]
  */
  .wo-thread{
    border-radius: 16px;
    min-height: 0;
    display:grid;
    grid-template-columns: 92px 1fr auto; /* avatar / content / right */
    grid-template-rows: auto auto;
    gap: 0;               /* kontrolujemy spacing paddingami środka */
    padding: 0;
    overflow:hidden;
    align-items: stretch;
    background: var(--brand-bg);
  }

  /* pasek unread */
  .wo-thread.wo-unread::before{
    background: var(--brand-accent);
  }

  /* AVATAR: od krawędzi, kwadrat, pełna wysokość dwóch rzędów */
  .wo-tava{
    grid-row: 1 / 3;
    height: auto;         /* ważne: NIE ustawiaj 150px */
    width: 92px;
    aspect-ratio: 1 / 1;  /* kwadrat */
    border: 0;
    border-radius: 0;
    overflow:hidden;
    background:#ddd;
  }
  .wo-tava img{ width:100%; height:100%; object-fit:cover; display:block; }

  /* MID: padding tylko tu */
  .wo-tmid{
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    padding: 12px 12px 6px 12px;
    min-width:0;
    display:flex;
    flex-direction:column;
    gap: 6px;
    justify-content:center;
  }

  /* SNIPPET + meta do drugiego rzędu */
  .wo-tmid + .wo-tsub,
  .wo-tsub{ display:none; } /* jeśli miałeś dodatkowy wrapper – ignorujemy */

  .wo-tsnippet{
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    padding: 0 12px 12px 12px;
    margin: 0;
    white-space: normal;      /* na mobile lepiej 2 linie */
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    -webkit-box-orient: vertical;
    overflow:hidden;
    max-width: none;
  }

  /* meta/chipy: jeśli masz, wrzuć je do .wo-tmid pod nazwą .wo-tmeta */
  .wo-tmeta{
    flex-wrap: wrap;
    gap: 8px;
    font-size: 10px;
  }
  .wo-chip{ padding: 4px 9px; font-size: 10px; }

  /* RIGHT: czas + badge + (opcjonalnie) mini akcje */
  .wo-tright{
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    padding: 12px 12px 12px 10px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:flex-end;
    gap: 10px;
    min-width: 0;
  }

  .wo-time{ font-size: 10px; }
  .wo-new{ min-width: 24px; height: 18px; padding: 0 7px; font-size: 10px; }

  /* mini akcje: chowamy na bardzo wąskich */
  /* .wo-actions{ display:none; } */

  @media (max-width: 420px){
    .wo-thread{ grid-template-columns: 84px 1fr auto; }
    .wo-tava{ width: 84px; }
  }
  .wo-chat-shell {
    grid-template-columns: 1fr !important;
  }

}

/* ===== END: responsive.css ===== */
.wo-article-tile {
  display: block;
}

.wo-article-tile-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.wo-article-tile-inner {
  padding: 20px;
  border-radius: 18px;
  background: var(--brand-surface);
  /* box-shadow: 0 8px 24px rgba(0,0,0,.06); */
}

.wo-article-tile-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(0,0,0,.06);
}

.wo-article-tile-title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.wo-article-tile-teaser {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  opacity: .78;
}

.wo-article-tile-more {
  font-size: 14px;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 520px) {
  .sp-padding-width{
    padding: 0 5px;
  }
  .wo-footer-inner{
  display:inline;
  }
}






/* ==== PRESINGUP ==== */
.wo-presignup {
  padding: 16px;
  background: var(--brand-bg);
}

.wo-presignup-form {
  width: 100%;
}

.wo-presignup-shell {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(260px, 1fr);
  gap: 16px;
  align-items: start;
}

.wo-presignup-main {
  min-width: 0;
}

.wo-presignup-empty {
  min-height: 620px;
  border-radius: var(--wo-border-radius);
}

.wo-presignup-head {
  margin-bottom: 16px;
}

.wo-presignup-title {
  margin: 0;
  font-size: 20px;
  font-weight: 1000;
  color: var(--brand-text);
}

.wo-presignup-sub {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
}

.wo-form-section {
  border-radius: var(--wo-border-radius);
  background: var(--brand-surface);
  padding: 14px;
  margin-bottom: 14px;
}

.wo-form-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.wo-form-section-num {
  width: 28px;
  height: 28px;
  border-radius: var(--wo-border-radius);
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--brand-accent) 22%, var(--brand-bg));
  border: 1px solid color-mix(in srgb, var(--brand-accent) 42%, var(--brand-line));
  color: var(--brand-text);
  font-size: 12px;
  font-weight: 1000;
}

.wo-form-section-title {
  margin: 0;
  font-size: 14px;
  font-weight: 1000;
  color: var(--brand-text);
}

.wo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wo-field-full {
  grid-column: 1 / -1;
}

textarea.wo-input {
  min-height: 92px;
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  resize: vertical;
  line-height: 1.5;
}

/* Avatar */

.wo-avatar-card {
  border: 1px solid var(--brand-line);
  border-radius: var(--wo-border-radius);
  background: color-mix(in srgb, var(--brand-surface) 62%, var(--brand-bg));
  padding: 14px;
  display: grid;
  gap: 14px;
}

.wo-avatar-main {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.wo-avatar-preview-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wo-avatar-square {
  width: 104px;
  height: 104px;
  border-radius: var(--wo-border-radius);
  border: 1px solid var(--brand-line);
  background: var(--brand-surface);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wo-avatar-square .wo-avatar-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.wo-avatar-square .wo-avatar-preview.is-on {
  display: block;
}

.wo-avatar-square .wo-avatar-preview.is-on + .wo-avatar-fallback {
  display: none;
}

.wo-avatar-square .wo-avatar-fallback {
  font-size: 24px;
  color: var(--brand-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wo-avatar-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.wo-avatar-title {
  font-size: 14px;
  font-weight: 1000;
  color: var(--brand-text);
}

.wo-avatar-desc {
  margin: 0;
  max-width: 58ch;
  font-size: 12px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
}

.wo-avatar-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wo-avatar-pick {
  margin: 0;
  cursor: pointer;
}

.wo-presignup .wo-avatar-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.wo-avatar-crop {
  margin-top: 0;
  border: 1px solid var(--brand-line);
  border-radius: var(--wo-border-radius);
  background: var(--brand-bg);
  padding: 12px;
}

.wo-avatar-crop-head {
  margin-bottom: 12px;
}

.wo-avatar-crop-title {
  font-size: 13px;
  font-weight: 1000;
  color: var(--brand-text);
}

.wo-avatar-crop-sub {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
}

.wo-crop-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.wo-crop-viewport {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: var(--wo-border-radius);
  border: 1px solid var(--brand-line);
  background: color-mix(in srgb, var(--brand-surface) 64%, var(--brand-bg));
  overflow: hidden;
  position: relative;
  touch-action: none;
  user-select: none;
}

.wo-crop-viewport img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
  pointer-events: none;
}

.wo-crop-side {
  display: grid;
  gap: 12px;
}

.wo-crop-controls {
  display: grid;
  gap: 8px;
  margin: 0;
}

.wo-crop-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-text);
}

.wo-crop-controls input[type="range"] {
  width: 100%;
}

.wo-crop-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

/* Portfolio */

.wo-portfolio-intro {
  margin-bottom: 12px;
}

.wo-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wo-photo-card {
  border: 1px solid var(--brand-line);
  border-radius: var(--wo-border-radius);
  background: color-mix(in srgb, var(--brand-surface) 62%, var(--brand-bg));
  padding: 12px;
  display: grid;
  gap: 10px;
}

.wo-photo-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wo-photo-card-title {
  margin: 0;
  font-size: 12px;
  font-weight: 1000;
  color: var(--brand-text);
}

.wo-photo-card-count {
  font-size: 11px;
  color: var(--brand-muted);
}

.wo-photo-card .wo-upload-slot {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--wo-border-radius);
}

.wo-photo-meta-grid {
  display: grid;
  gap: 9px;
}

.wo-photo-flags {
  display: grid;
  gap: 7px;
}

.wo-photo-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--brand-line);
  border-radius: var(--wo-border-radius);
  background: var(--brand-bg);
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}

.wo-photo-flag:hover {
  background: var(--brand-surface);
  color: var(--brand-text);
}

.wo-photo-flag input {
  margin: 0;
  accent-color: var(--brand-accent);
}

.wo-presignup-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Confirm submit */

.wo-submit-confirm {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--state-warning) 38%, var(--brand-line));
  border-radius: var(--wo-border-radius);
  background: color-mix(in srgb, var(--state-warning) 10%, var(--brand-bg));
  padding: 12px;
  display: grid;
  gap: 8px;
}

.wo-submit-confirm[hidden] {
  display: none;
}

.wo-submit-confirm-title {
  font-size: 13px;
  font-weight: 1000;
  color: var(--brand-text);
}

.wo-submit-confirm-text {
  font-size: 12px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
}

.wo-submit-confirm-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
}

.wo-submit-confirm-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Responsive */

@media (max-width: 980px) {
  .wo-presignup-shell {
    grid-template-columns: 1fr;
  }

  .wo-presignup-empty {
    display: none;
  }
}

@media (max-width: 720px) {
  .wo-form-grid,
  .wo-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .wo-avatar-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .wo-avatar-preview-wrap {
    justify-content: flex-start;
  }

  .wo-crop-layout {
    grid-template-columns: 1fr;
  }

  .wo-crop-viewport {
    max-width: 100%;
  }
}

.wo-form-alert {
  border: 1px solid var(--brand-line);
  border-radius: var(--wo-border-radius);
  background: var(--brand-surface);
  padding: 14px;
  margin-bottom: 14px;
  display: grid;
  gap: 8px;
}

.wo-form-alert-error {
  border-color: color-mix(in srgb, var(--state-danger, #ef4444) 45%, var(--brand-line));
  background: color-mix(in srgb, var(--state-danger, #ef4444) 10%, var(--brand-bg));
}

.wo-form-alert-title {
  font-size: 14px;
  font-weight: 1000;
  color: var(--brand-text);
}

.wo-form-alert-message {
  font-size: 13px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
}

.wo-form-alert-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--brand-muted) 92%, transparent);
}

.wo-form-alert-note {
  font-size: 12px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--brand-muted) 90%, transparent);
}

/* Article */
	.wo-article-list-item {
  margin-bottom: 24px;
}

.wo-article-teaser {
  font-size: 1.1rem;
  opacity: .8;
  margin-bottom: 24px;
}

.wo-article-content {
  line-height: 1.75;
}

.wo-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.wo-article-content figure {
  margin: 28px 0;
}

.wo-article-content figcaption {
  font-size: .9rem;
  opacity: .7;
  margin-top: 8px;
}

.wo-article-content blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid currentColor;
  background: rgba(255,255,255,.04);
  border-radius: 12px;
}

.wo-article-back {
  display: inline-block;
  margin-top: 32px;
}


.article-content {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--brand-text);
  line-height: 1.7;
  max-width: 860px;
  margin: 0 auto;
}

.article-hero {
  padding: 22px 0 18px;
}

.article-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 900;
  font-size: 12px;
}

.article-hero h1 {
  font-size: var(--h1-font-size);
  line-height: 1.12;
  margin: 8px 0 12px;
}

.article-teaser,
.article-lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--brand-text);
  font-weight: 600;
}

.article-block {
  margin: 28px 0;
}

.article-heading h2 {
  line-height: 1.2;
  margin: 0;
}

.article-heading h3 {
  font-size: 25px;
  line-height: 1.25;
}

.article-text p {
  font-size: 18px;
  margin: 0 0 18px;
}

.article-text h1,
.article-text h2,
.article-text h3,
.article-text h4,
.article-text h5,
.article-text h6 {
  line-height: 1.2;
  margin: 28px 0 12px;
}

.article-text h1 {
  font-size: var(--h1-font-size);
}

.article-text h2 {
  font-size: var(--h2-font-size);
}

.article-text h3 {
  font-size: 26px;
}

.article-text h4 {
  font-size: 22px;
}

.article-text ul,
.article-text ol {
  padding-left: 24px;
  margin: 0 0 20px;
}

.article-text li {
  margin: 7px 0;
}

.article-text blockquote {
  border-left: 4px solid #111827;
  padding: 12px 18px;
  background: #f8fafc;
  border-radius: 0 14px 14px 0;
  font-weight: 700;
}

.article-image img,
.article-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.article-image figcaption,
.article-gallery figcaption {
  font-size: 13px;
  color: #64748b;
  margin-top: 8px;
}

.article-image figcaption span,
.article-gallery figcaption span {
  display: block;
}

.article-gallery {
  display: grid;
  gap: 14px;
}

.article-gallery.cols-1 {
  grid-template-columns: 1fr;
}

.article-gallery.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.article-gallery.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.article-gallery.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.article-gallery figure {
  margin: 0;
}

.article-quote {
  border-left: 5px solid #111827;
  padding: 12px 0 12px 22px;
  background: #f8fafc;
  border-radius: 0 16px 16px 0;
}

.article-quote blockquote {
  font-size: 24px;
  line-height: 1.45;
  margin: 0;
  font-weight: 700;
}

.article-quote figcaption {
  margin-top: 10px;
  color: #64748b;
  font-weight: 800;
}

.article-cta {
  text-align: center;
}

.article-cta a {
  display: inline-flex;
  background: #111827;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  padding: 13px 20px;
  border-radius: 14px;
}

.article-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.article-profile-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  color: #111827;
  background: #ffffff;
}

.article-profile-card span {
  display: block;
  color: #64748b;
  margin-top: 5px;
}

@media (max-width: 760px) {
  .article-hero h1 {
    font-size: var(--h1-font-size);
  }

  .article-gallery,
  .article-profiles {
    grid-template-columns: 1fr !important;
  }

  .article-content {
    padding: 0 14px;
  }
}