.sci-calc-wrapper{display:grid;grid-template-columns:480px 280px;gap:20px;background:linear-gradient(180deg,hsl(var(--bg-surface)),hsl(var(--bg-card)));border:1px solid hsl(var(--border-subtle));border-radius:22px;padding:22px;box-shadow:0 25px 50px -12px #000000b3,inset 0 1px #ffffff1f;width:100%;max-width:820px;margin:16px auto 32px;position:relative}.sci-top-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.angle-mode-selector{display:flex;background:hsl(var(--bg-lcd));border:1px solid hsl(var(--border-subtle));border-radius:8px;padding:2px}.angle-btn{background:none;border:none;color:hsl(var(--text-secondary));font-size:.75rem;font-weight:600;padding:4px 10px;border-radius:6px;cursor:pointer;transition:transform .15s ease,opacity .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}.angle-btn.active{background:hsl(var(--text-lcd-live));color:#000}.exam-badge{display:inline-flex;align-items:center;gap:6px;background:#10b9811f;border:1px solid rgba(16,185,129,.3);color:var(--badge-exam);font-size:.72rem;font-weight:600;padding:4px 10px;border-radius:9999px}.exam-dot{width:6px;height:6px;border-radius:50%;background:var(--badge-exam);box-shadow:0 0 6px #10b981cc}.sci-lcd-screen{background:hsl(var(--bg-lcd));border:1px solid rgba(56,189,248,.22);border-radius:14px;padding:12px 18px;height:96px;display:flex;flex-direction:column;justify-content:space-between;text-align:right;margin-bottom:14px;box-shadow:inset 0 3px 10px #000000d9,inset 0 1px 2px #000000f2,0 1px #ffffff14;position:relative;overflow:hidden}.sci-lcd-screen:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(56,189,248,.45),transparent)}.sci-lcd-header{display:flex;justify-content:space-between;align-items:center}.active-angle-tag{font-size:.7rem;font-weight:700;color:hsl(var(--text-lcd-live));background:#38bdf826;padding:2px 6px;border-radius:4px}.sci-lcd-expr{font-size:.92rem;color:hsl(var(--text-secondary));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--font-mono)}.sci-lcd-main-val{font-size:clamp(1.9rem,4vw,2.5rem);font-weight:700;color:hsl(var(--text-primary));line-height:1.1;white-space:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;font-family:var(--font-mono);text-shadow:0 0 16px hsl(var(--border-focus) / .45)}.sci-lcd-main-val::-webkit-scrollbar{display:none;width:0;height:0}.sci-keypad-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.span-2{grid-column:span 2}button.calc-key.sci-fn{background:hsl(var(--bg-card));color:hsl(var(--text-secondary));font-size:.92rem;min-height:42px;padding:8px 0}button.calc-key.sci-fn:hover{background:var(--btn-num-hover);color:hsl(var(--text-primary))}button.calc-key.sci-fn.trig{color:hsl(var(--text-lcd-live))}button.calc-key.sci-fn.math{color:#f59e0b}button.calc-key.sci-fn.const{color:#a78bfa}button.calc-key.func.sci-sd-btn{font-size:.85rem;font-weight:700;color:hsl(var(--text-lcd-live));background:hsl(var(--bg-card))}button.calc-key.func.sci-sd-btn:hover{background:var(--btn-num-hover)}.sci-history-sidebar{border-left:1px solid hsl(var(--border-subtle));padding-left:18px;display:flex;flex-direction:column;min-height:420px}.sci-hist-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;border-bottom:1px solid hsl(var(--border-subtle));margin-bottom:12px}.sci-hist-title{font-size:.95rem;font-weight:700;color:hsl(var(--text-primary))}.sci-hist-ctrls{display:flex;align-items:center;gap:4px}.sci-hist-list{flex:1;overflow-y:auto;max-height:380px;display:flex;flex-direction:column;gap:8px}.sci-hist-item{background:hsl(var(--bg-card));border:1px solid hsl(var(--border-subtle));border-radius:8px;padding:8px 10px;display:flex;flex-direction:column;gap:4px}@media(max-width:860px){.sci-calc-wrapper{grid-template-columns:1fr;padding:12px;max-width:480px}.sci-history-sidebar{display:none;position:fixed;bottom:0;left:0;right:0;background:hsl(var(--bg-surface));border-top:2px solid hsl(var(--border-focus));border-radius:20px 20px 0 0;padding:16px;z-index:999;box-shadow:0 -10px 25px #0009;max-height:65vh}.sci-history-sidebar.open{display:flex}.sci-keypad-grid button.calc-key{min-height:40px;font-size:.9rem}}.hero-calc-header[data-astro-cid-eh4e4ver]{text-align:center;margin-top:16px;margin-bottom:12px;padding:0 16px}.main-title[data-astro-cid-eh4e4ver]{font-size:clamp(1.5rem,3.5vw,2.25rem);font-weight:800;color:hsl(var(--text-primary));letter-spacing:-.02em;margin-bottom:6px}.main-subtitle[data-astro-cid-eh4e4ver]{font-size:clamp(.88rem,1.8vw,1rem);color:hsl(var(--text-secondary));max-width:680px;margin:0 auto;line-height:1.45}
