.hc-embed{--blue:#0073aa;--blue-dark:#005a87;--green:#46b450;--green-dark:#3a9542;--red:#dc3232;--gray:#72777c;--gray-dark:#595c60;--bg:#f8f9fa;--border:#eaeaea;max-width:100%;width:fit-content;margin:0 auto 24px auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;color:#333;background:#fff0;box-sizing:border-box}.hc-embed *,.hc-embed *::before,.hc-embed *::after{box-sizing:border-box}.hc-embed .hc-topbar{display:flex;align-items:center;justify-content:flex-start;gap:10px;background:#fff;border-radius:10px;box-shadow:0 2px 10px rgb(0 0 0 / .08);padding:10px 14px;margin-bottom:14px}.hc-embed .hc-topbar-label{font-size:13px;font-weight:600;color:#333}.hc-embed .clock-toggle{display:inline-flex;background:var(--bg);border:1px solid #d0d7de;border-radius:6px;padding:2px;gap:2px}.hc-embed .clock-toggle-btn{border:none;background:#fff0;color:#475569;font-size:12px;font-weight:600;padding:6px 11px;border-radius:4px;cursor:pointer;transition:all 0.15s ease;white-space:nowrap;line-height:1.2;box-shadow:none}.hc-embed .clock-toggle-btn:hover{color:#0f172a;background:rgb(0 0 0 / .04)}.hc-embed .clock-toggle-btn.active{background:var(--blue);color:#fff;box-shadow:0 1px 2px rgb(0 0 0 / .12)}.hc-embed .hc-layout{display:flex;align-items:flex-start;gap:16px;flex-wrap:nowrap}.hc-embed .hc-calculators{display:flex;flex-direction:column;gap:16px;width:360px;flex-shrink:0}.hc-embed .calculator-container{width:360px;max-width:360px;margin:0;display:flex;background:#fff;border-radius:10px;box-shadow:0 2px 10px rgb(0 0 0 / .1);overflow:hidden;position:relative;height:auto}.hc-embed .calculator{width:100%;padding:15px;display:flex;flex-direction:column}.hc-embed .calc-display{background:var(--bg);border-radius:5px;padding:12px 15px;margin-bottom:14px;text-align:right;border:1px solid #ddd;flex-shrink:0}.hc-embed .calc-display.xc-display-spaced{margin-top:10px}.hc-embed .calc-input{font-size:13px;color:#666;min-height:18px;margin-bottom:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hc-embed .calc-result{font-size:22px;font-weight:700;color:#333;min-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hc-embed .time-input-row{display:flex;align-items:center;gap:6px;margin-bottom:10px;flex-wrap:nowrap}.hc-embed .time-input-row label{font-weight:600;color:#333;min-width:44px;font-size:13px;flex-shrink:0;margin:0}.hc-embed .time-input-row input[type="date"],.hc-embed .time-input-row input[type="number"],.hc-embed .time-input-row input[type="text"]{flex:1 1 auto;min-width:112px;padding:7px 6px;border:1px solid #ccc;border-radius:5px;font-size:12.5px;font-family:inherit;background:#fff;color:#1e293b;height:auto;line-height:1.3;transition:border-color 0.2s ease,box-shadow 0.2s ease}.hc-embed .time-input-row input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 2px rgb(0 115 170 / .2)}.hc-embed .time-picker-group{display:inline-flex;align-items:center;gap:3px;flex:1 1 auto;min-width:0}.hc-embed .time-select{padding:7px 4px;border:1px solid #ccc;border-radius:5px;font-size:13px;font-family:inherit;background:#fff;color:#1e293b;cursor:pointer;min-width:0;flex:1;text-align:center;height:auto;line-height:1.3;transition:border-color 0.2s ease,box-shadow 0.2s ease}.hc-embed .time-select:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 2px rgb(0 115 170 / .2)}.hc-embed .time-select.ampm-select{flex:0 0 54px;font-weight:600;background:#f8fafc}.hc-embed .time-sep{font-weight:700;color:#64748b;font-size:13px;user-select:none}.hc-embed .now-btn{background:#f1f5f9;border:1px solid #ccc;border-radius:5px;padding:7px 9px;font-size:12px;font-weight:600;cursor:pointer;color:#1e293b;transition:background 0.2s;white-space:nowrap;flex-shrink:0;line-height:1.3}.hc-embed .now-btn:hover{background:#e2e8f0;color:#0f172a}.hc-embed .calc-notice{display:none;font-size:12px;color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:5px;padding:6px 10px;margin-bottom:8px}.hc-embed .calc-notice.visible{display:block}.hc-embed .action-row{display:flex;gap:6px;margin-top:4px}.hc-embed .calc-btn{padding:10px 8px;border:1px solid #ccc;background:#fff;font-size:14px;cursor:pointer;border-radius:3px;font-weight:700;transition:all 0.2s ease;min-height:42px;line-height:1.2}.hc-embed .calc-btn:hover{background:#f5f5f5}.hc-embed .calc-btn:active{transform:scale(.98)}.hc-embed .calc-equals{flex:2;background:var(--blue);color:#fff;border-color:var(--blue)}.hc-embed .calc-equals:hover{background:var(--blue-dark);border-color:var(--blue-dark);color:#fff}.hc-embed .calc-clear{flex:1;background:var(--red);color:#fff;border-color:var(--red)}.hc-embed .calc-clear:hover{background:#b02828;border-color:#b02828;color:#fff}.hc-embed .hint{font-size:11px;color:var(--gray);margin-top:8px;text-align:center}.hc-embed .h2-section{font-size:15px;font-weight:700;color:#1e293b;padding-bottom:5px;border-bottom:2px solid var(--blue);margin:0 0 2px 0}.hc-embed .shared-history{width:290px;flex-shrink:0;background:#fff;border-radius:10px;box-shadow:0 2px 10px rgb(0 0 0 / .1);padding:15px;display:flex;flex-direction:column;height:100%;min-height:430px;max-height:600px;overflow:hidden}.hc-embed .history-panel{width:100%;background:#fff0;padding:0;border-left:none;display:flex;flex-direction:column;height:100%;min-height:0}.hc-embed .history-panel h3{margin:0 0 12px 0;color:#333;padding-bottom:10px;border-bottom:2px solid var(--blue);font-size:16px;font-weight:700;flex-shrink:0}.hc-embed .history-content{flex:1;overflow-y:auto;min-height:0;padding-right:5px}.hc-embed .history-item{padding:10px 12px;margin-bottom:10px;background:#fff;border-radius:5px;box-shadow:0 1px 3px rgb(0 0 0 / .1);border-left:3px solid var(--blue);flex-shrink:0;position:relative}.hc-embed .history-item.xc-history-empty{text-align:center;color:#72777c;font-size:13px;border-left-color:#ccc}.hc-embed .history-expression{font-size:12px;color:#666;margin-bottom:3px;word-break:break-word}.hc-embed .history-result{font-size:14px;font-weight:700;color:#333;word-break:break-word;margin-bottom:6px}.hc-embed .history-comment{font-size:11px;color:#555;font-style:italic;background:#f0f8ff;padding:6px 8px;border-radius:3px;border-left:2px solid var(--blue);margin-top:5px}.hc-embed .history-actions-item{display:flex;gap:5px;margin-top:8px}.hc-embed .comment-btn{background:var(--blue);color:#fff;border:none;padding:4px 8px;border-radius:3px;font-size:10px;cursor:pointer;font-weight:700;line-height:1.2;transition:background 0.2s ease}.hc-embed .comment-btn:hover{background:var(--blue-dark);color:#fff}.hc-embed .history-actions{display:flex;gap:8px;margin-top:12px;flex-shrink:0}.hc-embed .history-btn{flex:1;padding:9px;border:none;border-radius:5px;cursor:pointer;font-weight:700;font-size:12px;line-height:1.2;transition:background-color 0.2s ease}.hc-embed .download-btn{background:var(--green);color:#fff}.hc-embed .download-btn:hover{background:var(--green-dark);color:#fff}.hc-embed .clear-history-btn{background:var(--gray);color:#fff}.hc-embed .clear-history-btn:hover{background:var(--gray-dark);color:#fff}.hc-embed .history-content::-webkit-scrollbar{width:6px}.hc-embed .history-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.hc-embed .history-content::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.hc-embed .history-content::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.hc-embed .comment-modal,.hc-embed .download-modal{display:none;position:fixed;inset:0;background:rgb(0 0 0 / .5);z-index:9999;align-items:center;justify-content:center;padding:16px}.hc-embed .comment-modal.active,.hc-embed .download-modal.active{display:flex}.hc-embed .comment-modal-content,.hc-embed .download-modal-content{background:#fff;border-radius:10px;width:100%;max-width:380px;box-shadow:0 10px 30px rgb(0 0 0 / .3);overflow:hidden}.hc-embed .comment-modal-header,.hc-embed .download-modal-header{color:#fff;padding:14px 18px;display:flex;justify-content:space-between;align-items:center}.hc-embed .comment-modal-header{background:var(--blue)}.hc-embed .download-modal-header{background:var(--green)}.hc-embed .comment-modal-header h4,.hc-embed .download-modal-header h4{margin:0;font-size:15px;color:#fff}.hc-embed .comment-modal-close,.hc-embed .download-modal-close{background:none;border:none;color:#fff;font-size:20px;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.hc-embed .comment-modal-body,.hc-embed .download-modal-body{padding:18px}.hc-embed .xc-modal-lead{margin:0;font-size:14px}.hc-embed .calculation-preview{background:var(--bg);padding:10px;border-radius:5px;margin-bottom:14px;border:1px solid var(--border)}.hc-embed .calculation-preview .history-expression{font-size:12px;color:#666;margin-bottom:2px}.hc-embed .calculation-preview .history-result{font-size:14px;font-weight:700;color:#333;margin-bottom:0}.hc-embed .comment-input{width:100%;height:80px;padding:10px;border:1px solid #ddd;border-radius:5px;resize:vertical;font-family:inherit;font-size:14px}.hc-embed .comment-input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 2px rgb(0 115 170 / .1)}.hc-embed .comment-modal-actions{display:flex;gap:10px;padding:0 18px 18px}.hc-embed .comment-btn.comment-cancel{flex:1;padding:10px;border:none;border-radius:5px;cursor:pointer;font-weight:700;font-size:14px;background:var(--gray);color:#fff}.hc-embed .comment-btn.comment-cancel:hover{background:var(--gray-dark)}.hc-embed .comment-btn.comment-save{flex:1;padding:10px;border:none;border-radius:5px;cursor:pointer;font-weight:700;font-size:14px;background:var(--green);color:#fff}.hc-embed .comment-btn.comment-save:hover{background:var(--green-dark)}.hc-embed .download-options{display:flex;flex-direction:column;gap:10px;margin-top:12px}.hc-embed .download-option-btn{display:flex;flex-direction:column;align-items:flex-start;padding:13px 15px;border:2px solid var(--border);border-radius:8px;background:#fff;cursor:pointer;transition:all 0.2s ease;width:100%;text-align:left}.hc-embed .download-option-btn:hover{border-color:var(--blue);background:var(--bg)}.hc-embed .download-icon{font-size:20px;margin-bottom:4px}.hc-embed .download-text{font-weight:700;color:#333;margin-bottom:2px;font-size:14px}.hc-embed .download-desc{font-size:12px;color:#666}@media (max-width:1000px){.hc-embed .hc-layout{flex-direction:column;align-items:center}.hc-embed .hc-calculators,.hc-embed .calculator-container,.hc-embed .shared-history{width:360px;max-width:100%}.hc-embed .shared-history{height:320px;min-height:320px;max-height:320px}}@media (max-width:400px){.hc-embed .hc-calculators,.hc-embed .calculator-container,.hc-embed .shared-history{width:100%}.hc-embed .hc-topbar{flex-wrap:wrap}.hc-embed .time-input-row{flex-wrap:wrap}.hc-embed .time-input-row label{min-width:100%;margin-bottom:2px}}