:root{color-scheme:light;font-family:Inter,system-ui,sans-serif;background:#f4f5f7;color:#1f2933;--border-color: #d1d5db;--surface-color: #ffffff;--muted-color: #6b7280;--text-primary: #1f2933;--accent-color: #3b82f6;--danger-color: #dc2626}body{margin:0;background:#f4f5f7;overflow-x:hidden}input,select,textarea{color:var(--text-primary);font-family:inherit;background:#fff;border:1px solid var(--border-color);border-radius:6px;padding:.5rem .6rem;transition:border-color .2s ease,box-shadow .2s ease}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--accent-color);box-shadow:0 0 0 3px #3b82f62e}select option{color:var(--text-primary);background:#fff}textarea{resize:vertical}a{color:inherit;text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.layout{min-height:100vh;display:flex;flex-direction:column}.layout__content{position:relative;flex:1;padding:2.5rem}.topbar{position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.5rem 2rem 4.5rem;background:linear-gradient(135deg,#f5f7ff,#dbeafe 55%,#60a5fa);color:#0f172a;box-shadow:0 18px 36px #0f172a1f}.topbar__left{display:flex;align-items:center}.topbar__brand{display:flex;align-items:center;gap:1rem;padding:.35rem .75rem;border-radius:999px;background:#ffffffad;box-shadow:inset 0 0 0 1px #94a3b84d}.topbar__brand-mark{display:block;width:3rem;height:3rem;border-radius:50%;box-shadow:0 12px 22px #2563eb33}.topbar__brand-text{display:flex;flex-direction:column;gap:.25rem}.topbar__logo{font-size:1.75rem;font-weight:700;letter-spacing:.03em}.topbar__tagline{font-size:.85rem;opacity:.75;text-transform:uppercase;letter-spacing:.08em}.topbar__right{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}.topbar__time{display:flex;flex-direction:column;gap:.3rem;padding:.75rem 1rem;border-radius:14px;background:#ffffffc7;box-shadow:inset 0 0 0 1px #94a3b84d}.topbar__time-label{font-size:.75rem;letter-spacing:.04em;text-transform:uppercase;color:#0f172a8c}.topbar__time-value{font-size:1.2rem;font-weight:600;color:#0f172a}.topbar__user{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.topbar__user-name{font-size:1rem;font-weight:600}.topbar__user-role{font-size:.85rem;color:#0f172a99}.topbar__logout{background:#fff;border:1px solid rgba(148,163,184,.5);color:#1f2937;padding:.6rem 1.2rem;border-radius:999px;font-weight:600;cursor:pointer;transition:background .2s ease,transform .2s ease,box-shadow .2s ease}.topbar__logout:hover{background:#ffffffeb;box-shadow:0 6px 14px #94a3b859;transform:translateY(-1px)}.mega-menu{position:relative;margin:-3rem 2rem 1.5rem;background:#fff;border-radius:20px;box-shadow:0 25px 60px #0f172a1f;overflow:hidden}.mega-menu__header{display:flex;justify-content:center;padding:.85rem 1.5rem;background:linear-gradient(90deg,#94a3b829,#94a3b800)}.mega-menu__toggle{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:999px;border:1px solid rgba(148,163,184,.45);background:#fff;color:#1f2937;cursor:pointer;box-shadow:0 10px 24px #0f172a1f;transition:transform .25s ease,box-shadow .25s ease,background .25s ease}.mega-menu__toggle:hover{background:#fffffff2;box-shadow:0 14px 30px #0f172a29}.mega-menu__toggle.is-open{transform:translateY(2px)}.mega-menu__toggle-icon{width:20px;height:20px;transition:transform .25s ease}.mega-menu__toggle-icon path{fill:currentColor}.mega-menu__toggle .mega-menu__toggle-icon{transform:rotate(180deg)}.mega-menu__toggle.is-open .mega-menu__toggle-icon{transform:rotate(0)}.mega-menu__content{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:1.25rem 1.75rem 1.75rem;max-height:900px;overflow:hidden;transition:max-height .35s ease,opacity .35s ease,padding .35s ease}.mega-menu__content.is-collapsed{max-height:0;opacity:0;padding:0 1.75rem;pointer-events:none}.mega-menu__link{position:relative;display:flex;flex-direction:column;gap:.5rem;padding:1.1rem;border-radius:16px;background:#f8fafc;border:1px solid transparent;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;color:inherit}.mega-menu__link:hover{transform:translateY(-3px);box-shadow:0 12px 25px #3b82f62e;border-color:#3b82f666}.mega-menu__link--admin{background:#fef3f2}.mega-menu__icon{width:48px;height:48px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;font-size:1.6rem;background:#eef2ff;color:#1d4ed8}.mega-menu__link--admin .mega-menu__icon{background:#fee2e2;color:#b91c1c}.mega-menu__label{font-size:1.05rem;font-weight:600}.mega-menu__description{font-size:.9rem;color:var(--muted-color)}.mega-menu__badge{position:absolute;top:16px;right:16px;min-width:1.75rem;padding:.15rem .5rem;border-radius:999px;background:#ef4444;color:#fff;font-size:.75rem;font-weight:600;text-align:center}@media (max-width: 1024px){.topbar{padding:1.25rem 1.5rem 4rem}.topbar__right{gap:1rem}.mega-menu{margin:-2.5rem 1.5rem 1rem}.mega-menu__content{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}}@media (max-width: 768px){.topbar{flex-direction:column;align-items:flex-start;padding:1.25rem 1.25rem 3.75rem;gap:1rem}.topbar__right,.topbar__user{align-items:flex-start}.topbar__logout{align-self:stretch;text-align:center}.mega-menu{margin:-2.5rem 1.25rem 1rem}.mega-menu__content{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));padding:1rem 1.25rem 1.25rem}.layout__content{padding:1.75rem 1.25rem 2rem}}@media (max-width: 520px){.topbar{padding-bottom:3.5rem}.mega-menu{margin:-2.25rem 1rem .75rem}.mega-menu__toggle{width:100%;justify-content:center}.mega-menu__content{grid-template-columns:1fr}}.page h1{margin-top:0}.card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 10px 30px #0f172a1a;margin-bottom:1.5rem}.login-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#2563eb,#7c3aed)}.login-container .card{width:320px;color:#1f2933}.login-container input{width:100%;padding:.5rem;margin-top:.25rem;margin-bottom:1rem;border-radius:6px;border:1px solid #cbd5e0}.login-container select{width:100%;padding:.5rem;margin-top:.25rem;margin-bottom:1rem;border-radius:6px;border:1px solid #cbd5e0;background:#fff;color:var(--text-primary)}.login-container button{width:100%;padding:.75rem;background:#2563eb;border:none;border-radius:6px;color:#fff;font-weight:600;cursor:pointer}.files-search{display:flex;gap:.75rem;margin-bottom:1.5rem}.files-search input{flex:1;padding:.75rem 1rem;border-radius:10px;border:1px solid #d1d5db}.files-search button{padding:.75rem 1.25rem;border:none;border-radius:10px;background:#2563eb;color:#fff;font-weight:600;cursor:pointer}.files-search button.secondary{background:#e5e7eb;color:#1f2937}.files-layout{display:grid;grid-template-columns:240px 1fr;gap:1.5rem;max-width:100%;overflow-x:hidden}.files-layout>section{min-width:0}.category-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}.category-actions button{background:#f3f4f6;border:none;border-radius:8px;padding:.5rem 1rem;font-weight:600;cursor:pointer}.category-actions button:disabled{opacity:.55;cursor:not-allowed}button.danger{background:#e55353;color:#fff}button.danger:hover:not(:disabled){background:#c54040}.upload-panel{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem;padding:1rem;border-radius:12px;border:1px solid #dbe3f1;background:linear-gradient(180deg,#f7f9fd,#fff);box-shadow:0 8px 20px #0f2e6714}.upload-panel__controls{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}.upload-panel__select{position:relative;display:inline-flex;align-items:center;gap:.5rem;padding:.55rem 1.25rem;border-radius:999px;background:linear-gradient(135deg,#1f6feb,#54a3ff);color:#fff;font-weight:600;cursor:pointer;overflow:hidden}.upload-panel__select input[type=file]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.upload-panel__select span{pointer-events:none}.upload-panel__select--disabled{opacity:.6;cursor:not-allowed}.upload-panel__select--disabled input[type=file]{cursor:not-allowed}.upload-queue{list-style:none;display:flex;flex-direction:column;gap:.75rem;margin:0;padding:0;max-height:320px;overflow-y:auto}.upload-item{display:flex;flex-direction:column;gap:.6rem;padding:.75rem 1rem;border-radius:10px;border:1px solid #e1e8f5;background:#fff;box-shadow:0 4px 12px #27477d14}.upload-item__row{display:flex;gap:.5rem;align-items:center}.upload-item__row input{flex:1;padding:.45rem .65rem;border-radius:8px;border:1px solid #c4d0ea;background:#f9fbff;font-size:.95rem}.upload-item__buttons{display:flex;gap:.5rem}.upload-item__buttons button{padding:.4rem .85rem;border-radius:6px}.upload-item__progress{display:flex;flex-direction:column;gap:.4rem}.upload-item__bar{height:6px;border-radius:999px;background:#eef2fb;overflow:hidden}.upload-item__bar span{display:block;height:100%;background:linear-gradient(90deg,#1f6feb,#54a3ff);transition:width .2s ease-in-out}.upload-item__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;font-size:.85rem;color:#52607a}.upload-item__status{font-weight:600}.upload-item--error .upload-item__bar span{background:linear-gradient(90deg,#ff6b6b,#e55353)}.upload-item--cancelled .upload-item__bar span{background:linear-gradient(90deg,#c7cddf,#a0abc4)}.upload-item--success .upload-item__bar span{background:linear-gradient(90deg,#1bb55c,#37d778)}.success-message{color:#0a8754;font-weight:600}.hint{color:var(--muted-color);font-size:.875rem}.files-tree{display:flex;flex-direction:column;gap:.5rem}.files-tree>button{text-align:left}.files-tree ul{list-style:none;padding-left:.75rem;margin:0;display:flex;flex-direction:column;gap:.25rem}.files-layout aside button{width:100%;text-align:left;padding:.5rem .75rem;margin-bottom:.35rem;border-radius:8px;border:none;cursor:pointer;background:#e5e7eb}.files-layout aside button.active{background:#2563eb;color:#fff}.breadcrumbs{display:flex;gap:.5rem;margin-bottom:1rem}.breadcrumbs button{padding:.35rem .65rem;border-radius:999px;border:none;background:#e5e7eb;cursor:pointer}.search-summary{margin-bottom:1.5rem;background:#eef2ff;padding:1rem;border-radius:12px}.search-categories{margin-top:.75rem;display:flex;flex-wrap:wrap;gap:.5rem}.search-categories button{border:none;background:#2563eb;color:#fff;padding:.35rem .75rem;border-radius:999px;cursor:pointer}.category-form{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1rem}.category-form input{flex:1 1 220px}.category-form button{padding:.5rem 1rem;border:none;border-radius:8px;background:#2563eb;color:#fff;font-weight:600;cursor:pointer}.category-form button.secondary{background:#e5e7eb;color:#1f2937}.files-table-wrapper{margin-top:1.5rem;overflow-x:auto}.files-table{width:100%;border-collapse:collapse;background:var(--surface-color);border-radius:12px;overflow:hidden;box-shadow:0 6px 24px #0f172a14}.files-table th,.files-table td{padding:.75rem 1rem;border-bottom:1px solid var(--border-color);text-align:left}.files-table th{font-weight:600;background:#f9fafb}.files-table tr:last-child td{border-bottom:none}.files-table tr:hover{background:#f8fafc}.files-table__row--active{background:#eef2ff}.files-table__actions{display:flex;flex-wrap:wrap;gap:.5rem}.files-table__actions button{padding:.45rem .9rem;border:none;border-radius:8px;background:#2563eb;color:#fff;cursor:pointer;font-weight:600}.files-table__actions .secondary{background:#e5e7eb;color:#1f2937}.link-button{background:none;border:none;color:#2563eb;cursor:pointer;font:inherit;padding:0;text-decoration:underline}.link-button:hover{text-decoration:none}.file-preview{margin-top:1.5rem;background:var(--surface-color);border-radius:12px;box-shadow:0 10px 30px #0f172a1f;padding:1.5rem}.file-preview__header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}.file-preview__buttons{display:flex;gap:.5rem}.file-preview__buttons button{padding:.5rem 1rem;border:none;border-radius:8px;background:#2563eb;color:#fff;cursor:pointer;font-weight:600}.file-preview__buttons .secondary{background:#e5e7eb;color:#1f2937}.file-preview__body{margin-top:1rem;overflow-x:hidden;max-width:100%}.file-preview__text{background:#fff;color:#0f172a;padding:1.25rem;border-radius:12px;border:1px solid #e2e8f0;max-height:min(70vh,720px);overflow:auto;font-size:.95rem;line-height:1.6;white-space:pre-wrap;word-break:break-word;font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif}.file-preview__html{background:#fff;color:#0f172a;padding:1.25rem;border-radius:12px;border:1px solid #e2e8f0;max-height:min(70vh,720px);overflow-y:auto;overflow-x:auto;font-size:1rem;line-height:1.7;max-width:100%;word-break:break-word}.file-preview__html .odf-html{width:100%}.file-preview__html .odf-html table{width:100%;border-collapse:collapse;table-layout:fixed}.file-preview__html .odf-html td,.file-preview__html .odf-html th{border:1px solid #e2e8f0;padding:.5rem .75rem;word-break:break-word;overflow-wrap:anywhere}.file-preview__html p{margin:0 0 .85rem}.file-preview__html table{width:100%;border-collapse:collapse;table-layout:fixed;word-break:break-word;overflow-wrap:anywhere}.file-preview__html .doc-table{width:100%;border-collapse:collapse;margin-bottom:1rem}.file-preview__html .doc-table td{border:1px solid #e2e8f0;padding:.5rem;background:#f8fafc;vertical-align:top;word-break:break-word;overflow-wrap:anywhere}.file-preview__html .sheet-section{margin-bottom:1.5rem}.file-preview__html .sheet-section h3{margin:0 0 .75rem;font-size:1.05rem;color:#0f172a}.file-preview__html .sheet-table{width:100%;border-collapse:collapse;background:#f8fafc;border-radius:8px;overflow:hidden}.file-preview__html .sheet-table th,.file-preview__html .sheet-table td{border:1px solid #e2e8f0;padding:.5rem .75rem;text-align:left;word-break:break-word;overflow-wrap:anywhere}.file-preview__html .sheet-table th{background:#e2e8f0;font-weight:600}.file-preview__html .sheet-note{margin:.5rem 0 0;font-size:.85rem;color:var(--muted-color)}.file-preview__html .ppt-slide{border:1px solid #e2e8f0;border-radius:10px;padding:1rem;margin-bottom:1.5rem;background:#f8fafc}.file-preview__html .ppt-slide h3{margin:0 0 .75rem;font-size:1.05rem}.file-preview__html .ppt-text{margin:0 0 .75rem}.file-preview__html .ppt-table{width:100%;border-collapse:collapse;margin-bottom:.75rem}.file-preview__html .ppt-table td{border:1px solid #cbd5f5;padding:.4rem .6rem;background:#fff;word-break:break-word;overflow-wrap:anywhere}.file-preview__html .ppt-empty{margin:0;font-style:italic;color:var(--muted-color)}.file-preview__image{max-width:100%;border-radius:10px}.file-preview__video,.file-preview__frame{width:100%;border-radius:10px;min-height:clamp(440px,70vh,1100px);height:min(85vh,1100px);border:none;background:#111827}.file-preview__audio{width:100%;margin-top:.5rem}.file-preview__meta{margin:.15rem 0;color:var(--muted-color);font-size:.9rem}.error-message{color:#dc2626;margin-bottom:1rem}.empty-hint{color:#64748b;font-size:.9rem}.message-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1rem}.message-card{background:#fff;border:1px solid #d7dbe7;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px}.message-card.unread{border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f61f}.message-card__header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.message-card__actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.message-card__meta{margin:4px 0 0;color:#61708b;font-size:.9rem}.message-card__body{margin:0;white-space:pre-wrap;line-height:1.5}.message-card__section{font-size:.95rem;color:#3a4055}.message-filters{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 16px}.chip{border:1px solid #d7dbe7;background:#f5f7fb;color:#1f2937;padding:6px 14px;border-radius:999px;font-size:.9rem;cursor:pointer;transition:background .2s ease,color .2s ease,border .2s ease}.chip:hover{background:#e0e7ff;border-color:#a5b4fc}.chip.active{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 2px 6px #2563eb40}.message-highlight{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:20px;border:1px solid #c7d2fe;border-radius:16px;background:linear-gradient(135deg,#eef2ff,#f9fafb);margin-bottom:20px}.message-highlight__label{display:inline-block;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#4f46e5;margin-bottom:6px}.message-highlight__info h2{margin:0 0 4px;font-size:1.3rem;color:#1f2937}.message-highlight__info p{margin:0;color:#4b5563}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px;flex-wrap:wrap}.task-summary-card{margin-bottom:1.5rem}.task-summary-card h2{margin-top:0;margin-bottom:1rem}.task-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px 16px}.task-summary>div{display:flex;flex-direction:column;gap:4px}.task-summary-inline{margin-top:20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.task-summary-inline__item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}.task-summary__label{font-size:.75rem;color:#64748b;text-transform:uppercase;letter-spacing:.06em}.task-summary__value{font-size:1.1rem;font-weight:600;color:#1f2937}.task-summary__value--alert{color:#dc2626}.task-summary-card .task-summary{background:transparent;border:none;padding:0}.task-form-card{margin-bottom:24px}.task-form{display:flex;flex-direction:column;gap:16px}.task-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1.5rem}.task-controls .chip-group{flex-wrap:wrap}.task-form__row{display:flex;gap:16px;flex-wrap:wrap}.task-form__row--chips{gap:12px}.task-form__row .form-label{flex:1}.task-bulk-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px;justify-content:space-between}.task-bulk-card{margin-bottom:24px}.task-bulk-form{display:flex;flex-direction:column;gap:16px}.task-bulk-table-wrapper{padding-bottom:12px}.task-bulk-list{display:flex;flex-direction:column;gap:16px}.task-bulk-list .task-row{display:grid;grid-template-columns:200px 320px 1fr 220px;grid-template-areas:"assignee title details actions" "date title details actions";gap:24px;padding:16px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc;align-items:start;width:100%;box-sizing:border-box}.task-bulk-list .task-cell{display:flex;flex-direction:column;gap:6px;min-width:0}.task-bulk-list .task-cell select,.task-bulk-list .task-cell input,.task-bulk-list .task-cell textarea{width:100%;min-width:0;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px;background:#fff;font:inherit;color:inherit}.task-bulk-list .task-cell input::placeholder,.task-bulk-list .task-cell textarea::placeholder{color:#9ca3af}.task-bulk-list .task-cell--assignee{grid-area:assignee}.task-bulk-list .task-cell--date{grid-area:date}.task-bulk-list .task-cell--title{grid-area:title}.task-bulk-list .task-cell--title input{font-weight:500}.task-bulk-list .task-cell--details{grid-area:details}.task-bulk-list .task-cell--details textarea{min-height:96px;height:96px;resize:vertical}.task-bulk-list .task-actions{grid-area:actions;display:flex;flex-direction:column;align-items:stretch;gap:12px}.task-bulk-list .task-actions__toggles{display:flex;flex-direction:column;gap:8px}.task-bulk-list .task-actions__toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;border-radius:999px;border:1px solid #d1d5db;background:#f9fafb;font-size:13px;font-weight:500;color:#374151;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s ease;padding:0 16px}.task-bulk-list .task-actions__toggle input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.task-bulk-list .task-actions__toggle span{pointer-events:none}.task-bulk-list .task-actions__toggle:hover{background:#f3f4f6}.task-bulk-list .task-actions__toggle:focus-within{box-shadow:0 0 0 3px #2563eb26;outline:none}.task-bulk-list .task-actions__toggle--active{border-color:#2563eb;background:#2563eb1f;color:#1d4ed8;box-shadow:inset 0 0 0 1px #2563eb59}.task-bulk-list .task-actions__toggle--disabled{opacity:.55;cursor:not-allowed}.task-bulk-list .task-actions__toggle--disabled input{cursor:not-allowed}.task-bulk-list .task-actions__delete{align-self:flex-start}.task-bulk-list .task-date{position:relative}.task-bulk-list .task-date__icon{position:absolute;left:12px;top:50%;width:18px;height:18px;transform:translateY(-50%);pointer-events:none;opacity:.7;background-repeat:no-repeat;background-position:center;background-size:18px 18px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='14' height='14' rx='2'/%3E%3Cpath d='M8 2v4M12 2v4M3 9h14'/%3E%3C/svg%3E")}.task-bulk-list .task-date input{padding-left:40px}@media (max-width: 1199px) and (min-width: 768px){.task-bulk-list .task-row{grid-template-columns:200px 1fr 220px;grid-template-areas:"assignee title actions" "date title actions" "details details actions";gap:20px}.task-bulk-list .task-actions{align-self:stretch}}@media (max-width: 767px){.task-bulk-list .task-row{grid-template-columns:1fr;grid-template-areas:"assignee" "date" "title" "details" "actions";gap:14px}.task-bulk-list .task-actions{align-items:flex-start}.task-bulk-list .task-actions__toggles{width:100%;flex-direction:row;flex-wrap:wrap;gap:8px}.task-bulk-list .task-actions__toggle{width:100%;justify-content:center}.task-bulk-list .task-actions__delete{align-self:flex-start}}.checkbox-inline{display:flex;align-items:center;gap:8px;font-size:.9rem;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:6px 10px;flex:0 0 auto;min-width:0;width:auto}.task-option-chip{position:relative;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #d1d5db;border-radius:8px;background:#fff;font-size:.85rem;line-height:1.2;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease;min-width:0;width:auto;justify-content:flex-start}.task-option-chip:focus-within{outline:2px solid #2563eb;outline-offset:2px}.task-option-chip input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.task-option-chip__icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;background:#f3f4f6;font-size:.8rem}.task-option-chip__label{min-width:0;white-space:normal}.task-option-chip--active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.task-option-chip--active .task-option-chip__icon{background:#2563eb;color:#fff}.task-form__row--chips .task-option-chip{flex:0 1 220px}.checkbox-inline--active{border-color:var(--accent-color);background:#2563eb14}.button--ghost-active{background:#2563eb14;border-color:var(--accent-color);color:#1f2937}.checkbox-inline input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:var(--accent-color)}.checkbox-inline__icon{width:24px;height:24px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:1.1rem}.checkbox-inline__icon--monthly{background:#ede9fe;color:#7c3aed}.checkbox-inline__icon--confirm{background:#e0f2fe;color:#0369a1}.checkbox-inline span{line-height:1.3}.task-actions,.task-confirmation-upload{display:flex;flex-direction:column;gap:8px}.task-confirmation-upload input[type=file]{max-width:100%}.task-confirmation-upload .button{align-self:flex-start}.task-confirmation-upload .form-error{color:var(--danger-color);font-size:.8rem}.task-card__confirmation{margin-top:8px;display:flex;align-items:center;gap:8px}.badge{display:inline-flex;align-items:center;justify-content:center;padding:.2rem .6rem;border-radius:9999px;font-size:.7rem;font-weight:600;text-transform:uppercase}.badge--warning{background:#fff3cd;color:#8a6d3b}.badge--info{background:#e0f2fe;color:#0369a1}.task-calendar-card{margin-top:24px;display:flex;flex-direction:column;gap:16px}.task-calendar__header{display:flex;justify-content:space-between;align-items:baseline}.chat-wrapper{display:grid;grid-template-columns:320px 1fr;min-height:560px;height:clamp(720px,92vh,1180px);border-radius:18px;border:1px solid rgba(148,163,184,.35);box-shadow:0 24px 60px #0f172a29;overflow:hidden;background:linear-gradient(180deg,#f8fafc,#fff);transition:height .3s ease}.chat-wrapper.card{padding:0}.chat-sidebar{display:flex;flex-direction:column;gap:1.25rem;background:linear-gradient(180deg,#eef2ff,#e2e8f0);border-right:1px solid rgba(148,163,184,.3);padding:1.5rem 1.25rem;height:100%;min-height:0}.chat-sidebar__header{display:flex;flex-direction:column;align-items:stretch;gap:.75rem}.chat-sidebar__actions{display:flex;gap:.5rem;flex-wrap:wrap}.chat-viewer-select{display:flex;flex-direction:column;gap:.35rem}.chat-viewer-select select{padding:.45rem .6rem;border-radius:8px;border:1px solid var(--border-color)}.chat-contact-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.85rem;overflow-y:auto;padding-right:.25rem;flex:1;min-height:0}.chat-contact{width:100%;display:flex;flex-direction:column;gap:.45rem;background:#ffffffd9;border-radius:12px;border:1px solid rgba(148,163,184,.45);padding:.85rem 1rem;cursor:pointer;position:relative;text-align:left;transition:transform .15s ease,box-shadow .15s ease;box-shadow:0 10px 24px #0f172a1f}.chat-contact--system{border-left:4px solid #0f172a;padding-left:.85rem;box-shadow:0 12px 28px #0f172a29}.chat-contact--system.active{border-left-color:#1d4ed8}.chat-contact--system .chat-contact__tag{background:#0f172a;color:#fff}.chat-contact__media{display:flex;align-items:center;gap:.85rem}.chat-contact__content{display:flex;flex-direction:column;gap:.45rem;flex:1;min-width:0}.chat-contact__avatar{width:44px;height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:.02em;flex-shrink:0;box-shadow:0 6px 18px #0f172a2e;overflow:hidden;font-size:.95rem}.chat-contact__avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.chat-contact__avatar--image{background:transparent}.chat-contact__avatar-stack{display:flex;align-items:center}.chat-contact__avatar-stack .chat-contact__avatar{margin-left:-.4rem;border:2px solid #fff}.chat-contact__avatar-stack .chat-contact__avatar:first-child{margin-left:0}.chat-contact:hover{transform:translateY(-2px);box-shadow:0 14px 28px #0f172a2e}.chat-contact.active{border-color:var(--accent-color);box-shadow:0 0 0 3px #2563eb33;background:linear-gradient(135deg,#2563eb1a,#2563eb0d)}.chat-contact__header{display:flex;align-items:center;gap:.5rem;width:100%}.chat-contact__name{font-weight:600;font-size:.95rem;flex:1}.chat-contact__tag{font-size:.65rem;text-transform:uppercase;letter-spacing:.05em;background:#2563eb1f;color:var(--accent-color);border-radius:999px;padding:.1rem .5rem}.chat-contact__body{display:flex;align-items:center;gap:.75rem;width:100%;font-size:.85rem;color:var(--muted-color)}.chat-contact__preview{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-contact__meta{font-size:.75rem;color:var(--muted-color);white-space:nowrap}.chat-contact__subtitle{font-size:.75rem;color:var(--muted-color);white-space:normal}.chat-content{background:#fff;padding:1.9rem 1.5rem 3.5rem;display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.chat-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.chat-header__main{display:flex;align-items:center;gap:1rem}.chat-header__avatar{width:52px;height:52px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:.03em;box-shadow:0 12px 28px #0f172a33;overflow:hidden;flex-shrink:0}.chat-header__avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.chat-header__avatar--image{background:transparent}.chat-header__avatar-stack{display:flex;align-items:center}.chat-header__avatar-stack .chat-header__avatar{margin-left:-.55rem;border:2px solid #fff}.chat-header__avatar-stack .chat-header__avatar:first-child{margin-left:0}.chat-header__info{display:flex;flex-direction:column;gap:.2rem}.chat-header__subtitle{margin:0;font-size:.85rem;color:var(--muted-color)}.chat-header__tools{display:flex;align-items:center;gap:.75rem}.chat-viewer-note{margin:.25rem 0 0;font-size:.85rem;color:var(--muted-color)}.chat-messages{flex:1;display:flex;flex-direction:column;gap:.9rem;padding:1.15rem;border:1px solid rgba(148,163,184,.35);border-radius:14px;overflow-y:auto;background:linear-gradient(180deg,#f8fafcf2,#e2e8f0e6);box-shadow:inset 0 12px 35px #0f172a14;min-height:0}.chat-messages__day-divider{display:flex;align-items:center;gap:.75rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:#64748bd9}.chat-messages__day-divider:before,.chat-messages__day-divider:after{content:"";flex:1;height:1px;background:#94a3b866}.chat-messages__day-divider span{background:#ffffffe6;padding:.2rem .75rem;border-radius:999px;box-shadow:0 6px 16px #0f172a2e}.chat-message{max-width:min(70%,640px);align-self:flex-start;display:flex;gap:.75rem;width:fit-content;min-width:0}.chat-message+.chat-message{margin-top:.85rem}.chat-message.mine{align-self:flex-end;flex-direction:row-reverse}.chat-message--chained{margin-top:.3rem}.chat-message--chained .chat-message__top{display:none}.chat-message__avatar{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;letter-spacing:.02em;box-shadow:0 8px 22px #0f172a40;flex-shrink:0;text-transform:uppercase}.chat-message__avatar--image{background:transparent;overflow:hidden}.chat-message__avatar--image img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.chat-message__avatar-spacer{width:42px;height:42px;flex-shrink:0}.chat-message__body{display:flex;flex-direction:column;gap:.4rem;max-width:100%}.chat-message__top{display:flex;align-items:center;gap:.5rem}.chat-message__author{font-weight:600;font-size:.95rem}.chat-message__timestamp{font-size:.75rem;color:var(--muted-color);white-space:nowrap;font-variant-numeric:tabular-nums}.chat-message.mine .chat-message__body{align-items:flex-end}.chat-message__bubble{background:#fff;border-radius:16px;padding:.85rem 1.15rem;border:1px solid rgba(148,163,184,.25);box-shadow:0 12px 30px #0f172a29;position:relative;max-width:100%;display:flex;flex-direction:column;gap:.45rem;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.chat-message.mine .chat-message__bubble{background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;border-color:transparent}.chat-message__text{margin:0;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.chat-message__attachments{list-style:none;margin:.5rem 0 0;padding:0;display:flex;flex-direction:column;gap:.6rem}.chat-message__attachment{max-width:100%}.chat-message__attachment-body{display:flex;align-items:stretch;gap:.85rem;background:#0f172a0a;border:1px solid rgba(148,163,184,.35);border-radius:16px;padding:.65rem .75rem;box-shadow:inset 0 4px 14px #0f172a0f}.chat-message.mine .chat-message__attachment-body{background:#ffffff14;border-color:#fff6;box-shadow:inset 0 4px 14px #ffffff1f}.chat-message__attachment-thumb{width:76px;height:76px;border-radius:14px;overflow:hidden;border:1px solid rgba(148,163,184,.4);background:#ffffffbf;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.chat-message__attachment-thumb img{width:100%;height:100%;object-fit:cover;display:block}.chat-message__attachment-thumb--placeholder{cursor:default;font-size:1.5rem;color:#1e293b8c}.chat-message__attachment-thumb:not(.chat-message__attachment-thumb--placeholder):hover{transform:translateY(-2px);box-shadow:0 12px 28px #0f172a2e}.chat-message__attachment-info{display:flex;flex-direction:column;gap:.35rem;justify-content:center;min-width:0}.chat-message__attachment-name{font-weight:600;word-break:break-word}.chat-message__attachment-size{font-size:.8rem;color:var(--muted-color)}.chat-message__attachment-actions{display:flex;flex-wrap:wrap;gap:.85rem}.chat-message__attachment-action{border:none;background:#2563eb1f;color:var(--accent-color);font-weight:600;border-radius:999px;padding:.35rem .85rem;cursor:pointer;transition:background .2s ease,transform .2s ease}.chat-message__attachment-action:hover{background:#2563eb2e;transform:translateY(-1px)}.chat-message__attachment-action:active{transform:translateY(0)}.chat-message__meta{font-size:.75rem;color:var(--muted-color);display:flex;gap:.5rem;align-items:center;justify-content:flex-start}.chat-message.mine .chat-message__meta{justify-content:flex-end}.chat-message__status{display:inline-flex;align-items:center;gap:.15rem;font-weight:600;font-variant-numeric:tabular-nums;color:#64748be6}.chat-message__status--read{color:var(--accent-color)}.chat-compose{margin-top:1.5rem;display:flex;flex-direction:column;gap:.75rem;padding-bottom:2.25rem}.chat-compose textarea{min-height:120px;border-radius:10px;border:1px solid var(--border-color);padding:.75rem;font-family:inherit}.chat-compose__preview{display:flex;flex-wrap:wrap;gap:.75rem}.chat-compose__preview-chip{display:flex;align-items:center;gap:.65rem;background:#2563eb14;border:1px solid rgba(37,99,235,.2);border-radius:999px;padding:.45rem .9rem;box-shadow:0 8px 18px #2563eb2e}.chat-compose__preview-chip--image{border-radius:16px;padding:.45rem .75rem .45rem .45rem}.chat-compose__preview-thumb{width:56px;height:56px;border-radius:12px;overflow:hidden;flex-shrink:0;background:#94a3b840;border:1px solid rgba(148,163,184,.35);box-shadow:inset 0 6px 18px #0f172a1f}.chat-compose__preview-thumb img{width:100%;height:100%;object-fit:cover;display:block}.chat-compose__preview-icon{font-size:1.1rem}.chat-compose__preview-details{display:flex;flex-direction:column;line-height:1.1}.chat-compose__preview-name{font-weight:600}.chat-compose__preview-size{font-size:.8rem;color:var(--muted-color)}.chat-compose__preview-remove{border:none;background:#ffffffbf;border-radius:50%;width:28px;height:28px;cursor:pointer;font-size:1.1rem;line-height:1;display:flex;align-items:center;justify-content:center;color:var(--danger-color);box-shadow:0 4px 12px #0f172a26}.chat-compose__preview-remove:disabled{opacity:.5;cursor:not-allowed}.chat-compose__progress{display:flex;flex-direction:column;gap:.4rem;background:#2563eb14;border-radius:12px;padding:.6rem .75rem}.chat-compose__progress-bar{width:100%;height:8px;border-radius:999px;background:#2563eb26;overflow:hidden}.chat-compose__progress-value{height:100%;background:linear-gradient(135deg,#2563eb,#1d4ed8);border-radius:999px;transition:width .2s ease}.chat-compose__progress-text{font-size:.8rem;font-weight:600;color:var(--text-primary)}.chat-compose__actions{display:flex;gap:2.5rem;align-items:center;flex-wrap:wrap}.chat-compose__actions input[type=file]{display:none}.chat-compose__hint{margin:0;font-size:.8rem;color:var(--muted-color)}.chat-empty{text-align:center;color:var(--muted-color);margin:2rem 0}.chat-group-modal{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;z-index:950}.chat-group-modal__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.chat-group-modal__content{position:relative;z-index:1;width:min(520px,92vw);max-height:90vh;overflow-y:auto;background:#fff;border-radius:18px;padding:1.75rem;box-shadow:0 32px 70px #0f172a40;display:flex;flex-direction:column;gap:1rem}.chat-group-modal__field{display:flex;flex-direction:column;gap:.45rem}.chat-group-modal__field input[type=text]{padding:.6rem .75rem;border-radius:10px;border:1px solid var(--border-color);font-family:inherit}.chat-group-modal__members{display:flex;flex-direction:column;gap:.35rem;max-height:240px;overflow-y:auto;padding:.5rem;border-radius:12px;border:1px solid rgba(148,163,184,.35);background:#f1f5f999}.chat-group-modal__member{display:flex;align-items:center;gap:.5rem;font-size:.95rem;color:var(--text-primary)}.chat-group-modal__member input{width:18px;height:18px}.chat-group-modal__empty{margin:.5rem 0 0;font-size:.85rem;color:var(--muted-color)}.chat-group-modal__actions{display:flex;justify-content:flex-end;gap:.75rem}.chat-group-settings{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;z-index:60}.chat-group-settings__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a8c}.chat-group-settings__content{position:relative;background:#fff;border-radius:18px;padding:2rem;width:min(700px,94vw);max-height:90vh;overflow-y:auto;box-shadow:0 24px 60px #0f172a40;display:flex;flex-direction:column;gap:1.5rem}.chat-group-settings__close{position:absolute;top:1rem;right:1rem;border:none;background:#0f172a14;color:var(--text-primary);font-size:1.4rem;line-height:1;width:34px;height:34px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s ease}.chat-group-settings__close:hover{background:#0f172a1f}.chat-group-settings__title{margin:0;font-size:1.5rem}.chat-group-settings__subtitle{margin:0;color:var(--muted-color)}.chat-group-settings__section{display:flex;flex-direction:column;gap:1rem}.chat-group-settings__rename{gap:1rem}.chat-group-settings__rename-controls{display:flex;align-items:center;gap:.85rem}.chat-group-settings__rename-controls input{flex:1;padding:.65rem .85rem;border-radius:10px;border:1px solid var(--border-color);font-size:.95rem;background:#ffffffeb;box-shadow:inset 0 2px 6px #0f172a14}.chat-group-settings__rename-controls button{white-space:nowrap}.chat-group-settings__section h4{margin:0;font-size:1rem}.chat-group-settings__participants{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.85rem;max-height:280px;overflow-y:auto;padding-right:.35rem}.chat-group-settings__participant{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border-radius:14px;border:1px solid rgba(15,23,42,.08);background:#f8fafcf2}.chat-group-settings__participant-info{display:flex;align-items:center;gap:.85rem;min-width:0}.chat-group-settings__avatar{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;flex-shrink:0}.chat-group-settings__participant-body{display:flex;flex-direction:column;gap:.15rem;min-width:0}.chat-group-settings__participant-name{font-weight:600;word-break:break-word}.chat-group-settings__participant-meta{font-size:.85rem;color:var(--muted-color)}.chat-group-settings__participant-meta--muted{font-style:italic}.chat-group-settings__participants-empty{padding:1rem;border-radius:12px;background:#f8fafce6;border:1px dashed rgba(15,23,42,.1);color:var(--muted-color);text-align:center}.chat-group-settings__remove{border:none;background:#dc26261f;color:#dc2626;font-weight:600;border-radius:999px;padding:.4rem 1rem;cursor:pointer;transition:background .2s ease,transform .2s ease}.chat-group-settings__remove:hover:not(:disabled){background:#dc26262e;transform:translateY(-1px)}.chat-group-settings__remove:disabled{opacity:.6;cursor:not-allowed}.chat-group-settings__members{display:flex;flex-direction:column;gap:.6rem;max-height:220px;overflow-y:auto;padding-right:.35rem}.chat-group-settings__member{display:flex;align-items:center;gap:.6rem;font-weight:500;color:var(--text-primary)}.chat-group-settings__member input{width:16px;height:16px}.chat-group-settings__actions{display:flex;justify-content:flex-end}.chat-group-settings__hint{margin:0;color:var(--muted-color)}.chat-group-settings__danger{border-radius:12px;padding:1rem;background:#fee2e2cc;border:1px solid rgba(220,38,38,.2);display:flex;flex-direction:column;gap:.75rem}.chat-group-settings__danger-text{margin:0;color:var(--danger-color);font-size:.9rem}.chat-attachment-modal{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;z-index:1000}.chat-attachment-modal__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a73;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.chat-attachment-modal__content{position:relative;z-index:1;width:min(640px,92vw);max-height:92vh;background:#fff;border-radius:18px;padding:1.75rem;box-shadow:0 32px 70px #0f172a40;display:flex;flex-direction:column;gap:1.25rem}.chat-attachment-modal__close{position:absolute;top:1rem;right:1rem;border:none;background:#0f172a14;width:32px;height:32px;border-radius:50%;font-size:1.25rem;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#0f172a}.chat-attachment-modal__title{margin:0;padding-right:2.5rem;font-size:1.1rem;font-weight:600;color:var(--text-primary)}.chat-attachment-modal__status{margin:0;color:var(--muted-color)}.chat-attachment-modal__error{margin:0;color:var(--danger-color);font-weight:600}.chat-attachment-modal__preview{border-radius:16px;overflow:hidden;border:1px solid rgba(148,163,184,.35);background:#0f172a0d;max-height:70vh;width:100%;display:flex;align-items:center;justify-content:center;padding:.75rem;box-sizing:border-box}.chat-attachment-modal__preview img{width:100%;height:100%;object-fit:contain;display:block}.chat-attachment-modal__viewer{width:100%;height:clamp(320px,70vh,720px);border:none;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px #94a3b833}.chat-attachment-modal__video{width:100%;max-height:clamp(320px,70vh,720px);border-radius:12px;background:#000}.chat-attachment-modal__audio{width:100%;margin-top:.5rem}.chat-attachment-modal__actions{display:flex;justify-content:flex-end}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.6rem 1.2rem;border-radius:10px;border:none;cursor:pointer;font-weight:600;transition:transform .15s ease,box-shadow .15s ease}.btn.primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 8px 20px #2563eb40}.btn.danger{background:linear-gradient(135deg,var(--danger-color),#b91c1c);color:#fff;box-shadow:0 8px 20px #dc262638}.btn.danger:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.btn.primary:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.55rem 1rem;border-radius:10px;border:1px solid #d1d5db;background:#fff;color:var(--text-primary);cursor:pointer}.btn-secondary.disabled,.btn-secondary:disabled{opacity:.55;cursor:not-allowed;pointer-events:none}.form-error{color:var(--danger-color);font-size:.85rem;margin:0}.form-hint{color:var(--muted-color);font-size:.85rem;margin:0}.muted{color:var(--muted-color)}.admin-page{display:flex;flex-direction:column;gap:1.5rem}.admin-page__header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.admin-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.admin-section{display:flex;flex-direction:column;gap:1rem}.admin-section__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.admin-section__actions{display:flex;align-items:center;gap:.75rem}.admin-checkbox{display:inline-flex;align-items:center;gap:.5rem;font-weight:500}.admin-checkbox-list{display:flex;flex-wrap:wrap;gap:.75rem 1.5rem}.admin-field{display:flex;flex-direction:column;gap:.35rem;font-size:.95rem}.admin-form-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.admin-form-grid--news{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.admin-field--full{grid-column:1 / -1}.admin-field--file input[type=file]{padding:.35rem 0}.admin-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:.5rem}.admin-news{display:flex;flex-direction:column;gap:1.5rem}.admin-news__create{display:flex;flex-direction:column;gap:1rem;margin-bottom:.5rem}.admin-news__list{display:flex;flex-direction:column;gap:1.5rem}.admin-news-item{display:flex;flex-direction:column;gap:1rem;padding-top:1.5rem;border-top:1px solid #e2e8f0}.admin-news__list .admin-news-item:first-of-type{border-top:none;padding-top:0}.admin-news-item__header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.admin-news-item__title{display:flex;flex-direction:column;gap:.5rem;flex:1}.admin-news-item__title h3{margin:0;font-size:1.1rem;color:#0f172a}.admin-news-item__meta{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin-top:.5rem;color:#64748b;font-size:.85rem}.admin-news-item__status{display:inline-flex;align-items:center;padding:.2rem .6rem;border-radius:999px;background:#10b98129;color:#047857;font-weight:600}.admin-news-item__status--inactive{background:#f8717129;color:#b91c1c}.admin-news-item__actions{display:flex;gap:.5rem;flex-wrap:wrap}.admin-news-item__preview{margin-top:.5rem;border-radius:12px;overflow:hidden;max-height:180px;background:#f8fafc}.admin-news-item__preview img{display:block;width:100%;height:100%;object-fit:cover}.admin-news-item__remove{margin-top:.5rem}@media (max-width: 768px){.admin-news-item__header{flex-direction:column;align-items:stretch}.admin-news-item__actions{justify-content:flex-start}}.admin-status-chip{display:inline-flex;align-items:center;border-radius:999px;background:#e0f2fe;color:#0369a1;font-weight:600;font-size:.85rem;padding:.25rem .75rem}.admin-alert{padding:.75rem 1rem;border-radius:8px;font-weight:500;background:#f8fafc;border:1px solid #cbd5e1}.admin-alert--error{background:#dc26261f;border-color:#dc262666;color:#b91c1c}.admin-feedback{font-size:.85rem;color:#059669}.admin-feedback--error{color:#b91c1c}.admin-users-wrapper{width:100%;overflow-x:auto}.admin-users-table{width:100%;border-collapse:collapse}.admin-users-table th,.admin-users-table td{padding:.75rem;border-bottom:1px solid var(--border-color);text-align:left;vertical-align:top}.admin-users-table th{font-size:.85rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted-color)}.admin-user-primary{display:flex;flex-direction:column;gap:.25rem}button.secondary{background:#e5e7eb;color:#1f2937}button.secondary:hover:not(:disabled){background:#d1d5db}@media (max-width: 1024px){.chat-wrapper{grid-template-columns:1fr;border-radius:14px}.chat-sidebar{border-right:none;border-bottom:1px solid rgba(148,163,184,.3)}.chat-contact-list{max-height:280px}}.task-calendar__filters{display:flex;gap:16px;flex-wrap:wrap;align-items:center}.task-calendar__grid{display:grid;gap:16px}.task-calendar__grid--week{grid-template-columns:repeat(7,minmax(160px,1fr))}.task-calendar__grid--month{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.task-calendar__day{border:1px solid #e2e8f0;border-radius:14px;padding:12px;background:#fff;display:flex;flex-direction:column;gap:8px;min-height:160px;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.task-calendar__day:hover,.task-calendar__day:focus-visible{border-color:var(--accent-color);box-shadow:0 10px 24px #2563eb2e}.task-calendar__day--today{border-color:#2563eb;box-shadow:0 0 0 1px #2563eb33}.task-calendar__day--selected{background:#2563eb14;border-color:var(--accent-color);box-shadow:0 12px 28px #2563eb38}.task-calendar__day-header{display:flex;justify-content:space-between;align-items:baseline}.task-calendar__day-title{font-weight:600;color:#1f2937}.task-calendar__day-count{font-size:.8rem;color:#6b7280}.task-calendar__list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.task-calendar__list-item{display:grid;grid-template-columns:60px 1fr;gap:6px;align-items:flex-start;font-size:.9rem;color:#1f2937}.task-calendar__time{font-variant-numeric:tabular-nums;color:#2563eb;font-weight:600}.task-calendar__task-title{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-calendar__item-content{display:flex;flex-direction:column;gap:4px;align-items:flex-start}.task-calendar__item-content .status-badge{margin-top:2px}.task-calendar__task-title--monthly{color:#6d28d9;font-weight:600;position:relative;padding-left:18px}.task-calendar__task-title--monthly:before{content:"★";color:#6d28d9;position:absolute;left:0;top:50%;transform:translateY(-50%)}.task-calendar__empty{grid-column:1 / -1;text-align:center;padding:24px;border:1px dashed #d1d5db;border-radius:16px}.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 18px;border-radius:10px;border:none;background:#2563eb;color:#fff;font-weight:600;cursor:pointer;transition:background .2s ease}.button:hover{background:#1d4ed8}.button:disabled{opacity:.6;cursor:not-allowed}.button.button--ghost{background:transparent;border:1px dashed #cbd5e1;color:#475569}.button.button--ghost:hover{background:#f1f5f9;border-color:#2563eb;color:#2563eb}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.form-label--inline{display:flex;flex-direction:column;gap:8px;font-weight:500;color:#1f2937}.form-label--inline input,.form-label--inline select{font-weight:400}.task-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;align-items:flex-start}.task-column{border:1px solid #e2e8f0;border-radius:16px;background:#fff;display:flex;flex-direction:column;min-height:100%}.task-column__header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #e2e8f0;background:#f8fafc;border-top-left-radius:16px;border-top-right-radius:16px}.task-column__header h3{margin:0;font-size:1rem;font-weight:600;color:#0f172a}.task-column__count{font-size:.75rem;background:#1d4ed8;color:#fff;border-radius:999px;padding:2px 10px}.task-column__body{padding:16px;display:flex;flex-direction:column;gap:12px}.task-card{border:1px solid #e5e7eb;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:10px;background:#fbfdff;transition:box-shadow .2s ease,border-color .2s ease}.task-card--monthly{border-color:#c084fc;background:#f8f5ff;box-shadow:0 12px 24px #7c3aed26}.task-card--needs-reason{border-color:#fca5a5;background:#fff5f5;box-shadow:0 12px 24px #dc26261f}.task-card__title{font-weight:600;color:#111827;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.task-card__tags{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.task-card__description{font-size:.9rem;color:#4b5563}.task-card__meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.task-card__due{font-size:.85rem;color:#334155}.task-card__comment{font-size:.85rem;color:#0f172a;background:#e0f2fe;border-radius:8px;padding:6px 8px}.task-card__alert{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fee2e2;color:#991b1b;border-radius:8px;padding:8px 10px;font-size:.85rem}.task-card__alert .link-button{color:#b91c1c;font-weight:600}.task-card__alert .link-button:hover{color:#991b1b}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1.5rem}.modal{background:#fff;border-radius:16px;padding:1.75rem;max-width:520px;width:100%;box-shadow:0 24px 48px #0f172a38;display:flex;flex-direction:column;gap:1rem}.modal--wide{max-width:640px}.modal__title{margin:0;font-size:1.25rem}.modal__description{margin:0;color:var(--muted-color);font-size:.95rem}.modal__actions{display:flex;justify-content:flex-end;gap:12px}.modal textarea{min-height:120px}.modal .button{min-width:140px}.task-card__actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.task-card__actions .danger,.link-button.danger{color:#ef4444}.link-button.danger{background:none;border:none;padding:0;text-decoration:underline}.link-button.danger:hover{color:#dc2626;text-decoration:none}.task-card .status-select{min-width:140px}.task-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0;flex-wrap:wrap}.chip-group{display:flex;gap:10px;flex-wrap:wrap}.table-wrapper{overflow-x:auto;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.tasks-table{width:100%;border-collapse:collapse}.tasks-table th,.tasks-table td{padding:12px 16px;border-bottom:1px solid #e5e7eb;vertical-align:top;text-align:left}.tasks-table th{background:#f3f4f6;font-weight:600;color:#1f2937}.tasks-table tr:last-child td{border-bottom:none}.status-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;font-size:.75rem;font-weight:600;margin-bottom:6px}.status-badge--pending{background:#fef3c7;color:#b45309}.status-badge--in_progress{background:#dbeafe;color:#1d4ed8}.status-badge--completed{background:#dcfce7;color:#15803d}.status-badge--partial{background:#fef9c3;color:#a16207}.status-badge--not_completed{background:#fee2e2;color:#b91c1c}.status-select{width:100%;margin-top:8px;padding:6px 10px;border-radius:8px;border:1px solid #d1d5db;background:#fff}.task-row--overdue{box-shadow:inset 4px 0 #fb923ca6}.task-row--needs-reason{box-shadow:inset 4px 0 #ef4444bf;background:#fee2e259}.task-reason-warning{color:#b91c1c;font-weight:600;display:inline-block;margin-bottom:4px}.task-row--overdue td{background:#fff7ed}.task-row--monthly{position:relative;box-shadow:inset 4px 0 #7c3aeda6}.task-row--monthly td{background:#f8f5ff}.task-row--overdue.task-row--monthly td{background:linear-gradient(90deg,#fbbf242e,#7c3aed14)}.task-title{font-weight:600;color:#1f2937;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.task-badge-inline{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;background:#7c3aed1f;color:#6d28d9;font-size:.75rem;font-weight:600}.task-history{margin-top:24px}.task-history ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}.task-history li{display:flex;flex-direction:column;gap:6px;padding-bottom:12px;border-bottom:1px dashed #d1d5db}.task-history li:last-child{border-bottom:none}.message-highlight__actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tag.status-read{background:#dcfce7;color:#166534}.tag.status-unread{background:#fee2e2;color:#b91c1c}@media (max-width: 768px){.message-highlight{flex-direction:column;align-items:stretch}.message-highlight__actions{justify-content:flex-start}}.inline-list{list-style:none;padding:0;margin:6px 0 0;display:flex;flex-wrap:wrap;gap:10px}.attachments{list-style:none;padding:0;margin:8px 0 0;display:flex;flex-direction:column;gap:6px}.link-button{padding:0;border:none;background:none;color:#2563eb;text-decoration:underline;cursor:pointer;font:inherit}.tabs{display:inline-flex;gap:6px;margin-bottom:24px;background:#f1f3f9;border-radius:999px;padding:4px}.tab{border:none;background:transparent;padding:8px 18px;border-radius:999px;cursor:pointer;font-weight:600;color:#61708b}.tab.active{background:#fff;color:#1b2559;box-shadow:0 1px 3px #00000014}.success{color:#0f766e;background:#d1fae5;padding:8px 12px;border-radius:8px;margin-bottom:16px}.tag{display:inline-block;background:#eef2ff;color:#3730a3;padding:2px 8px;border-radius:999px;font-size:.75rem;margin-left:8px}.auth-switch{margin-top:1rem;text-align:center;color:#1f2933}.auth-switch a{color:#2563eb;font-weight:600}.intro-card{margin-bottom:2rem}.progress{margin-top:1rem}.progress-header{display:flex;justify-content:space-between;font-weight:600;margin-bottom:.5rem}.progress-bar{height:10px;background:#e5e7eb;border-radius:999px;overflow:hidden}.progress-bar__fill{height:100%;background:linear-gradient(90deg,#2563eb,#7c3aed);transition:width .6s ease}.progress-caption{margin-top:.5rem;color:#64748b;font-size:.9rem}.error{color:#ef4444}.dashboard-page{display:flex;flex-direction:column;gap:1.5rem}.dashboard-page__header{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.75rem}.dashboard-page__header h1{margin:0}.dashboard-header__controls{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.dashboard-period-toggle{display:inline-flex;padding:.25rem;border-radius:999px;background:#e2e8f0;gap:.25rem}.dashboard-period-toggle__button{border:none;background:transparent;color:#1e3a8a;font-weight:600;border-radius:999px;padding:.35rem .9rem;cursor:pointer;transition:background .2s ease,color .2s ease,box-shadow .2s ease}.dashboard-period-toggle__button:hover{background:#1e40af1a}.dashboard-period-toggle__button--active{background:#1d4ed8;color:#fff;box-shadow:0 .25rem .75rem #2563eb59}.dashboard-period-toggle__button:disabled{opacity:.6;cursor:default}.dashboard-period{color:#64748b;font-weight:500}.dashboard-loading{margin:0;color:#2563eb;font-weight:600}.dashboard-grid{display:grid;grid-template-columns:320px 1fr;gap:1.5rem;align-items:start}.dashboard-sidebar{display:flex;flex-direction:column;gap:1.5rem}.dashboard-profile{display:flex;flex-direction:column;align-items:center;gap:1rem;text-align:center}.dashboard-telegram{display:flex;flex-direction:column;gap:.75rem}.dashboard-telegram h2{margin:0;font-size:1.1rem}.dashboard-telegram__error{margin:0;padding:.75rem 1rem;border-radius:10px;background:#dc262614;color:#b91c1c;font-weight:600}.dashboard-telegram__linked,.dashboard-telegram__unlinked{display:flex;flex-direction:column;gap:.75rem;color:var(--text-primary)}.dashboard-telegram__linked p,.dashboard-telegram__unlinked p{margin:0;line-height:1.5}.dashboard-telegram__hint{color:var(--muted-color);font-size:.9rem}.dashboard-telegram__warning{margin:0;padding:.5rem .75rem;border-radius:8px;background:#dc262614;color:#b91c1c;font-size:.9rem}.dashboard-telegram__code{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border:1px dashed var(--border-color);border-radius:12px;background:#f8fafc;font-family:JetBrains Mono,Fira Code,monospace;font-size:.95rem;flex-wrap:wrap;word-break:break-all}.dashboard-telegram__code code{flex:1;font-weight:600;letter-spacing:.08em}.dashboard-telegram__link{color:var(--accent-color);font-weight:600;text-decoration:none}.dashboard-telegram__link:hover,.dashboard-telegram__link:focus-visible{text-decoration:underline}.dashboard-telegram__actions{display:flex;gap:.5rem}.dashboard-avatar{width:120px;height:120px;border-radius:50%;background:linear-gradient(135deg,#2563eb,#7c3aed);display:flex;align-items:center;justify-content:center;font-size:2.5rem;font-weight:700;color:#fff;box-shadow:0 12px 30px #2563eb59;overflow:hidden}.dashboard-avatar--image{background:#f8fafc}.dashboard-avatar img{width:100%;height:100%;object-fit:cover}.avatar-button{border:1px solid rgba(37,99,235,.2);background:#2563eb14;color:#1d4ed8;border-radius:999px;padding:.4rem 1.2rem;font-weight:600;cursor:pointer;transition:background .2s ease,border-color .2s ease}.avatar-button:hover{background:#2563eb26;border-color:#2563eb66}.avatar-button:disabled{opacity:.6;cursor:not-allowed}.dashboard-avatar__error{margin:0;color:#ef4444;font-size:.85rem;font-weight:500}.dashboard-profile__info{display:flex;flex-direction:column;gap:.25rem}.dashboard-profile__name{margin:0;font-size:1.2rem;font-weight:700}.dashboard-profile__username{margin:0;color:#64748b}.dashboard-profile__role{margin:0;background:#eef2ff;color:#3730a3;padding:.25rem .75rem;border-radius:999px;font-weight:600;font-size:.85rem}.dashboard-progress{width:100%;display:flex;flex-direction:column;gap:.75rem}.dashboard-progress__header{display:flex;justify-content:space-between;width:100%;font-weight:600}.dashboard-progress__meta{display:flex;justify-content:space-between;width:100%;color:#64748b}.dashboard-main{display:flex;flex-direction:column;gap:1.5rem}.dashboard-main__top{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:1.5rem;align-items:stretch}.dashboard-main__top>.card{margin-bottom:0}.dashboard-focus header,.dashboard-donut header,.dashboard-news header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1rem}.dashboard-focus header h2,.dashboard-donut header h2,.dashboard-news header h2,.dashboard-bottom h2{margin:0;font-size:1.1rem}.dashboard-focus__count{display:inline-flex;align-items:center;justify-content:center;min-width:36px;padding:.25rem .75rem;border-radius:999px;background:#ef44441f;color:#dc2626;font-weight:600}.dashboard-focus ul,.dashboard-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.dashboard-focus li,.dashboard-list li{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.dashboard-focus li strong,.dashboard-list li strong{display:block;margin-bottom:.25rem}.dashboard-focus li p,.dashboard-list li p{margin:0;color:#64748b}.dashboard-empty{margin:0;color:#94a3b8}.dashboard-donut__total{color:#64748b;font-weight:600}.dashboard-donut__content{display:flex;align-items:center;gap:1.5rem}.donut-chart{width:160px;height:160px;flex-shrink:0}.donut-legend{list-style:none;padding:0;margin:0;display:grid;gap:.75rem}.donut-legend li{display:flex;gap:.75rem;align-items:center}.donut-legend__color{width:12px;height:12px;border-radius:3px;flex-shrink:0}.donut-legend p{margin:0;font-weight:600}.donut-legend span{color:#64748b;font-size:.85rem}.dashboard-news{display:flex;flex-direction:column;gap:1.5rem}.dashboard-news__heading{display:flex;flex-direction:column;gap:.6rem}.dashboard-news__date{color:#64748b;font-size:.85rem}.dashboard-news__controls{display:flex;align-items:center;gap:.75rem}.dashboard-news__nav{display:inline-flex;align-items:center;gap:.5rem}.dashboard-news__nav-button{width:36px;height:36px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;color:#0f172a;font-size:1.25rem;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease}.dashboard-news__nav-button:hover,.dashboard-news__nav-button:focus-visible{background:#1d4ed8;border-color:#1d4ed8;color:#fff;transform:translateY(-1px)}.dashboard-news__nav-button:disabled{opacity:.5;cursor:default;transform:none}.dashboard-news__item{display:flex;gap:1.25rem;align-items:stretch}.dashboard-news__image{flex:0 0 320px;max-width:380px;border-radius:18px;overflow:hidden;background:#f1f5f9;box-shadow:inset 0 0 0 1px #94a3b833;aspect-ratio:4 / 3}.dashboard-news__image img{display:block;width:100%;height:100%;object-fit:cover}.dashboard-activity{display:flex;flex-direction:column;gap:1.25rem}.dashboard-activity header{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:0}.dashboard-activity__hint{color:#64748b;font-size:.9rem}.dashboard-activity__content{display:flex;flex-direction:column;gap:1rem}.dashboard-activity__chart-wrapper{display:grid;grid-template-columns:56px minmax(0,1fr);gap:.75rem;align-items:stretch;height:280px}.dashboard-activity__y-axis{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;font-size:.8rem;color:#94a3b8;padding:.75rem 0}.dashboard-activity__y-axis span{transform:translateY(50%)}.dashboard-activity__chart{width:100%;height:100%;border-radius:16px;background:linear-gradient(180deg,#e2e8f073,#e2e8f000)}.dashboard-activity__chart rect{transition:opacity .2s ease}.dashboard-activity__chart rect:hover{opacity:.85}.dashboard-activity__grid line{stroke:#94a3b866;stroke-width:.6}.dashboard-activity__x-axis{display:grid;gap:.75rem;font-size:.8rem;color:#94a3b8}.dashboard-activity__x-axis span{text-align:center;white-space:nowrap}.dashboard-activity__legend{display:flex;flex-wrap:wrap;gap:1rem;list-style:none;padding:0;margin:0}.dashboard-activity__legend li{display:flex;align-items:center;gap:.5rem;color:#475569;font-weight:500}.dashboard-activity__color{width:12px;height:12px;border-radius:999px;flex-shrink:0}.dashboard-news__text{flex:1;display:flex;flex-direction:column;gap:.75rem}.dashboard-news__text h3{margin:0;font-size:1.25rem;color:#0f172a}.dashboard-news__content{display:flex;flex-direction:column;gap:.75rem;color:#475569;line-height:1.55}.dashboard-news__content p{margin:0}.dashboard-news__indicators{display:flex;justify-content:center;gap:.5rem;margin-top:-.5rem}.dashboard-news__indicator{width:10px;height:10px;border-radius:999px;border:none;background:#e2e8f0;padding:0;cursor:pointer;transition:background .2s ease,transform .2s ease}.dashboard-news__indicator:hover,.dashboard-news__indicator:focus-visible{background:#c7d2fe}.dashboard-news__indicator--active{background:#1d4ed8;transform:scale(1.2)}.dashboard-news-archive{max-height:80vh;display:flex;flex-direction:column;gap:1.5rem;padding-right:0}.dashboard-news-archive__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1.5rem;overflow-y:auto;padding-right:.5rem}.dashboard-news-archive__item article{display:flex;flex-direction:column;gap:1rem}.dashboard-news-archive__header{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}.dashboard-news-archive__header h3{margin:0;font-size:1.1rem;color:#0f172a}.dashboard-news-archive__header time{color:#64748b;font-size:.85rem}.dashboard-news-archive__image{border-radius:12px;overflow:hidden;background:#f1f5f9;max-height:220px}.dashboard-news-archive__image img{display:block;width:100%;height:100%;object-fit:cover}.dashboard-news-archive__content{display:flex;flex-direction:column;gap:.75rem;color:#475569;line-height:1.55}.dashboard-news-archive__content p{margin:0}.dashboard-news-archive__footer{display:flex;align-items:center;justify-content:space-between;gap:1rem}.dashboard-news-archive__footer span{color:#475569;font-size:.9rem}.dashboard-news-archive__actions{display:flex;justify-content:flex-end}@media (max-width: 1024px){.dashboard-news__item{flex-direction:column}.dashboard-news__image{width:100%;flex:0 0 auto;max-width:none;aspect-ratio:16 / 9}}@media (max-width: 640px){.dashboard-news__controls{flex-direction:column;align-items:flex-start;gap:.5rem}.dashboard-news__heading{align-items:flex-start}.dashboard-activity__chart-wrapper{grid-template-columns:36px minmax(0,1fr);height:200px}.dashboard-activity__y-axis{font-size:.7rem}.dashboard-activity__x-axis{font-size:.7rem;gap:.5rem}.dashboard-news-archive__footer{flex-direction:column;align-items:stretch}.dashboard-news-archive__footer span{text-align:center}}.dashboard-list__date{color:#94a3b8;font-size:.85rem;white-space:nowrap}@media (max-width: 1280px){.dashboard-grid{grid-template-columns:1fr}.dashboard-profile{flex-direction:row;align-items:center;text-align:left}.dashboard-profile__info{flex:1}.dashboard-main__top{grid-template-columns:1fr}}@media (max-width: 1024px){.dashboard-donut__content{flex-direction:column;align-items:flex-start}.donut-chart{width:100%;max-width:220px;height:auto}.dashboard-activity__chart-wrapper{grid-template-columns:48px minmax(0,1fr);height:240px}}@media (max-width: 768px){.dashboard-profile{flex-direction:column;align-items:flex-start}.dashboard-main__top{gap:1rem}.dashboard-activity__chart-wrapper{grid-template-columns:42px minmax(0,1fr);height:220px}.dashboard-activity__x-axis{font-size:.75rem}}
