:root {
  color-scheme: light;
  --ink:#192126; --ink-soft:#4f5c5f; --muted:#89928f; --gold:#aa946e;
  --gold-soft:#e9dfcf; --paper:#f8f8f4; --white:#fff; --line:#e7e7e0;
  --nav:#192124; --nav-line:#374046; --serif:Georgia,"Times New Roman",serif;
  --sans:Inter,"Helvetica Neue",Arial,sans-serif;
  font-family:var(--sans); font-size:14px; -webkit-font-smoothing:antialiased;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.4; }
a { text-decoration:none; color:inherit; }
:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
[hidden] { display:none !important; }
.layout { display:grid; grid-template-columns:258px minmax(0,1fr); min-height:100vh; }
.sidebar { background:var(--nav); color:#f4f3ec; display:flex; flex-direction:column; min-height:100vh; position:sticky; top:0; height:100vh; padding:35px 21px 26px; }
.brand { display:block; width:max-content; margin:0 0 72px 13px; }
.brand-word { font-family:var(--serif); font-size:25px; letter-spacing:.028em; line-height:1.1; font-weight:normal; }
.brand-sub { display:flex; align-items:center; gap:9px; margin-top:11px; font-size:10px; letter-spacing:.33em; color:#d4c7af; }
.brand-sub small { color:#7b8584; letter-spacing:0; font-size:9px; margin-left:8px; }
.brand-line { width:25px; height:1px; background:var(--gold); }
.sidebar-section { color:#768185; font-size:9px; font-weight:700; letter-spacing:.2em; margin:0 0 20px 17px; }
.side-nav { display:grid; gap:7px; }
.nav-link { display:grid; grid-template-columns:21px 1fr auto; gap:12px; text-align:left; align-items:center; width:100%; border:1px solid transparent; background:transparent; border-radius:2px; padding:14px 14px; color:#aeb8b7; font-weight:500; font-size:13px; transition:background .2s,color .2s,border .2s; }
.nav-link:hover { background:#252e31; color:#fff; }
.nav-link.active { background:#30383a; color:#fff; border-color:#46504f; }
.nav-link.active:before { content:""; position:absolute; left:21px; width:2px; height:21px; background:var(--gold); }
.nav-icon { width:20px; display:flex; align-items:center; }
svg.icon { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.nav-index { font-size:10px; color:#778181; font-weight:400; }
.sidebar-bottom { margin-top:auto; padding:0 15px; }
.private-note { color:#d7d2c3; letter-spacing:.16em; font-size:10px; font-weight:700; display:flex; align-items:center; gap:9px; }
.private-dot { width:6px; height:6px; border-radius:100%; background:#a8ad86; }
.sidebar-bottom p { color:#8f9999; line-height:1.7; font-size:11px; margin:14px 0 37px; }
.sidebar-footer { color:#778282; font-size:9px; letter-spacing:.1em; border-top:1px solid #354043; padding-top:17px; }
.sidebar-footer span { display:block; padding-top:6px; color:#a3abaa; }
.workspace { display:flex; flex-direction:column; min-width:0; }
.topbar { height:85px; padding:0 57px; background:#fff; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:15px; }
.breadcrumbs { display:flex; gap:14px; align-items:center; font-size:11px; letter-spacing:.12em; }
.breadcrumbs span:first-child { color:#9da6a3; font-size:10px; }
.breadcrumbs strong { font-weight:600; letter-spacing:.04em; }
.slash { color:#c2c8c4; }
.topbar-actions { display:flex; align-items:center; gap:19px; }
.today-label { font-size:10px; letter-spacing:.12em; color:#66716f; text-transform:uppercase; white-space:nowrap; }
.topbar-divider { height:23px; width:1px; background:var(--line); }
.icon-btn { border:0; background:transparent; padding:6px; display:grid; place-items:center; color:#74807b; }
.icon-btn:hover { color:var(--gold); }
.avatar { background:#e9e6df; color:#474f4b; border-radius:50%; width:33px; height:33px; display:grid; place-items:center; font-family:var(--serif); font-size:11px; font-weight:bold; }
.main { max-width:1640px; width:100%; margin:0 auto; padding:44px 57px 67px; flex:1; }
.workspace-footer { margin:auto 57px 0; padding:23px 0 25px; border-top:1px solid var(--line); display:flex; justify-content:space-between; font-size:9px; letter-spacing:.14em; color:#a2aaa6; }
.page-topline { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:33px; }
.eyebrow { font-size:10px; letter-spacing:.19em; font-weight:700; color:var(--gold); }
.page-title { font-family:var(--serif); font-size:clamp(34px,4vw,54px); font-weight:400; line-height:1.12; letter-spacing:-.045em; margin:12px 0 12px; }
.page-description { color:#76807c; font-size:13px; line-height:1.65; max-width:680px; margin:0; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:10px; border:1px solid #243037; border-radius:2px; background:#243037; color:#fff; padding:12px 18px; font-size:11px; letter-spacing:.07em; font-weight:700; white-space:nowrap; transition:transform .18s,background .18s; }
.button:hover { background:#354448; transform:translateY(-1px); }
.button svg { width:15px; height:15px; }
.button.secondary { background:#fff; border-color:#dce0dc; color:#263237; }
.button.secondary:hover { background:#f6f6f2; }
.button.small { padding:10px 13px; font-size:10px; }
.button.light { background:var(--gold); border-color:var(--gold); color:#172124; }
.button.light:hover { background:#beaa89; }
.button.ghost { color:#6b7471; background:transparent; border-color:transparent; }
.demo-banner { border:1px solid #e7ddcf; background:#f4eee5; padding:12px 17px; margin-bottom:32px; color:#7b6e5a; display:flex; align-items:center; gap:11px; font-size:11px; line-height:1.5; }
.demo-banner svg { width:16px; height:16px; flex-shrink:0; }
.section-title { font-family:var(--serif); font-size:25px; letter-spacing:-.03em; font-weight:400; margin:0; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.text-link { display:inline-flex; align-items:center; gap:7px; text-decoration:none; font-size:10px; letter-spacing:.12em; font-weight:700; color:#6d7874; background:transparent; border:0; padding:5px 0; }
.text-link:hover { color:#1e292c; }
.text-link svg { width:14px; height:14px; }
.stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:17px; margin:0 0 39px; }
.stat { background:#fff; border:1px solid #e9eae4; min-height:159px; padding:24px 25px 20px; display:flex; flex-direction:column; position:relative; overflow:hidden; }
.stat:after { content:""; position:absolute; top:0; right:0; width:45px; height:2px; background:#c5b28f; }
.stat-label { color:#87908c; font-size:10px; letter-spacing:.13em; text-transform:uppercase; font-weight:700; }
.stat-value { display:flex; align-items:baseline; gap:7px; font-family:var(--serif); font-size:49px; line-height:1; letter-spacing:-.045em; margin:20px 0 11px; }
.stat-value small { font-size:14px; color:#9caaa3; font-family:var(--sans); letter-spacing:0; }
.stat-note { margin-top:auto; font-size:10px; color:#909b95; }
.grid-two { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr); gap:30px; }
.surface { border:1px solid #e7e8e2; background:#fff; padding:24px 28px; }
.project-mini { padding:17px 0 20px; border-bottom:1px solid #edeee8; display:grid; grid-template-columns:47px minmax(0,1fr) 95px; gap:14px; align-items:center; }
.project-mini:last-child { border:0; padding-bottom:0; }
.project-number { font-family:var(--serif); font-size:24px; color:#b5bdba; }
.mini-title { margin:0 0 5px; font-weight:600; font-size:13px; }
.mini-sub { color:#9aa29d; font-size:10px; }
.progress-track { height:3px; background:#e8e8e3; margin-top:13px; overflow:hidden; }
.progress-track span { display:block; height:100%; background:#ad9874; }
.mini-percent { font-family:var(--serif); font-size:23px; text-align:right; color:#49564f; }
.task-line { display:flex; align-items:flex-start; gap:12px; padding:16px 0; border-bottom:1px solid #edeee8; }
.task-line:last-child { border:0; padding-bottom:0; }
.task-circle { width:19px; height:19px; border:1px solid #b5bcb6; border-radius:50%; margin-top:2px; display:grid; place-items:center; color:#fff; background:transparent; flex-shrink:0; }
.task-circle.done { background:#607c71; border-color:#607c71; }
.task-circle svg { width:12px; height:12px; }
.task-title { margin:0 0 4px; font-size:12px; font-weight:600; line-height:1.4; }
.task-sub { color:#9da59e; font-size:10px; }
.task-date { color:#a78c67; font-size:10px; white-space:nowrap; margin-left:auto; padding-left:8px; }
.activity { margin-top:34px; border-top:1px solid var(--line); padding-top:28px; }
.activity-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.activity-card { padding:22px; border:1px solid #e5e6e0; background:#fff; min-height:112px; }
.activity-card strong { display:block; font-size:11px; margin:10px 0 6px; }
.activity-card small { color:#a0a9a2; font-size:10px; }
.cards-header { display:flex; gap:11px; align-items:center; justify-content:space-between; margin-bottom:18px; flex-wrap:wrap; }
.filters { display:flex; flex-wrap:wrap; gap:6px; }
.filter { background:transparent; border:1px solid transparent; color:#858f88; padding:9px 13px; font-size:11px; }
.filter:hover { color:#283236; }
.filter.active { background:#fff; color:#253036; border-color:#dfe2dd; }
.search-input { height:39px; padding:0 14px 0 38px; border:1px solid #e0e2dc; color:var(--ink); width:245px; background:white; outline:none; border-radius:2px; }
.search-wrap { position:relative; }
.search-wrap svg { position:absolute; top:10px; left:12px; color:#9ea9a2; width:16px; }
.project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.project-card { background:#fff; border:1px solid #e6e8e2; text-align:left; padding:0; color:var(--ink); transition:box-shadow .22s,transform .22s; overflow:hidden; }
.project-card:hover { transform:translateY(-3px); box-shadow:0 15px 35px #1b282c0c; }
.project-card-visual { height:132px; display:flex; align-items:flex-end; padding:18px; position:relative; background:#e9e8e2; overflow:hidden; }
.project-card-visual:before { content:""; position:absolute; height:300px; width:300px; border:1px solid #ffffffa3; transform:rotate(36deg); left:48%; top:-128px; box-shadow:0 0 0 25px #ffffff16,0 0 0 55px #ffffff18; }
.project-card-visual:after { content:""; position:absolute; width:110%; height:1px; background:#ffffff9c; transform:rotate(-20deg); left:-8%; top:45%; }
.project-code { font-size:10px; letter-spacing:.12em; position:relative; z-index:1; background:#ffffffbd; padding:7px 8px; }
.project-card-body { padding:22px 22px 21px; }
.project-card-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.pill { padding:6px 9px; background:#f0f3ee; font-size:9px; color:#6c8072; letter-spacing:.05em; white-space:nowrap; }
.pill.wait { background:#f4eee4; color:#998366; }
.pill.done { background:#e8f0eb; color:#547262; }
.project-card h3 { font-family:var(--serif); font-size:22px; line-height:1.2; font-weight:400; letter-spacing:-.025em; margin:15px 0 8px; }
.project-meta { color:#9ba49d; font-size:11px; }
.project-card-bottom { margin-top:23px; border-top:1px solid var(--line); padding-top:17px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.progress-value { font-family:var(--serif); font-size:24px; }
.project-deadline { color:#848e89; font-size:10px; }
.empty { padding:66px 28px; text-align:center; border:1px dashed #d8dcd6; background:#fff; color:#8b9790; }
.empty svg { width:28px; height:28px; color:#bdab88; }
.empty h3 { font-family:var(--serif); font-size:25px; font-weight:400; color:#324043; margin:13px 0 8px; }
.empty p { font-size:12px; line-height:1.6; max-width:370px; margin:0 auto 20px; }
.document-toolbar { margin-bottom:18px; display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.table-shell { background:#fff; border:1px solid #e6e8e1; overflow:auto; }
.data-table { width:100%; border-collapse:collapse; text-align:left; min-width:650px; }
.data-table th { background:#f6f7f3; text-transform:uppercase; font-size:9px; font-weight:700; letter-spacing:.13em; color:#919a94; padding:18px 22px; white-space:nowrap; }
.data-table td { padding:20px 22px; border-top:1px solid #eaebe6; color:#505c56; font-size:12px; }
.data-table strong { color:#263136; font-weight:600; }
.file-chip { display:inline-flex; align-items:center; justify-content:center; color:#967b54; background:#f4eee4; padding:7px; width:35px; height:35px; margin-right:12px; vertical-align:middle; }
.file-chip svg { width:17px; }
.file-name { display:inline-flex; vertical-align:middle; flex-direction:column; gap:4px; max-width:270px; }
.file-name small { color:#9ea9a3; font-size:10px; }
.table-action { border:0; color:#63716b; background:transparent; font-size:11px; text-decoration:underline; text-underline-offset:4px; }
.team-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; margin-bottom:37px; }
.member-card { padding:23px; background:#fff; border:1px solid #e7e8e1; display:flex; align-items:center; gap:14px; min-height:117px; }
.member-avatar { width:51px; height:51px; background:#edeae3; color:#6e796f; border-radius:50%; display:grid; place-items:center; font-family:var(--serif); font-size:17px; flex-shrink:0; }
.member-info { min-width:0; }
.member-info h3 { font-size:13px; font-weight:600; margin:0 0 5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.member-info p { font-size:11px; color:#9ba59d; margin:0 0 7px; }
.member-role { font-size:9px; letter-spacing:.08em; color:#988161; text-transform:uppercase; }
.kanban { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.kanban-column { background:#f0f1eb; padding:18px; min-height:250px; }
.kanban-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:19px; font-size:11px; font-weight:700; }
.kanban-count { color:#8c9890; font-size:10px; }
.kanban-task { background:#fff; border:1px solid #e6e8e1; padding:17px; margin-bottom:11px; }
.kanban-task h4 { font-weight:600; font-size:12px; line-height:1.48; margin:11px 0; }
.kanban-task-top { color:#988162; letter-spacing:.08em; font-size:9px; text-transform:uppercase; }
.kanban-task-footer { display:flex; justify-content:space-between; gap:8px; align-items:center; color:#99a39e; font-size:10px; }
.kanban-task-footer select { border:0; background:#f2f4ef; color:#53665c; padding:7px 8px; width:102px; font-size:9px; cursor:pointer; }
.detail-panel { background:#fff; border:1px solid #e8e8e0; padding:30px; margin-top:20px; }
.detail-grid { display:grid; grid-template-columns:1.3fr 1fr; gap:28px; }
.detail-label { color:#98a19c; font-size:10px; letter-spacing:.14em; text-transform:uppercase; margin:0 0 9px; }
.detail-value { font-family:var(--serif); font-size:21px; margin:0 0 23px; }
.detail-value.small { font-family:var(--sans); font-size:13px; }
.detail-panel h3 { font-family:var(--serif); font-size:29px; margin:0 0 23px; font-weight:400; }
.detail-steps { display:flex; flex-wrap:wrap; gap:8px; }
.detail-steps span { padding:9px 11px; border:1px solid #e1e5dc; color:#78827a; font-size:10px; }
.detail-steps .current { color:#725d40; background:#f3ede4; border-color:#e7d8bf; }
.loading-state { min-height:68vh; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:7px; color:#89938d; font-size:12px; }
.loading-monogram { font-size:70px; font-family:var(--serif); color:#343e3d; }
.loading-monogram span { color:var(--gold); }
.error-state { max-width:590px; margin:12vh auto; background:white; border:1px solid #e8e9e3; padding:40px; text-align:center; }
.error-state h2 { font-family:var(--serif); font-weight:400; font-size:29px; }
.error-state p { color:#77837c; line-height:1.7; }
.error-state code { font-size:11px; background:#f4f4ef; padding:5px 7px; }
.dialog-backdrop { position:fixed; inset:0; z-index:30; background:#17232999; display:flex; align-items:center; justify-content:center; padding:18px; overflow:auto; }
.dialog { width:min(570px,100%); max-height:calc(100vh - 40px); overflow:auto; background:#fff; padding:32px; box-shadow:0 28px 80px #0003; }
.dialog-heading { display:flex; justify-content:space-between; gap:12px; border-bottom:1px solid var(--line); padding-bottom:22px; margin-bottom:23px; }
.dialog-heading h2 { font-family:var(--serif); font-size:33px; margin:8px 0 0; font-weight:400; }
.dialog-close { border:0; background:transparent; color:#8c9790; font-size:27px; height:36px; width:36px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { display:flex; flex-direction:column; gap:7px; min-width:0; }
.field.full { grid-column:1/-1; }
.field label { text-transform:uppercase; letter-spacing:.09em; font-size:9px; color:#77827b; font-weight:700; }
.field input,.field select,.field textarea { border:1px solid #dfe3dc; border-radius:0; background:#fff; color:#273237; padding:12px 11px; width:100%; outline:none; min-height:43px; }
.field input:focus,.field select:focus { border-color:var(--gold); }
.field small { color:#a2aaa4; font-size:10px; line-height:1.5; }
.dialog-actions { display:flex; gap:10px; justify-content:flex-end; margin-top:27px; }
.dialog-tip { margin:17px 0 0; background:#f5f1e9; color:#897a63; padding:12px 14px; line-height:1.55; font-size:11px; }
.version-list { margin:20px 0 0; padding:0; list-style:none; }
.version-list li { border-top:1px solid #eaece7; padding:16px 0; display:flex; justify-content:space-between; gap:16px; align-items:center; }
.version-list small { display:block; color:#a0a9a2; margin-top:4px; }
.toast { position:fixed; z-index:55; right:27px; bottom:27px; background:#243035; color:#fff; padding:14px 19px; box-shadow:0 12px 40px #0002; opacity:0; pointer-events:none; transform:translateY(15px); transition:opacity .2s,transform .2s; max-width:420px; font-size:12px; }
.toast.show { opacity:1; transform:translateY(0); }
.mobile-navigation { display:none; }
@media(max-width:1280px){
  .layout{grid-template-columns:220px minmax(0,1fr)}
  .topbar{padding:0 35px}.main{padding:37px 35px 60px}.workspace-footer{margin-left:35px;margin-right:35px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .sidebar{width:80px;padding:25px 12px}.layout{grid-template-columns:80px minmax(0,1fr)}
  .brand{margin:0 0 55px 0}.brand-word{font-size:12px;word-break:break-all;width:50px;text-align:center;line-height:1.5}.brand-sub,.sidebar-section,.nav-link>span:not(.nav-icon),.sidebar-bottom{display:none}
  .nav-link{grid-template-columns:1fr;justify-items:center;padding:15px}.nav-link.active:before{left:12px}
  .grid-two{grid-template-columns:1fr}.activity-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
  .layout{display:block}.sidebar{display:none}.topbar{height:63px;padding:0 20px}.breadcrumbs{gap:8px;font-size:10px}.today-label{display:none}.topbar-actions{gap:9px}
  .main{padding:28px 19px 90px}.workspace-footer{display:none}.page-topline{margin-bottom:23px}.page-title{font-size:38px}.page-description{font-size:12px}
  .page-topline .button{font-size:0;padding:12px}.page-topline .button svg{width:18px;height:18px}
  .demo-banner{font-size:10px;margin-bottom:25px}.stats{gap:10px}.stat{min-height:125px;padding:18px}.stat-value{font-size:39px;margin:14px 0 6px}.stat-label{font-size:9px}.stat-note{font-size:9px}
  .grid-two,.project-grid,.team-grid,.kanban,.detail-grid{grid-template-columns:1fr}
  .project-grid,.team-grid{gap:12px}.kanban{gap:10px}.kanban-column{min-height:150px}.activity-grid{grid-template-columns:1fr;gap:9px}
  .surface{padding:20px}.section-title{font-size:23px}.section-heading{margin-bottom:13px}.cards-header{align-items:flex-start}
  .project-card-visual{height:97px}.project-card h3{font-size:22px}.project-card-body{padding:18px}
  .filters{width:100%}.filter{padding:8px 10px}.search-input{width:100%}.search-wrap{width:100%}
  .mobile-navigation{position:fixed;z-index:20;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);background:#192124;padding:9px 5px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -7px 20px #0002}
  .mobile-navigation button{border:0;background:transparent;color:#a2afaa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 3px}.mobile-navigation button.active{color:#dfd2b7}.mobile-navigation small{font-size:9px}.mobile-navigation svg{width:18px;height:18px}
  .dialog{padding:24px 18px}.dialog-heading h2{font-size:29px}.dialog-backdrop{align-items:flex-end;padding:0}.dialog{width:100%;border-radius:8px 8px 0 0;max-height:91vh}
  .form-grid{grid-template-columns:1fr;gap:14px}.field.full{grid-column:auto}.toast{left:17px;right:17px;bottom:93px}
  .document-toolbar{align-items:stretch}.document-toolbar>div{width:100%}.document-toolbar .button{width:100%}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none !important;animation:none !important}}

/* ── ZAMBAKET STUDIO 0.2 · shtesat për Supabase ── */
.auth-screen { min-height:100vh; display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,460px); background:var(--paper); }
.auth-visual { background:var(--nav); color:#f4f3ec; padding:56px; display:flex; flex-direction:column; justify-content:space-between; }
.auth-visual .brand { margin:0; }
.auth-visual p { color:#9aa4a3; max-width:420px; line-height:1.8; font-size:13px; }
.auth-panel { padding:56px 48px; display:flex; flex-direction:column; justify-content:center; gap:18px; }
.auth-panel h1 { font-family:var(--serif); font-weight:normal; font-size:30px; margin:0; }
.auth-panel form { display:grid; gap:14px; }
.auth-panel label { font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-soft); display:grid; gap:7px; }
.auth-panel input { border:1px solid var(--line); background:var(--white); padding:13px 14px; border-radius:2px; font-size:14px; }
.auth-error { color:#8e584b; font-size:13px; min-height:18px; margin:0; }
.auth-note { color:var(--muted); font-size:12px; line-height:1.7; margin:0; }
@media (max-width:820px) { .auth-screen { grid-template-columns:1fr; } .auth-visual { padding:36px 28px; min-height:220px; } .auth-panel { padding:36px 28px; } }

.presence { display:inline-flex; align-items:center; gap:7px; font-size:11px; color:var(--ink-soft); }
.presence i { width:8px; height:8px; border-radius:50%; background:#c9cbc4; display:inline-block; }
.presence.online i { background:#5f9b6a; box-shadow:0 0 0 3px rgba(95,155,106,.18); }
.member-card.inactive { opacity:.5; }
.member-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.button.small { padding:7px 11px; font-size:11px; }
.admin-table td, .admin-table th { vertical-align:middle; }
.member-list { list-style:none; padding:0; margin:14px 0 0; display:grid; gap:8px; }
.member-list li { display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--line); padding:8px 0; }
.member-list select { padding:6px 8px; border:1px solid var(--line); background:var(--white); }
.invite-link { width:100%; font-family:ui-monospace,Menlo,monospace; font-size:11px; padding:10px; border:1px solid var(--line); background:var(--white); word-break:break-all; }
.project-pick { display:grid; grid-template-columns:1fr auto; gap:8px 12px; align-items:center; max-height:220px; overflow:auto; border:1px solid var(--line); padding:10px; background:var(--white); }
.project-pick label { display:flex; gap:8px; align-items:center; font-size:13px; text-transform:none; letter-spacing:0; }
.role-hint { font-size:11px; color:var(--muted); }
.tabs-inline { display:flex; gap:8px; margin:0 0 18px; }
#auth-login, #auth-password { display:grid; gap:16px; }
#auth-login[hidden], #auth-password[hidden] { display:none !important; }
.auth-panel h1 { margin:0 0 10px; }
.auth-panel .button { justify-content:center; width:100%; }
.auth-visual .brand-sub { color:#d4c7af; }

/* Shikimi i menjëhershëm i dokumentit */
.viewer { position:fixed; inset:0; z-index:200; background:rgba(16,21,23,.94); display:grid; grid-template-rows:auto 1fr; }
.viewer-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 22px; background:#192124; color:#f4f3ec; border-bottom:1px solid rgba(255,255,255,.08); }
.viewer-bar strong { display:block; font-family:var(--serif); font-weight:normal; font-size:19px; margin-top:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:52vw; }
.viewer-actions { display:flex; gap:8px; align-items:center; }
.viewer-actions .button.secondary { background:transparent; color:#f4f3ec; border-color:rgba(255,255,255,.3); }
.viewer-close { background:none; border:0; color:#f4f3ec; font-size:28px; line-height:1; padding:0 4px 0 10px; cursor:pointer; }
.viewer-body { position:relative; overflow:auto; display:grid; place-items:center; padding:18px; }
.viewer-body iframe { width:min(1200px, 100%); height:100%; min-height:70vh; border:0; background:#fff; box-shadow:0 20px 60px rgba(0,0,0,.4); }
.viewer-body img { max-width:100%; max-height:100%; object-fit:contain; box-shadow:0 20px 60px rgba(0,0,0,.4); background:#fff; }
.viewer-body .loading-state { color:#f4f3ec; }
.viewer-error { color:#f0b3a3; }
@media (max-width:640px) { .viewer-bar { flex-wrap:wrap; padding:12px 14px; } .viewer-bar strong { max-width:90vw; } .viewer-actions [data-viewer="tab"] { display:none; } .viewer-body { padding:0; } .viewer-body iframe { min-height:calc(100vh - 110px); } }

/* Njoftimet e administratorit */
.notif-wrap { position:relative; }
#notif-btn { position:relative; }
.notif-count { position:absolute; top:-3px; right:-4px; min-width:17px; height:17px; padding:0 4px; border-radius:9px; background:#8e3b2e; color:#fff; font-size:9.5px; line-height:17px; text-align:center; font-weight:600; }
.notif-panel { position:absolute; right:-8px; top:calc(100% + 12px); width:min(380px, 92vw); max-height:70vh; overflow:auto; background:var(--white); border:1px solid var(--line); box-shadow:0 22px 50px rgba(25,33,38,.16); z-index:120; }
.notif-head { position:sticky; top:0; display:flex; justify-content:space-between; align-items:center; padding:14px 16px; background:var(--white); border-bottom:1px solid var(--line); }
.notif-head strong { font-family:var(--serif); font-weight:normal; font-size:18px; }
.notif-list { list-style:none; margin:0; padding:0; }
.notif-list li { display:grid; grid-template-columns:30px 1fr; gap:10px; padding:12px 16px; border-bottom:1px solid var(--line); }
.notif-list li.is-new { background:rgba(170,148,110,.09); }
.notif-list li.is-new .notif-avatar { box-shadow:0 0 0 2px #aa946e; }
.notif-avatar { width:30px; height:30px; border-radius:50%; background:#ece8df; display:grid; place-items:center; font-family:var(--serif); font-size:11px; color:var(--ink); }
.notif-list p { margin:0 0 3px; font-size:13px; line-height:1.45; color:var(--ink); }
.notif-list em { font-style:normal; color:var(--ink-soft); }
.notif-list small { font-size:11px; color:var(--muted); }

/* Qasja për dokument (0005) */
.access-tag { display:inline-flex; align-items:center; gap:5px; margin-top:3px; color:#8a7a5c; font-size:11px; letter-spacing:.02em; }
.access-tag .icon, .role-hint .icon { width:12px; height:12px; vertical-align:-1px; }
.access-picker { display:flex; flex-direction:column; gap:8px; }
.access-picker .radio-row, .access-picker .check-row { display:flex; align-items:center; gap:9px; font-size:13.5px; text-transform:none; letter-spacing:0; font-weight:normal; cursor:pointer; }
.access-picker input { width:auto; margin:0; accent-color:#192126; }
.access-people { display:flex; flex-direction:column; gap:7px; margin:2px 0 4px 24px; padding:10px 12px; border-left:2px solid var(--line); }
/* Fshirja e njoftimeve */
.notif-tools { display:flex; gap:14px; }
.notif-list li { grid-template-columns:30px 1fr 22px; }
.notif-x { align-self:start; width:22px; height:22px; border:0; background:none; color:#9a958c; font-size:18px; line-height:1; cursor:pointer; opacity:.5; border-radius:50%; }
.notif-list li:hover .notif-x, .notif-x:focus-visible { opacity:1; }
.notif-x:hover { background:rgba(25,33,38,.07); color:#192126; }
.notif-list li.notif-empty { display:block; padding:28px 16px; text-align:center; }
@media (hover:none) { .notif-x { opacity:.8; } }
.access-matrix { max-height:340px; }
.access-matrix select:disabled { opacity:.35; }
/* Aplikacioni (PWA) */
.install-box { margin-top:20px; padding:16px 18px; border:1px solid var(--line); background:#faf9f6; }
.install-box p { margin:8px 0 10px; font-size:13px; line-height:1.6; color:#4b5559; }
.install-how { font-size:12.5px; line-height:1.7; color:#253036; }
@media (display-mode: standalone) { .workspace-footer { display:none; } }
/* Veprime të pakthyeshme */
.button.danger { background:#fff; border-color:#e3c8c1; color:#8e3b2e; }
.button.danger:hover { background:#8e3b2e; border-color:#8e3b2e; color:#fff; }
