.hter-app{--hter-text:#fff;max-width:1180px;display:flex;flex-direction:column;gap:24px;margin:22px auto;font-family:Segoe UI,system-ui,-apple-system,sans-serif}.hter-app *{box-sizing:border-box}.hter-glass{background:linear-gradient(135deg,#667eea 0%,#764ba2 50%,#f093fb 100%);border-radius:30px;padding:24px;box-shadow:0 18px 45px rgba(0,0,0,.22);color:var(--hter-text);overflow:visible}.hter-brand{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding:0 8px}.hter-brand-name{font-size:1.02rem;font-weight:700;letter-spacing:2px}.hter-brand-dot{width:11px;height:11px;border-radius:50%;background:#4ade80;box-shadow:0 0 15px rgba(74,222,128,.8)}
.hter-display,.hter-currency-box,.hter-calc-notes{background:rgba(0,0,0,.32);border-radius:24px;box-shadow:inset 0 3px 14px rgba(0,0,0,.38),0 0 0 1px rgba(255,255,255,.12)}.hter-display{padding:20px 24px;display:flex;flex-direction:column;justify-content:space-between;min-height:122px;margin-bottom:16px}.hter-history{font-size:.95rem;color:rgba(255,255,255,.6);min-height:22px;text-align:right}.hter-current{font-size:3rem;font-weight:300;text-align:right;word-break:break-word;line-height:1.05}.hter-calc-lower{display:grid;grid-template-columns:minmax(430px,1.55fr) minmax(300px,.85fr);gap:16px;align-items:start}.hter-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.hter-buttons button,.hter-swap-btn,.hter-save-box button,.hter-notes-head button{border:0;cursor:pointer;color:#fff;transition:.15s ease}.hter-buttons button{font-size:1.35rem;font-weight:500;padding:16px 0;border-radius:18px;background:rgba(255,255,255,.18);box-shadow:0 6px 16px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.3)}.hter-buttons button:hover,.hter-swap-btn:hover,.hter-save-box button:hover{transform:translateY(-2px)}.hter-buttons .hter-func{background:linear-gradient(135deg,#f472b6,#ec4899)}.hter-buttons .hter-op{background:linear-gradient(135deg,#818cf8,#6366f1)}.hter-buttons .hter-equals{background:linear-gradient(135deg,#34d399,#10b981);grid-column:span 2}.hter-calc-notes{padding:16px;display:flex;flex-direction:column;gap:11px;min-height:0}.hter-notes-head{display:flex;align-items:center;justify-content:space-between;letter-spacing:1.5px;font-size:.82rem}.hter-notes-head button{background:rgba(255,255,255,.12);border-radius:10px;width:32px;height:32px;font-size:1.1rem}.hter-save-box{display:grid;gap:8px;padding:12px;border-radius:16px;background:rgba(255,255,255,.08)}.hter-save-result{font-weight:700}.hter-save-box input{width:100%;border:1px solid rgba(255,255,255,.16);border-radius:12px;padding:10px 12px;background:rgba(0,0,0,.22);color:#fff;outline:0}.hter-save-box input::placeholder{color:rgba(255,255,255,.55)}.hter-save-box button{padding:10px 12px;border-radius:12px;background:linear-gradient(135deg,#34d399,#10b981);font-weight:700}.hter-save-box button:disabled{opacity:.5;cursor:not-allowed;transform:none}.hter-save-box small{color:rgba(255,255,255,.65);line-height:1.3}.hter-history-list{display:flex;flex-direction:column;gap:8px;overflow:visible;max-height:none;padding-right:0}.hter-history-item{padding:10px 11px;border-radius:14px;background:rgba(255,255,255,.08)}.hter-history-expression{font-size:.93rem}.hter-history-note{font-size:.82rem;margin-top:4px;color:#fde68a}.hter-history-date{font-size:.7rem;margin-top:5px;color:rgba(255,255,255,.48)}.hter-empty{padding:12px;text-align:center;color:rgba(255,255,255,.65);font-size:.86rem}
.hter-exchange-body{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center}.hter-currency-box{padding:18px;display:flex;flex-direction:column;gap:12px}.hter-currency-label{font-size:.75rem;letter-spacing:2px;color:rgba(255,255,255,.6);text-transform:uppercase}.hter-currency-row{display:flex;align-items:center;gap:12px}.hter-currency-row input{flex:1;min-width:0;background:transparent;border:0;outline:0;color:#fff;font-size:1.7rem;width:100%;appearance:textfield;-moz-appearance:textfield}.hter-currency-row input::-webkit-outer-spin-button,.hter-currency-row input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.hter-currency-row input[readonly]{color:#a7f3d0}.hter-currency-row select{background:#6366f1;color:#fff;border:0;padding:10px 14px;border-radius:14px;font-weight:600}.hter-swap-btn{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#f472b6,#ec4899);font-size:1.5rem}.hter-rate-info{grid-column:1/-1;text-align:center;margin-top:8px;font-size:.95rem;padding:11px;border-radius:14px;background:rgba(255,255,255,.08)}.hter-rate-info strong{color:#c7d2fe}.hter-rate-info.error{color:#fecaca}.hter-rate-info.loading{opacity:.65}.hter-rate-date{opacity:.7}
.hter-admin-wrap{max-width:none}.hter-admin-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:8px 0 6px}.hter-admin-heading h1{margin-bottom:2px}.hter-admin-heading p{margin-top:0;color:#646970}.hter-provider-badge{background:#fff;border:1px solid #dcdcde;border-radius:999px;padding:8px 12px;font-weight:600;white-space:nowrap}.hter-provider-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#22c55e;margin-right:6px}.hter-admin-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0 16px}.hter-inline-form{display:inline;margin:0}.hter-settings-grid,.hter-diag-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:1100px;margin:20px 0}.hter-admin-card{background:#fff;border:1px solid #dcdcde;border-radius:10px;padding:20px}.hter-wide-card{max-width:1200px;margin-top:20px}.hter-version{font-size:13px;font-weight:400;color:#646970}.hter-status{font-weight:700}.hter-ok{color:#15803d}.hter-bad{color:#b91c1c}.hter-danger-form{margin-top:18px;padding-top:18px;border-top:1px solid #ddd}
.hter-standalone-body{margin:0;min-height:100vh;background:linear-gradient(135deg,#667eea 0%,#764ba2 50%,#f093fb 100%);font-family:Segoe UI,system-ui,-apple-system,sans-serif}.hter-standalone-body:before{content:"";position:fixed;inset:0;background:radial-gradient(circle at 15% 20%,rgba(255,255,255,.18),transparent 45%),radial-gradient(circle at 85% 80%,rgba(255,255,255,.12),transparent 45%);pointer-events:none}.hter-standalone-shell{position:relative;z-index:1;width:min(1240px,calc(100% - 32px));margin:0 auto;padding:12px 0 14px}.hter-standalone-title{text-align:center;font-size:2.5rem;font-weight:700;color:#fff;margin:4px 0 10px;text-shadow:0 2px 18px rgba(0,0,0,.22)}.hter-standalone-body #wpadminbar{display:none!important}.hter-standalone-body{padding-top:0!important}
@media(max-width:900px){.hter-calc-lower{grid-template-columns:1fr}.hter-settings-grid,.hter-diag-grid{grid-template-columns:1fr}.hter-provider-badge{white-space:normal}.hter-admin-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.hter-exchange-body{grid-template-columns:1fr}.hter-swap-btn{justify-self:center;transform:rotate(90deg)}.hter-standalone-shell{width:min(100% - 18px,1240px);padding-top:18px}}
@media(max-width:480px){.hter-glass{padding:18px;border-radius:24px}.hter-buttons button{font-size:1.15rem;padding:14px 0}.hter-current{font-size:2.2rem}.hter-currency-row input{font-size:1.4rem}}

/* 0.3.3 desktop workspace: calculator + exchange left, history right */
.hter-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);gap:20px;align-items:stretch}
.hter-workspace-main{display:flex;flex-direction:column;gap:20px;min-width:0}
.hter-workspace-calc,.hter-workspace-exchange,.hter-workspace-history{min-width:0}
.hter-workspace .hter-display{min-height:104px}
.hter-workspace .hter-buttons button{padding:14px 0}
.hter-workspace-history{padding:18px;display:flex;flex-direction:column;min-height:0;max-height:none}
.hter-workspace-history .hter-save-box{flex:0 0 auto}
.hter-workspace-history .hter-history-list{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;padding-right:0}
.hter-workspace-history .hter-history-list::-webkit-scrollbar{display:none}
.hter-workspace-history .hter-history-item{padding:9px 10px}
.hter-history-more{display:block;flex:0 0 auto;text-align:center;margin-top:10px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.1);color:#fff;text-decoration:none;font-weight:700}
.hter-history-more:hover{background:rgba(255,255,255,.16);color:#fff}
.hter-exchange-compact{grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr);gap:10px}
.hter-exchange-compact .hter-currency-box{padding:14px}
.hter-exchange-compact .hter-currency-row{gap:8px}
.hter-exchange-compact .hter-currency-row input{font-size:1.35rem}
.hter-exchange-compact .hter-currency-row select{padding:9px 10px}
.hter-exchange-compact .hter-swap-btn{width:46px;height:46px;font-size:1.2rem}
@media(max-width:1050px){.hter-workspace{grid-template-columns:1fr}.hter-workspace-history{max-height:520px}.hter-workspace-main{order:1}.hter-workspace-history{order:2}}
@media(max-width:620px){.hter-exchange-compact{grid-template-columns:1fr}.hter-exchange-compact .hter-swap-btn{justify-self:center;transform:rotate(90deg)}.hter-workspace-history{max-height:480px}}

/* 0.3.4 visual polish */
.hter-app-full{max-width:1120px;gap:18px;margin:0 auto}
.hter-app-full .hter-workspace{grid-template-columns:minmax(0,1.62fr) minmax(300px,.78fr);gap:18px}
.hter-app-full .hter-workspace-main{gap:16px}
.hter-app-full .hter-glass{border-radius:26px;box-shadow:0 14px 34px rgba(35,21,66,.18),inset 0 1px 0 rgba(255,255,255,.14)}
.hter-app-full .hter-brand{margin-bottom:12px;padding:0 6px}
.hter-app-full .hter-brand-name{font-size:.92rem;letter-spacing:1.7px}
.hter-app-full .hter-brand-dot{width:9px;height:9px;box-shadow:0 0 11px rgba(74,222,128,.65)}

/* Calculator: calmer depth, tighter rhythm */
.hter-workspace-calc{padding:20px;background:linear-gradient(135deg,rgba(102,126,234,.94) 0%,rgba(118,75,162,.92) 52%,rgba(240,147,251,.92) 100%)}
.hter-workspace-calc .hter-display{min-height:94px;margin-bottom:13px;padding:16px 20px;border-radius:20px;background:linear-gradient(135deg,rgba(33,42,102,.76),rgba(68,37,86,.72));box-shadow:inset 0 2px 10px rgba(0,0,0,.26),0 0 0 1px rgba(255,255,255,.1)}
.hter-workspace-calc .hter-history{font-size:.82rem;min-height:17px}
.hter-workspace-calc .hter-current{font-size:2.65rem}
.hter-workspace-calc .hter-buttons{gap:9px}
.hter-workspace-calc .hter-buttons button{padding:12px 0;border-radius:15px;box-shadow:0 4px 11px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.22)}

/* Exchange rate: one compact bar instead of three competing boxes */
.hter-workspace-exchange{padding:17px 20px 18px;background:linear-gradient(135deg,rgba(102,126,234,.88) 0%,rgba(118,75,162,.88) 52%,rgba(240,147,251,.88) 100%)}
.hter-workspace-exchange .hter-brand{margin-bottom:10px}
.hter-workspace-exchange .hter-exchange-body{padding:10px;border-radius:18px;background:linear-gradient(135deg,rgba(33,42,102,.58),rgba(74,38,91,.5));box-shadow:inset 0 2px 10px rgba(0,0,0,.2),0 0 0 1px rgba(255,255,255,.08)}
.hter-workspace-exchange .hter-currency-box{padding:6px 8px;background:transparent!important;border-radius:12px;box-shadow:none!important;gap:4px}
.hter-workspace-exchange .hter-currency-label{font-size:.64rem;letter-spacing:1.4px;color:rgba(255,255,255,.56)}
.hter-workspace-exchange .hter-currency-row input{font-size:1.28rem}
.hter-workspace-exchange .hter-currency-row select{padding:7px 9px;border-radius:11px;font-size:.8rem;background:rgba(99,102,241,.88)}
.hter-workspace-exchange .hter-swap-btn{width:38px;height:38px;font-size:1rem;box-shadow:0 4px 10px rgba(86,35,95,.2)}
.hter-workspace-exchange .hter-rate-info{margin-top:4px;padding:7px 9px;border-radius:10px;font-size:.78rem;background:rgba(255,255,255,.075)}

/* History: same glass family; only the list itself is dark */
.hter-workspace-history{padding:17px!important;gap:10px!important;background:linear-gradient(155deg,rgba(255,255,255,.16),rgba(255,255,255,.09))!important;border:1px solid rgba(255,255,255,.18);box-shadow:0 14px 34px rgba(35,21,66,.18),inset 0 1px 0 rgba(255,255,255,.18)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.hter-workspace-history .hter-notes-head{padding:0 2px;font-size:.75rem;letter-spacing:1.6px;color:rgba(255,255,255,.9)}
.hter-workspace-history .hter-notes-head button{width:29px;height:29px;background:rgba(255,255,255,.1);box-shadow:none}
.hter-workspace-history .hter-save-box{padding:11px;border-radius:14px;background:rgba(43,27,70,.28);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}
.hter-workspace-history .hter-save-result{font-size:1rem}
.hter-workspace-history .hter-save-box input{padding:8px 10px;border-radius:10px;background:rgba(31,20,52,.31)}
.hter-workspace-history .hter-save-box button{padding:8px 10px;border-radius:10px}
.hter-workspace-history .hter-save-box small{font-size:.76rem}
.hter-workspace-history .hter-history-list{flex:1 1 0;min-height:190px;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;padding:9px!important;border-radius:15px;background:linear-gradient(180deg,rgba(35,24,57,.37),rgba(42,27,68,.3));box-shadow:inset 0 1px 8px rgba(0,0,0,.17),0 0 0 1px rgba(255,255,255,.06);align-content:flex-start}
.hter-workspace-history .hter-history-list::-webkit-scrollbar{display:none}
.hter-workspace-history .hter-history-item{padding:9px 10px;border-radius:11px;background:rgba(255,255,255,.085);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.hter-workspace-history .hter-history-expression{font-size:.84rem}
.hter-workspace-history .hter-history-note{font-size:.76rem}
.hter-workspace-history .hter-history-date{font-size:.64rem}
.hter-workspace-history .hter-empty{margin:auto;padding:26px 12px;max-width:240px;display:flex;flex-direction:column;gap:6px;line-height:1.35;color:rgba(255,255,255,.62)}
.hter-workspace-history .hter-empty strong{font-size:.9rem;color:rgba(255,255,255,.9)}
.hter-workspace-history .hter-empty span{font-size:.75rem}
.hter-history-more{margin-top:0!important;padding:9px 10px!important;border-radius:11px!important;background:rgba(255,255,255,.095)!important;font-size:.8rem;font-weight:650!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.hter-history-more:hover{background:rgba(255,255,255,.15)!important}

/* Standalone canvas: keep the original gradient, but reduce visual noise */
.hter-standalone-body{background:linear-gradient(135deg,#667eea 0%,#764ba2 50%,#f093fb 100%)}
.hter-standalone-body:before{background:radial-gradient(circle at 12% 14%,rgba(255,255,255,.12),transparent 38%),radial-gradient(circle at 86% 86%,rgba(255,255,255,.08),transparent 42%)}
.hter-standalone-shell{width:min(1160px,calc(100% - 28px));padding:28px 0 40px}
.hter-standalone-title{font-size:2.15rem;margin:2px 0 14px;letter-spacing:.2px;text-shadow:0 2px 14px rgba(0,0,0,.16)}

@media(max-width:1050px){
  .hter-app-full .hter-workspace{grid-template-columns:1fr}
  .hter-workspace-history{max-height:500px}
  .hter-workspace-history .hter-history-list{min-height:150px}
}
@media(max-width:620px){
  .hter-standalone-shell{width:min(100% - 16px,1160px);padding-top:16px}
  .hter-standalone-title{font-size:1.8rem;margin-bottom:10px}
  .hter-workspace-calc,.hter-workspace-exchange,.hter-workspace-history{padding:16px!important}
  .hter-workspace-exchange .hter-exchange-body{grid-template-columns:1fr;padding:10px}
  .hter-workspace-exchange .hter-swap-btn{justify-self:center;transform:rotate(90deg)}
  .hter-workspace-history{max-height:430px}
}
