:root{color:#212529;background:#fff;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}body{margin:0;background:#fff;overflow-x:hidden}.sh-app{min-height:100vh;background-color:#fff;overflow-x:hidden}.global-loader{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;background:#ffffff8c}.global-loader .spinner-border{width:3rem;height:3rem}.sh-sidebar{width:260px;background:#f5f6f8;border-right:1px solid #e9ecef;position:fixed;top:0;left:0;height:100vh;overflow-y:auto;z-index:1000}.sh-main{min-height:100vh;margin-left:260px}.mobile-topbar,.mobile-menu-backdrop{display:none}.sh-brand{font-weight:700;font-size:1.1rem;letter-spacing:.2px}.sidebar-heading{color:#828b9a!important;font-weight:700;letter-spacing:.06em}.sidebar-group{border-color:#dee2e6!important;position:relative}.sidebar-group:after{content:"";position:absolute;bottom:-10px;left:0;right:0;height:3px;background:#fff;box-shadow:0 1px 2px #0000001a}.sidebar-link{display:flex;align-items:center;gap:.5rem;padding:.55rem .9rem;color:#333;border-radius:.5rem;text-decoration:none;transition:all .15s ease;width:100%;font-weight:500}.sidebar-link:hover{background:#f3f5f8;color:#0d6efd;box-shadow:inset 0 2px 4px #0000001a}.sidebar-link.router-link-active{background:#fff;color:#0b5ed7;box-shadow:0 2px 4px #0000001a,inset 0 1px 2px #0000000d;border-left:3px solid #0d6efd;padding-left:.75rem}.disabled-link{opacity:.65;pointer-events:none}.login-icon{width:64px;height:64px}.card{border:none;border-radius:1rem}.card-body{border-radius:1rem}.input-group-text{background-color:#f8f9fa;border-color:#dee2e6}.form-control:focus,.form-select:focus{border-color:#0d6efd;box-shadow:0 0 0 .25rem #0d6efd40}.btn-primary{background:linear-gradient(135deg,#0d6efd,#0b5ed7);border:none}.table-dashboard{background:#fff;border:1px solid #e9ecef;border-radius:.75rem;overflow:hidden}.table-dashboard thead th{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:#6c757d;background:#f8f9fa;border-bottom:1px solid #e9ecef!important;white-space:nowrap}.table-dashboard tbody td{border-top:1px solid #f1f3f5!important;vertical-align:middle}.table-dashboard tbody tr:hover{background-color:#f6f8fb}.sticky-table-head{position:sticky;top:0;z-index:10;box-shadow:0 2px 4px #0000001a}.clickable-row,.mobile-order-card{cursor:pointer}.text-preline{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.search-input{max-width:280px}.telegram-card{max-width:520px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.75rem}.calendar-day{min-height:130px;border:1px solid #e9ecef;border-radius:.75rem;padding:.75rem;background:#fff}.calendar-event{display:block;width:100%;border:0;border-left:4px solid #0d6efd;border-radius:.4rem;margin-top:.5rem;padding:.35rem .5rem;background:#f8f9fa;color:#212529;text-align:left;font-size:.85rem}.status-menu{min-width:280px}.page-size-select{width:auto}.page-counter{min-width:110px}.orders-page{display:grid;gap:.75rem;min-width:0;max-width:100%;overflow-x:hidden}.orders-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem}.orders-stats{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.35rem;color:#6c757d;font-size:.8rem}.orders-stats span{display:inline-flex;align-items:center;min-height:24px;border:1px solid #e9ecef;border-radius:999px;padding:0 .55rem;background:#f8f9fa}.orders-filter-bar{display:grid;grid-template-columns:minmax(180px,1.35fr) minmax(150px,.9fr) minmax(140px,.8fr) minmax(120px,.65fr) minmax(120px,.65fr) minmax(130px,.7fr) auto;gap:.6rem;align-items:end;border:1px solid #e9ecef;border-radius:.75rem;padding:.75rem;background:#fff}.orders-filter-bar .form-label{margin-bottom:.25rem;color:#6c757d;font-size:.76rem;font-weight:700}.orders-table-wrap{overflow:hidden;border:1px solid #e9ecef;border-radius:.75rem}.orders-table{table-layout:fixed;margin-bottom:0;border:0;border-radius:0}.orders-table th,.orders-table td{padding:.55rem .7rem}.orders-table th:nth-child(1){width:25%}.orders-table th:nth-child(2){width:18%}.orders-table th:nth-child(3){width:15%}.orders-table th:nth-child(4){width:16%}.orders-table th:nth-child(5){width:13%}.orders-table th:nth-child(6){width:16%}.order-title-cell{min-width:0}.order-id{color:#6c757d;font-size:.75rem;font-weight:700}.orders-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid #e9ecef;border-radius:.75rem;padding:.6rem .75rem;background:#fff}.mobile-orders-list{gap:.75rem;min-width:0;max-width:100%}.mobile-order-card{max-width:100%;min-width:0;overflow:hidden}.mobile-order-card+.mobile-order-card{margin-top:.75rem}.mobile-order-card .card-body,.mobile-order-card .d-flex>div{min-width:0}.mobile-order-card h2,.mobile-order-card strong{overflow-wrap:anywhere}.mobile-order-card .badge{flex-shrink:0;white-space:normal;text-align:left}.mobile-order-grid{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.35rem .75rem;font-size:.9rem}.mobile-order-grid span{color:#6c757d}.mobile-order-grid strong{min-width:0;overflow-wrap:anywhere}.analytics-dashboard .metric-card{min-height:136px}.metric-value{font-size:2rem;font-weight:800;line-height:1.1;margin:.35rem 0}.analytics-progress{height:.6rem}.author-share{height:.35rem}.monthly-chart{display:grid;grid-template-columns:repeat(12,minmax(48px,1fr));gap:.75rem;align-items:end;overflow-x:auto;padding-top:1rem}.month-column{display:grid;gap:.4rem;min-width:48px}.month-bar-wrap{display:flex;align-items:end;height:160px;border-radius:.5rem;background:#f1f3f5;overflow:hidden}.month-bar{width:100%;min-height:4px;background:linear-gradient(180deg,#0d6efd,#20c997)}.author-picker{border:1px solid #e9ecef;border-radius:.75rem;padding:1rem;background:#f8f9fa}.selected-authors{display:flex;flex-wrap:wrap;gap:.5rem}.selected-author-chip{display:inline-flex;align-items:center;gap:.5rem;border-radius:999px;padding:.35rem .65rem;background:#cfe2ff;color:#084298;font-weight:600}.selected-author-chip button{display:inline-grid;width:20px;height:20px;place-items:center;border:0;border-radius:50%;padding:0;color:#084298;background:#ffffffbf}.author-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:.75rem;max-height:420px;overflow:auto}.author-option{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;border:1px solid #e9ecef;border-radius:.75rem;padding:.85rem;background:#fff}.order-form-page{min-width:0}.order-form-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:1rem;align-items:start}.order-form-main{display:grid;gap:1rem;min-width:0}.form-section,.summary-card{border:1px solid #e9ecef;border-radius:.75rem;padding:1rem;background:#fff}.form-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.85rem}.form-section-title h2,.summary-card h2{margin:0;font-size:1rem;font-weight:800}.form-section-title span{color:#6c757d;font-size:.82rem;text-align:right}.order-form-summary{position:sticky;top:1rem}.summary-card dl{display:grid;gap:.7rem;margin:1rem 0}.summary-card dl div{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid #f1f3f5;padding-bottom:.55rem}.summary-card dt{color:#6c757d;font-weight:600}.summary-card dd{max-width:60%;margin:0;text-align:right;font-weight:700;overflow-wrap:anywhere}.summary-metrics{display:grid;gap:.7rem;margin-bottom:1rem}.summary-metrics div{border-radius:.75rem;padding:.85rem;background:#f8f9fa}.summary-metrics span,.summary-metrics small{display:block;color:#6c757d;font-size:.82rem}.summary-metrics strong{display:block;margin:.15rem 0;font-size:1.35rem}.summary-warnings .alert{padding:.65rem .75rem;font-size:.88rem}.order-detail-page{display:grid;gap:1rem;min-width:0}.preliminary-page{display:grid;gap:.9rem;min-width:0}.preliminary-form,.preliminary-card{min-width:0;border:1px solid #e9ecef;border-radius:.75rem;padding:1rem;background:#fff}.preliminary-filter-bar{grid-template-columns:minmax(220px,1fr) minmax(180px,260px) auto}.preliminary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.preliminary-card{display:grid;gap:.85rem}.preliminary-card.is-due{border-color:#f1aeb5;box-shadow:inset 4px 0 #dc3545}.preliminary-card h2{margin:.1rem 0 0;font-size:1.05rem;font-weight:800;overflow-wrap:anywhere}.preliminary-description{margin:0;color:#495057;white-space:pre-wrap;overflow-wrap:anywhere}.preliminary-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem .8rem;margin:0}.preliminary-meta div{min-width:0;border-bottom:1px solid #f1f3f5;padding-bottom:.4rem}.preliminary-meta dt{color:#6c757d;font-size:.76rem;font-weight:700}.preliminary-meta dd{margin:.1rem 0 0;font-weight:600;overflow-wrap:anywhere}.order-detail-hero{display:flex;justify-content:space-between;gap:1rem;border:1px solid #e9ecef;border-radius:.75rem;padding:1rem;background:#fff}.order-detail-hero h1{margin:0;font-size:1.35rem;font-weight:800;overflow-wrap:anywhere}.order-detail-meta{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.55rem;color:#6c757d;font-size:.85rem}.order-detail-meta span{border:1px solid #e9ecef;border-radius:999px;padding:.15rem .55rem;background:#f8f9fa}.order-detail-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-content:flex-start;justify-content:flex-end}.order-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.75rem}.order-kpi-card{min-width:0;border:1px solid #e9ecef;border-radius:.75rem;padding:.85rem;background:#fff}.order-kpi-card span,.order-kpi-card small{display:block;color:#6c757d;font-size:.78rem}.order-kpi-card strong{display:block;margin-top:.2rem;font-size:1rem;overflow-wrap:anywhere}.order-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:1rem;align-items:start}.order-detail-main,.order-detail-side{display:grid;gap:1rem;min-width:0}.detail-panel{min-width:0;border:1px solid #e9ecef;border-radius:.75rem;padding:1rem;background:#fff}.detail-panel-title{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.85rem}.detail-panel-title h2{margin:0;font-size:1rem;font-weight:800}.detail-panel-title span{color:#6c757d;font-size:.82rem;text-align:right}.order-description{line-height:1.6;max-width:100%;overflow-wrap:anywhere;word-break:break-word}.participant-list,.files-box,.chat-box,.order-history{display:grid;gap:.65rem}.files-box,.chat-box{max-height:52vh;overflow:auto}.participant-card,.file-row,.message-bubble,.history-item{min-width:0;border:1px solid #f1f3f5;border-radius:.65rem;padding:.75rem;background:#f8f9fa}.participant-card{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.participant-card strong,.file-row a,.message-bubble p{overflow-wrap:anywhere}.file-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.upload-form{display:grid;gap:.5rem;margin-top:.75rem}.status-update-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem}.message-bubble{background:#fff}.history-item{position:relative;display:grid;grid-template-columns:14px minmax(0,1fr);gap:.65rem}.history-dot{width:10px;height:10px;margin-top:.35rem;border-radius:50%;background:#0d6efd}.bg-success-subtle{background-color:#d1e7dd!important}.bg-danger-subtle{background-color:#f8d7da!important}.bg-warning-subtle{background-color:#fff3cd!important}.bg-primary-subtle{background-color:#cfe2ff!important}.bg-secondary-subtle{background-color:#e2e3e5!important}.page{width:min(1180px,calc(100vw - 48px));margin:0 auto;padding:32px 0}.page.narrow{width:min(840px,calc(100vw - 48px))}.page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.panel{margin-bottom:16px;padding:18px;border:1px solid #e9ecef;border-radius:1rem;background:#fff}.detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);gap:16px;margin-bottom:16px}.chips,.messages{display:grid;gap:10px}.chips span{display:inline-flex;align-items:center;min-height:28px;border-radius:999px;padding:0 10px;background:#e2e3e5;color:#495057;font-size:13px;font-weight:700}.messages article{border:1px solid #e9ecef;border-radius:.75rem;padding:12px;background:#f8f9fa}.message-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:12px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border:1px solid #e9ecef;border-radius:1rem;padding:20px;background:#fff}.span-2{grid-column:1 / -1}@media(max-width:1199.98px){.orders-filter-bar,.order-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:991.98px){.sh-sidebar{width:240px}.sh-main{margin-left:240px}.orders-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.preliminary-grid,.order-form-layout{grid-template-columns:1fr}.order-form-summary{position:static;order:-1}.order-detail-layout{grid-template-columns:1fr}}@media(max-width:767.98px){.mobile-topbar{position:sticky;top:0;z-index:1200;display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:56px;padding:.55rem .75rem;border-bottom:1px solid #e9ecef;background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mobile-menu-button{display:inline-grid;width:40px;height:40px;place-items:center;padding:0}.mobile-menu-backdrop{position:fixed;inset:0;z-index:1300;display:block;background:#0f172a59}.sh-sidebar{position:fixed;top:0;bottom:0;left:0;z-index:1400;width:min(84vw,320px);height:100vh;transform:translate(-105%);transition:transform .2s ease;box-shadow:0 16px 40px #0f172a38}.sh-sidebar.is-open{transform:translate(0)}.sh-main{margin-left:0}.orders-page.container-fluid{width:100%;max-width:100vw;padding-right:.75rem;padding-left:.75rem}.card{border:1px solid #e0e0e0;border-radius:.5rem;box-shadow:0 2px 4px #0000001a}.card-body{padding:1rem}.orders-toolbar,.orders-footer{align-items:stretch;flex-direction:column}.orders-filter-bar,.preliminary-meta{grid-template-columns:1fr}.order-detail-hero{flex-direction:column}.order-detail-actions{justify-content:stretch}.order-detail-actions .btn{flex:1}.order-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.status-update-box{grid-template-columns:1fr}.status-menu{width:100%;min-width:0}.detail-grid,.form-grid,.message-form{grid-template-columns:1fr}.form-section-title{align-items:flex-start;flex-direction:column;gap:.25rem}.form-section-title span{text-align:left}.detail-panel-title{align-items:flex-start;flex-direction:column;gap:.25rem}.detail-panel-title span{text-align:left}.author-option{flex-direction:column}.author-option .btn{width:100%}}
