*{box-sizing:border-box;margin:0;padding:0}body{font-family:system-ui,-apple-system,sans-serif;background:#f8f9fa;color:#1a1a1a;min-height:100vh}.page{max-width:640px;margin:0 auto;padding:2rem 1.5rem}.page.wide{max-width:960px}.page.task-detail{max-width:1400px}.task-detail-layout{display:grid;grid-template-columns:280px minmax(0,1fr);grid-template-areas:"context workspace" "status workspace";grid-gap:1rem;gap:1rem;align-items:start;margin-bottom:1.25rem}.task-detail-context{grid-area:context}.task-detail-status{grid-area:status}.task-detail-workspace{grid-area:workspace;min-width:0;display:flex;flex-direction:column;gap:1rem}.task-detail-sidebar .section,.task-detail-workspace .section{margin-bottom:0}.task-page-title h1{margin-bottom:.25rem}.task-page-number{font-size:.95rem;color:#666}.task-detail-workspace .table-wrap{overflow-x:visible}.task-detail-workspace .data-table{width:100%;table-layout:fixed}.task-detail-workspace .data-table td:first-child,.task-detail-workspace .data-table th:first-child{width:3.5rem}.task-detail-workspace .data-table td:nth-child(2),.task-detail-workspace .data-table th:nth-child(2){width:18%}.task-detail-workspace .data-table td:nth-child(3),.task-detail-workspace .data-table th:nth-child(3){width:34%}.task-detail-workspace .data-table td:nth-child(4),.task-detail-workspace .data-table th:nth-child(4){width:20%}.task-detail-workspace .prototype-multiline-cell{min-width:0}@media (max-width:960px){.task-detail-layout{grid-template-columns:1fr;grid-template-areas:"context" "status" "workspace"}.task-detail-workspace .data-table{table-layout:auto}}.task-context-list{list-style:none;display:flex;flex-direction:column;gap:.85rem}.task-context-item{display:flex;flex-direction:column;gap:.15rem}.task-context-label{font-size:.78rem;color:#888;text-transform:uppercase;letter-spacing:.03em}.task-context-value{font-size:.95rem;line-height:1.35;word-break:break-word}.task-context-divider{border-top:1px solid #ececec;margin-top:.25rem;padding-top:.85rem}.task-context-section{display:flex;flex-direction:column;gap:.35rem}.task-context-section-title{margin:0;font-size:.9rem;font-weight:600;line-height:1.35;color:#333}.page.tasks-dashboard{max-width:1200px}.tasks-dashboard-top{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,1.2fr) minmax(260px,1fr);grid-gap:1rem;gap:1rem;margin-bottom:1.25rem}.tasks-analytics-placeholder{min-height:220px;display:flex;flex-direction:column;justify-content:center}.tasks-registry .section-header,.tasks-tablo .section-header{margin-bottom:1rem}.tasks-new-button{margin-top:0;white-space:nowrap}.tablo-list{list-style:none;display:flex;flex-direction:column;gap:.5rem}.tablo-row{border-bottom:1px solid #f0f0f0}.tablo-row:last-child{border-bottom:none}.tablo-row-button{display:flex;justify-content:space-between;align-items:center;gap:1rem;width:100%;padding:.45rem 0;border:none;background:transparent;font:inherit;color:inherit;cursor:pointer;text-align:left}.tablo-row-button:hover{color:#0d47a1}.tablo-row-active .tablo-row-button{color:#0d47a1;font-weight:600}.tablo-row-active{background:#eef4ff;border-radius:6px;padding:0 .35rem}.tablo-row-button strong{font-size:1.05rem}.tasks-registry-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem 1rem}.registry-status-filter{display:flex;align-items:center;gap:.5rem}.registry-status-badge{display:inline-block;padding:.35rem .65rem;border-radius:999px;background:#eef4ff;color:#0d47a1;font-size:.85rem;font-weight:600}.registry-reset-filter{margin-top:0;padding:.35rem .65rem;background:#fff;color:#1a1a1a;border:1px solid #ccc;font-size:.85rem}.registry-reset-filter:hover{background:#f5f5f5}.tasks-critical{min-height:220px}.critical-list{list-style:none;display:flex;flex-direction:column;gap:.75rem}.critical-item{border-radius:6px;padding:.75rem;border:1px solid transparent}.critical-item.critical-yellow{background:#fff8e1;border-color:#f0d56b}.critical-item.critical-red{background:#ffebee;border-color:#ef9a9a}.critical-item-header{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start;margin-bottom:.35rem;font-size:.9rem}.critical-item-header a{color:#1a1a1a;font-weight:600}.critical-reason{font-weight:600}.critical-item-body{display:flex;flex-direction:column;gap:.15rem;font-size:.9rem}.tasks-filter{min-width:220px;margin-top:0}.tasks-filter select{padding:.55rem .75rem;border:1px solid #ccc;border-radius:6px;font:inherit;background:#fff}@media (max-width:960px){.tasks-dashboard-top{grid-template-columns:1fr}}.page-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem}.page-header h1{margin-bottom:0}.page-header a{color:#1a1a1a;font-size:.95rem}.page-header .task-tablo-link{margin-top:0;background:#fff;color:#1a1a1a;border:1px solid #ccc;white-space:nowrap}.page-header .task-tablo-link:hover{background:#f5f5f5}.section{background:#fff;border:1px solid #e2e2e2;border-radius:8px;padding:1.25rem;margin-bottom:1.25rem}.section h2{font-size:1.1rem;margin-bottom:1rem}.section-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.section-header h2{margin-bottom:0}.details.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:1rem;gap:1rem}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:.95rem}.data-table td,.data-table th{border-bottom:1px solid #ececec;padding:.65rem .5rem;text-align:left;vertical-align:middle}.data-table th{font-size:.85rem;color:#666;font-weight:600}.data-table.read-only td{background:#fafafa}.qr-display{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;margin-top:.75rem}.qr-label{font-weight:600}.qr-image{padding:.75rem;background:#fff;border:1px solid #e2e2e2;border-radius:8px}.qr-url{font-size:.85rem;word-break:break-all;color:#444}.prototype-cards{display:flex;flex-direction:column;gap:1rem}.prototype-card{border:1px solid #ececec;border-radius:8px;padding:1rem;background:#fafafa}.prototype-card-header{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;margin-bottom:1rem;font-size:.95rem}.rating-fieldset{border:none;margin-bottom:.75rem;padding:0}.rating-fieldset legend{font-size:.9rem;font-weight:600;margin-bottom:.5rem}.rating-options{display:flex;flex-direction:column;gap:.4rem}.rating-option{display:flex;align-items:center;gap:.5rem;font-size:.95rem}.field textarea{padding:.6rem .75rem;border:1px solid #ccc;border-radius:6px;font:inherit;background:#fff;resize:vertical}.dev-auth-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;padding:.75rem 1.5rem;background:#1a1a1a;color:#fff;font-size:.9rem}.dev-auth-label{font-weight:600}.dev-auth-actions{display:flex;flex-wrap:wrap;gap:.5rem}.dev-auth-bar button{margin-top:0;padding:.4rem .75rem;background:#333;color:#fff;border:1px solid #555}.dev-auth-bar button.dev-auth-active{background:#fff;color:#1a1a1a}.access-message p{font-size:1rem;line-height:1.5}.data-table input,.data-table select,.data-table textarea{width:100%;padding:.5rem .6rem;border:1px solid #ccc;border-radius:6px;font:inherit;background:#fff}.prototype-multiline-cell{vertical-align:top;min-width:10rem}.prototype-multiline-field{white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;min-height:2.5rem;height:auto;resize:vertical;line-height:1.4}.data-table select.prototype-multiline-field{resize:none}.respondent-setup-panel{display:flex;flex-direction:column;gap:1rem;padding:1rem;border:1px solid #ececec;border-radius:8px;background:#fafafa}.respondent-setup-fields{list-style:none;display:flex;flex-direction:column;gap:.75rem;margin:0;padding:0}.checkbox-field{display:flex;align-items:flex-start;gap:.6rem;cursor:pointer}.checkbox-field input{margin-top:.2rem}.respondent-setup-actions{display:flex;flex-wrap:wrap;gap:.75rem}.secondary-button{margin-top:0;background:#fff;color:#1a1a1a;border:1px solid #ccc}.secondary-button:hover{background:#f5f5f5}.dosage-cell{display:flex;gap:.5rem;align-items:center}.dosage-cell input{flex:1 1;min-width:0}.dosage-cell select{width:4.5rem;flex-shrink:0}.empty-cell{color:#666;text-align:center;padding:1.5rem}.field-list{list-style:none;display:flex;flex-direction:column;gap:.5rem}.muted{color:#666;margin-bottom:.75rem}.readiness{display:flex;flex-direction:column;gap:.75rem}.ready-message{color:#0f7b3a}.not-ready-message,.ready-message{font-weight:600}.missing-list{padding-left:1.25rem;color:#555}.disabled-action{align-self:flex-start;opacity:.55}.page.center{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}h1{font-size:1.75rem;font-weight:600}.abbreviation,h1{margin-bottom:1.5rem}.abbreviation{font-size:1.25rem;font-weight:500;color:#555;letter-spacing:.05em}.form{gap:1rem}.field,.form{display:flex;flex-direction:column}.field{gap:.35rem;font-size:.95rem}.field input,.field select{padding:.6rem .75rem;border:1px solid #ccc;border-radius:6px;font:inherit;background:#fff}.link-button,button{display:inline-block;margin-top:.5rem;padding:.65rem 1rem;border:none;border-radius:6px;background:#1a1a1a;color:#fff;font:inherit;cursor:pointer;text-decoration:none}button:disabled{opacity:.6;cursor:not-allowed}.error{color:#b00020;font-size:.95rem}.details{display:flex;flex-direction:column;gap:1rem}.details dt{font-size:.85rem;color:#666;margin-bottom:.2rem}.details dd{font-size:1rem}.actions{margin-top:2rem}.actions a{color:#1a1a1a}.modal-dialog-wide{width:min(100%,640px)}.task-b2b-representative-block{margin-top:1rem;padding-top:1rem;border-top:1px solid #ececec;display:flex;flex-direction:column;gap:.35rem}.task-b2b-representative-title{margin:0;font-size:.9rem;font-weight:600}.task-b2b-representative-name{margin:0;font-size:.95rem}.task-b2b-representative-email{margin:0;font-size:.85rem}.representative-list{display:flex;flex-direction:column;gap:.75rem;margin:1rem 0}.representative-item{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;padding:.75rem;border:1px solid #ececec;border-radius:8px}.representative-item-inactive{opacity:.7;background:#fafafa}.representative-select{display:flex;gap:.65rem;align-items:flex-start}.representative-select span{display:flex;flex-direction:column;gap:.15rem}.representative-email{font-size:.85rem}.representative-status{font-size:.8rem;color:#b00020}.representative-invitations,.representative-invite{margin-top:1rem}.representative-invitations h3,.representative-invite h3{margin:0 0 .5rem;font-size:.95rem}.representative-modal-message{word-break:break-all}.qr2-landing-title{font-size:1.15rem;font-weight:600;margin:0 0 1rem}.qr2-entry-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem}.qr2-participant-type{border:none;margin:1rem 0;padding:0}.qr2-participant-type legend{font-weight:600;margin-bottom:.5rem}.qr2-participant-type label{display:inline-flex;align-items:center;gap:.35rem;margin-right:1rem}.qr1-action-buttons,.qr2-guest-form form{display:flex;flex-direction:column;gap:.75rem}.qr1-action-buttons{margin-top:1rem}.qr1-confirm-receipt-button{width:100%;text-align:center;white-space:normal}.field-error{color:#b00020;font-size:.85rem;margin-top:.25rem}.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;padding:1rem;z-index:1000}.modal-dialog{background:#fff;border-radius:12px;padding:1.5rem;width:min(100%,480px);box-shadow:0 12px 40px rgba(0,0,0,.18)}.modal-dialog h2{margin-top:0}.modal-actions{display:flex;gap:.75rem;margin-top:1.25rem}.qr1-actions{margin-top:1rem}.qr1-print-card{--qr-code-size:200px;--qr-image-padding:0.75rem;--qr-block-width:calc(var(--qr-code-size) + 2 * var(--qr-image-padding) + 2px);display:flex;flex-direction:column;align-items:stretch;width:var(--qr-block-width);max-width:100%;gap:.5rem}.qr1-print-company,.qr1-print-line{margin:0;width:100%;font-size:1rem;font-weight:600;line-height:1.35;word-break:break-word}.qr1-print-company{min-height:2.7em}.qr1-print-card .qr-display{width:100%;margin-top:0;align-items:stretch;gap:.5rem}.qr1-print-card .qr-label{width:100%}.qr1-print-card .qr-image{width:100%;box-sizing:border-box;display:flex;justify-content:center}.qr1-print-card .qr-image svg{width:var(--qr-code-size)!important;height:var(--qr-code-size)!important}.qr1-print-card .qr-url{display:block;width:100%;box-sizing:border-box;word-break:break-all}.qr1-login-form{display:flex;flex-direction:column;gap:1rem;margin-top:1rem;max-width:320px}.page-subtitle{color:#666;margin-top:.25rem}.error-text{color:#b00020;margin-bottom:1rem}.link-button.secondary{background:#fff;color:#1a1a1a;border:1px solid #ccc}.list-expand-button{margin-top:.75rem}.inline-form{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-bottom:1rem}.inline-form.stacked{flex-direction:column;align-items:stretch}.field-label select,.inline-form input,.inline-form select{padding:.6rem .75rem;border:1px solid #ccc;border-radius:6px;font:inherit;background:#fff}.field-label{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1rem;font-size:.95rem}.text-button{border:none;background:none;color:#1a1a1a;padding:0;margin:0 .5rem 0 0;text-decoration:underline;cursor:pointer}.text-button.danger{color:#b00020}.actions-cell{white-space:nowrap}.analytics-placeholder{border-style:dashed;background:#fafafa}.analytics-zone{border:1px solid #e8e8e8;border-radius:8px;padding:1rem;background:#fcfcfc}.analytics-zone h3{margin-bottom:.75rem}.stacked-form{gap:.75rem;margin-bottom:1rem}.file-input-label,.stacked-form{display:flex;flex-direction:column}.file-input-label{gap:.35rem}.file-input-label span{font-size:.9rem;color:var(--muted-text,#666)}.import-success{margin:0;color:#1a7f37;font-weight:500}.client-picker{display:flex;flex-direction:column;gap:.35rem;max-height:220px;overflow-y:auto;padding:.75rem;border:1px solid #ececec;border-radius:6px;background:#fff}.checkbox-row{display:flex;gap:.5rem;align-items:flex-start;font-size:.95rem}.detail-panel{margin-top:1rem;padding:1rem;border:1px solid #ececec;border-radius:8px;background:#fff}.detail-list{list-style:none;display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.detail-list-item{display:flex;justify-content:space-between;gap:1rem;align-items:center}.icon-button-square{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;padding:0;border:1px solid #1a1a1a;border-radius:6px;background:#1a1a1a;color:#fff;font-size:1.25rem;line-height:1;cursor:pointer}.icon-button-square:disabled{opacity:.45;cursor:not-allowed}.icon-button-square.secondary{background:#fff;color:#1a1a1a}.icon-button-square.danger-outline{background:#fff;color:#c0392b;border-color:#c0392b}.form-row-with-plus{display:grid;grid-template-columns:minmax(0,1fr) 2.5rem;grid-gap:.5rem;gap:.5rem;align-items:stretch}.form-row-with-plus input{width:100%;min-height:2.5rem;height:2.5rem;box-sizing:border-box}.holding-toolbar-row{display:grid;grid-template-columns:minmax(0,1fr) 2.5rem minmax(0,1fr);grid-gap:.5rem;gap:.5rem;align-items:stretch}.holding-toolbar-input{width:100%;min-height:2.5rem;height:2.5rem;box-sizing:border-box}.holding-toolbar-plus{align-self:center}.holdings-toolbar{margin-bottom:.5rem}.holdings-search-dropdown{margin-top:.5rem}.holdings-client-row{gap:.5rem}.holdings-client-name{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.holdings-client-actions{display:flex;gap:.35rem;flex-shrink:0}.holding-transfer-icon{display:block}.holding-create-row{display:flex;gap:.5rem;align-items:flex-start}.holding-create-row input{flex:1 1}.field-error{color:#c0392b;font-size:.9rem;margin:.25rem 0 0}.client-search-panel{margin-top:.75rem;padding:.75rem;border:1px solid #ececec;border-radius:8px;background:#fafafa}.client-search-results{list-style:none;display:flex;flex-direction:column;gap:.35rem;margin:.5rem 0 0}.client-search-result-item{display:flex;justify-content:space-between;gap:.75rem;align-items:center}.holdings-actions-cell{display:flex;align-items:center;gap:.5rem}.holdings-zone{margin-top:.5rem}.holdings-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:1rem;gap:1rem;margin-top:1rem}.holdings-subtitle{margin:0 0 .5rem;font-size:.95rem}.holdings-registry-table .data-table td,.holdings-registry-table .data-table th{padding:.35rem .5rem}.holdings-registry-row.selected{background:#f5f5f5}.holdings-name-button{text-align:left;font-weight:500}.holdings-detail-panel{min-height:12rem}.holdings-conflict-panel{margin-top:.75rem}.holdings-detail-column .detail-panel{margin-top:0}@media (max-width:900px){.holdings-layout{grid-template-columns:1fr}}.count-button{font-weight:600}.conflict-panel{border-color:#f0c36d;background:#fff8eb}.conflict-list{margin:.75rem 0 1rem 1.25rem}.clients-zone{margin-top:1.25rem}.pd-badge-row{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}.pd-badge,.pd-badge-inline{display:inline-flex;align-items:center;justify-content:center;min-width:1.75rem;height:1.75rem;padding:0 .4rem;border-radius:999px;background:#eef2ff;color:#1a1a1a;font-size:.85rem;font-weight:600}.pd-badge-icon{width:1.75rem;min-width:1.75rem;padding:0;background:#f3f4f6;color:#374151}.client-picker-highlight{border-color:#1a1a1a;box-shadow:0 0 0 2px rgba(26,26,26,.12)}@media print{.dev-auth-bar,.modal-backdrop,.no-print,.page-header,.task-detail-context,.task-detail-status,.task-detail-workspace{display:none!important}.qr1-print-section{display:block!important}.qr1-print-card,.qr1-print-card .qr-display,.qr1-print-card .qr-url,.qr1-print-company,.qr1-print-line{display:block!important;width:var(--qr-block-width)!important;max-width:100%!important}.page.task-detail{padding:0}}