.apartment-badge{display:inline-flex;align-items:center;border-radius:999px;font-weight:600;letter-spacing:.02em;position:relative;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}.apartment-badge--compact{padding:2px 6px;font-size:11px;color:#374151;background:#f3f4f6;border:1px solid #e5e7eb;box-shadow:0 4px 10px #0f172a1f}.apartment-badge--preview{padding:4px 10px;font-size:.8rem;text-transform:uppercase;color:#374151;background:#f3f4f6;border:1px solid transparent;box-shadow:0 6px 12px #0f172a1f}.apartment-badge:after{content:"";position:absolute;top:-60%;left:-140%;width:140%;height:220%;background:linear-gradient(120deg,transparent,rgba(255,255,255,.75),transparent);opacity:0}.apartment-badge:hover,.user-display:hover .apartment-badge{transform:translateY(-1px);box-shadow:0 10px 18px #0f172a2e;filter:saturate(1.08)}.apartment-badge:hover:after,.user-display:hover .apartment-badge:after{animation:badge-shimmer .8s ease;opacity:1}@keyframes badge-shimmer{0%{transform:translate(0);opacity:0}20%{opacity:.7}to{transform:translate(220%);opacity:0}}.user-display{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.user-display__name{line-height:1.2}.sidebar{width:280px;flex:0 0 280px;background-color:#1f2937;color:#fff;display:flex;flex-direction:column;box-shadow:2px 0 8px #0000001a}.sidebar-header{padding:24px 20px;border-bottom:1px solid #374151}.sidebar-header-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.sidebar-brand{display:flex;align-items:center;gap:12px}.sidebar-close-button{display:none}.sidebar-logo{width:60px;height:40px;object-fit:contain;flex:0 0 auto}.sidebar-header h2{margin:0;font-size:20px;font-weight:600;color:#fff}.sidebar-nav{flex:1;padding:16px 0;overflow-y:auto}.nav-section{margin-bottom:8px}.nav-section:not(:first-child){padding-top:16px;border-top:1px solid #374151;margin-top:8px}.nav-section-title{padding:8px 20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#9ca3af;margin-bottom:4px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 20px;color:#d1d5db;text-decoration:none;transition:all .2s;cursor:pointer}.nav-item:hover{background-color:#374151;color:#fff}.nav-item.active{background-color:#3b82f6;color:#fff}.nav-icon{font-size:18px;width:24px;text-align:center}.sidebar-footer{padding:20px;border-top:1px solid #374151}.sidebar-version{margin-top:10px;font-size:11px;color:#6b7280;opacity:.8;text-align:right;letter-spacing:.02em}.user-block{display:flex;flex-direction:column;gap:12px}.user-info-link{text-decoration:none;border-radius:8px;transition:background-color .2s}.user-info-link:hover{background-color:#374151}.user-info{display:flex;align-items:center;gap:12px;padding:8px;border-radius:8px}.user-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #3b82f6}.user-details{flex:1;min-width:0}.user-name{font-size:14px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-email{font-size:12px;color:#9ca3af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.logout-button{width:100%;padding:8px 16px;background-color:#374151;color:#fff;border:1px solid #4b5563;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s}.logout-button:hover{background-color:#4b5563}.login-block{display:flex;flex-direction:column;gap:12px;text-align:center}.login-message{margin:0;font-size:14px;color:#9ca3af}.login-button{width:100%;padding:10px 16px;background-color:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.login-button:hover{background-color:#2563eb}@media (max-width: 48em){.sidebar--mobile{position:fixed;top:0;left:0;bottom:0;width:min(86vw,320px);max-width:calc(100vw - 24px);height:100vh;height:100dvh;min-width:0;z-index:60;transform:translate(calc(-100% - 16px));visibility:hidden;pointer-events:none;box-shadow:24px 0 48px #0f172a47;transition:transform .2s ease,visibility .2s ease}.sidebar--mobile.sidebar--open{transform:translate(0);visibility:visible;pointer-events:auto}.sidebar-header{padding:20px 16px}.sidebar-nav{padding:12px 0}.nav-section-title{padding:8px 16px}.nav-item{padding:14px 16px}.sidebar-footer{padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom))}.sidebar-close-button{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #4b5563;border-radius:999px;background-color:#374151f5;color:#fff;font-size:13px;font-weight:600;cursor:pointer}.sidebar-close-button:hover{background-color:#4b5563}}.main-layout{display:flex;height:100vh;height:100dvh;width:100%;overflow:hidden;position:relative;background-color:#f3f4f6}.main-content{flex:1;min-width:0;overflow-y:auto;background-color:#f9fafb;padding:24px}.main-layout__menu-button,.main-layout__backdrop{display:none}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;background-color:#f3f4f6;color:#111827}@media (max-width: 48em){.main-content{padding:80px 16px 24px}.main-layout__menu-button{position:fixed;top:16px;left:16px;z-index:50;display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border:none;border-radius:999px;background-color:#1f2937;color:#fff;box-shadow:0 16px 36px #0f172a3d;cursor:pointer;transition:opacity .2s ease,transform .2s ease,box-shadow .2s ease}.main-layout__menu-button:hover{box-shadow:0 18px 40px #0f172a47;transform:translateY(-1px)}.main-layout__menu-button--hidden{opacity:0;pointer-events:none;transform:translateY(-8px)}.main-layout__menu-icon{display:inline-flex;flex-direction:column;gap:4px}.main-layout__menu-icon span{display:block;width:18px;height:2px;border-radius:999px;background-color:currentColor}.main-layout__menu-label{font-size:14px;font-weight:600}.main-layout__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:45;display:block;margin:0;padding:0;border:none;background:#0f172a85;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);cursor:pointer}}.discussions-page{display:flex;height:100%;overflow:hidden}.discussions-list-page{flex-direction:column;padding:2rem;max-width:1200px;margin:0 auto;overflow-y:auto}.discussions-list-page .discussions-header{padding:0 0 1.5rem;border-bottom:1px solid #e5e7eb;margin-bottom:1.5rem}.discussions-list-page .label-filter{padding:0 0 1.5rem;border-bottom:1px solid #e5e7eb;margin-bottom:1rem}.discussions-list-page .posts-list{padding:0}.discussion-detail-container{flex:1;overflow-y:auto;background-color:#f9fafb;padding:2rem}.btn-back{background:#fff;border:1px solid #e5e7eb;padding:.5rem 1rem;border-radius:.375rem;cursor:pointer;font-size:.875rem;margin-bottom:1.5rem;transition:all .2s}.btn-back:hover{border-color:#3b82f6;color:#3b82f6}.discussions-sidebar{width:350px;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;overflow:hidden}.discussions-header{padding:1.5rem;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center}.discussions-header h2{margin:0;font-size:1.5rem;font-weight:600}.label-filter{padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb}.label-filter-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.label-filter-header h3{margin:0;font-size:.875rem;font-weight:600;text-transform:uppercase;color:#6b7280}.label-list{display:flex;flex-direction:column;gap:.25rem}.label-filter-item{background:none;border:none;padding:.5rem;text-align:left;cursor:pointer;border-radius:.375rem;transition:background-color .2s}.label-filter-item:hover{background-color:#f3f4f6}.label-filter-item.active{background-color:#dbeafe;color:#1e40af}.posts-list{flex:1;overflow-y:auto;padding:.5rem}.post-item{padding:1rem;border:1px solid #e5e7eb;border-radius:.5rem;margin-bottom:.5rem;cursor:pointer;transition:all .2s}.post-item:hover{border-color:#3b82f6;box-shadow:0 1px 3px #0000001a}.post-item.active{border-color:#3b82f6;background-color:#eff6ff}.post-item h4{margin:0 0 .5rem;font-size:1rem;font-weight:600}.post-meta{display:flex;gap:1rem;font-size:.875rem;color:#6b7280;margin-bottom:.5rem}.post-labels{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.label-badge{display:inline-block;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500;color:#fff}.label-badge.selected{outline:2px solid #1e40af;outline-offset:2px}.discussions-content{flex:1;overflow-y:auto;background-color:#f9fafb}.empty-state{display:flex;justify-content:center;align-items:center;height:100%;color:#6b7280}.post-detail{width:100%;margin:0;padding:2rem}.post-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.post-header h1{margin:0 0 .5rem;font-size:2rem;font-weight:700}.post-content{background:#fff;padding:1.5rem;border-radius:.5rem;margin-bottom:2rem;border:1px solid #e5e7eb;white-space:pre-wrap}.comments-section{background:#fff;padding:1.5rem;border-radius:.5rem;border:1px solid #e5e7eb}.comments-section h3{margin:0 0 1.5rem;font-size:1.25rem;font-weight:600}.comment-form{margin-bottom:2rem}.comment-form textarea{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:.375rem;font-family:inherit;font-size:.875rem;resize:vertical;margin-bottom:.75rem}.comment-form textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #bfdbfe}.reply-form{margin-top:1rem;padding:1rem;background-color:#f9fafb;border-radius:.375rem}.comment-thread{margin-bottom:1rem}.comment{background:#f9fafb;padding:1rem;border-radius:.5rem;border:1px solid #e5e7eb}.comment-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.comment-author{font-weight:600;font-size:.875rem}.comment-date{font-size:.75rem;color:#6b7280}.comment-content{margin-bottom:.75rem;white-space:pre-wrap}.comment-replies{margin-top:1rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;padding:2rem;border-radius:.5rem;width:90%;max-width:600px;max-height:90vh;overflow-y:auto}.modal-content h2{margin:0 0 1.5rem;font-size:1.5rem;font-weight:600}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;font-size:.875rem}.form-group input[type=text],.form-group textarea{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:.375rem;font-family:inherit;font-size:.875rem}.form-group input[type=color]{width:100px;height:40px;padding:.25rem;border:1px solid #d1d5db;border-radius:.375rem;cursor:pointer}.label-selector{display:flex;flex-wrap:wrap;gap:.5rem}.label-selector .label-badge{cursor:pointer;opacity:.6;transition:opacity .2s}.label-selector .label-badge:hover,.label-selector .label-badge.selected{opacity:1}.label-preview{margin-top:1rem;padding:1rem;background-color:#f9fafb;border-radius:.375rem}.modal-actions,.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem}.btn-primary{background-color:#3b82f6;color:#fff;padding:.5rem 1rem;border:none;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.btn-primary:hover{background-color:#2563eb}.btn-secondary{background-color:#e5e7eb;color:#374151;padding:.5rem 1rem;border:none;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.btn-secondary:hover{background-color:#d1d5db}.btn-danger{background-color:#ef4444;color:#fff;padding:.5rem 1rem;border:none;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.btn-danger:hover{background-color:#dc2626}.btn-link{background:none;border:none;color:#3b82f6;padding:0;font-size:.875rem;cursor:pointer;text-decoration:none}.btn-link:hover{text-decoration:underline}.btn-sm{padding:.25rem .5rem;font-size:.75rem}.error-message{padding:1rem;background-color:#fee2e2;color:#991b1b;border-radius:.375rem;margin-bottom:1rem}.post-actions{display:flex;gap:.5rem;align-items:center}.edit-post-form{width:100%}.edit-title-input{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:.375rem;font-family:inherit;font-size:1.75rem;font-weight:700;margin-bottom:1rem}.edit-title-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #bfdbfe}.edit-post-content{background:#fff;padding:1.5rem;border-radius:.5rem;margin-bottom:2rem;border:1px solid #e5e7eb}.comment-form.edit-form{margin-bottom:0}.vote-composer-form{display:flex;flex-direction:column}.vote-composer-form__body{padding:1.5rem;display:flex;flex-direction:column;gap:1.5rem}.vote-composer-form__field{display:flex;flex-direction:column;gap:.5rem}.vote-composer-form__field label{font-weight:500;color:#333}.vote-composer-form__input,.vote-composer-form__textarea{width:100%;padding:.75rem;border:1px solid #ced4da;border-radius:6px;font-size:1rem;font-family:inherit}.vote-composer-form__input:focus,.vote-composer-form__textarea:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.vote-composer-form__template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem}.vote-composer-form__template{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;padding:1rem;border:1px solid #d0d7de;border-radius:10px;background:#fff;cursor:pointer;text-align:left;transition:border-color .2s,box-shadow .2s,transform .2s}.vote-composer-form__template:hover{border-color:#0d6efd;box-shadow:0 6px 16px #0d6efd14;transform:translateY(-1px)}.vote-composer-form__template--selected{border-color:#0d6efd;background:#eff6ff}.vote-composer-form__template-label{font-weight:600;color:#1f2937}.vote-composer-form__template-preview{display:flex;flex-wrap:wrap;gap:.5rem}.vote-composer-form__template-choice,.vote-composer-form__color-preview{display:inline-flex;align-items:center;gap:.45rem;padding:.3rem .6rem;border-radius:999px;background:#f8f9fa;color:#495057;font-size:.85rem}.vote-composer-form__help{margin:0;color:#6c757d;font-size:.85rem}.vote-composer-form__choice-list{display:flex;flex-direction:column;gap:1rem}.vote-composer-form__choice{display:flex;flex-direction:column;gap:.75rem;padding:1rem;border:1px solid #dee2e6;border-radius:8px;background:#f8f9fa;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.vote-composer-form__choice--dragging{border-color:#0d6efd;box-shadow:0 12px 24px #0d6efd2e;background:#fff}.vote-composer-form__choice--drop-target{border-color:#74c0fc;background:#f1f8ff}.vote-composer-form__choice-header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.vote-composer-form__choice-heading{display:inline-flex;align-items:center;gap:.75rem}.vote-composer-form__choice-color-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.vote-composer-form__color-control{display:inline-flex;align-items:center;gap:.75rem;color:#495057}.vote-composer-form__color-control input[type=color]{width:2.75rem;min-width:2.75rem;height:2rem;padding:0;border:none;border-radius:6px;background:none;cursor:pointer}.vote-composer-form__color-value{font-family:Consolas,Courier New,monospace;font-size:.85rem;color:#6c757d;letter-spacing:.02em}.vote-composer-form__swatch{width:.75rem;height:.75rem;border-radius:999px;border:1px solid rgba(15,23,42,.18);flex-shrink:0}.vote-composer-form__add-choice,.vote-composer-form__secondary-button,.vote-composer-form__primary-button,.vote-composer-form__remove,.vote-composer-form__drag-handle{border:none;border-radius:6px;cursor:pointer;transition:background-color .2s,color .2s;font-family:inherit}.vote-composer-form__add-choice{width:100%;padding:.75rem;background-color:#e9ecef;border:2px dashed #ced4da;color:#495057;font-size:.95rem}.vote-composer-form__add-choice:hover{background-color:#dee2e6}.vote-composer-form__remove{padding:.35rem .85rem;background:#dc3545;color:#fff;font-size:.85rem}.vote-composer-form__remove:hover{background:#c82333}.vote-composer-form__drag-handle{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;min-width:2.25rem;height:2.25rem;background:#e9ecef;color:#495057;cursor:grab}.vote-composer-form__drag-handle:hover{background:#dde2e6}.vote-composer-form__drag-handle:active,.vote-composer-form__choice--dragging .vote-composer-form__drag-handle{cursor:grabbing;background:#d0ebff;color:#0b7285}.vote-composer-form__drag-handle:focus-visible{outline:2px solid #228be6;outline-offset:2px}.vote-composer-form__drag-handle-dots{width:.875rem;height:1rem;background-image:radial-gradient(circle,currentColor 1.4px,transparent 1.5px),radial-gradient(circle,currentColor 1.4px,transparent 1.5px);background-position:left top,right top;background-repeat:repeat-y;background-size:.375rem .375rem}.vote-composer-form__footer{display:flex;justify-content:flex-end;gap:1rem;padding:1.5rem;border-top:1px solid #dee2e6}.vote-composer-form__secondary-button,.vote-composer-form__primary-button{padding:.75rem 1.5rem;font-size:1rem;font-weight:500}.vote-composer-form__secondary-button{background:#6c757d;color:#fff}.vote-composer-form__secondary-button:hover{background:#5a6268}.vote-composer-form__primary-button{background:#007bff;color:#fff}.vote-composer-form__primary-button:hover{background:#0056b3}@media (max-width: 640px){.vote-composer-form__template-grid{grid-template-columns:1fr}.vote-composer-form__choice-header,.vote-composer-form__footer{flex-direction:column;align-items:stretch}.vote-composer-form__choice-color-row{align-items:flex-start}}.vote-participation-progress{margin-bottom:1rem;padding:.9rem 1rem;border:1px solid #bfdbfe;border-radius:10px;background:linear-gradient(135deg,#ffffffe6,#eff6fff5),linear-gradient(135deg,#eff6ff,#dbeafe);box-shadow:inset 0 1px #ffffffb3}.vote-participation-progress__header{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.55rem}.vote-participation-progress__eyebrow{color:#1d4ed8;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.vote-participation-progress__summary{color:#1e3a5f;font-size:.98rem;font-weight:600;text-align:right}.vote-participation-progress__content{display:flex;align-items:center;gap:.85rem}.vote-participation-progress__track{flex:1;height:.78rem;border-radius:999px;overflow:hidden;border:1px solid rgba(37,99,235,.12);background:repeating-linear-gradient(135deg,#bfdbfee6 0,#bfdbfee6 8px,#dbeafee6 8px,#dbeafee6 16px)}.vote-participation-progress__fill{height:100%;min-width:0;border-radius:inherit;background:linear-gradient(90deg,#0ea5e9,#2563eb);box-shadow:inset 0 -1px #ffffff40;transition:width .2s ease-out}.vote-participation-progress__remaining{color:#4a5f7d;font-size:.82rem;font-weight:600;white-space:nowrap}.vote-participation-progress--compact{margin:.85rem 0 .65rem;padding:.55rem .7rem;border-radius:8px}.vote-participation-progress--compact .vote-participation-progress__header{margin-bottom:.35rem;gap:.7rem}.vote-participation-progress--compact .vote-participation-progress__eyebrow{font-size:.58rem}.vote-participation-progress--compact .vote-participation-progress__summary{font-size:.72rem}.vote-participation-progress--compact .vote-participation-progress__content{gap:.55rem}.vote-participation-progress--compact .vote-participation-progress__track{height:.42rem}.vote-participation-progress--compact .vote-participation-progress__remaining{font-size:.66rem}@media (max-width: 768px){.vote-participation-progress__header,.vote-participation-progress__content{flex-direction:column;align-items:flex-start}.vote-participation-progress__summary{text-align:left}.vote-participation-progress__track{width:100%}}.vote-list-card{background:#fff;border:1px solid #dee2e6;border-radius:12px;padding:1.5rem;box-shadow:0 2px 4px #0000000d;transition:transform .2s,box-shadow .2s,border-color .2s}.vote-list-card--interactive{cursor:pointer}.vote-list-card--interactive:hover{transform:translateY(-2px);box-shadow:0 6px 12px #0000001a}.vote-list-card--interactive:focus-visible{outline:3px solid rgba(37,99,235,.22);outline-offset:2px}.vote-list-card--can-vote{border:2px solid #ffc107;background:linear-gradient(to right,#fffbf0,#fff)}.vote-list-card--can-vote.vote-list-card--interactive:hover{box-shadow:0 6px 14px #ffc10747}.vote-list-card--closed{opacity:.85;background-color:#f8f9fa}.vote-list-card__header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.vote-list-card__title{margin:0;font-size:1.5rem;line-height:1.2}.vote-list-card__badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem;flex-shrink:0}.vote-list-card__pending-badge{background-color:#ffc107;color:#000;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:700}.vote-list-card__status{padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:600;text-transform:uppercase}.vote-list-card__status--open{background-color:#d4edda;color:#155724}.vote-list-card__status--closed{background-color:#e2e3e5;color:#383d41}.vote-list-card__description{color:#6c757d;margin:1rem 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.vote-list-card__project{display:flex;align-items:center;gap:.5rem;margin-top:.75rem;padding:.5rem .65rem;border-radius:8px;background-color:#f0f8ff;font-size:.875rem}.vote-list-card__project-badge{background:#1976d21f;color:#0d47a1;border-radius:999px;padding:.15rem .55rem;font-size:.72rem;font-weight:700;text-transform:uppercase}.vote-list-card__project-link{color:#1976d2;text-decoration:none;font-weight:500}.vote-list-card__project-link:hover{text-decoration:underline}.vote-list-card__choice-preview{display:flex;flex-direction:column;gap:.4rem;margin:.9rem 0 .85rem}.vote-list-card__choice-item{display:flex;flex-direction:column;gap:.2rem}.vote-list-card__choice-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem;font-size:.68rem;line-height:1.15;color:#5c6670}.vote-list-card__choice-title{display:flex;align-items:center;gap:.35rem;min-width:0}.vote-list-card__choice-dot{width:.38rem;height:.38rem;border-radius:999px;border:1px solid rgba(15,23,42,.12);flex-shrink:0}.vote-list-card__choice-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vote-list-card__choice-stats{flex-shrink:0;font-variant-numeric:tabular-nums}.vote-list-card__choice-track{width:100%;height:.3rem;border-radius:999px;overflow:hidden}.vote-list-card__choice-fill{height:100%;min-width:0;border-radius:inherit;transition:width .2s ease-out}.vote-list-card__meta{display:flex;gap:1.5rem;color:#6c757d;font-size:.9rem;margin-bottom:0;flex-wrap:wrap}.vote-list-card__voted-badge{color:#28a745;font-weight:600}.vote-list-card__footer-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:.9rem;padding-top:.9rem;border-top:1px solid #e9ecef}@media (max-width: 768px){.vote-list-card__header{flex-direction:column}.vote-list-card__badges{justify-content:flex-start}.vote-list-card__title{font-size:1.25rem}}.votes-page{padding:2rem;max-width:1200px;margin:0 auto}.votes-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.votes-header h2{margin:0;font-size:2rem}.warning-banner{background-color:#fff3cd;border:1px solid #ffc107;border-radius:8px;padding:1rem;margin-bottom:1.5rem}.warning-banner strong{display:block;margin-bottom:.5rem}.warning-banner ul{margin:.5rem 0 0 1.5rem;padding:0}.error-message{background-color:#f8d7da;color:#721c24;padding:1rem;border-radius:8px;margin-bottom:1rem}.empty-state{text-align:center;padding:3rem;color:#6c757d;font-size:1.1rem}.votes-list{display:flex;flex-direction:column;gap:1.5rem}.vote-card{background:#fff;border:1px solid #dee2e6;border-radius:12px;padding:1.5rem;box-shadow:0 2px 4px #0000000d;transition:box-shadow .2s,border-color .2s}.vote-card:hover{box-shadow:0 4px 8px #0000001a}.vote-card.can-vote{border:2px solid #ffc107;background:linear-gradient(to right,#fffbf0,#fff)}.vote-card.can-vote:hover{box-shadow:0 4px 12px #ffc1074d}.vote-card.closed{opacity:.85;background-color:#f8f9fa}.vote-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.vote-card-header h3{margin:0;font-size:1.5rem}.vote-status{padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:600;text-transform:uppercase}.vote-status.open{background-color:#d4edda;color:#155724}.vote-status.closed{background-color:#e2e3e5;color:#383d41}.vote-description{color:#6c757d;margin-bottom:1rem}.vote-meta{display:flex;gap:1.5rem;color:#6c757d;font-size:.9rem;margin-bottom:1.5rem;flex-wrap:wrap}.info-message{background-color:#d1ecf1;color:#0c5460;padding:.75rem;border-radius:6px;margin-top:1rem;font-size:.9rem}.vote-submitted-info{background-color:#d4edda;color:#155724;padding:.75rem;border-radius:6px;margin-top:1rem;font-size:.9rem}.btn-close-vote{margin-top:1rem;padding:.5rem 1rem;background-color:#dc3545;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.9rem}.btn-close-vote:hover{background-color:#c82333}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 10px 25px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #dee2e6}.modal-header h3{margin:0;font-size:1.5rem}.modal-close{background:none;border:none;font-size:2rem;line-height:1;cursor:pointer;color:#6c757d;padding:0;width:2rem;height:2rem}.modal-close:hover{color:#000}.form-group input[type=text],.form-group textarea{width:100%;padding:.75rem;border:1px solid #ced4da;border-radius:6px;font-size:1rem;font-family:inherit}.form-group input[type=text]:focus,.form-group textarea:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.choice-input{background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:1rem;margin-bottom:1rem}.choice-input-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.choice-input input,.choice-input textarea{margin-bottom:.5rem}.choice-input textarea:last-child{margin-bottom:0}.btn-remove{background-color:#dc3545;color:#fff;border:none;padding:.25rem .75rem;border-radius:4px;cursor:pointer;font-size:.85rem}.btn-remove:hover{background-color:#c82333}.btn-add-choice{width:100%;padding:.75rem;background-color:#e9ecef;border:2px dashed #ced4da;border-radius:6px;cursor:pointer;font-size:.95rem;color:#495057;transition:all .2s}.btn-add-choice:hover{background-color:#dee2e6;border-color:#adb5bd}.modal-footer{display:flex;justify-content:flex-end;gap:1rem;padding:1.5rem;border-top:1px solid #dee2e6}.btn-primary{padding:.75rem 1.5rem;background-color:#007bff;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:500;transition:background-color .2s}.btn-primary:hover{background-color:#0056b3}.btn-secondary{padding:.75rem 1.5rem;background-color:#6c757d;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:500;transition:background-color .2s}.comments-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #dee2e6}.btn-toggle-comments{background-color:transparent;border:none;color:#007bff;cursor:pointer;font-size:1rem;font-weight:500;padding:.5rem 0;display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.btn-toggle-comments:hover{color:#0056b3;text-decoration:underline}.comment-form{margin-bottom:1.5rem;padding:1rem;background-color:#f8f9fa;border-radius:8px}.comment-form button[type=submit]{margin-top:.75rem}.comment-form.edit-form,.comment-form.reply-form{margin-top:.75rem;padding:.75rem}.comment-thread{margin-left:0}.comment{background-color:#fff;border:1px solid #e9ecef;border-radius:8px;padding:1rem}.comment-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;font-size:.9rem}.comment-author{font-weight:600;color:#495057}.comment-date{color:#6c757d;font-size:.85rem}.comment-content{margin-bottom:.75rem;line-height:1.6;color:#212529}.comment-actions{display:flex;gap:1rem}.btn-link{background:none;border:none;color:#007bff;cursor:pointer;font-size:.875rem;padding:0}.btn-link:hover{color:#0056b3;text-decoration:underline}.form-actions{display:flex;gap:.5rem;margin-top:.5rem}.btn-sm{padding:.375rem .75rem;font-size:.875rem}.comment-replies{margin-top:1rem;display:flex;flex-direction:column;gap:1rem}.vote-detail-container{display:flex;flex-direction:column;gap:2rem}.comments-section-detail{background:#fff;border:1px solid #dee2e6;border-radius:12px;padding:1.5rem}.comments-section-detail h3{margin:0 0 1.5rem;font-size:1.3rem}.vote-results-widget{display:flex;flex-direction:column;gap:1rem;margin-bottom:1rem}.vote-results-widget__choice{border:2px solid #e9ecef;border-radius:8px;padding:1rem;transition:all .2s}.vote-results-widget__choice:hover{border-color:#ced4da}.vote-results-widget__choice--selected{border-color:#007bff;background-color:#e7f3ff}.vote-results-widget__choice-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.vote-results-widget__choice-info{flex:1;min-width:0}.vote-results-widget__title-row{display:flex;align-items:center;gap:.6rem}.vote-results-widget__title-row h4{margin:0;font-size:1.1rem}.vote-results-widget__color-dot{width:.9rem;height:.9rem;border-radius:999px;border:1px solid rgba(15,23,42,.15);flex-shrink:0}.vote-results-widget__toggle-description{background:none;border:none;color:#007bff;cursor:pointer;font-size:.9rem;padding:0;margin-top:.5rem;text-align:left}.vote-results-widget__toggle-description:hover{text-decoration:underline}.vote-results-widget__choice-actions{display:flex;align-items:center;gap:1rem;flex-shrink:0}.vote-results-widget__summary{display:flex;flex-direction:column;align-items:flex-end;gap:.15rem}.vote-results-widget__count{color:#495057;font-size:.95rem;font-weight:600;white-space:nowrap}.vote-results-widget__percentage{color:#6c757d;font-size:.85rem;white-space:nowrap}.vote-results-widget__vote-button{padding:.5rem 1.25rem;border:none;border-radius:6px;cursor:pointer;font-size:.95rem;font-weight:500;transition:all .2s;white-space:nowrap}.vote-results-widget__vote-button--default{background-color:#007bff;color:#fff}.vote-results-widget__vote-button--default:hover{background-color:#0056b3}.vote-results-widget__vote-button--selected{background-color:#6c757d;color:#fff}.vote-results-widget__vote-button--selected:hover{background-color:#5a6268}.vote-results-widget__progress{margin-top:.9rem}.vote-results-widget__progress-track{width:100%;height:.9rem;border-radius:999px;overflow:hidden}.vote-results-widget__progress-fill{height:100%;min-width:0;border-radius:inherit;transition:width .2s ease-out}.vote-results-widget__description{margin-top:1rem;padding:1rem;background-color:#f8f9fa;border-radius:6px;line-height:1.6}@media (max-width: 768px){.vote-results-widget__choice-header{flex-direction:column}.vote-results-widget__choice-actions{width:100%;justify-content:space-between}.vote-results-widget__summary{align-items:flex-start}}.task-list-widget{display:flex;flex-direction:column;gap:2px;position:relative}.task-list-widget__loading,.task-list-widget__error{padding:16px;color:#6b7280;font-size:14px}.task-list-widget__refreshing{position:absolute;top:0;right:0;padding:4px 10px;border:1px solid #e5e7eb;border-radius:999px;background:#fffffff0;color:#6b7280;font-size:12px;line-height:1.2;pointer-events:none;z-index:2}.task-list-widget__error{color:#dc2626}.task-list-widget__bottom-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0 4px;margin-top:4px;flex-wrap:wrap}.task-list-widget__bottom-actions-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.task-list-widget__bottom-actions-group--right{margin-left:auto}.task-list-widget__add-btn{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border:none;background:transparent;color:#6b7280;font-size:13px;cursor:pointer;border-radius:4px;transition:background .15s,color .15s}.task-list-widget__add-btn:hover{background:#f3f4f6;color:#374151}.task-list-widget__add-btn--section{font-weight:500}.task-list-widget__project-group{margin-bottom:20px}.task-list-widget__project-group-title{font-size:15px;font-weight:600;color:#111827;padding:6px 0 4px;border-bottom:2px solid #e5e7eb;margin-bottom:6px}.task-list-widget__project-group-content{padding-left:4px}.task-list-widget__section{margin-bottom:8px}.task-list-widget__section-header{display:flex;align-items:center;gap:6px;padding:4px 0}.task-list-widget__collapse-btn{border:none;background:transparent;color:#9ca3af;font-size:10px;cursor:pointer;padding:2px 4px;border-radius:3px;transition:background .15s;flex-shrink:0}.task-list-widget__collapse-btn:hover{background:#f3f4f6;color:#374151}.task-list-widget__section-title{font-size:13px;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.5px;cursor:default;flex:1}.task-list-widget__section-title:hover{color:#111827}.task-list-widget__section-title-input{font-size:13px;font-weight:600;color:#374151;border:1px solid #6366f1;border-radius:4px;padding:2px 6px;outline:none;flex:1}.task-list-widget__section-actions{display:flex;gap:4px;opacity:0;transition:opacity .15s}.task-list-widget__section-header:hover .task-list-widget__section-actions{opacity:1}.task-list-widget__section-content{padding-left:16px}.task-list-widget__action-btn{border:none;background:transparent;color:#6b7280;font-size:12px;cursor:pointer;padding:2px 6px;border-radius:3px;transition:background .15s,color .15s}.task-list-widget__action-hint{display:inline-flex}.task-list-widget__action-btn:hover{background:#f3f4f6;color:#374151}.task-list-widget__action-btn:disabled{opacity:.45;cursor:not-allowed}.task-list-widget__action-btn--danger:hover{background:#fef2f2;color:#dc2626}.task-list-widget__task-wrapper{display:flex;flex-direction:column}.task-list-widget__task-row{display:flex;align-items:center;gap:8px;padding:5px 4px;border-radius:5px;transition:background .12s,box-shadow .12s;min-height:34px}.task-list-widget__task-row:hover{background:#f9fafb}.task-list-widget__task-row--completed .task-list-widget__task-title{text-decoration:line-through;color:#9ca3af}.task-list-widget__task-row--overdue .task-list-widget__task-title{color:#dc2626}.task-list-widget__task-row--pending-toggle{background:#f0fdf4;box-shadow:inset 0 0 0 1px #bbf7d0}.task-list-widget__task-row--pending-save{background:#eff6ff;box-shadow:inset 0 0 0 1px #bfdbfe}.task-list-widget__task-row--pending-delete{background:#fef2f2;box-shadow:inset 0 0 0 1px #fecaca}.task-list-widget__checkbox{border:none;background:transparent;color:#9ca3af;font-size:16px;cursor:pointer;padding:0;width:20px;text-align:center;flex-shrink:0;transition:color .15s}.task-list-widget__checkbox:hover{color:#6366f1}.task-list-widget__checkbox:disabled{cursor:not-allowed;opacity:.45}.task-list-widget__checkbox--busy{color:#16a34a;animation:task-list-widget__pulse .9s ease-in-out infinite}.task-list-widget__task-title{flex:1;font-size:14px;color:#111827;cursor:default}.task-list-widget__task-title--blocked{color:#6b7280;text-decoration:dotted underline;text-underline-offset:3px}.task-list-widget__task-title-input{flex:1;font-size:14px;color:#111827;border:1px solid #6366f1;border-radius:4px;padding:2px 6px;outline:none}.task-list-widget__deadline{font-size:11px;color:#6b7280;flex-shrink:0}.task-list-widget__deadline--overdue{color:#dc2626;font-weight:500}.task-list-widget__task-row-status{flex-shrink:0;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}.task-list-widget__task-row-status--toggle{background:#dcfce7;color:#166534}.task-list-widget__task-row-status--save{background:#dbeafe;color:#1d4ed8}.task-list-widget__task-row-status--delete{background:#fee2e2;color:#b91c1c}.task-list-widget__task-actions{display:flex;gap:2px;opacity:0;transition:opacity .15s}.task-list-widget__task-row:hover .task-list-widget__task-actions{opacity:1}.task-list-widget__task-row-error{margin:2px 0 4px 28px;color:#dc2626;font-size:12px}.task-list-widget__subtasks{padding-left:24px}.task-list-widget__task-params{background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;padding:10px 12px;margin:2px 0 4px 28px;display:flex;flex-direction:column;gap:8px}.task-list-widget__task-params-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.task-list-widget__task-params-actions{display:flex;align-items:center;gap:6px}.task-list-widget__task-description{font-size:13px;color:#6b7280;margin:0}.task-list-widget__inline-input{display:flex;align-items:flex-start;gap:8px;padding:4px;border:1px solid #6366f1;border-radius:6px;background:#fafafa;margin:2px 0;transition:background .15s,box-shadow .15s,border-color .15s}.task-list-widget__inline-input--creating{background:#fffbea;border-color:#facc15;box-shadow:0 0 0 1px #facc152e}.task-list-widget__inline-input-bullet{font-size:16px;color:#9ca3af;padding-top:6px;flex-shrink:0}.task-list-widget__inline-input--creating .task-list-widget__inline-input-bullet{color:#ca8a04;animation:task-list-widget__pulse .9s ease-in-out infinite}.task-list-widget__inline-input-body{flex:1;display:flex;flex-direction:column;gap:6px}.task-list-widget__inline-title-field{width:100%;font-size:14px;color:#111827;border:none;outline:none;background:transparent;padding:4px 0}.task-list-widget__inline-input-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.task-list-widget__inline-label{font-size:12px;color:#6b7280;display:flex;align-items:center;gap:4px}.task-list-widget__inline-date{font-size:12px;border:1px solid #d1d5db;border-radius:4px;padding:2px 6px;color:#374151;outline:none}.task-list-widget__inline-date:focus{border-color:#6366f1}.task-list-widget__inline-buttons{display:flex;gap:6px;margin-left:auto}.task-list-widget__inline-create-state{display:inline-flex;align-items:center;border-radius:999px;padding:2px 8px;background:#fef3c7;color:#92400e;font-size:11px;font-weight:600}.task-list-widget__save-btn{padding:4px 12px;background:#6366f1;color:#fff;border:none;border-radius:5px;font-size:13px;cursor:pointer;transition:background .15s}.task-list-widget__save-btn:hover:not(:disabled){background:#4f46e5}.task-list-widget__save-btn:disabled{opacity:.6;cursor:not-allowed}.task-list-widget__cancel-btn{padding:4px 10px;background:transparent;color:#6b7280;border:1px solid #d1d5db;border-radius:5px;font-size:13px;cursor:pointer;transition:background .15s}.task-list-widget__cancel-btn:hover:not(:disabled){background:#f3f4f6}@keyframes task-list-widget__pulse{0%,to{opacity:1}50%{opacity:.45}}.task-list-widget__add-section-input{display:flex;flex-direction:column;gap:2px;margin:4px 0}.task-list-widget__input-hint{font-size:11px;color:#9ca3af}.task-list-widget__dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;padding:16px;z-index:1100}.task-list-widget__dialog{width:min(680px,100%);max-height:min(720px,calc(100vh - 32px));background:#fff;border-radius:12px;box-shadow:0 24px 60px #0f172a2e;overflow:hidden;display:flex;flex-direction:column}.task-list-widget__dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px 14px;border-bottom:1px solid #e5e7eb}.task-list-widget__dialog-title{margin:0;font-size:18px;color:#111827}.task-list-widget__dialog-description{margin:6px 0 0;font-size:13px;color:#6b7280}.task-list-widget__dialog-close{border:none;background:transparent;color:#9ca3af;font-size:28px;line-height:1;cursor:pointer;padding:0}.task-list-widget__dialog-close:hover:not(:disabled){color:#374151}.task-list-widget__dialog-close:disabled{cursor:not-allowed;opacity:.6}.task-list-widget__dialog-body{padding:16px 20px;overflow-y:auto;display:flex;flex-direction:column;gap:12px}.task-list-widget__dialog-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px 18px;border-top:1px solid #e5e7eb}.task-list-widget__transfer-search{width:100%;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px;font-size:14px;color:#111827;outline:none}.task-list-widget__transfer-search:focus{border-color:#6366f1}.task-list-widget__transfer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.task-list-widget__transfer-count{font-size:12px;color:#6b7280}.task-list-widget__transfer-toolbar-side{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.task-list-widget__transfer-toolbar-actions{display:flex;gap:6px}.task-list-widget__transfer-toggle{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#374151}.task-list-widget__transfer-toggle input[type=checkbox]{margin:0}.task-list-widget__transfer-list{display:flex;flex-direction:column;gap:8px}.task-list-widget__transfer-row{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s}.task-list-widget__transfer-row:hover{border-color:#c7d2fe;background:#f8faff}.task-list-widget__transfer-row--disabled{cursor:not-allowed;opacity:.7}.task-list-widget__transfer-row--disabled:hover{border-color:#e5e7eb;background:#fff}.task-list-widget__transfer-row input[type=checkbox]{margin-top:2px}.task-list-widget__transfer-row-content{display:flex;flex-direction:column;gap:6px;min-width:0}.task-list-widget__transfer-row-title{font-size:14px;color:#111827;font-weight:500;word-break:break-word}.task-list-widget__transfer-meta{display:flex;flex-wrap:wrap;gap:8px}.task-list-widget__transfer-meta-text{font-size:12px;color:#6b7280}.task-list-widget__transfer-denied-reason{font-size:12px;color:#b91c1c}.task-list-widget__transfer-badge{display:inline-flex;align-items:center;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}.task-list-widget__transfer-badge--todo{background:#e0f2fe;color:#0369a1}.task-list-widget__transfer-badge--in-progress{background:#ede9fe;color:#6d28d9}.task-list-widget__transfer-badge--completed{background:#dcfce7;color:#166534}.task-list-widget__transfer-badge--cancelled{background:#fee2e2;color:#b91c1c}.task-list-widget__transfer-empty{padding:20px 12px;border:1px dashed #d1d5db;border-radius:10px;color:#6b7280;font-size:13px;text-align:center}@media (max-width: 640px){.task-list-widget__dialog-header,.task-list-widget__dialog-body,.task-list-widget__dialog-actions{padding-left:14px;padding-right:14px}.task-list-widget__dialog-actions{flex-direction:column-reverse}.task-list-widget__dialog-actions .task-list-widget__save-btn,.task-list-widget__dialog-actions .task-list-widget__cancel-btn{width:100%}.task-list-widget__bottom-actions{align-items:stretch}.task-list-widget__bottom-actions-group,.task-list-widget__bottom-actions-group--right,.task-list-widget__transfer-toolbar-side{width:100%}.task-list-widget__bottom-actions-group--right{margin-left:0;justify-content:flex-end}}.tasks-page{max-width:1200px;margin:0 auto;padding:2rem}.tasks-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.tasks-header h2{margin:0;font-size:2rem;color:#2c3e50}.tasks-filters{display:flex;gap:.5rem;margin-bottom:2rem;flex-wrap:wrap}.filter-btn{padding:.5rem 1rem;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;transition:all .2s}.filter-btn:hover{background:#f8f9fa}.filter-btn.active{background:#4a90e2;color:#fff;border-color:#4a90e2}.tasks-list{display:grid;gap:.5rem}.task-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:1.5rem;cursor:pointer;transition:all .2s}.task-card.compact{padding:.75rem 1rem;gap:.5rem}.task-card:hover{box-shadow:0 4px 12px #0000001a;border-color:#4a90e2}.task-card.overdue{border-left:4px solid #ff6b6b}.task-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.task-card-header h3{margin:0;font-size:1rem;color:#2c3e50;flex:1}.task-actions{display:flex;align-items:center;gap:.5rem}.task-status{padding:.2rem .6rem;border-radius:12px;font-size:.75rem;font-weight:500;color:#fff;white-space:nowrap}.btn-icon{background:transparent;border:1px solid #ddd;border-radius:4px;width:1.5rem;height:1.5rem;cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;transition:all .2s;padding:0}.btn-icon:hover{background:#f0f0f0;border-color:#999}.task-description{color:#666;margin-bottom:.5rem;line-height:1.4;font-size:.875rem}.task-meta{display:flex;gap:1rem;font-size:.75rem;flex-wrap:wrap}.task-meta-item{display:flex;gap:.25rem;align-items:center}.meta-label{font-weight:500;color:#666}.meta-value{color:#2c3e50}.subtasks{margin-top:.5rem}.empty-state{text-align:center;padding:3rem;color:#666;font-size:1.125rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:8px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e0e0e0}.modal-header h3{margin:0;font-size:1.5rem;color:#2c3e50}.close-btn{background:none;border:none;font-size:2rem;cursor:pointer;color:#666;line-height:1;padding:0;width:2rem;height:2rem}.task-form{padding:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#2c3e50}.form-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:2rem}.btn-primary:hover{background:#357abd}.task-detail-page{max-width:1000px;margin:0 auto;padding:2rem}.task-detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.back-btn{background:none;border:none;color:#4a90e2;cursor:pointer;font-size:1rem;padding:.5rem 1rem;transition:color .2s}.back-btn:hover{color:#357abd}.header-actions{display:flex;gap:.75rem}.task-detail-action-hint{display:inline-flex}.task-detail-content{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:2rem;margin-bottom:2rem}.task-title-row{display:flex;justify-content:space-between;align-items:start;margin-bottom:1.5rem;gap:1rem}.task-title-row h1{margin:0;font-size:2rem;color:#2c3e50;flex:1}.task-status-badge{padding:.5rem 1rem;border-radius:16px;font-size:.875rem;font-weight:600;color:#fff;white-space:nowrap}.task-description{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #e0e0e0}.task-description h3{margin:0 0 .75rem;color:#666;font-size:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.task-description p{margin:0;color:#2c3e50;line-height:1.6;white-space:pre-wrap}.task-metadata{display:grid;gap:1rem}.metadata-item{display:flex;gap:.75rem;font-size:1rem}.metadata-item strong{color:#666;min-width:120px}.metadata-item span{color:#2c3e50}.overdue-text{color:#ff6b6b;font-weight:600}.task-edit-form{display:grid;gap:1.5rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.form-group label{font-weight:600;color:#2c3e50;font-size:.875rem}.form-group textarea{resize:vertical;min-height:100px}.comments-section{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:2rem}.comments-section h2{margin:0 0 1.5rem;font-size:1.5rem;color:#2c3e50}.comment-form{margin-bottom:2rem;display:flex;flex-direction:column;gap:1rem}.comment-form textarea{padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:inherit;resize:vertical}.comments-list{display:flex;flex-direction:column;gap:1rem}.comment-item{border:1px solid #e0e0e0;border-radius:8px;padding:1rem;background:#fafafa}.comment-header{display:flex;justify-content:space-between;margin-bottom:.5rem}.comment-author{font-weight:600;color:#2c3e50}.comment-date{color:#999;font-size:.875rem}.comment-content{color:#2c3e50;line-height:1.5;margin-bottom:.5rem;white-space:pre-wrap}.comment-actions{display:flex;gap:.5rem}.comment-action-btn{background:none;border:none;color:#4a90e2;cursor:pointer;font-size:.875rem;padding:.25rem .5rem}.comment-action-btn:hover{color:#357abd;text-decoration:underline}.comment-replies{margin-top:1rem;margin-left:2rem;display:flex;flex-direction:column;gap:.75rem}.btn-primary{background:#4a90e2;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:500;transition:background .2s}.btn-primary:hover:not(:disabled){background:#357abd}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary:hover{background:#f8f9fa;border-color:#999}.btn-secondary:disabled{opacity:.5;cursor:not-allowed}.btn-success{background:#6bcf7f;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:500;transition:background .2s}.btn-success:hover{background:#5ab86d}.btn-success:disabled{opacity:.5;cursor:not-allowed}.btn-danger{background:#ff6b6b;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:500;transition:background .2s}.btn-danger:hover{background:#ee5a5a}.btn-danger:disabled{opacity:.5;cursor:not-allowed}.error-message{background:#fee;border:1px solid #fcc;color:#c33;padding:1rem;border-radius:4px;margin-bottom:1rem}.completions-section{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:2rem;margin-bottom:2rem}.completions-section h2{margin:0 0 1.5rem;color:#2c3e50;font-size:1.5rem}.completion-form{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:4px;padding:1rem;margin-bottom:1.5rem}.completion-form textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:inherit;resize:vertical;margin-bottom:.75rem}.completion-form .form-actions{display:flex;gap:.75rem}.completions-list{display:flex;flex-direction:column;gap:1rem}.no-completions{color:#999;font-style:italic;text-align:center;padding:2rem 0}.completion-item{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:4px;padding:1rem}.completion-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.completion-author{font-weight:600;color:#2c3e50}.completion-date{color:#999;font-size:.875rem}.completion-comment{color:#2c3e50;line-height:1.5;margin-bottom:.5rem;white-space:pre-wrap;padding:.5rem;background:#fff;border-radius:4px}.completion-edit-textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:.9rem;resize:vertical;margin-bottom:.5rem}.completion-edit-textarea:focus{outline:none;border-color:#4a90e2}.completion-actions{display:flex;gap:.5rem}.completion-action-btn{background:none;border:none;color:#4a90e2;cursor:pointer;font-size:.875rem;padding:.25rem .5rem}.completion-action-btn:hover{color:#357abd;text-decoration:underline}.subtasks-section{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:2rem;margin-bottom:2rem}.subtasks-section .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.subtasks-section h2{margin:0;color:#2c3e50;font-size:1.5rem}.subtasks-list{display:flex;flex-direction:column;gap:1rem}.no-subtasks{color:#999;font-style:italic;text-align:center;padding:2rem 0}.subtask-item{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;padding:1.25rem;cursor:pointer;transition:all .2s ease}.subtask-item:hover{background:#e9ecef;border-color:#4a90e2;box-shadow:0 2px 4px #0000001a}.subtask-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;gap:1rem}.subtask-header h4{margin:0;color:#2c3e50;font-size:1.1rem;flex:1}.subtask-description{color:#666;font-size:.9rem;margin-bottom:.75rem;line-height:1.5}.subtask-meta{display:flex;gap:1.5rem;font-size:.875rem;color:#666}.subtask-assignee{display:flex;align-items:center;gap:.25rem}.projects-page{padding:2rem;max-width:1200px;margin:0 auto}.projects-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.projects-header h2{margin:0;font-size:2rem;color:#333}.filter-tabs{display:flex;gap:.5rem;margin-bottom:1.25rem;border-bottom:2px solid #e0e0e0;padding-bottom:.5rem}.filter-tabs button{padding:.5rem 1rem;border:none;background:none;cursor:pointer;font-size:.95rem;color:#666;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .2s}.filter-tabs button:hover{color:#333}.filter-tabs button.active{color:#0d6efd;border-bottom-color:#0d6efd;font-weight:500}.projects-list{display:flex;flex-direction:column;gap:.35rem;width:100%}.project-card{display:flex;align-items:stretch;gap:.85rem;background:#fff;border:1px solid #e0e0e0;border-radius:6px;padding:.5rem .75rem;cursor:pointer;transition:background .2s,border-color .2s}.project-card-media{flex:0 0 auto}.project-card-image,.project-card-placeholder{width:76px;height:76px;border-radius:14px}.project-card-image{object-fit:cover;display:block;border:1px solid #dbe3ef;background:#f8fafc}.project-card-placeholder{display:flex;align-items:center;justify-content:center;background-color:#eef2f6;color:#334155;font-size:1.9rem;font-weight:700;border:1px solid rgba(51,65,85,.14)}.project-card-body{flex:1;min-width:0}.project-card:hover{background:#f9fafb;border-color:#dcdcdc}.projects-list .project-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.2rem}.projects-list .project-header h3{margin:0;font-size:1.05rem;color:#333;flex:1;margin-right:.5rem;line-height:1.2}.status-badge{padding:.125rem .4rem;border-radius:10px;color:#fff;font-size:.65rem;font-weight:500;white-space:nowrap}.projects-list .project-description{color:#666;font-size:.8rem;margin-bottom:.25rem;line-height:1.3;max-height:1.3em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.project-stats{float:left;display:flex;flex-wrap:wrap;gap:.65rem;padding:0;border:none;margin-bottom:.25rem}.stat{display:flex;flex-direction:row;align-items:baseline;gap:.25rem}.stat-value{font-size:.8rem;font-weight:600;color:#0d6efd}.stat-label{font-size:.65rem;color:#666;text-transform:uppercase;letter-spacing:.3px}.project-footer{display:flex;justify-content:flex-end;align-items:center;font-size:.7rem;color:#999}@media (max-width: 640px){.project-card{flex-direction:column}.project-card-image,.project-card-placeholder{width:100%;height:180px}}.empty-state{text-align:center;padding:3rem;color:#999}.dialog{background:#fff;border-radius:8px;max-width:600px;width:90%;max-height:90vh;overflow-y:auto}.dialog-header h3{margin:0;font-size:1.5rem}.dialog form{padding:1.5rem}.dialog-actions{display:flex;justify-content:flex-end;gap:1rem;padding-top:1rem;border-top:1px solid #e0e0e0}.expenses-table-wrapper{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.reimbursement-badge{padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase;display:inline-block}.badge-requested{background-color:#fff3cd;color:#856404}.badge-approved{background-color:#d1ecf1;color:#0c5460}.badge-rejected{background-color:#f8d7da;color:#721c24}.badge-paid{background-color:#d4edda;color:#155724}.amount-indicator{font-weight:600}.amount-indicator-full{color:#2b8a3e}.amount-indicator-partial{color:#b08900}.amount-indicator-none{color:#c92a2a}.amount-indicator-neutral{color:inherit}@media (max-width: 992px){.expenses-table-wrapper{overflow-x:auto}}.project-detail-page{padding:2rem;max-width:1200px;margin:0 auto}.project-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.back-btn{background:none;border:none;color:#0d6efd;font-size:1rem;cursor:pointer;padding:.5rem 0}.back-btn:hover{text-decoration:underline}.project-content{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:2rem}.project-image-panel{display:flex;align-items:center;gap:1.5rem;padding:1.25rem;border:1px solid #e2e8f0;border-radius:10px;background:linear-gradient(135deg,#f8fafc,#eef2ff);margin-bottom:2rem}.project-image-panel__preview{flex:0 0 auto}.project-image-panel__image,.project-image-panel__placeholder{width:132px;height:132px;border-radius:18px;display:flex;align-items:center;justify-content:center}.project-image-panel__image{object-fit:cover;border:1px solid #cbd5e1;background:#fff}.project-image-panel__placeholder{background-color:#eef2f6;color:#334155;border:1px solid rgba(51,65,85,.14);font-size:3rem;font-weight:700}.project-image-panel__actions{min-width:0}.project-image-panel__title{font-size:1rem;font-weight:600;color:#1f2937;margin-bottom:.35rem}.project-image-panel__text{font-size:.95rem;color:#64748b;margin-bottom:1rem;line-height:1.4}.project-image-inline{margin-bottom:1.5rem}.project-overview{display:flex;align-items:flex-start;gap:1.5rem;margin-bottom:2rem}.project-overview__media{flex:0 0 320px;margin-bottom:0}.project-overview__content{flex:1;min-width:0}.project-image-inline__frame{position:relative;width:min(100%,320px);border-radius:18px;overflow:hidden;border:1px solid #dbe3ef;background:#f8fafc}.project-image-inline__image,.project-image-inline__placeholder{width:100%;aspect-ratio:16 / 10;display:flex;align-items:center;justify-content:center}.project-image-inline__image{object-fit:cover}.project-image-inline__placeholder{background-color:#eef2f6;color:#334155;font-size:3rem;font-weight:700}.project-image-inline__upload{position:absolute;right:.75rem;bottom:.75rem}.project-image-inline__upload>div>button{opacity:0;transform:translateY(.25rem);pointer-events:none;transition:opacity .18s ease,transform .18s ease}.project-image-inline__frame:hover .project-image-inline__upload>div>button,.project-image-inline__frame:focus-within .project-image-inline__upload>div>button{opacity:1;transform:translateY(0);pointer-events:auto}@media (hover: none){.project-image-inline__upload>div>button{opacity:1;transform:translateY(0);pointer-events:auto}}.project-title-section{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem}.project-title-section h1{margin:0;font-size:2rem;color:#333;flex:1;margin-right:1rem}.status-badge{padding:.5rem 1rem;border-radius:16px;color:#fff;font-size:.875rem;font-weight:500;white-space:nowrap}.project-description{color:#666;line-height:1.6;margin-bottom:1.5rem;padding:1rem;background:#f8f9fa;border-radius:4px}.project-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:1rem;background:#f8f9fa;border-radius:4px}.meta-item{font-size:.9rem;color:#666}.meta-item strong{color:#333;margin-right:.5rem}.edit-form{margin-bottom:2rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#333}.form-actions{display:flex;justify-content:flex-end;gap:1rem;padding-top:1rem;border-top:1px solid #e0e0e0}.project-section{margin-top:2rem;padding-top:2rem;border-top:2px solid #e0e0e0}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.section-header h2{margin:0;font-size:1.5rem;color:#333}.items-list{display:flex;flex-direction:column;gap:.75rem}.item-card{display:flex;justify-content:space-between;align-items:center;padding:1rem;border:1px solid #e0e0e0;border-radius:6px;background:#fafafa}.item-content{flex:1;display:flex;align-items:center;gap:1rem}.item-content h4{margin:0;font-size:1rem;color:#333}.item-status{padding:.25rem .75rem;border-radius:12px;background:#e0e0e0;color:#666;font-size:.75rem;text-transform:uppercase}.item-actions{display:flex;gap:1rem}.expense-content{flex-direction:column;align-items:flex-start;gap:.5rem}.expense-title-row{display:flex;align-items:center;gap:.75rem}.expense-meta{display:flex;flex-wrap:wrap;gap:1rem;font-size:.85rem;color:#666}.expense-amount{font-weight:600;color:#333}.expense-due{color:#999}.empty-section{text-align:center;padding:2rem;color:#999;font-style:italic}.btn-primary{background:#0d6efd;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:500;transition:background .2s}.btn-primary:hover{background:#0b5ed7}.btn-primary:disabled{background:#6c757d;cursor:not-allowed}.btn-secondary{background:#fff;color:#666;border:1px solid #ddd;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:500;transition:all .2s}.btn-secondary:hover{background:#f8f9fa;border-color:#adb5bd}.btn-danger{background:#dc3545;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:500;transition:background .2s}.btn-danger:hover{background:#bb2d3b}.btn-sm{background:#0d6efd;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.875rem;font-weight:500;transition:background .2s}.btn-sm:hover{background:#0b5ed7}.btn-link{background:none;border:none;color:#0d6efd;cursor:pointer;font-size:.875rem;text-decoration:underline}.btn-link:hover{color:#0b5ed7}.btn-link-danger{background:none;border:none;color:#dc3545;cursor:pointer;font-size:.875rem;text-decoration:underline}.btn-link-danger:hover{color:#bb2d3b}.btn-image-upload{background:#0f172ad1;color:#fff;border:none;padding:.45rem .75rem;border-radius:999px;cursor:pointer;font-size:.75rem;font-weight:600;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.btn-image-upload:hover{background:#0f172aeb}.dialog-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.dialog{background:#fff;border-radius:8px;max-width:500px;width:90%;max-height:90vh;overflow-y:auto}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e0e0e0}.dialog-header h3{margin:0;font-size:1.25rem}.close-btn{background:none;border:none;font-size:2rem;cursor:pointer;color:#999;padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center}.close-btn:hover{color:#333}.dialog-body{padding:1.5rem}.dialog-actions{display:flex;justify-content:flex-end;gap:1rem;padding:1.5rem;border-top:1px solid #e0e0e0}.error-message{background:#fee;color:#c33;padding:1rem;border-radius:4px;margin-bottom:1rem}@media (max-width: 768px){.project-overview{flex-direction:column}.project-overview__media{flex-basis:auto;width:100%}.project-image-panel{flex-direction:column;align-items:flex-start}}.expenses-page{padding:2rem;max-width:1200px;margin:0 auto}.expenses-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.expenses-header h2{margin:0;font-size:2rem}.filter-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;border-bottom:2px solid #e0e0e0}.filter-tabs button{padding:.75rem 1.5rem;border:none;background:none;cursor:pointer;font-size:.95rem;color:#666;border-bottom:3px solid transparent;transition:all .2s}.filter-tabs button:hover{color:#333;background-color:#f5f5f5}.filter-tabs button.active{color:#06c;border-bottom-color:#06c;font-weight:600}.empty-state{text-align:center;padding:4rem 2rem;color:#999;font-size:1.1rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#333}.form-group input:not([type=radio]):not([type=checkbox]),.form-group textarea,.form-group select{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:inherit}@media (max-width: 992px){.expenses-page{padding:1rem}.expenses-header{flex-direction:column;gap:1rem;align-items:flex-start}.filter-tabs{overflow-x:auto;flex-wrap:nowrap}.expenses-table-container{overflow-x:auto}.col-payer{min-width:100px}}@media (max-width: 768px){.expenses-page{padding:.5rem}.expenses-header h2{font-size:1.5rem}.filter-tabs button{padding:.5rem 1rem;font-size:.85rem}.expenses-table{font-size:.85rem}.expenses-table th,.expenses-table td{padding:.75rem .5rem}.payment-details{padding:1rem}.payments-table{font-size:.8rem}.payments-table th,.payments-table td{padding:.5rem .25rem}}@media (max-width: 576px){.expenses-header,.filter-tabs{margin-bottom:1rem}.filter-tabs button{padding:.5rem .75rem;font-size:.8rem}.expenses-table th,.expenses-table td{padding:.5rem .25rem}.col-amount{font-size:.8rem}.btn-icon{font-size:1rem}.project-badge{font-size:.75rem;padding:.2rem .5rem}}.summaries-section{margin-bottom:2rem;display:flex;flex-direction:column;gap:1.5rem}.summary-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:1.5rem;box-shadow:0 2px 4px #0000000d}.summary-card h3{margin:0 0 1rem;font-size:1.25rem;color:#333}.summary-table-container{overflow-x:auto}.summary-table{width:100%;border-collapse:collapse;font-size:.95rem}.summary-table thead{background-color:#f8f9fa}.summary-table th{padding:.75rem 1rem;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6}.summary-table td{padding:.75rem 1rem;border-bottom:1px solid #e9ecef}.summary-table tbody tr{transition:background-color .15s}.summary-table tbody tr:hover{background-color:#f8f9fa}.summary-table tfoot{background-color:#f1f3f5;font-weight:600}.summary-table tfoot td{padding:1rem;border-top:2px solid #dee2e6;border-bottom:none}@media (max-width: 768px){.summary-card{padding:1rem}.summary-card h3{font-size:1.1rem}.summary-table{font-size:.85rem}.summary-table th,.summary-table td{padding:.5rem}}@media (max-width: 576px){.summaries-section{gap:1rem}.summary-card{padding:.75rem}.summary-table th,.summary-table td{padding:.4rem .3rem;font-size:.8rem}.summary-card h3{font-size:1rem;margin-bottom:.75rem}}.expense-detail-page{padding:2rem;max-width:1200px;margin:0 auto}.detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.back-button{background:none;border:none;color:#06c;cursor:pointer;font-size:1rem;padding:.5rem}.back-button:hover{text-decoration:underline}.header-actions{display:flex;gap:1rem}.expense-content{display:grid;grid-template-columns:2fr 1fr;gap:2rem}@media (max-width: 968px){.expense-content{grid-template-columns:1fr}}.expense-main,.expense-attachments-section{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:2rem}.expense-attachments-section{grid-column:1 / -1}.expense-attachments-section h3{margin-top:0;margin-bottom:1rem;color:#333;font-size:1.2rem}.expense-title-section{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem}.expense-title-section h1{margin:0;font-size:2rem}.status-badge{padding:.5rem 1rem;border-radius:20px;color:#fff;font-size:.9rem;font-weight:600;white-space:nowrap}.project-link{margin-bottom:1.5rem;padding:1rem;background-color:#f8f9fa;border-radius:6px}.project-link a{color:#06c;text-decoration:none;font-weight:600}.project-link a:hover{text-decoration:underline}.description-section{margin-bottom:2rem}.description-section h3{margin-top:0;margin-bottom:.75rem;color:#666;font-size:1rem;text-transform:uppercase;letter-spacing:.5px}.description-section p{margin:0;line-height:1.6;color:#333}.amounts-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:2rem}@media (max-width: 768px){.amounts-summary{grid-template-columns:1fr}}.amount-card{padding:1.5rem;border-radius:8px;text-align:center}.amount-card.total{background-color:#e3f2fd}.amount-card.paid{background-color:#e8f5e9}.amount-card.remaining{background-color:#ffebee}.amount-card .amount-label{display:block;font-size:.85rem;color:#666;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem}.amount-card .amount-value{display:block;font-size:1.75rem;font-weight:700}.amount-card.total .amount-value{color:#1976d2}.amount-card.paid .amount-value{color:#2e7d32}.amount-card.remaining .amount-value{color:#c62828}.progress-section{margin-bottom:2rem;padding:1.5rem;background-color:#f8f9fa;border-radius:8px}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;font-weight:600;color:#333}.progress-bar{height:12px;background-color:#e0e0e0;border-radius:6px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#198754,#20c997);transition:width .3s ease}.meta-info{display:flex;flex-direction:column;gap:.75rem;padding-top:1.5rem;border-top:1px solid #e0e0e0}.meta-item{display:flex;gap:.5rem}.meta-item .label{font-weight:600;color:#666;min-width:100px}.due-date{color:#dc3545;font-weight:600}.payments-section{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:1.5rem;height:fit-content}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.section-actions{display:flex;gap:.5rem;flex-wrap:wrap}.section-header h2{margin:0;font-size:1.5rem}.payments-list{display:flex;flex-direction:column;gap:1rem}.payment-item{border:1px solid #e0e0e0;border-radius:8px;padding:1rem;background-color:#fafafa}.payment-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.payment-info{display:flex;flex-direction:column;gap:.25rem}.payment-amount{font-size:1.25rem;font-weight:700;color:#198754}.payment-date{font-size:.85rem;color:#666}.payment-actions{display:flex;gap:.5rem}.btn-icon{background:none;border:none;cursor:pointer;font-size:1.2rem;padding:.25rem;opacity:.6;transition:opacity .2s}.btn-icon:hover{opacity:1}.payment-details{display:flex;flex-direction:column;gap:.5rem}.detail-row{display:flex;gap:.5rem}.detail-row .label{font-weight:600;color:#666}.reimbursement-status{margin-top:.75rem;padding:.75rem;background-color:#f8f9fa;border-radius:6px;display:flex;flex-direction:column;gap:.5rem}.reimbursement-badge{display:inline-block;font-size:.75rem;font-weight:700;padding:.25rem .6rem;border-radius:999px;letter-spacing:.3px;text-transform:uppercase}.status-requested{background-color:#fff3cd;color:#856404}.status-approved{background-color:#e3f2fd;color:#0d6efd}.status-rejected{background-color:#f8d7da;color:#842029}.status-paid{background-color:#d1e7dd;color:#0f5132}.reimbursement-details{display:grid;gap:.25rem;font-size:.9rem;color:#444}.reimbursement-actions{display:flex;gap:.5rem;margin-top:.25rem}.rejection-reason{color:#842029;font-weight:600}.payment-notes{margin-top:.5rem;padding-top:.5rem;border-top:1px solid #e0e0e0}.payment-notes .label{font-weight:600;color:#666;display:block;margin-bottom:.25rem}.payment-notes p{margin:0;color:#333;line-height:1.5}.edit-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:600;color:#333}.form-group input:not([type=radio]):not([type=checkbox]),.form-group textarea,.form-group select{padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:inherit}.form-group input[type=radio],.form-group input[type=checkbox]{width:auto;padding:0;margin:0}.checkbox-field{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem;border:1px solid #ddd;border-radius:6px;background-color:#f8f9fa;cursor:pointer}.checkbox-field input[type=checkbox]{margin-top:.15rem}.checkbox-field-text{display:flex;flex-direction:column;gap:.25rem}.checkbox-field-title{font-weight:600;color:#333}.form-group textarea{resize:vertical}.form-group small{color:#666;font-size:.85rem}.dialog-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.dialog-content{background:#fff;border-radius:8px;padding:2rem;max-width:500px;width:90%;max-height:90vh;overflow-y:auto}.dialog-content h3{margin-top:0;margin-bottom:1.5rem}.dialog-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem}.settlement-items{display:flex;flex-direction:column;gap:.75rem}.settlement-item{display:flex;justify-content:space-between;gap:1rem;padding:.75rem;border:1px solid #e0e0e0;border-radius:6px;background-color:#fff}.settlement-item-meta{display:flex;flex-direction:column;gap:.25rem;font-size:.9rem;color:#444}.settlement-item-amounts{color:#666;font-size:.85rem}.settlement-item-input input{width:120px}.btn-primary{background-color:#06c;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:600;transition:background-color .2s}.btn-primary:hover{background-color:#0052a3}.btn-secondary{background-color:#6c757d;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:600;transition:background-color .2s}.btn-secondary:hover{background-color:#5a6268}.btn-danger{background-color:#dc3545;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:600;transition:background-color .2s}.btn-danger:hover{background-color:#c82333}.empty-state{text-align:center;padding:2rem;color:#999}.error-message{background-color:#f8d7da;color:#721c24;padding:1rem;border-radius:4px;margin-bottom:1rem}.apartments-page{max-width:1200px;margin:0 auto;padding:2rem}.apartments-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.apartments-header h2{margin:0;font-size:2rem;font-weight:600;color:#1a1a1a}.error-message{background-color:#fee;border:1px solid #fcc;color:#c00;padding:1rem;border-radius:8px;margin-bottom:1rem}.apartments-list{display:flex;flex-direction:column;gap:1rem}.empty-state{text-align:center;padding:3rem 1rem;color:#666;font-size:1.1rem}.apartment-card{background:linear-gradient(135deg,#ffffff 0%,var(--apartment-accent-soft-1, #f8f9fa) 50%,var(--apartment-accent-soft-2, #e9ecef) 100%);border:1px solid var(--apartment-accent-border, #d0d0d0);border-radius:12px;overflow:hidden;transition:all .3s ease;box-shadow:0 4px 8px #0000001a,0 2px 4px #0000000f,inset 0 -1px #fffc,inset 0 1px 2px #ffffffe6;position:relative}.apartment-card:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.8),transparent);pointer-events:none}.apartment-card:hover{box-shadow:0 8px 20px #00000026,0 4px 8px #0000001a,inset 0 -1px #ffffffe6,inset 0 1px 3px #fff;border-color:var(--apartment-accent-border, #b0b0b0);transform:translateY(-2px)}.apartment-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s ease;background:linear-gradient(135deg,var(--apartment-accent-soft-1, #f8f9fa) 0%,var(--apartment-accent-soft-2, #e9ecef) 50%,var(--apartment-accent-soft-3, #dee2e6) 100%);position:relative;box-shadow:inset 0 1px #fff9,inset 0 -1px 2px #0000000d}.apartment-header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(0,0,0,.1),transparent)}.apartment-header:hover{background:linear-gradient(135deg,var(--apartment-accent-soft-2, #e9ecef) 0%,var(--apartment-accent-soft-3, #dee2e6) 50%,var(--apartment-accent-soft-4, #ced4da) 100%);box-shadow:inset 0 1px #ffffffb3,inset 0 -1px 3px #00000014}.apartment-info{flex:1}.apartment-info h3{margin:0 0 .5rem;font-size:1.5rem;font-weight:600;color:#1a1a1a}.member-count{font-size:.9rem;color:#666}.expand-button{background:none;border:none;font-size:1.2rem;color:#666;cursor:pointer;padding:.5rem;transition:transform .2s}.expand-button.expanded{transform:rotate(0)}.apartment-details{border-top:1px solid #e0e0e0;padding:1.5rem;background-color:var(--apartment-accent-soft-1, #fafafa)}.badge-settings{display:flex;flex-direction:column;gap:.75rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:1px dashed #e0e0e0}.badge-settings__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.badge-settings__title{font-weight:600;color:#333}.badge-settings__actions{display:inline-flex;align-items:center;gap:.6rem;flex-wrap:wrap;justify-content:flex-end}.owner-badge:after,.tenant-badge:after,.voter-badge:after{content:"";position:absolute;top:-60%;left:-140%;width:140%;height:220%;background:linear-gradient(120deg,transparent,rgba(255,255,255,.7),transparent);opacity:0}.member-item:hover .owner-badge,.member-item:hover .tenant-badge,.member-item:hover .voter-badge{transform:translateY(-1px);box-shadow:0 10px 18px #0f172a2e;filter:saturate(1.08)}.member-item:hover .owner-badge:after,.member-item:hover .tenant-badge:after,.member-item:hover .voter-badge:after{animation:badge-shimmer .8s ease;opacity:1}.badge-settings__toggle{border:1px solid #cbd5e1;background:#fff;color:#1f2937;padding:.3rem .75rem;border-radius:999px;font-size:.78rem;font-weight:600;letter-spacing:.02em;cursor:pointer;transition:all .2s ease}.badge-settings__toggle.is-open{background:#1f2937;color:#fff;border-color:#1f2937}.badge-settings__toggle:hover{transform:translateY(-1px);box-shadow:0 6px 12px #0f172a29}.badge-settings__toggle:focus-visible{outline:2px solid #1f2937;outline-offset:2px}.badge-settings__controls{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}.badge-color-control{display:inline-flex;align-items:center;gap:.5rem}.badge-color-label{font-size:.85rem;font-weight:600;color:#555}.badge-color-control input[type=color]{width:36px;height:32px;border:none;background:transparent;padding:0;cursor:pointer}.badge-color-value{font-size:.8rem;font-weight:600;color:#374151;padding:.2rem .45rem;border-radius:6px;background:#fff;border:1px solid #e2e8f0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.badge-action{border:1px solid #cbd5e1;background:#fff;color:#1f2937;padding:.35rem .8rem;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s ease}.badge-action--primary{background:#1f2937;color:#fff;border-color:#1f2937}.badge-action:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 2px 6px #0000001f}.badge-action:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.badge-settings__error{color:#b91c1c;font-size:.85rem;font-weight:500}.members-section{margin-bottom:1.5rem}.members-section:last-child{margin-bottom:0}.members-section h4{margin:0 0 1rem;font-size:1.1rem;font-weight:600;color:#333}.members-list{display:flex;flex-direction:column;gap:.75rem}.member-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:linear-gradient(135deg,#fff,#f8f9fa);border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 1px 3px #0000000f,inset 0 1px #fffc;transition:all .2s ease}.member-item:hover{background:linear-gradient(135deg,#f8f9fa,#e9ecef);box-shadow:0 2px 6px #0000001a,inset 0 1px #ffffffe6;transform:translate(4px)}.member-info{display:flex;flex-direction:column;gap:.25rem;flex:1}.member-name{font-weight:500;color:#1a1a1a;font-size:1rem}.member-badges{display:flex;gap:.5rem;align-items:center}.owner-badge,.tenant-badge,.voter-badge{padding:.25rem .75rem;border-radius:12px;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;position:relative;overflow:hidden;box-shadow:0 4px 10px #0f172a1f;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}.owner-badge{background-color:#e3f2fd;color:#1976d2;border:1px solid #1976d2}.tenant-badge{background-color:#f3e5f5;color:#7b1fa2;border:1px solid #7b1fa2}.voter-badge{background-color:#e8f5e9;color:#388e3c;border:1px solid #388e3c}.owner-badge{background-image:linear-gradient(135deg,#ffffffa6,#fff0)}.tenant-badge{background-image:linear-gradient(135deg,#ffffff80,#fff0)}.voter-badge{background-image:linear-gradient(135deg,#ffffff8c,#fff0)}.empty-members{text-align:center;padding:2rem;color:#999;font-style:italic}@media (max-width: 768px){.apartments-page{padding:1rem}.apartments-header h2{font-size:1.5rem}.apartment-info h3{font-size:1.25rem}.member-item{flex-direction:column;align-items:flex-start;gap:.75rem}.member-badges{width:100%;justify-content:flex-start}.badge-settings__header{align-items:flex-start;flex-direction:column}.badge-settings__actions{width:100%;justify-content:flex-start}.badge-settings__controls{width:100%}}.app-update-notice{position:fixed;right:16px;bottom:16px;z-index:1000;display:none;align-items:center;gap:8px;padding:6px 10px;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;color:#9a3412;font-size:12px;box-shadow:0 4px 10px #00000014}.app-update-notice__info{position:relative}.app-update-notice__button{width:18px;height:18px;border-radius:50%;border:1px solid #fb923c;background:#fff;color:#9a3412;font-size:12px;font-weight:700;line-height:16px;cursor:pointer;padding:0}.app-update-notice__button:focus-visible{outline:2px solid #fdba74;outline-offset:2px}.app-update-notice__popover{position:absolute;right:0;bottom:calc(100% + 8px);width:360px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px;color:#111827;font-size:12px;box-shadow:0 12px 24px #00000026}.app-update-notice__title{font-weight:600;margin-bottom:6px}.app-update-notice__row{display:flex;justify-content:space-between;gap:8px;margin-bottom:4px}.app-update-notice__row span:last-child{color:#374151;text-align:right;word-break:break-all}.app-update-notice__row:last-child{margin-bottom:0}@media (max-width: 600px){.app-update-notice{right:12px;left:12px;bottom:12px;justify-content:space-between}.app-update-notice__popover{right:0;left:0;width:auto}}
