.house-of-quality-container{position:relative;padding:40px;background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans SC,sans-serif;color:#333;overflow-x:auto;overflow-y:hidden}.hoq-title{display:table;width:100%;margin-bottom:40px;position:relative;z-index:1}.title-bar{display:table-cell;width:8px;height:50px;background-color:#4472c4;vertical-align:middle}.hoq-title h1{display:table-cell;font-size:36px;font-weight:700;margin:0;color:#333;vertical-align:middle;padding-left:15px}.hoq-main{display:flex;gap:40px;position:relative;z-index:1}.hoq-flex-row{flex-shrink:0;min-width:-moz-max-content;min-width:max-content}.hoq-legend-topright{flex-shrink:0;align-self:flex-start}.hoq-legend{width:200px;border:1px solid #333333;background-color:#fff;flex-shrink:0}.legend-header{background-color:#4472c4;color:#fff;padding:12px;text-align:center;font-weight:600;font-size:18px}.legend-content{padding:12px}.legend-item{display:flex;align-items:center;width:100%;margin-bottom:10px}.legend-item .symbol{display:table-cell;width:30px;height:30px;border:1px solid #333333;vertical-align:middle;text-align:center;font-size:16px}.legend-item .label{display:table-cell;padding:0 10px;vertical-align:middle;font-size:14px}.legend-item .value{display:table-cell;width:36px;height:30px;border:1px solid #333333;vertical-align:middle;text-align:center;font-size:14px}.symbol.positive{color:#2563eb}.symbol.negative{color:#ef4444}.symbol.strong{color:#1e40af;font-size:18px}.symbol.medium{color:#60a5fa}.symbol.weak{color:#6b7280}.hoq-table-container{width:-moz-fit-content;width:fit-content;position:relative;max-width:-moz-fit-content;max-width:fit-content;flex-shrink:0;overflow:visible}.hoq-roof{margin-left:260px;overflow:hidden;pointer-events:none;line-height:0}.roof-svg{display:block;shape-rendering:geometricPrecision}.hoq-table{table-layout:fixed;width:-moz-max-content;width:max-content;border-collapse:collapse;border:none;background-color:#fff}.hoq-table th,.hoq-table td{box-sizing:border-box;border:1px solid #333333;padding:12px;text-align:center;vertical-align:middle;font-size:14px;overflow-wrap:break-word;word-break:break-word}.hoq-table th{background-color:#4472c4;color:#fff;font-weight:600}.vertical-text{writing-mode:vertical-lr;text-orientation:upright}.vertical-text-ttb{display:inline-block;text-align:center;line-height:1.3;letter-spacing:2px}.vertical-text-rotate{position:absolute;top:50%;left:50%;font-size:12px;font-weight:500;text-align:center;white-space:nowrap;transform:translate(-50%,-50%) rotate(-90deg);transform-origin:center center}.req-header,.extra-header,.importance-header{position:relative;height:180px;text-align:center;vertical-align:bottom;padding-bottom:4px}.need-header,.importance-header{width:200px}.importance-header{width:65px;min-width:65px;max-width:65px}.need-header{font-size:14px;word-break:keep-all;white-space:nowrap}.req-header{width:65px;min-width:65px;max-width:65px;background-color:#e7e9f2!important;color:#333!important}.extra-header{width:65px;min-width:65px;max-width:65px}.need-cell{text-align:left!important;padding-left:20px!important;font-family:Noto Sans SC,PingFang SC,sans-serif;font-weight:400;color:#000}.importance-cell{font-weight:600;background-color:#e7e9f2}.correlation-cell{font-size:calc(28px * var(--qh-font-scale, 1))}.correlation.strong{color:#1e40af;font-weight:700}.correlation.medium{color:#60a5fa}.correlation.weak{color:#6b7280;font-weight:400}.hoq-table tr.even{background-color:#f2f2f2}.hoq-table tr.odd,.empty-cell{background-color:#fff}.no-border-cell{background-color:#fff;border:none!important;outline:none;box-shadow:none}.chart-label{background-color:#fff!important;font-weight:600;border-right:none!important}.chart-cell{width:65px;min-width:65px;max-width:65px;height:132px;vertical-align:bottom!important;padding:25px 10px 10px!important}.planning-cell{background-color:#f0f4ff;font-weight:500;color:#2563eb;text-align:center}.summary-row,.comp-row{background-color:#f2f2f2!important}.comp-label{font-family:Noto Sans SC,PingFang SC,sans-serif;font-weight:600;text-align:left!important;padding-left:20px!important;color:#333}.comp-value{font-weight:500;color:#111827;text-align:center!important}.summary-label{font-weight:600;text-align:left!important;padding-left:20px!important;color:#333!important}.summary-value{width:65px;min-width:65px;max-width:65px;font-weight:500;color:#111827}.summary-value.weight{font-weight:700;color:#2563eb}.bar-chart-wrapper{display:flex;align-items:flex-end;height:80px;gap:0}.bar-chart-axis{width:28px;height:110px;position:relative;flex-shrink:0;border-right:1px solid #999;border-bottom:1px solid #999;margin-right:4px}.bar-chart-axis-tick{position:absolute;right:0;display:flex;align-items:center;justify-content:flex-end;font-size:9px;color:#666;white-space:nowrap;height:11px;line-height:11px;margin-bottom:-5.5px}.bar-chart-axis-label{display:inline-block;margin-right:2px}.bar-chart-axis-mark{display:inline-block;width:4px;height:1px;background:#999;flex-shrink:0}.bar-chart{width:100%;height:110px;display:flex;align-items:flex-end;justify-content:center;position:relative}.bar{width:32px;background-color:#4472c4;position:relative;min-height:4px}.bar-value{position:absolute;top:3px;left:50%;transform:translate(-50%);color:#fff;font-weight:700;font-size:14px;white-space:nowrap;width:100%;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.3)}.corner-decoration{position:absolute;bottom:20px;right:40px;width:100px;height:25px;background-color:#4472c4;z-index:1}.qh-watermark-layer{position:absolute;top:0;left:0;width:100%;height:100%;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1000;overflow:hidden}.qh-watermark-item{display:flex;align-items:center;justify-content:center;font-size:48px;font-weight:700;color:#0000000d;transform:rotate(-25deg);white-space:nowrap;letter-spacing:6px}.quality-house-page{display:flex;flex-direction:column;height:100vh;overflow:hidden}.qh-loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#ffffffe6;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:9999}.qh-loading-spinner{width:40px;height:40px;border:3px solid #e5e7eb;border-top-color:#d63031;border-radius:50%;animation:qh-spin 1s linear infinite;margin-bottom:1rem}@keyframes qh-spin{to{transform:rotate(360deg)}}.qh-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #e5e7eb;padding:.75rem 1.5rem;display:flex;align-items:center;gap:.75rem;box-shadow:0 2px 8px #0000000f}.qh-header .back-btn{background:#f5f5f5;border:none;padding:6px 12px;border-radius:6px;cursor:pointer;font-size:.85rem;color:#666;transition:all .2s;flex-shrink:0;margin:0}.qh-header .back-btn:hover{background:#e0e0e0;color:#333}.qh-header-actions{display:flex;gap:.5rem;flex-shrink:0;margin-left:auto}.qh-header .action-btn{background:#fff;color:#dc2626;border:2px solid #dc2626;padding:.5rem 1rem;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.qh-header .action-btn:hover{background:#fef2f2}.qh-header .action-btn.primary{background:#dc2626!important;color:#fff!important;border-color:#dc2626!important}.qh-header .action-btn.primary:hover{background:#b91c1c!important;border-color:#b91c1c!important}.qh-header .action-btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:#ef4444;color:#fff;border:none;padding:.4375rem 1rem;font-weight:500;border-radius:6px;font-size:.875rem;box-shadow:0 1px 2px #0000000d;transition:background-color .15s;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}.btn-primary:hover:not(:disabled){background:#dc2626}.btn-primary:disabled{opacity:.5;cursor:not-allowed}html.intl .btn-primary{background:#0988e3}html.intl .btn-primary:hover:not(:disabled){background:#076eb8}.btn-secondary{background:#fff;color:#334155;border:1px solid #cbd5e1;padding:.375rem 1rem;font-weight:500;border-radius:6px;font-size:.875rem;transition:background-color .15s;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}.btn-secondary:hover:not(:disabled){background:#f8fafc}.btn-secondary:disabled{opacity:.5;cursor:not-allowed}html.intl .btn-secondary{color:#334155;border-color:#cbd5e1}html.intl .btn-secondary:hover:not(:disabled){background:#f8fafc}.btn-tertiary{color:#6b7280;background:transparent;border:none;padding:.375rem .625rem;font-weight:400;border-radius:6px;font-size:.875rem;display:inline-flex;align-items:center;gap:4px;transition:all .15s;cursor:pointer;white-space:nowrap}.btn-tertiary:hover{color:#374151;background:#f3f4f6cc}.btn-danger{background:#fef2f2;color:#dc2626;border:1px solid #fecaca;padding:.375rem 1rem;font-weight:500;border-radius:6px;font-size:.875rem;transition:all .15s;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}.btn-danger:hover{background:#fee2e2;color:#b91c1c}.qh-container{max-width:1800px;margin:0 auto;padding:1rem;flex:1;display:flex;flex-direction:column;min-height:0}.autosave-status{font-size:12px;padding:4px 8px;border-radius:4px;white-space:nowrap}.autosave-status.saving{color:#6b7280}.autosave-status.saved{color:#16a34a}.autosave-status.error{color:#dc2626}.qh-main-container{display:flex;background:#fff;border-radius:12px;box-shadow:0 2px 12px #00000014;overflow:hidden;flex:1;min-height:0;position:relative}.qh-edit-panel{display:flex;flex-direction:column;background:#fff;border-right:1px solid #e5e7eb;min-width:20%;max-width:95%;flex:none;min-height:0;overflow:hidden}.qh-tabs{display:flex;background:#f3f4f6;border-radius:10px;padding:3px;gap:2px;flex-shrink:0;margin:1rem 1rem 0}.qh-tab-btn{flex:1;padding:.5rem .75rem;border:none;border-radius:8px;background:transparent;cursor:pointer;font-size:.875rem;font-weight:600;color:#6b7280;transition:all .2s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.qh-tab-btn:hover{color:#374151}.qh-tab-btn.active{background:#fff;color:#dc2626;box-shadow:0 1px 4px #0000001a}.qh-tab-content{flex:1;min-height:0;overflow-y:auto;padding:1.5rem}.qh-form-section{max-width:800px}.qh-form-section.qh-no-max-width{max-width:none}.qh-section-header{margin-bottom:1.5rem}.qh-section-header h3{margin:0 0 .5rem;font-size:1.25rem;font-weight:700;color:#111827}.qh-section-hint{margin:0;font-size:.875rem;color:#6b7280;line-height:1.5}.qh-requirements-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.qh-requirement-item{display:flex;gap:1rem;align-items:flex-start;padding:1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;transition:all .2s}.qh-requirement-item:hover{border-color:#d1d5db;box-shadow:0 2px 4px #0000000d}.qh-req-number{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#dc2626;color:#fff;border-radius:50%;font-weight:600;font-size:.875rem;flex-shrink:0}.qh-req-fields{flex:1;display:flex;flex-direction:column;gap:.75rem}.qh-req-name{width:100%;padding:.625rem .875rem;border:1px solid #e5e7eb;border-radius:6px;font-size:.95rem;font-weight:500}.qh-req-name:focus{outline:none;border-color:#dc2626}.qh-req-metrics{display:flex;gap:1rem;flex-wrap:wrap}.qh-metric{display:flex;align-items:center;gap:.5rem}.qh-metric label{font-size:.8rem;font-weight:500;color:#6b7280;white-space:nowrap}.qh-metric-input{padding:6px 10px;font-size:.85rem;border:1px solid #e2e8f0;border-radius:6px;color:#1f2937;background:#fff;outline:none;transition:border-color .2s ease}.qh-metric-input:focus{border-color:#2c5282;box-shadow:0 0 0 2px #2c528226}.qh-metric-input:hover{border-color:#cbd5e0}.qh-remove-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:none;background:#fee2e2;color:#dc2626;border-radius:6px;cursor:pointer;font-size:1.25rem;line-height:1;flex-shrink:0;transition:all .2s}.qh-remove-btn:hover{background:#fecaca}.qh-add-btn{width:100%;padding:.875rem;border:2px dashed #dc2626;border-radius:8px;background:#fef2f2;color:#dc2626;font-weight:600;cursor:pointer;transition:all .2s}.qh-add-btn:hover{background:#fee2e2;border-color:#b91c1c}.qh-relationship-grid{overflow-x:auto;margin-bottom:1.5rem}.qh-grid-header{display:flex;position:sticky;top:0;background:#fff;z-index:10}.qh-grid-corner{flex:0 0 150px;width:150px;height:50px;background:#f3f4f6;border:1px solid #e5e7eb;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.8rem;position:sticky;left:0;z-index:20}.qh-grid-col-header{flex:0 0 120px;width:120px;height:50px;background:#f3f4f6;border:1px solid #e5e7eb;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.75rem;padding:.25rem;text-align:center;word-break:break-all;overflow:hidden}.qh-grid-row{display:flex}.qh-grid-row-header{flex:0 0 150px;width:150px;height:60px;background:#fff;border:1px solid #e5e7eb;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:500;padding:.5rem;text-align:center;position:sticky;left:0;z-index:5}.qh-grid-cell{flex:0 0 120px;width:120px;height:60px;border:1px solid #E5E7EB;display:flex;align-items:center;justify-content:center;background:#fff;transition:background .15s}.qh-grid-cell-clickable{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.qh-grid-cell-clickable:hover{background:#eff6ff}.qh-grid-cell-filled{background:#f0f5ff}.qh-grid-cell-filled:hover{background:#dbeafe}.qh-grid-cell-weak{background:#eff6ff}.qh-grid-cell-weak:hover{background:#dbeafe}.qh-grid-cell-weak .qh-rel-select{color:#374151}.qh-grid-cell-medium{background:#60a5fa}.qh-grid-cell-medium:hover{background:#3b82f6}.qh-grid-cell-medium .qh-rel-select{color:#1e3a5f}.qh-grid-cell-strong{background:#1e40af;border-color:#fff;border-width:2px;color:#fff}.qh-grid-cell-strong input,.qh-grid-cell-strong textarea{color:#fff}.qh-grid-cell-strong:hover{background:#1e3a8a}.qh-grid-cell-strong .qh-rel-select,.qh-grid-cell-strong .ui-select-trigger,.qh-grid-cell-strong .ui-select-label{color:#fff}.qh-grid-cell-disabled{background-color:#f3f4f6;background-image:repeating-linear-gradient(45deg,transparent,transparent 6px,#d1d5db 6px,#d1d5db 7px);cursor:not-allowed;color:#9ca3af}.qh-rel-select{width:100%;height:100%;border:none;background:transparent;text-align:center;font-size:.82rem;font-weight:600;cursor:pointer;padding:0 2px}.qh-rel-select:focus{outline:2px solid #2563eb}.qh-rel-symbol{font-size:1.3rem;line-height:1}.qh-legend{display:flex;gap:1.5rem;padding:1rem 1.25rem;background:#f8fafc;border:1px solid #E2E8F0;border-radius:10px;flex-wrap:wrap}.qh-legend-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#374151}.qh-legend-swatch{display:inline-block;width:14px;height:14px;border-radius:3px;border:1px solid #d1d5db}.qh-symbol{font-weight:600}.qh-correlation-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.qh-correlation-matrix-wrap{overflow-x:auto;margin-bottom:1.5rem}.qh-corr-table{border-collapse:collapse;font-size:.875rem}.qh-corr-corner{width:120px;min-width:120px;background:#f3f4f6;border:1px solid #e5e7eb}.qh-corr-col-header{width:120px;min-width:120px;max-width:120px;background:#f3f4f6;border:1px solid #e5e7eb;text-align:center;padding:6px 4px;font-weight:600;word-break:break-all;vertical-align:bottom}.qh-corr-row-header{width:120px;min-width:120px;background:#f3f4f6;border:1px solid #e5e7eb;padding:6px 8px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}.qh-corr-cell{width:120px;min-width:120px;height:60px;border:1px solid #e5e7eb;text-align:center;vertical-align:middle;cursor:default;font-size:1.1rem;padding:0;background:#fff;transition:background .15s}.qh-corr-select{width:100%;height:100%;border:none;background:transparent;text-align:center;font-size:.78rem;font-weight:600;cursor:pointer;padding:0 2px}.qh-corr-select:focus{outline:2px solid #2563eb}.qh-corr-cell:hover{background:#eff6ff}.qh-corr-cell-filled,.qh-corr-cell-positive{background:#dbeafe}.qh-corr-cell-positive:hover{background:#bfdbfe}.qh-corr-cell-negative{background:#fce7f3}.qh-corr-cell-negative:hover{background:#fbcfe8}.qh-corr-cell-filled:hover{background:#bfdbfe}.qh-corr-cell-disabled{background-color:#f3f4f6;background-image:repeating-linear-gradient(45deg,transparent,transparent 6px,#d1d5db 6px,#d1d5db 7px);cursor:not-allowed;color:#9ca3af}.qh-corr-cell-disabled:hover{background-color:#f3f4f6}.qh-corr-legend{display:flex;align-items:center;gap:16px;margin-top:12px;font-size:.8rem;color:#6b7280;flex-wrap:wrap}.qh-corr-legend span{font-size:1rem;margin-right:2px}.qh-correlation-item{padding:1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px}.qh-correlation-reqs{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;font-weight:600;font-size:.9rem}.qh-correlation-vs{color:#9ca3af;font-size:.8rem}.qh-correlation-values{display:flex;gap:.5rem;flex-wrap:wrap}.qh-correlation-option{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.5rem .75rem;border:1px solid #e5e7eb;border-radius:6px;background:#fff;cursor:pointer;transition:all .2s;flex:1;min-width:60px}.qh-correlation-option:hover{border-color:#dc2626}.qh-correlation-option.selected{border-color:#dc2626;background:#fef2f2}.qh-correlation-option input{display:none}.qh-correlation-option span{font-size:1.25rem}.qh-correlation-option small{font-size:.7rem;color:#6b7280}.qh-analysis-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.qh-analysis-item{padding:1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px}.qh-analysis-req{font-weight:600;margin-bottom:1rem;font-size:.95rem}.qh-analysis-ratings{display:flex;gap:2rem}.qh-rating-group{flex:1}.qh-rating-group label{display:block;font-size:.8rem;font-weight:600;color:#6b7280;margin-bottom:.5rem}.qh-rating-stars{display:flex;gap:.25rem}.qh-star{width:32px;height:32px;border:1px solid #e5e7eb;background:#fff;border-radius:4px;cursor:pointer;font-size:1.25rem;color:#d1d5db;transition:all .2s}.qh-star:hover{border-color:#dc2626;color:#dc2626}.qh-star.filled{background:#fef2f2;border-color:#dc2626;color:#dc2626}.qh-empty-hint{text-align:center;padding:2rem;color:#9ca3af;font-size:.9rem}.qh-divider{width:12px;background:transparent;cursor:col-resize;position:relative;flex-shrink:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:background .15s;height:100%;display:flex;align-items:center;justify-content:center}.qh-divider:hover{background:#dc26260f}.qh-divider.dragging{background:#dc26261f}.qh-divider-line{width:4px;height:100%;background:#e2e5ea;border-radius:4px;transition:background .15s,width .15s}.qh-divider:hover .qh-divider-line,.qh-divider.dragging .qh-divider-line{background:#dc2626;width:6px}.qh-preview-panel{display:flex;flex-direction:column;background:#fff;min-width:5%;max-width:80%;position:relative;flex:none;min-height:0}.qh-preview-header{padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb;background:#f9fafb;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:1rem}.qh-preview-header h3{margin:0;font-size:1rem;font-weight:600;color:#111827}.qh-preview-controls{display:flex;align-items:center;gap:10px;margin-left:auto}.qh-font-size-controls{display:flex;align-items:center;gap:3px;padding:3px 5px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}.qh-control-label{color:#64748b;font-size:12px;font-weight:700;padding:0 3px}.qh-display-btn{min-width:28px;height:28px;padding:0 6px;border:1px solid transparent;border-radius:6px;background:transparent;color:#475569;font-size:12px;font-weight:600;cursor:pointer}.qh-display-btn:hover:not(:disabled){background:#f1f5f9;border-color:#e2e8f0;color:#1e293b}.qh-display-btn:disabled{opacity:.35;cursor:not-allowed}.qh-display-value{min-width:38px;text-align:center;color:#374151;font-size:12px;font-weight:700}.qh-preview-header .ws-zoom-float-bar{position:static;padding:3px 5px;box-shadow:none;z-index:auto}.qh-preview-content{flex:1;min-height:0;overflow:auto;padding:1.5rem;display:flex;align-items:flex-start;justify-content:flex-start}.house-of-quality-container .hoq-title h1{font-size:calc(36px * var(--qh-font-scale, 1))!important}.house-of-quality-container .hoq-table th,.house-of-quality-container .hoq-table td{font-size:calc(14px * var(--qh-font-scale, 1))}.house-of-quality-container .vertical-text-rotate{font-size:calc(12px * var(--qh-font-scale, 1))}.house-of-quality-container .legend-header{font-size:calc(16px * var(--qh-font-scale, 1))}.house-of-quality-container .legend-item .label,.house-of-quality-container .legend-item .value{font-size:calc(12px * var(--qh-font-scale, 1))}.qh-svg-container{transition:transform .2s ease-out;transform-origin:top left;flex-shrink:0}.qh-svg{width:1200px;height:800px;box-shadow:0 4px 12px #00000014;border-radius:8px;display:block;background:#fff}@media (max-width: 1024px){.qh-main-container{flex-direction:column}.qh-divider{width:100%;height:12px;cursor:row-resize}.qh-divider-line{width:100%;height:4px;border-radius:4px}.qh-divider:hover .qh-divider-line,.qh-divider.dragging .qh-divider-line{height:6px;width:100%}.qh-edit-panel,.qh-preview-panel{width:100%!important;max-width:100%}.qh-tabs{overflow-x:auto;margin:.5rem}.qh-preview-header{align-items:flex-start;flex-wrap:wrap}.qh-preview-controls{width:100%;margin-left:0;justify-content:space-between}}.qh-toolbar-btn{background:transparent;color:#6b7280;border:1px solid #e5e7eb;padding:.3rem .7rem;font-size:.8rem;font-weight:500;border-radius:6px;cursor:pointer;transition:all .15s;white-space:nowrap;display:inline-flex;align-items:center;gap:4px}.qh-toolbar-btn:hover{background:#f9fafb;color:#374151;border-color:#d1d5db}.qh-preview-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;text-align:center;padding:3rem;background:#f9fafb;border-radius:8px;border:2px dashed #e5e7eb}.placeholder-icon{font-size:4rem;margin-bottom:1.5rem;opacity:.5}.qh-preview-placeholder h3{margin:0 0 1rem;font-size:1.5rem;font-weight:600;color:#374151}.qh-preview-placeholder p{margin:0 0 2rem;font-size:1rem;color:#6b7280;max-width:400px;line-height:1.5}.placeholder-requirements{display:flex;gap:2rem}.requirement-status{display:flex;align-items:center;gap:.75rem;font-size:.95rem;color:#374151}.status-check{width:24px;height:24px;border-radius:50%;background:#10b981;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}.status-pending{width:24px;height:24px;border-radius:50%;border:2px solid #d1d5db;color:#9ca3af;display:flex;align-items:center;justify-content:center;font-weight:700}.quality-house-page .toast{position:fixed;top:24px;bottom:auto;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;padding:8px 16px;background:#fff;border-radius:8px;font-size:18px;line-height:1.4;box-shadow:0 4px 12px #0000001a;z-index:10000;animation:toastSlideDown .3s ease-out;white-space:nowrap;width:auto;max-width:90vw}.quality-house-page .toast-error .toast-icon{color:#ef4444}.quality-house-page .toast-success .toast-icon{color:#10b981}.quality-house-page .toast-info .toast-icon{color:#3b82f6}.quality-house-page .toast-message{color:#374151;font-size:18px;font-weight:500}@keyframes toastSlideDown{0%{opacity:0;transform:translate(-50%,-12px)}to{opacity:1;transform:translate(-50%)}}.delete-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.delete-modal{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:420px;width:90%;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.delete-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid #e5e7eb}.delete-modal-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#1a1a1a}.delete-modal-close{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;border-radius:6px;cursor:pointer;font-size:1.5rem;color:#6b7280;transition:all .2s}.delete-modal-close:hover{background:#f3f4f6;color:#1a1a1a}.delete-modal-body{padding:2rem 1.5rem;text-align:center}.delete-modal-icon{font-size:3rem;margin-bottom:1rem}.delete-modal-message{margin:0 0 .75rem;font-size:1rem;color:#374151}.delete-modal-record-title{margin:0 0 1rem;font-size:.95rem;color:#1a1a1a;font-weight:600;background:#f3f4f6;padding:.5rem 1rem;border-radius:6px;display:inline-block;word-break:break-word}.delete-modal-warning{margin:0;font-size:.875rem;color:#dc2626}.delete-modal-footer{display:flex;gap:1rem;padding:1.5rem;border-top:1px solid #e5e7eb}.delete-modal-btn{flex:1;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;border:none}.delete-modal-btn.cancel{background:#f3f4f6;color:#374151}.delete-modal-btn.cancel:hover{background:#e5e7eb}.delete-modal-btn.confirm{background:#dc2626;color:#fff}.delete-modal-btn.confirm:hover{background:#b91c1c}.delete-modal-btn.confirm:disabled{background:#9ca3af;cursor:not-allowed}@media (max-width: 768px){.qh-header{padding:.5rem .75rem;gap:.5rem}.qh-header .back-btn{padding:6px 10px;font-size:1.2rem}.qh-header .back-text{display:none}.qh-mobile-menu-btn{display:block;background:#f5f5f5;border:none;padding:8px 12px;border-radius:6px;cursor:pointer;font-size:1.2rem;color:#666;transition:all .2s;flex-shrink:0;margin-left:auto}.qh-mobile-menu-btn:hover{background:#e0e0e0;color:#333}.qh-header-actions{display:none}.qh-mobile-menu-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:1000;display:flex;justify-content:flex-end;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.qh-mobile-menu-sidebar{width:280px;max-width:80vw;height:100%;background:#fff;box-shadow:-2px 0 8px #0000001a;display:flex;flex-direction:column;animation:slideIn .3s ease-out}@keyframes slideIn{0%{transform:translate(100%)}to{transform:translate(0)}}.qh-mobile-menu-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #e5e7eb}.qh-mobile-menu-header h3{margin:0;font-size:1.1rem;font-weight:600;color:#111827}.qh-mobile-menu-header button{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;padding:4px 8px;border-radius:4px}.qh-mobile-menu-header button:hover{background:#f3f4f6;color:#111827}.qh-mobile-menu-content{padding:1rem;display:flex;flex-direction:column;gap:.75rem}.mobile-full-width{width:100%;padding:.75rem 1rem;font-size:1rem}}@media (min-width: 769px){.qh-mobile-menu-btn,.qh-mobile-menu-overlay{display:none}}.correlation{font-size:.875rem;color:#92400e}@keyframes qh-shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-3px)}20%,40%,60%,80%{transform:translate(3px)}}.template-use-button.shake{animation:qh-shake .5s ease-in-out;box-shadow:0 0 0 3px #3b82f680,0 2px 8px #3b82f64d}@media (max-width: 768px){.template-preview-content{flex-direction:column;align-items:stretch;gap:12px;padding:12px 16px}.template-preview-info{flex-direction:column;align-items:flex-start;gap:8px}.template-preview-desc{margin-left:0;font-size:11px}.template-use-button{width:100%;text-align:center}}.quality-house-page>.page-container{flex:1 1 auto;display:flex;flex-direction:column;min-height:0}.quality-house-page .editor-shell{flex:1 1 auto;min-height:0}.qh-ai-title{display:block}.gm-container.qh-ai-modal .gm-title{margin:0;font-size:20px;font-weight:700}.qh-toolbar-btn-accent{background:linear-gradient(135deg,#e63946,#d62828)!important;color:#fff!important;border:none!important;font-weight:600}.qh-toolbar-btn-accent:hover{opacity:.9;transform:translateY(-1px)}.gm-container.qh-discover-modal{max-width:800px;max-height:85vh;padding:0;overflow:hidden;display:flex;flex-direction:column}.gm-container.qh-discover-modal .gm-header{text-align:left;padding:20px 24px 16px;border-bottom:1px solid #f0f0f0}.gm-container.qh-discover-modal .gm-title{margin:0;font-size:1.1rem;font-weight:700;color:#1a1a2e;text-align:left}.gm-container.qh-discover-modal .gm-body{flex:1;min-height:0;display:flex;flex-direction:column;padding:0}.qh-discover-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 24px;color:#6b7280}.qh-discover-body{flex:1;overflow-y:auto;padding:20px 24px}.qh-discover-summary{display:flex;gap:12px;margin-bottom:24px}.qh-discover-stat{flex:1;text-align:center;padding:16px 12px;border-radius:12px;background:#f9fafb}.qh-discover-stat.cc{background:#fef2f2;border:1px solid #fecaca}.qh-discover-stat.sc{background:#fffbeb;border:1px solid #fde68a}.qh-discover-stat.mc{background:#f0fdf4;border:1px solid #bbf7d0}.qh-discover-stat-num{display:block;font-size:1.8rem;font-weight:800;line-height:1}.qh-discover-stat.cc .qh-discover-stat-num{color:#dc2626}.qh-discover-stat.sc .qh-discover-stat-num{color:#d97706}.qh-discover-stat.mc .qh-discover-stat-num{color:#16a34a}.qh-discover-stat-label{display:block;margin-top:6px;font-size:.8rem;color:#6b7280;font-weight:500}.qh-discover-section{margin-bottom:24px}.qh-discover-section h4{margin:0 0 12px;font-size:.95rem;font-weight:700;color:#1a1a2e}.qh-discover-section h4 small{font-weight:400;color:#9ca3af}.qh-discover-table-wrap{overflow-x:auto;border-radius:8px;border:1px solid #e5e7eb}.qh-discover-table{width:100%;border-collapse:collapse;font-size:.85rem}.qh-discover-table th{background:#f9fafb;padding:10px 12px;text-align:left;font-weight:600;color:#374151;border-bottom:1px solid #e5e7eb;white-space:nowrap}.qh-discover-table td{padding:10px 12px;border-bottom:1px solid #f3f4f6;color:#4b5563}.qh-discover-table tbody tr:last-child td{border-bottom:none}.qh-discover-score{font-weight:700;color:#e63946}.qh-grade-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:700}.qh-grade-cc{background:#fef2f2;color:#dc2626}.qh-grade-sc{background:#fffbeb;color:#d97706}.qh-grade-mc{background:#f0fdf4;color:#16a34a}.qh-discover-contributors{display:flex;flex-wrap:wrap;gap:4px}.qh-contributor-tag{display:inline-block;padding:2px 6px;background:#eff6ff;border-radius:4px;font-size:.75rem;color:#2563eb}.qh-contributor-tag small{color:#93c5fd}.qh-discover-more{text-align:center;color:#9ca3af;font-style:italic}.qh-discover-actions{margin-top:20px;padding-top:16px;border-top:1px solid #f0f0f0;text-align:center}.qh-discover-cta{background:linear-gradient(135deg,#e63946,#d62828);color:#fff;border:none;padding:12px 32px;border-radius:10px;font-size:1rem;font-weight:700;cursor:pointer;transition:transform .15s,box-shadow .15s}.qh-discover-cta:hover{transform:translateY(-2px);box-shadow:0 6px 20px #e639464d}.qh-discover-hint{color:#6b7280;font-size:.9rem;margin:0}.qh-discover-empty{padding:60px 24px;text-align:center;color:#9ca3af}.gm-container.qh-referral-modal{max-height:90vh;padding:0}.gm-container.qh-referral-modal .gm-header{padding:28px 24px 12px}.gm-container.qh-referral-modal .gm-title{margin:0}.gm-container.qh-referral-modal .gm-body{padding:0}.qh-referral-head{display:block}.qh-referral-icon{display:flex;justify-content:center;margin-bottom:10px}.qh-referral-title{font-size:1.25rem;font-weight:700;color:#1f2937;margin:0}.qh-referral-body{padding:0 24px 20px}.qh-referral-progress{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;background:#f8fafc;border-radius:10px;margin-bottom:20px}.qh-referral-progress-step{display:flex;align-items:center;gap:6px}.qh-referral-progress-dot{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;background:#e5e7eb;color:#9ca3af;flex-shrink:0}.qh-referral-progress-done .qh-referral-progress-dot{background:#22c55e;color:#fff}.qh-referral-progress-active .qh-referral-progress-dot{background:#2563eb;color:#fff;box-shadow:0 0 0 3px #2563eb26}.qh-referral-progress-label{font-size:.8rem;font-weight:500;color:#6b7280;white-space:nowrap}.qh-referral-progress-done .qh-referral-progress-label{color:#16a34a;font-weight:600}.qh-referral-progress-active .qh-referral-progress-label{color:#2563eb;font-weight:600}.qh-referral-progress-arrow{color:#d1d5db;font-size:.85rem;flex-shrink:0}.qh-referral-cards{display:flex;flex-direction:column;gap:12px}.qh-referral-card{position:relative;padding:16px;background:#fff;border:1.5px solid #e5e7eb;border-radius:12px;transition:border-color .2s,box-shadow .2s}.qh-referral-card:hover{border-color:#d1d5db;box-shadow:0 2px 8px #0000000f}.qh-referral-card-primary{border-color:#bfdbfe;background:linear-gradient(135deg,#eff6ff,#f0f9ff)}.qh-referral-card-primary:hover{border-color:#93c5fd;box-shadow:0 4px 16px #2563eb1a}.qh-referral-card-body{display:flex;align-items:center;gap:12px}.qh-referral-card-left{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.qh-referral-card-icon{font-size:1.5rem;flex-shrink:0}.qh-referral-card-text{display:flex;flex-direction:column;gap:3px;min-width:0}.qh-referral-card-title{font-size:.95rem;font-weight:600;color:#1f2937}.qh-referral-card-desc{font-size:.8rem;color:#6b7280;line-height:1.4}.qh-referral-card-cta{flex-shrink:0;padding:8px 18px;background:#2563eb;color:#fff;border:none;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;transition:background .15s,transform .1s;white-space:nowrap}.qh-referral-card-cta:hover{background:#1d4ed8;transform:translateY(-1px)}.qh-referral-card-cta:active{transform:translateY(0)}.qh-referral-card-cta-secondary{background:#fff;color:#374151;border:1.5px solid #d1d5db}.qh-referral-card-cta-secondary:hover{background:#f9fafb;border-color:#9ca3af}.qh-referral-hint{font-size:.8rem;color:#9ca3af;text-align:center;margin:16px 0 0;padding:0;background:none}.qh-referral-dismiss{display:block;width:100%;padding:12px;background:none;border:none;border-top:1px solid #f3f4f6;color:#9ca3af;font-size:.85rem;cursor:pointer;transition:background .15s,color .15s}.qh-referral-dismiss:hover{background:#f9fafb;color:#6b7280}
