/* Heli Terminimport - Erweiterung 1.2.5 */
.hte-crop-tools{display:flex;align-items:center;gap:10px;margin-top:9px;padding:9px 10px;border:1px solid #e3dbd3;border-radius:13px;background:#fbf8f5}.hte-crop-tools[hidden]{display:none}.hte-crop-tools span{color:#83786f;font-size:9px;line-height:1.4}.hte-crop-open{min-height:34px!important;white-space:nowrap}
.hte-crop-modal{position:fixed;z-index:999999;inset:0;display:grid;place-items:center;padding:18px;background:rgba(31,25,20,.72);backdrop-filter:blur(5px)}.hte-crop-dialog{width:min(1080px,96vw);max-height:94vh;overflow:auto;padding:14px;border-radius:18px;background:#fff;box-shadow:0 28px 90px rgba(0,0,0,.28)}.hte-crop-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.hte-crop-head strong,.hte-crop-head small{display:block}.hte-crop-head strong{font-size:15px}.hte-crop-head small{margin-top:3px;color:#847a72;font-size:10px}.hte-crop-close{display:grid;place-items:center;width:32px;height:32px;border:1px solid #ddd3ca;border-radius:9px;background:#fff;color:#5f544b;font-size:16px;cursor:pointer}.hte-crop-stage{overflow:auto;max-height:67vh;padding:8px;border:1px solid #e4dbd2;border-radius:14px;background:#eee9e4;text-align:center}.hte-crop-canvas-wrap{position:relative;display:inline-block;max-width:100%;line-height:0;touch-action:none;cursor:crosshair;user-select:none}.hte-crop-canvas-wrap canvas{display:block;max-width:100%;height:auto;background:#fff}.hte-crop-selection{position:absolute;border:2px solid #d36d17;background:rgba(255,153,51,.12);box-shadow:0 0 0 9999px rgba(0,0,0,.28);pointer-events:none}.hte-crop-hint{margin:9px 2px 0;color:#7a6f66;font-size:9px}.hte-crop-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:11px}.hte-crop-page-nav{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 9px}.hte-crop-page-nav[hidden]{display:none}.hte-crop-page-nav button{width:30px;height:30px;border:1px solid #ded4cb;border-radius:8px;background:#fff;cursor:pointer}.hte-crop-page-nav span{font-size:10px;font-weight:750;color:#65584e}
.hte-calendar-refresh{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;margin-left:4px;padding:0;border:1px solid #ead7c7;border-radius:999px;background:#fff8f1;color:#a85b1c;font:800 15px/1 Arial,sans-serif;cursor:pointer}.hte-calendar-refresh:hover{background:#fff}.hte-calendar-refresh.is-loading{animation:hte-spin .8s linear infinite}@keyframes hte-spin{to{transform:rotate(360deg)}}.hte-calendar-rescue-body{padding:5px 11px 10px;border-top:1px solid rgba(213,185,160,.35);background:#fff}.hte-calendar-rescue-body[hidden]{display:none}.hte-calendar-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;padding:7px 0;border-bottom:1px solid #f0e7df}.hte-calendar-row:last-child{border-bottom:0}.hte-calendar-time{color:#9d5a22;font-size:10px;font-weight:800}.hte-calendar-copy{min-width:0}.hte-calendar-copy strong,.hte-calendar-copy a{display:block;overflow:hidden;color:#3c3129;font-size:10px;font-weight:800;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.hte-calendar-copy small{display:block;margin-top:2px;overflow:hidden;color:#887b70;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.hte-calendar-empty,.hte-calendar-error{padding:8px 0;color:#82756b;font-size:9px}.hte-calendar-error{color:#9b3e31}
@media(max-width:620px){.hte-crop-tools{align-items:flex-start;flex-direction:column}.hte-crop-tools .hti-btn{width:100%}.hte-crop-modal{padding:8px}.hte-crop-dialog{width:100%;max-height:97vh;padding:10px;border-radius:14px}.hte-crop-stage{max-height:62vh}.hte-crop-actions{display:grid;grid-template-columns:1fr 1fr}.hte-crop-actions .hte-crop-use{grid-column:1/-1}.hte-crop-actions .hti-btn{width:100%}.hte-calendar-row{grid-template-columns:64px minmax(0,1fr)}}

/* When the direct Google fallback is healthy, use it as the single detail view
   so stale native cached rows are not shown in parallel. */
.hred-google-side .hred-google-box[data-kind="calendar"].hte-rescue-active > :not(.hred-google-box-head):not(.hte-calendar-rescue-body){display:none!important}
.hred-google-side .hred-google-box[data-kind="calendar"].hte-rescue-active > .hte-calendar-rescue-body:not([hidden]){display:block!important}

.hte-calendar-empty small{display:block;margin-top:4px;line-height:1.35}
