.email-entry{position:fixed;right:22px;top:18px;z-index:80;display:flex;align-items:center;gap:10px;font-size:13px}.email-entry span{max-width:180px;overflow:hidden;text-overflow:ellipsis}.email-entry button{background:#151d22;border:1px solid #247282;color:#58e2ee;border-radius:9px;padding:10px 16px;cursor:pointer}.email-overlay{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;background:#000a;backdrop-filter:blur(7px);padding:20px;overflow-y:auto}.email-dialog{position:relative;box-sizing:border-box;width:438px;max-width:100%;max-height:calc(100dvh - 40px);overflow:auto;background:linear-gradient(155deg,#172027,#15171c 50%);border:1px solid #303a42;border-radius:16px;padding:30px;color:#e9edf1;box-shadow:0 25px 100px #0009}.email-dialog .email-close{position:absolute;right:17px;top:12px;border:0;background:none;color:#9ca7af;font-size:25px;cursor:pointer}.email-logo{width:58px;height:58px;display:grid;place-content:center;margin:0 auto 18px;border:1px solid #2e3f42;border-radius:13px;background:#061316;font:bold 34px system-ui}.email-logo span{color:#00d4dd;display:inline}.email-dialog h2{text-align:center;font-size:25px;margin:0 0 18px}.email-gift{text-align:center;color:#f6ca58;font-weight:700;font-size:17px}.email-dialog p{text-align:center;font-size:12px;line-height:1.8;color:#a0a9b1}.email-tab{color:#0dd1e5;border-bottom:2px solid #0bb8ce;padding:15px 0;margin:15px 0 20px;text-align:center}.email-dialog label{display:block;font-size:13px;color:#aab3ba;margin:17px 0 8px}.email-dialog input{box-sizing:border-box;width:100%;border:1px solid #303741;border-radius:6px;background:#1b1f25;color:#f2f3f5;padding:13px;font:14px system-ui;min-width:0}.email-dialog input:focus{outline:2px solid #0bb8ce;outline-offset:1px}.email-code{display:flex;gap:9px}.email-code input{flex:1}.email-code button{flex-shrink:0;background:#151a20;color:#05cadd;border:1px solid #303741;border-radius:6px;padding:0 13px;cursor:pointer}.email-dialog .email-message{min-height:22px;color:#f4cd76;text-align:left}.email-dialog .email-submit{border:0;background:#087f91;color:white;width:100%;padding:14px;border-radius:7px;font-size:16px;font-weight:700;cursor:pointer}.email-dialog button:disabled{opacity:.5;cursor:wait}.email-dialog small{display:block;color:#929ca6;text-align:center;font-size:11px;line-height:1.8;margin-top:20px}@media(max-width:600px){.email-dialog{padding:27px 20px}.email-entry{right:12px;top:12px}.email-entry span{max-width:120px}.email-entry button{padding:8px 10px}}
.recharge-entry{position:fixed;right:22px;top:64px;z-index:80;background:#151d22;border:1px solid #71603a;color:#f6ca58;border-radius:9px;padding:10px 16px;cursor:pointer}.recharge-plan{border:1px solid #71603a;border-radius:12px;padding:22px;text-align:center;color:#f6ca58}.recharge-plan strong{font-size:36px}.recharge-refresh{background:transparent;color:#0dd1e5;border:0;margin-top:15px;cursor:pointer}.email-dialog select{display:block;margin-top:8px;width:100%;padding:12px;background:#151a20;color:white;border:1px solid #303741;border-radius:6px}

.auth-tabs{display:flex;gap:8px;margin:20px 0}.auth-tabs button{flex:1;background:transparent;color:#aab3ba;border:0;border-bottom:2px solid #303741;padding:12px 0;cursor:pointer}.auth-tabs button[aria-selected=true]{color:#0dd1e5;border-color:#0dd1e5}

.invite-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}.invite-stats span{display:block;text-align:center;font-size:12px;color:#aab3ba}.invite-stats strong{display:block;color:#f6ca58;font-size:19px;margin-top:7px}.invite-dialog .email-submit{margin-top:14px}.invite-dialog h3{font-size:16px;margin-top:24px}.invite-records{padding:0;list-style:none;max-height:180px;overflow:auto}.invite-records li{display:flex;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid #303741;font-size:12px}.invite-records strong{color:#58e2ee}.email-entry .email-dialog span{max-width:none;overflow:visible}.email-entry .email-dialog button{padding:10px 12px}.email-entry .email-dialog .email-close{padding:0}.email-entry .email-dialog h2{line-height:1.4}@media(max-width:600px){.email-entry{max-width:calc(100vw - 24px);gap:6px}.email-entry>span{max-width:95px}.email-entry>button{padding:8px 7px;font-size:12px}}

.recharge-tabs{display:flex;gap:12px;margin:20px 0}.recharge-tabs button{flex:1;padding:10px;border:1px solid #46545b;border-radius:8px;background:transparent;color:#c9d4d9}.recharge-tabs button[aria-pressed=true]{border-color:#29c7df;color:#29c7df;background:#16343e}.email-dialog form .email-submit{margin-top:16px}

.quota-redeem{margin-left:18px;padding:9px 14px!important;border:1px solid #8d78b9!important;border-radius:8px;color:#ddcbff!important;background:#272035!important;cursor:pointer}

.analysis-model-picker{border:0;padding:0;margin:0 0 18px;min-width:0}.analysis-model-picker legend{font-size:13px;color:#b1a9bd;margin-bottom:12px;padding:0;width:100%}.analysis-model-picker legend>span{float:right;font-size:11px;color:#81758f}.analysis-model-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.analysis-model-options .analysis-model-choice{position:relative;display:flex;flex-direction:column;gap:14px;min-width:0;padding:16px 14px;margin:0;border:1px solid #37303f;border-radius:12px;background:#17141e;cursor:pointer;transition:border-color .15s,background .15s}.analysis-model-options .analysis-model-choice:hover{border-color:#9680bb}.analysis-model-options .analysis-model-choice[data-selected=true]{border-color:#bba0ec;background:linear-gradient(125deg,#30233e,#241c32);box-shadow:0 0 0 1px #bba0ec40}.analysis-model-choice:focus-within{outline:2px solid #a7e2ef;outline-offset:3px}.analysis-model-choice input{position:absolute;width:1px;height:1px;opacity:0;margin:0}.analysis-model-name{font-size:14px;line-height:1.4;font-weight:600;color:#eee8fa;overflow-wrap:anywhere}.analysis-model-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px}.analysis-model-bottom small{font-size:11px;color:#9a90ac}.analysis-model-state{font-size:11px;white-space:nowrap;color:#92899f}.analysis-model-choice[data-selected=true] .analysis-model-state{color:#ddc6ff}.analysis-model-picker:disabled .analysis-model-choice{opacity:.6;cursor:wait}@media(max-width:420px){.analysis-model-options{gap:8px}.analysis-model-options .analysis-model-choice{padding:13px 10px}.analysis-model-name{font-size:13px}}

.billing-info{margin:0 0 22px;padding:16px;border:1px solid #39334a;border-radius:10px;background:#171420;color:#bbb4cc;font-size:12px;line-height:1.8}.billing-info strong{color:#dfd5f6}.billing-info p{margin:7px 0}.billing-info summary{cursor:pointer;color:#b7a6e9}.billing-history{max-height:240px;overflow:auto}.billing-history p{border-top:1px solid #39334a;padding-top:8px}.billing-receipt{margin:12px 22px;color:#c8b9eb;font-size:12px;line-height:1.6}

/* One shared header layout; account controls never float over navigation. */
body .original-home .haiyi-header{min-height:80px;padding:18px clamp(18px,3vw,48px);gap:32px;background:#090b13e8;border-bottom:1px solid #ffffff0d;backdrop-filter:blur(18px)}
body .haiyi-header .xc-brand{font-size:26px!important;letter-spacing:-1px;max-width:none;flex-shrink:0;color:#f4f0ff}
body .haiyi-header .xc-actions{margin-left:auto;min-width:0;gap:0}
body .haiyi-header .email-entry{position:static;max-width:none;display:flex;align-items:center;gap:16px;font-size:13px;white-space:nowrap}
body .haiyi-header .email-entry button{height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;border:1px solid transparent;border-radius:9px;background:transparent;color:#c4c6d7;font:inherit;cursor:pointer;flex-shrink:0}
body .haiyi-header .email-entry button:hover{background:#ffffff0b;color:#fff}
body .haiyi-header .email-entry button:focus-visible{outline:2px solid #bda4ef;outline-offset:3px}
body .haiyi-header .email-entry .header-icon{width:38px;padding:0;border-color:#ffffff18}
body .haiyi-header .email-entry .header-invite{color:#9bd8e7}
body .haiyi-header .email-entry .header-balance{padding:0 5px;color:#e9ddff;gap:8px;font-variant-numeric:tabular-nums}
body .haiyi-header .header-balance svg{color:#c7a6ff;fill:#c7a6ff22}
body .haiyi-header .header-balance strong{font-size:14px;font-weight:600}
body .haiyi-header .email-entry .header-recharge{border-color:#b69cd444;color:#d7c5f6;background:#ab7ded0c}
body .haiyi-header .email-entry .header-signin{border-color:#4ac2d449;color:#91dce9;background:#3e9caf10}
body .haiyi-header .email-entry .header-avatar{padding:0 9px;border-radius:24px;border-color:#ffffff24;background:#ffffff06;color:#cfc3e9}
body .haiyi-header .email-entry span{max-width:none;overflow:visible;text-overflow:clip}
.header-account{position:relative}
body .haiyi-header .header-account-menu{position:absolute;right:0;top:calc(100% + 14px);width:260px;padding:16px;border:1px solid #393443;border-radius:14px;background:#14141e;box-shadow:0 18px 50px #0008;white-space:normal}
body .haiyi-header .header-account-menu small{display:block;color:#888798;font-size:11px;margin-bottom:6px}
body .haiyi-header .header-account-menu .header-identity{display:block;overflow-wrap:anywhere;font-size:13px;color:#ece6f5;padding-bottom:14px;border-bottom:1px solid #ffffff12;margin-bottom:8px}
body .haiyi-header .header-account-menu button{width:100%;justify-content:flex-start;padding:0 10px}
body .haiyi-header .header-account-menu button:disabled{opacity:.5;cursor:wait}
@media(max-width:1000px){body .haiyi-header .xc-menu{display:none}body .original-home .haiyi-header{gap:20px}}
@media(max-width:600px){body .original-home .haiyi-header{min-height:70px;padding:14px 14px;gap:12px}body .haiyi-header .xc-brand{font-size:22px!important}body .haiyi-header .email-entry{gap:9px}body .haiyi-header .email-entry button{padding:0 10px;height:36px}body .haiyi-header .email-entry .header-icon{width:34px}body .haiyi-header .email-entry .header-history{display:none}body .haiyi-header .header-redeem-label{display:none}body .haiyi-header .header-balance strong{font-size:13px}}
@media(max-width:380px){body .original-home .haiyi-header{padding-inline:10px;gap:8px}body .haiyi-header .email-entry{gap:6px}body .haiyi-header .email-entry button{padding-inline:8px}body .haiyi-header .email-entry .header-balance{gap:4px;padding:0}body .haiyi-header .email-entry .header-avatar{padding:0 7px}}
.email-dialog .email-address-row{display:flex;gap:8px;align-items:stretch}
.email-dialog .email-address-row input{flex:1;min-width:0;width:0}
.email-dialog .email-address-row select{width:148px;max-width:46%;min-width:0;padding:0 10px;border:1px solid #343b45;border-radius:7px;background:#1a2026;color:#edf2f6;font:inherit;color-scheme:dark}
.email-dialog .email-address-row select:focus-visible{outline:2px solid #00c7d8;outline-offset:1px}
.email-dialog .email-address-hint{display:block;margin-top:8px;color:#9eaab2;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.email-dialog .email-custom-domain label{margin-top:12px}
.email-dialog .email-address-row input,.email-dialog .email-address-row select{height:46px;margin:0;box-sizing:border-box}

.asset-dialog{width:min(1000px,calc(100vw - 24px));max-height:90dvh;margin:auto;padding:0;border:1px solid #40394c;border-radius:22px;background:#14131c;color:#eee9f5;box-shadow:0 28px 100px #0009}.asset-dialog::backdrop{background:#05040bc9;backdrop-filter:blur(7px)}.asset-shell{padding:28px}.asset-shell>header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:26px}.asset-shell header span{font-size:10px;letter-spacing:3px;color:#94e4e7}.asset-shell h2{font-size:27px;margin:8px 0}.asset-shell header p,.asset-policy{font-size:12px;color:#a39aaf;line-height:1.8}.asset-close{font-size:28px!important;width:38px;height:38px}.asset-dialog button,.asset-entry{cursor:pointer;border:1px solid #493e5a;background:#211c2c;border-radius:8px;padding:8px 12px;color:#e1d4f3;font-size:13px}.asset-dialog button:disabled{opacity:.5;cursor:wait}.asset-toolbar,.asset-search{display:flex;gap:12px;justify-content:space-between;margin-bottom:16px}.asset-toolbar>div{display:flex;gap:8px}.asset-toolbar button[aria-pressed=true],.asset-dialog .asset-primary{background:#b9a3df;border-color:#b9a3df;color:#21182e}.asset-toolbar small{margin-left:7px;opacity:.7}.asset-dialog input{border:1px solid #45394f;background:#1b1823;color:#eee;border-radius:8px;padding:10px 12px;min-width:0;width:100%;font-size:13px}.asset-search input{max-width:420px}.asset-policy{border-bottom:1px solid #302a3c;padding-bottom:18px;margin-bottom:20px}.asset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.asset-grid article{border:1px solid #37303f;border-radius:12px;overflow:hidden;background:#1b1823}.asset-preview{display:block;height:205px;background:#d3d3d3}.asset-preview img{height:100%;width:100%;object-fit:contain}.asset-card-body{padding:12px}.asset-card-body h3{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 6px}.asset-card-body small{font-size:10px;color:#9a8fa8}.asset-card-body .asset-use{width:100%;margin:14px 0 10px;background:#233138;color:#a7e4e6;border-color:#38515a}.asset-card-actions{display:flex;align-items:center;justify-content:space-between;gap:4px}.asset-card-actions a,.asset-card-actions button{font-size:11px;color:#bdacd2;padding:3px 0;background:none;border:0}.asset-card-body form button{font-size:11px;margin-top:7px}.asset-delete{font-size:12px;line-height:1.6;padding-top:12px;color:#efb6c0}.asset-delete button{font-size:11px;margin-right:8px}.asset-empty{padding:60px 14px;text-align:center;color:#c4b7d4}.asset-empty p{font-size:13px;line-height:1.8;color:#968ca3}.asset-entry{margin:12px 0;display:inline-block}.asset-dialog button:focus-visible,.asset-entry:focus-visible{outline:2px solid #85e0e8;outline-offset:3px}@media(max-width:700px){.asset-shell{padding:20px 16px}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.asset-preview{height:180px}.asset-toolbar{gap:8px}.asset-toolbar button{padding:8px;font-size:12px}.asset-shell h2{font-size:23px}.asset-dialog{max-height:92dvh}}
.asset-shell>header{position:relative;inset:auto;width:auto;height:auto;min-height:0;padding:0;transform:none;background:none;border:0;box-shadow:none;z-index:auto}.asset-shell>header>div{min-width:0}

.asset-dialog button{white-space:nowrap}.asset-search>button{flex-shrink:0}

.reference-import-actions{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:10px;align-items:stretch}.reference-import-actions .add-reference{height:72px;margin:0;min-width:0}.asset-import-tile{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;min-width:0;height:72px;border:1px solid #64517e;border-radius:8px;background:#211a2e;color:#d5bdf5;font-size:12px;cursor:pointer}.asset-import-tile:hover:not(:disabled){background:#30213f;border-color:#b69bd9}.asset-import-tile:disabled{opacity:.45;cursor:not-allowed}.asset-import-tile:focus-visible{outline:2px solid #8ce5ed;outline-offset:3px}@media(max-width:650px){.reference-import-actions{grid-template-columns:minmax(0,1fr) 88px;gap:8px}.reference-import-actions .add-reference{font-size:11px}.asset-import-tile{font-size:11px}}

.media-history{width:min(880px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;background:#14131c;border:1px solid #393344;border-radius:18px;padding:26px;color:#e8e3ee;box-shadow:0 20px 100px #0008}
.media-history .history-modal-header,.media-history .history-modal-header>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.media-history h2{font-size:22px;margin:0}.media-history button{cursor:pointer;color:#cbb6ef;background:transparent;border:1px solid #514264;border-radius:8px;padding:9px 13px;font:inherit}.media-history button:disabled{opacity:.5;cursor:wait}.media-history button:focus-visible,.media-history a:focus-visible{outline:2px solid #a8dae9;outline-offset:3px}.media-history .history-modal-header button{display:grid;place-items:center;border:0;padding:7px}.history-note{color:#9691a5;font-size:12px;line-height:1.9;margin:16px 0}.history-list-actions{display:flex;align-items:center;justify-content:space-between;margin:22px 0 14px;font-size:13px}.history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.media-history .history-card{display:flex;flex-direction:column;gap:9px;text-align:left;padding:10px;background:#1a1724;border-color:#332d40;min-width:0}.history-card strong{font-size:13px;overflow-wrap:anywhere;line-height:1.5}.history-card small{font-size:11px;color:#9390a1;line-height:1.6}.history-thumb{position:relative;display:grid;place-items:center;aspect-ratio:16/10;width:100%;border-radius:7px;overflow:hidden;background:#09090e;color:#75638c}.history-thumb img{height:100%;width:100%;object-fit:contain}.history-thumb span{position:absolute;bottom:7px;left:7px;background:#090912d9;color:#e6d9f4;font-size:10px;border-radius:5px;padding:3px 6px}.media-history h4{font-size:14px;margin:24px 0 12px}.history-detail-title h3{font-size:16px;overflow-wrap:anywhere;margin-bottom:8px}.history-detail-title small{font-size:12px;color:#aaa3b9}.history-expiry{display:flex;align-items:center;gap:6px;font-size:12px;color:#bba7d4;margin:18px 0}.history-video{background:#09090d;border-radius:10px;padding:12px}.history-video video{width:100%;max-height:380px;display:block}.media-history a{color:#c5a7eb;text-decoration:none;font-size:12px}.history-video a{display:inline-flex;align-items:center;gap:7px;margin-top:12px}.history-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.history-images figure{margin:0;min-width:0;background:#1c1825;border-radius:10px;padding:8px}.history-images img{width:100%;height:150px;object-fit:contain;border-radius:6px;background:#09090d}.history-images figcaption{font-size:11px;color:#aaa0ba;margin-top:8px;overflow-wrap:anywhere}.history-images figcaption a{display:block;margin-top:6px}.media-history textarea{width:100%;height:280px;resize:vertical;background:#0d0d14;border:1px solid #363040;border-radius:9px;padding:14px;color:#dad0e7;line-height:1.8;font-size:13px;box-sizing:border-box}.media-history .history-use{margin-top:14px;background:#b9a1e6;color:#181221;font-weight:600}.media-history .history-delete{color:#aaa1b4;border:0;padding:10px 0;margin-top:10px;font-size:12px}.history-delete-confirm{background:#291b26;border:1px solid #684554;padding:14px;margin-top:14px;border-radius:8px;font-size:12px;line-height:1.7}.history-delete-confirm button{margin-right:10px}.history-more{display:block;margin:18px auto}.media-history .history-legacy{display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin:8px 0;border-color:#312c3b;font-size:13px}.history-legacy span{min-width:0;overflow-wrap:anywhere}.history-legacy small{display:block;color:#878091;font-size:11px;margin-top:6px}
@media(max-width:600px){.media-history{padding:18px;border-radius:12px}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.history-images{grid-template-columns:repeat(2,minmax(0,1fr))}.history-images img{height:130px}.history-expiry{font-size:11px}.media-history h2{font-size:20px}}

.material-prep{max-width:1180px;margin:0 auto;padding:72px 24px 28px;scroll-margin-top:90px;color:#eeeaf8}.mp-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.mp-eyebrow{font-size:11px;letter-spacing:3px;color:#8be7ee}.mp-heading h2{font-size:28px;margin:10px 0}.mp-heading p{color:#a29bb3;font-size:14px;line-height:1.8;margin:0}.mp-heading>a{color:#c2afe8;white-space:nowrap;font-size:13px}.mp-panel{padding:28px;border:1px solid #353040;border-radius:20px;background:#111119}.mp-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.mp-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;font-size:13px}.mp-label>span{font-size:11px;color:#91899f}.mp-upload,.mp-result{height:360px;max-width:100%;width:100%;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#16141e;border:1px dashed #4b3e60}.mp-upload{flex-direction:column;position:relative;gap:16px;color:#d9cdf0;cursor:pointer}.mp-upload small,.mp-result p{color:#9990ab;font-size:12px;line-height:1.8;max-width:280px;margin:10px auto}.mp-upload-icon{font-size:36px;color:#a993d4;display:block;margin-bottom:10px}.mp-upload img,.mp-result img{height:100%;width:100%;object-fit:contain}.mp-upload.has-image>span{position:absolute;bottom:12px;background:#16131ee8;border:1px solid #514362;border-radius:8px;padding:6px 16px;font-size:12px}.mp-result{border-style:solid;border-color:#302b3a;text-align:center}.mp-result.checker{background-color:#d3d3d3;background-image:linear-gradient(45deg,#eee 25%,transparent 25%),linear-gradient(-45deg,#eee 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eee 75%),linear-gradient(-45deg,transparent 75%,#eee 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.mp-help{font-size:12px;color:#9a91aa;line-height:1.8;margin:12px 0}.mp-result-actions{display:flex;gap:10px;margin-top:14px}.mp-result-actions>a,.mp-result-actions>button{padding:10px 14px;border:1px solid #6b5388;border-radius:9px;font-size:13px;color:#deccfc;background:#211b2d;text-align:center;flex:1}.mp-footer{border-top:1px solid #302b3a;margin-top:24px;padding-top:24px;display:flex;align-items:center;gap:32px}.mp-price{flex:1}.mp-price strong{font-size:13px}.mp-price p{font-size:12px;line-height:1.8;color:#a39ab0;margin:6px 0}.mp-price details{font-size:12px;color:#bcabd5}.mp-price summary{cursor:pointer}.mp-start{padding:15px 22px;border:0;border-radius:10px;background:#bca6e5;color:#1b1426;font-weight:650;font-size:14px;min-width:230px;cursor:pointer}.material-prep button:disabled{opacity:.5;cursor:not-allowed}.mp-error,.mp-notice{padding:12px 16px;border-radius:8px;font-size:13px;line-height:1.8;margin-top:18px}.mp-error{background:#301c25;color:#ffaebf}.mp-notice{background:#192b32;color:#a3e5ec}.mp-recent{border-top:1px solid #302b3a;margin-top:22px;padding-top:22px}.mp-label>button{font-size:12px;color:#bda7e4;background:none;border:0;cursor:pointer}.mp-recent-list{display:flex;gap:10px;overflow:auto;padding-bottom:6px}.mp-recent-list>button{display:flex;align-items:center;gap:10px;min-width:170px;max-width:220px;border:1px solid #383143;background:#191620;border-radius:9px;padding:8px;color:#d7cde6;text-align:left;font-size:12px}.mp-recent-list>button.selected{border-color:#b09ad8}.mp-recent-list img{width:36px;height:48px;object-fit:contain;background:#777}.mp-recent-list>button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mp-recent-list small{display:block;color:#9588a7;margin-top:6px}@media(max-width:650px){.material-prep{padding:40px 16px 20px}.mp-heading{align-items:flex-start;gap:12px}.mp-heading h2{font-size:24px}.mp-heading>a{font-size:11px;margin-top:12px}.mp-panel{padding:18px}.mp-grid{grid-template-columns:1fr;gap:24px}.mp-upload,.mp-result{height:300px}.mp-footer{flex-direction:column;align-items:stretch;gap:16px}.mp-start{width:100%}.mp-label>span{font-size:10px}.mp-result-actions{flex-wrap:wrap}.mp-heading p{font-size:12px}}

.material-prep{position:relative;z-index:1}

.mp-example-note{margin-top:18px;font-size:12px;color:#b5a8ca;line-height:1.8}.mp-example-note button{background:none;border:0;color:#cbb2ed;padding:0;cursor:pointer}

.mp-carousel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid #302b3a}.mp-carousel>div{display:flex;align-items:center;gap:12px}.mp-case-badge{color:#b4a0d4;font-size:11px;white-space:nowrap}.mp-carousel strong{font-size:14px}.mp-carousel-buttons button{min-width:32px;height:32px;border:1px solid #41364f;border-radius:8px;background:#1b1723;color:#c8b6e2;cursor:pointer}.mp-carousel-buttons button.active{background:#b9a3dc;color:#16101f;border-color:#b9a3dc}.mp-carousel-buttons button.mp-play{padding:0 10px;font-size:11px}.mp-carousel button:focus-visible{outline:2px solid #8ee9ef;outline-offset:3px}@media(max-width:650px){.mp-carousel{align-items:flex-start;flex-direction:column;gap:14px}.mp-carousel>div{gap:8px}.mp-carousel-buttons{width:100%}.mp-play{margin-left:auto}}

:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#24272c;background:#fff;font-synthesis:none;--line:#e9ebef;--muted:#8c929c;--accent:#346cf2;--soft:#f5f7fa;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #346cf2;outline-offset:3px}a{color:inherit;text-decoration:none}button{color:inherit;background:none;border:0}textarea{resize:vertical}svg{flex-shrink:0}.icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:7px;color:#727883}.icon:hover{background:#eef0f5;color:#24272c}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hy-app{display:grid;grid-template-columns:224px minmax(0,1fr);height:100dvh;overflow:hidden}.hy-app.with-inspector{grid-template-columns:224px minmax(0,1fr) 326px}.hy-sidebar{background:#f8f9fb;border-right:1px solid var(--line);padding:24px 14px 16px;display:flex;flex-direction:column;min-height:0}.hy-brand{display:flex;align-items:baseline;font-size:28px;font-weight:750;letter-spacing:-1.2px;padding:0 10px 24px;color:#202631}.hy-brand>span{font-size:26px}.hy-brand small{font-size:11px;font-weight:500;color:#9298a2;margin-left:9px;letter-spacing:0}.hy-new{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #dfe3ea;border-radius:9px;background:#fff;padding:11px;margin-bottom:21px;font-size:14px}.hy-sidebar nav{display:grid;gap:5px}.hy-sidebar nav a,.hy-sidebar nav button{display:flex;align-items:center;gap:12px;border-radius:8px;padding:11px 13px;font-size:14px;color:#616773;text-align:left}.hy-sidebar nav :is(a,button):hover{background:#edf0f6}.hy-sidebar nav .active{background:#eaf0ff;color:#2f62d9;font-weight:600}.hy-history-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#949aa4;margin:33px 11px 12px}.hy-history-list{flex:1;overflow:auto;min-height:80px}.hy-history-list button{display:flex;align-items:center;gap:9px;width:100%;padding:11px 12px;border-radius:7px;text-align:left;font-size:13px}.hy-history-list button:hover,.hy-history-list .selected{background:#eceef2}.hy-history-list button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.hy-history-list small{font-size:11px;color:#969da8;white-space:nowrap}.hy-history-list>p{font-size:12px;line-height:1.7;color:#a0a5ae;padding:2px 12px}.hy-account{border-top:1px solid var(--line);padding:16px 8px 0;font-size:13px}.hy-account>div:last-child{display:flex;justify-content:space-between;align-items:center;color:#8d929c;margin-top:14px;font-size:12px}.hy-account>div:last-child button{color:#4f6488}.hy-account .email-entry{position:relative;inset:auto;flex-wrap:wrap;gap:6px;font-size:12px;z-index:20}.hy-account .email-entry button{font-size:12px;background:#fff;color:#454b56;border:1px solid #e2e5eb;padding:7px 10px}.hy-account .account-menu{bottom:100%;top:auto}.hy-main{min-width:0;display:flex;flex-direction:column;height:100dvh;background:#fff}.hy-topbar{height:68px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;flex-shrink:0}.hy-topbar>div{display:flex;gap:14px;align-items:center;min-width:0}.hy-topbar strong{font-size:14px;font-weight:600;white-space:nowrap}.hy-topbar span{font-size:12px;color:#979da6;max-width:300px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.hy-mobile-menu{display:none}.hy-conversation{flex:1;overflow:auto;scrollbar-width:thin;scrollbar-color:#e1e5eb transparent;padding:34px max(30px,calc((100% - 820px)/2)) 25px}.hy-welcome{max-width:650px;margin:clamp(25px,8vh,110px) auto 30px}.hy-symbol{color:#4873d0;background:#f0f4ff;display:grid;place-items:center;width:54px;height:54px;border-radius:16px;margin-bottom:24px}.hy-kicker{font-size:13px;color:#888f9a;letter-spacing:1px}.hy-welcome h1{font-size:clamp(26px,2.5vw,36px);line-height:1.55;letter-spacing:-.7px;font-weight:600;margin:14px 0 17px}.hy-welcome>p:not(.hy-kicker){font-size:14px;color:#8c929b;line-height:1.9}.hy-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}.hy-suggestions button{font-size:12px;padding:9px 12px;border:1px solid #e8ebef;border-radius:8px;color:#6e7685}.hy-suggestions button:hover{border-color:#9fb8f0;background:#f7f9ff}.hy-composer{position:relative;flex-shrink:0;margin:12px 30px 0;padding:16px;border:1px solid #e4e7ec;border-radius:19px;box-shadow:0 5px 24px #23385a06;background:#fff}.hy-composer>textarea{display:block;width:100%;height:68px;min-height:46px;max-height:150px;border:0;background:transparent;outline:0;color:#343b49;font-size:14px;line-height:1.65;resize:none;padding:3px 3px 10px}.hy-composer>textarea::placeholder{color:#a5abb6}.hy-composer-tools{display:flex;align-items:center;gap:10px}.hy-composer-tools>button{display:flex;align-items:center;gap:6px;font-size:12px;color:#7b8492;padding:7px 3px}.hy-composer-end{display:flex;align-items:center;gap:12px;margin-left:auto;min-width:0}.hy-model-select{display:flex;align-items:center;position:relative}.hy-model-select select{appearance:none;border:0;background:#f7f8fa;border-radius:7px;font-size:12px;padding:9px 28px 9px 10px;color:#5b6474;max-width:190px}.hy-model-select>svg{position:absolute;right:9px;pointer-events:none;color:#929aaa}.hy-submit{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;border-radius:9px;background:#346cf2;color:#fff;font-size:13px;font-weight:500;white-space:nowrap}.hy-submit:hover:not(:disabled){background:#225adc}.hy-submit:disabled{background:#e1e8fa;color:#7b94d1;opacity:1}.hy-bottom-note{text-align:center;font-size:11px;color:#a3a8b1;line-height:1.5;margin:10px 20px 13px}.hy-bottom-note button{color:#bf5c47}.hy-file-chip{display:flex;align-items:center;gap:10px;background:#f7f8fb;border:1px solid #edf0f4;padding:9px 11px;border-radius:9px;max-width:370px;margin-bottom:13px;color:#687c9c}.hy-file-chip>span{font-size:12px;color:#495264;min-width:0;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.hy-file-chip small{display:block;font-size:11px;color:#949ba7;margin-top:3px}.hy-ref-count{font-size:12px;color:#346cf2;margin:0 0 10px}.hy-inspector{border-left:1px solid var(--line);background:#fdfdfe;display:flex;flex-direction:column;min-width:0;height:100dvh}.hy-inspector>header{display:flex;align-items:center;justify-content:space-between;padding:0 20px;height:68px;flex-shrink:0;border-bottom:1px solid var(--line);font-size:14px}.hy-inspector-tabs{display:flex;gap:23px;padding:0 22px;border-bottom:1px solid var(--line)}.hy-inspector-tabs button{font-size:12px;padding:15px 0 12px;color:#9298a2;border-bottom:2px solid transparent}.hy-inspector-tabs button[aria-selected=true]{color:#346cf2;border-bottom-color:#346cf2}.hy-inspector-content{padding:20px 22px;overflow:auto;scrollbar-width:thin}.hy-video{display:block;width:100%;max-height:250px;border-radius:10px;background:#10151d;object-fit:contain}.hy-source-meta{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#a1a7b0;margin:12px 0 29px}.hy-inspector h3{font-size:13px;margin:25px 0 15px;font-weight:600;color:#505967}.hy-inspector h3 small{font-size:11px;color:#929aa8;font-weight:400}.hy-stage-placeholder{padding:21px 17px;border:1px dashed #e0e5ef;border-radius:10px;color:#9da7b8;text-align:center}.hy-stage-placeholder p{font-size:12px;margin:10px 0}.hy-stage-placeholder small{font-size:11px;line-height:1.6}.hy-stage-list{padding:0;margin:0;list-style:none}.hy-stage-list li{display:flex;gap:12px;position:relative;padding-bottom:23px}.hy-stage-list li:not(:last-child):before{content:'';position:absolute;left:10px;top:25px;bottom:4px;width:1px;background:#e4e9f3}.hy-stage-list li>span{width:22px;height:22px;border-radius:50%;background:#edf2ff;color:#7292cc;display:grid;place-content:center;flex-shrink:0}.hy-stage-list li.done>span{background:#edf6f1;color:#5a9c78}.hy-stage-list li.failed>span{background:#fff0eb;color:#c46d50}.hy-stage-list strong{display:block;font-size:12px;font-weight:500;margin:2px 0 5px}.hy-stage-list small{font-size:11px;color:#959daa}.hy-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hy-stat-grid>div{background:#f6f8fb;border:1px solid #eef1f6;border-radius:9px;padding:15px 12px}.hy-stat-grid b{display:block;font-weight:550;font-size:23px;color:#4b5669;font-variant-numeric:tabular-nums}.hy-stat-grid span{display:block;font-size:11px;color:#9ba3b0;margin-top:7px}.hy-muted{font-size:12px;line-height:1.8;color:#959ca7}.hy-audio{display:flex;gap:9px;align-items:flex-start;background:#f6f8fb;padding:13px 11px;border-radius:8px;color:#909bac;font-size:12px;line-height:1.7}.hy-upload{margin-bottom:22px}.hy-upload>div{display:flex;justify-content:space-between;font-size:12px;color:#6a7486}.hy-upload progress{width:100%;height:5px;display:block;margin:10px 0;accent-color:#346cf2;border:0;border-radius:5px;overflow:hidden}.hy-upload progress::-webkit-progress-bar{background:#e9eef9}.hy-upload progress::-webkit-progress-value{background:#346cf2}.hy-upload small{font-size:11px;color:#8d99ac;font-variant-numeric:tabular-nums}.hy-sample-times{display:flex;gap:5px;flex-wrap:wrap}.hy-sample-times button{font-size:11px;color:#61779e;background:#edf2fc;padding:5px 7px;border-radius:5px;font-variant-numeric:tabular-nums}.hy-segment{border-bottom:1px solid var(--line);padding:12px 0;font-size:12px;line-height:1.8}.hy-segment summary{cursor:pointer;color:#525e72}.hy-segment summary span{display:block;color:#346cf2;font-size:11px;font-variant-numeric:tabular-nums}.hy-segment p{color:#7c8592}.hy-segment p strong{display:block;color:#4e5b70;font-weight:500}.hy-segment small{color:#929cab;font-size:11px}.hy-warning{background:#fff8e9;color:#9b7839;padding:10px 12px;border-radius:8px;font-size:12px;line-height:1.7}.hy-skill{display:flex;gap:8px;align-items:center;font-size:12px;line-height:1.7;color:#77849b}.hy-settings{position:absolute;bottom:calc(100% + 12px);left:0;right:0;max-height:65dvh;overflow:auto;border:1px solid #e2e6ee;box-shadow:0 8px 40px #21365713;border-radius:16px;background:#fff;padding:20px;z-index:30}.hy-settings-head{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:17px}.hy-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.hy-fields label{display:grid;gap:8px;font-size:12px;color:#767f8f}.hy-fields select{padding:10px;border:1px solid #e1e5ed;border-radius:7px;background:#f9fafc;color:#536077}.hy-settings .references{border:0;margin:0 0 20px;padding:0}.reference-heading{display:flex;justify-content:space-between;font-size:12px;color:#818b9b}.reference-heading strong{font-weight:500;color:#5d6879}.reference-heading p,.reference-help{font-size:11px;line-height:1.7;color:#929ca9}.reference-heading strong span{font-size:11px;color:#a1a8b2}.reference-card{display:flex;gap:12px;padding:12px;border:1px solid #e3e7ee;border-radius:9px;margin:10px 0}.reference-card>img{width:60px;height:80px;object-fit:contain;background:#f5f6f9;border-radius:6px}.reference-fields{flex:1;min-width:0}.reference-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#8c95a4}.reference-top>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference-selects{display:flex;gap:10px;margin:6px 0;font-size:11px;color:#8792a3}.reference-selects label{display:grid;gap:4px;flex:1;min-width:0}.reference-selects select,.reference-note{width:100%;border:1px solid #e2e6ed;border-radius:6px;background:#fafbfe;color:#53627a;padding:7px;font-size:12px}.generation-check{display:flex;align-items:center;gap:4px;font-size:11px;color:#7d8ba0;margin-bottom:7px}.reference-import-actions{display:flex;gap:8px}.reference-import-actions button{display:flex;gap:6px;align-items:center;justify-content:center;padding:12px;border:1px dashed #ccd6e6;border-radius:8px;font-size:12px;color:#7285a4;flex:1}.hy-run{font-size:14px;line-height:1.8}.hy-user-request{margin-left:auto;max-width:90%;padding:16px 20px;background:#f6f8fb;border:1px solid #edf0f5;border-radius:14px;margin-bottom:28px;overflow-wrap:anywhere}.hy-user-request>strong{font-size:12px;color:#8a96aa;font-weight:500}.hy-user-request>p{margin:8px 0;font-size:14px}.hy-assistant-label{display:flex;align-items:center;gap:10px;font-size:13px;margin-bottom:19px}.hy-assistant-label>span:last-child{color:#9aa4b3;font-size:11px;margin-left:auto}.hy-monogram{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#edf2ff;color:#4873cd;font-weight:700;font-size:20px}.hy-inline-process{border:1px solid #e7ebf2;border-radius:9px;padding:10px 13px;margin:0 0 22px;color:#7e8da4;font-size:12px}.hy-inline-process summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none}.hy-inline-process summary>span{margin-left:auto;font-size:11px}.hy-inline-process p{font-size:12px}.hy-mini-metrics{display:flex;gap:17px;flex-wrap:wrap;font-size:11px}.hy-mini-metrics b{font-weight:500;color:#576b8e}.hy-reference-mini{display:flex;gap:9px}.hy-reference-mini figure{margin:0}.hy-reference-mini img{width:54px;height:60px;object-fit:contain;border:1px solid #e0e6ef;border-radius:7px;background:#fff}.hy-reference-mini figcaption{font-size:10px;color:#8b99ac}.hy-error{background:#fff5f3;border:1px solid #f0d7ce;padding:15px;border-radius:9px;color:#a4614a;font-size:13px;margin:15px 0}.hy-error button{border:1px solid #d8a490;padding:7px 12px;border-radius:6px}.hy-result-editor{width:100%;min-height:50dvh;border:1px solid #dce4f3;border-radius:8px;font-size:14px;line-height:1.9;padding:16px;background:#fcfdff;color:#3f4d63}.hy-result-actions{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:16px;margin-top:25px;font-size:12px;color:#939ead}.hy-result-actions button{display:flex;align-items:center;gap:4px}.hy-result-actions>span{margin-left:auto;font-size:11px}.markdown-reply{font-size:14px;line-height:1.95;overflow-wrap:anywhere;color:#424d60}.markdown-reply h1,.markdown-reply h2{font-size:20px;color:#26364c;margin:25px 0 14px}.markdown-reply h3{font-size:16px;color:#33455f;margin-top:24px}.markdown-reply p{margin:10px 0}.markdown-reply blockquote{margin:15px 0;border-left:3px solid #ccd8ee;padding:10px 16px;background:#f7f9fc;color:#7d8aa0}.markdown-reply .reply-table{overflow:auto}.markdown-reply table{border-collapse:collapse;width:100%;font-size:12px}.markdown-reply th,.markdown-reply td{border-bottom:1px solid #e4e9f0;padding:10px;text-align:left;min-width:75px}.codeblock{background:#f6f8fc;border:1px solid #e7ecf4;border-radius:9px;margin:15px 0;overflow:hidden}.codeblock>div{display:flex;justify-content:space-between;border-bottom:1px solid #e5eaf3;padding:8px 14px;color:#8794a9;font-size:11px}.codeblock button{display:flex;gap:4px;align-items:center}.codeblock pre{overflow:auto;padding:12px 16px;font-size:12px;line-height:1.8;margin:0}.hy-modal-scrim{position:fixed;inset:0;z-index:100;background:#23324766;display:grid;place-items:center;padding:20px}.hy-material-modal{position:relative;width:min(1000px,100%);max-height:90dvh;overflow:auto;background:#fff;border-radius:16px;padding:24px}.hy-material-modal>.icon{position:absolute;right:10px;top:10px;z-index:2}.hy-nav-scrim{display:none}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spin{animation:none}}@media(min-width:1650px){.hy-app.with-inspector{grid-template-columns:240px minmax(0,1fr) 360px}.hy-composer{margin-left:max(30px,calc((100% - 820px)/2));margin-right:max(30px,calc((100% - 820px)/2))}}@media(max-width:1150px){.hy-app,.hy-app.with-inspector{grid-template-columns:195px minmax(0,1fr)}.hy-inspector{position:fixed;right:0;top:0;width:326px;z-index:60;box-shadow:-15px 0 55px #26395b18}.hy-topbar{padding:0 22px}.hy-topbar span{max-width:190px}.hy-conversation{padding-left:25px;padding-right:25px}.hy-welcome{margin-top:50px}.hy-composer{margin:10px 22px 0}}@media(max-width:700px){.hy-app,.hy-app.with-inspector{display:block}.hy-sidebar{position:fixed;left:0;top:0;bottom:0;width:240px;z-index:90;transform:translateX(-100%)}.hy-sidebar.open{transform:none}.hy-nav-scrim{display:block;position:fixed;inset:0;background:#1b2a4933;z-index:80}.hy-mobile-menu{display:flex}.hy-topbar{height:58px;padding:0 12px;gap:9px}.hy-topbar>div{flex:1}.hy-topbar span{display:none}.hy-topbar strong{font-size:13px}.hy-conversation{padding:20px}.hy-welcome{margin:8vh 0 24px}.hy-welcome h1{font-size:29px}.hy-welcome>p:not(.hy-kicker){font-size:13px}.hy-suggestions{gap:7px;margin-top:24px}.hy-suggestions button{font-size:11px;padding:8px 9px}.hy-composer{margin:8px 12px 0;padding:13px;border-radius:16px}.hy-composer>textarea{font-size:14px;height:68px}.hy-composer-tools{gap:8px;flex-wrap:wrap}.hy-composer-tools>button{font-size:11px}.hy-composer-end{gap:7px}.hy-model-select select{max-width:145px;font-size:11px}.hy-submit{padding:9px;font-size:11px}.hy-submit>svg{display:none}.hy-bottom-note{font-size:10px;margin-bottom:max(9px,env(safe-area-inset-bottom))}.hy-inspector{width:min(360px,100%)}.hy-settings{padding:15px;max-height:58dvh}.hy-user-request{max-width:100%;padding:14px}.hy-result-actions{gap:8px}.hy-result-actions>span{font-size:10px}.hy-stat-grid b{font-size:23px}}@media(max-width:390px){.hy-composer-end{width:100%;justify-content:space-between}.hy-composer-tools>button{padding-top:0}.hy-model-select select{max-width:200px}}

.hy-live-output{border:1px solid #dce5f4;border-radius:12px;padding:16px;margin:16px 0;background:#fafcff;overflow-wrap:anywhere}.hy-live-output header{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#4672c9}.hy-live-output header small{margin-left:auto;color:#8b97a9}.hy-live-output article{border-top:1px solid #e5ebf3;padding:12px 0}.hy-live-output article p{margin:6px 0;font-size:13px;line-height:1.7}.hy-live-output summary{cursor:pointer;color:#4365a2}.hy-live-text{white-space:pre-wrap;font-size:14px;line-height:1.9;max-height:540px;overflow:auto}
.hy-execution-trace{margin:0 0 26px;min-width:0}.hy-trace-toggle{display:flex;align-items:center;gap:8px;color:#8792a3;font-size:12px;padding:5px 0 14px}.hy-trace-toggle[aria-expanded=false]>svg:last-child{transform:rotate(-90deg)}.hy-trace-items{display:flex;flex-direction:column;gap:19px}.hy-trace-entry{min-width:0}.hy-trace-observation{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;color:#394557;font-size:14px}.hy-trace-step{display:flex;align-items:center;gap:8px;color:#8b94a3;font-size:12px}.hy-trace-step>svg{flex-shrink:0}.hy-trace-step>svg:last-child:not(:first-child){color:#74a88c}.hy-trace-detail{white-space:pre-wrap;color:#8390a2;font-size:12px;margin:5px 0 0 22px;overflow-wrap:anywhere}.hy-trace-entry.failed .hy-trace-step{color:#ad645b}.hy-trace-entry.notice .hy-trace-observation{color:#617086;font-size:13px}.hy-trace-gallery{margin:8px 0 0 22px;padding-left:12px;border-left:1px solid #e6eaf0}.hy-trace-gallery summary{cursor:pointer;list-style:none;display:flex;gap:7px;align-items:center;font-size:11px;color:#8d97a7;margin:4px 0 9px}.hy-trace-gallery summary::-webkit-details-marker{display:none}.hy-trace-gallery>div{display:flex;gap:8px;overflow:auto;max-width:100%;padding:0 0 5px}.hy-trace-gallery button{position:relative;flex:0 0 auto;max-width:110px;padding:0;text-align:center}.hy-trace-gallery button:focus-visible{outline:2px solid #447bed;outline-offset:2px}.hy-trace-gallery img{display:block;height:92px;max-width:110px;min-width:48px;object-fit:contain;border:1px solid #e5e8ed;border-radius:8px;background:#f3f5f7}.hy-trace-gallery button>span{display:block;max-width:110px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#8a96a7;font-size:10px;padding:4px 0}.hy-trace-caret{display:inline-block;background:#8fabe3;width:5px;height:13px;margin:4px 0}.hy-evidence-dialog{max-width:min(94vw,1300px);max-height:94dvh;padding:0;border:1px solid #dbe1eb;border-radius:13px;background:white;color:#3c4b60;box-shadow:0 15px 80px #101b4055}.hy-evidence-dialog::backdrop{background:#142034aa}.hy-evidence-dialog>div{display:flex;flex-direction:column;max-height:92dvh}.hy-evidence-dialog header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;gap:25px;flex-shrink:0;font-size:13px}.hy-evidence-dialog img{object-fit:contain;max-height:calc(92dvh - 50px);max-width:92vw;width:auto;height:auto;display:block}.hy-evidence-dialog p{padding:25px}.hy-evidence-dialog .icon{min-width:32px;min-height:32px}@media(max-width:700px){.hy-trace-observation{font-size:13px}.hy-trace-gallery{margin-left:6px}.hy-trace-gallery img{height:80px}.hy-trace-items{gap:16px}}

.hy-chat-turn{padding:24px 0;border-top:1px solid var(--line)}.hy-chat-turn.user{border:0;padding:25px 0 0}.hy-chat-turn .hy-user-request p{white-space:pre-wrap}.hy-chat-turn .hy-user-request a{display:block;color:var(--accent);font-size:12px}.hy-stop{font-size:12px;color:#a45f4d;padding:8px}.hy-chat-turns:empty{display:none}
.hy-conversation-wrap{position:relative;display:flex;flex-direction:column;flex:1;min-height:0}.hy-conversation-wrap>.hy-conversation{min-height:0;overscroll-behavior:contain}.hy-jump-latest{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:38px;height:38px;border:1px solid #dce2ec;border-radius:50%;background:#fff;color:#485b78;box-shadow:0 3px 14px #293d5920;z-index:5}.hy-jump-latest:hover{background:#eef3ff;border-color:#b4c6ef;color:#346cf2}.hy-jump-latest:focus-visible{outline:2px solid #346cf2;outline-offset:3px}
.hy-sidebar-spacer{flex:1}.hy-history-rail{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:65;width:38px;padding:12px 7px;display:flex;flex-direction:column;align-items:center;gap:10px;border:1px solid #e4d7b5;border-left:3px solid #e8b43d;border-radius:0 14px 14px 0;background:#fffcf3;color:#8b6b24;box-shadow:2px 3px 12px #57462212}.hy-history-rail>span{writing-mode:vertical-rl;letter-spacing:3px;font-size:12px;font-weight:600}.hy-history-rail>small{min-width:18px;border:1px solid #ead8a2;border-radius:12px;font-size:10px;padding:1px 4px;font-variant-numeric:tabular-nums}.hy-history-rail:hover{background:#fff4d5}.hy-history-rail:focus-visible{outline:2px solid #346cf2;outline-offset:2px}
.hy-history-dialog{position:fixed;inset:0 auto 0 0;margin:0;padding:24px 20px;width:380px;max-width:92vw;height:100dvh;max-height:100dvh;box-sizing:border-box;border:0;border-right:1px solid #e4e9f1;border-radius:0 16px 16px 0;background:#fff;color:#35435b;box-shadow:10px 0 40px #13234420;overflow:auto}.hy-history-dialog::backdrop{background:#17263c30}.hy-history-dialog>header{display:flex;align-items:center;justify-content:space-between}.hy-history-dialog h2{font-size:18px;margin:0 0 16px}.hy-history-dialog .icon{display:grid;place-items:center;width:34px;min-width:34px;height:34px;border-radius:7px;color:#8490a4}.hy-history-dialog .icon:hover{background:#f0f3f8;color:#3f5a85}.hy-history-dialog button:disabled{opacity:.5;cursor:default}.hy-history-dialog button{font:inherit;cursor:pointer}.hy-history-dialog>header button{margin-top:-14px}.hy-history-tabs{display:flex;gap:8px;margin:8px 0 14px}.hy-history-tabs button{display:flex;align-items:center;gap:6px;padding:9px 14px;background:#f5f7fb;border:0;border-radius:8px;font-size:12px;color:#748198}.hy-history-tabs button[aria-pressed=true]{background:#eaf0ff;color:#3d68c3}.hy-history-manager-list{display:flex;flex-direction:column;gap:8px;margin-top:18px}.hy-history-manager-row{display:flex;gap:4px;align-items:center;border:1px solid #e9edf4;background:#fafbfe;border-radius:10px;padding:6px}.hy-history-manager-row>button:first-child{display:flex;align-items:center;gap:10px;flex:1;min-width:0;text-align:left;padding:9px;border:0;background:transparent;color:#4f6384}.hy-history-manager-row>button:first-child>svg{flex-shrink:0}.hy-history-manager-row span{display:block;min-width:0}.hy-history-manager-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}.hy-history-manager-row small{display:block;font-size:10px;color:#99a3b2;margin-top:6px;line-height:1.5}.hy-history-manager-row>.icon{border:0;background:transparent}.hy-history-more{display:block;width:100%;border:1px solid #e0e7f3;border-radius:8px;padding:10px;color:#6680ad;background:#fff;margin-top:15px}.hy-history-toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:150;display:flex;align-items:center;gap:14px;padding:12px 16px;background:#28364b;color:white;border-radius:10px;box-shadow:0 4px 20px #20304825;font-size:12px;white-space:nowrap}.hy-history-toast>button{color:#b9d1ff}.hy-history-toast .icon{display:grid;place-items:center}
@media(max-width:700px){.hy-jump-latest{width:38px;height:38px;bottom:8px}.hy-history-rail{width:29px;padding:10px 4px;gap:7px}.hy-history-rail>span{font-size:11px}.hy-history-rail>svg{width:15px}.hy-history-toast{bottom:15px;max-width:94vw;gap:10px}}
.hy-request-actions{display:flex;gap:14px;margin-top:14px;font-size:11px;color:#929eaf}.hy-request-actions button{display:flex;align-items:center;gap:5px}.hy-ai-disclaimer{font-size:11px;color:#9ca5b1;line-height:1.6;margin:22px 0 0}.hy-ai-disclaimer+.hy-result-actions{margin-top:8px;padding-top:12px}.hy-quote-preview{border-left:3px solid #a7bce8;background:#f5f8fe;border-radius:7px;margin-bottom:12px;padding:9px 12px;color:#7b8aa2}.hy-quote-preview>div{display:flex;align-items:center;gap:6px;font-size:11px}.hy-quote-preview strong{font-weight:500}.hy-quote-preview .icon{margin-left:auto}.hy-quote-preview>p{max-height:74px;overflow:auto;white-space:pre-wrap;font-size:12px;line-height:1.6;margin:7px 0 0}.hy-quote-preview>small{display:flex;align-items:center;gap:6px;font-size:11px;margin-top:8px;overflow-wrap:anywhere}.hy-quote-preview>a{display:inline-flex;align-items:center;gap:6px;font-size:11px;margin:7px 10px 0 0;max-width:100%;color:#617da9}.hy-quote-preview>a>img{width:38px;height:38px;object-fit:contain;border-radius:5px}.hy-composer-thumbs{display:flex;gap:6px;margin:0 0 7px}.hy-composer-thumbs img{width:42px;height:44px;object-fit:contain;border:1px solid #e4e9f1;border-radius:6px;background:#f7f8fb}.hy-message-attachment{display:inline-flex!important;align-items:center;gap:8px;max-width:100%;margin:8px 10px 0 0}.hy-message-attachment img{width:58px;height:64px;object-fit:contain;border-radius:7px;border:1px solid #e0e6ef}.hy-message-attachment span{overflow-wrap:anywhere}

.hy-prompt-text{border:1px solid #e0e5ed;border-radius:12px;overflow:hidden;background:#f7f8fa;margin:18px 0;color:#344156}.hy-prompt-text>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 16px;background:#f0f2f5;border-bottom:1px solid #e2e6ed;font-size:11px;color:#7f8998;user-select:none}.hy-prompt-text>header>span{font-weight:600;letter-spacing:.7px}.hy-prompt-text>header>button{display:flex;align-items:center;gap:6px;color:#657a9c;padding:4px}.hy-prompt-text>pre{margin:0;padding:19px 20px;font:13px/1.9 ui-monospace,SFMono-Regular,Consolas,"Microsoft YaHei",monospace;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2;max-width:100%}.hy-prompt-text>p{padding:0 18px;color:#a45f4d;font-size:12px}.hy-ai-disclaimer{user-select:none}@media(max-width:700px){.hy-prompt-text>pre{padding:15px 13px;font-size:12px}.hy-prompt-text>header{padding:8px 12px}}

.hy-skill-switch[aria-checked="true"]{background:#eaf0ff;color:#315be8;box-shadow:inset 0 0 0 1px #aac0ff}.hy-skill-receipt{font-size:11px;color:#70809a;margin:8px 0}.hy-composer-tools{flex-wrap:wrap}

.luna-entitlement{display:flex;flex-direction:column;gap:5px;margin:0 0 12px;padding:12px 14px;background:#f0f6ff;border:1px solid #d9e7ff;border-radius:12px;color:#35527b;font-size:12px;line-height:1.6}.luna-entitlement strong{font-size:13px;color:#275cb5}.luna-entitlement small{font-size:11px}.luna-entitlement summary{cursor:pointer;color:#5776a4}.luna-entitlement p{margin:6px 0 0;max-width:850px}
