:root {
  color-scheme: dark;
  --bg:#0e0f10; --body:#161719; --panel:#1b1d1f; --well:#0b0c0c; --key:#252729;
  --key-soft:#202224; --key-num:#2b2d2e; --edge:#333638; --edge-dark:#101112;
  --text:#f2f1e9; --muted:#a9aaa9; --display:#f6f5ea; --screen-dim:#a7aaa6; --signal:#fb8557;
  --accent:#f67443; --accent-text:#191310; --danger:#ffc2ac; --danger-bg:#38211b;
  --field:#111314; --th:#222527; --guide:#442b24; --head-guide:#523127; --shade:#0008;
  --mono:ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;
  font:100%/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
:root[data-theme=light] {
  color-scheme:light;
  --bg:#d5d4ce; --body:#edece8; --panel:#e4e3de; --well:#101212; --key:#e1e0da;
  --key-soft:#d9d8d2; --key-num:#f7f6f2; --edge:#cfcec6; --edge-dark:#a8a79e;
  --text:#232524; --muted:#535653; --display:#f7f6eb; --screen-dim:#afb0ac; --signal:#ff885d;
  --accent:#eb6333; --accent-text:#18130f; --danger:#731b04; --danger-bg:#ffe2d3;
  --field:#f9f8f2; --th:#dfded8; --guide:#f4d0bf; --head-guide:#efb49a; --shade:#2625216b;
}
*,*::after,*::before { box-sizing:border-box }
[hidden]{display:none!important}
html{background:var(--bg);overflow:hidden}
body{margin:0;height:100vh;height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr);background:var(--body);color:var(--text);overflow:hidden;-webkit-tap-highlight-color:transparent}
button,input,textarea,select{font:inherit;color:inherit}
button{border:0;cursor:pointer;touch-action:manipulation}
button:disabled{opacity:.42;cursor:default}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
button:active:not(:disabled){filter:brightness(.91)}
h1,h2,h3,p{margin:0}
h2{font-size:1.04rem;line-height:1.14;letter-spacing:-.025em}
h3{font-size:.875rem}
.mast{display:flex;align-items:center;justify-content:space-between;gap:.22rem;padding:calc(.42rem + env(safe-area-inset-top)) max(.88rem,env(safe-area-inset-right)) .32rem max(.88rem,env(safe-area-inset-left))}
.brand,.header-controls{display:flex;align-items:center;gap:.56rem}
.brandmark{display:grid;place-items:center;width:1.72rem;height:1.72rem;flex:none;border:1px solid var(--edge);border-radius:.37rem;background:var(--key);color:var(--accent);font:640 1.15rem/1 var(--mono)}
.brand h1{font-size:1.15rem;line-height:1;font-weight:720;letter-spacing:-.055em}
.brand small{display:block;color:var(--muted);font:570 .56rem/1 var(--mono);letter-spacing:.085em;margin-top:.25rem}
.header-controls{gap:.02rem}
.status,.icon-btn{display:flex;align-items:center;justify-content:center;min-height:44px;background:transparent;color:var(--muted)}
.status{gap:.29rem;padding-inline:.45rem;font:600 .64rem/1 var(--mono)}
.status span:first-child{width:.32rem;height:.32rem;border-radius:50%;background:var(--muted)}
.status.ready span:first-child{background:var(--accent)}
.icon-btn{width:44px;border-radius:.45rem}
.icon-btn svg{width:1.2rem;height:1.2rem;display:block}
.icon-btn:hover,.status:hover{color:var(--text)}
main{min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding:.35rem max(.85rem,env(safe-area-inset-right)) max(.79rem,env(safe-area-inset-bottom)) max(.85rem,env(safe-area-inset-left))}
#calc,.calc-layout{height:100%;min-height:0;min-width:0}
.calculator{display:flex;flex-direction:column;min-width:0;min-height:100%;gap:.52rem}
.display,#series-result,#bin-result,#phi-result{background:var(--well);color:var(--display);border:1px solid var(--edge-dark);border-radius:.64rem;box-shadow:inset 0 2px 6px #0005}
.display{min-width:0;flex:.96 0 auto;min-height:8.55rem;padding:.54rem .79rem;display:flex;flex-direction:column}
.row,.display-top,.display-bottom{display:flex;align-items:center;justify-content:space-between;gap:.4rem}
.display-top{min-height:1.9rem}
.display-top label,.micro{color:var(--screen-dim);font:630 .63rem/1 var(--mono);letter-spacing:.11em}
.text-btn,.display-action{min-height:2rem;padding:.22rem .49rem;background:transparent;color:var(--muted);border-radius:.32rem;font-size:.76rem;font-weight:650;white-space:nowrap}
.display .text-btn,.display-action{color:var(--screen-dim);background:#ffffff09}
#expression{resize:none;display:block;width:100%;min-height:2.52rem;max-height:3.85rem;margin:.22rem 0 0;padding:.28rem .14rem;border:none;border-bottom:1px solid #ffffff22;border-radius:0;background:transparent;color:var(--display);caret-color:var(--signal);font:1.07rem/1.3 var(--mono);scrollbar-width:none}
#expression::placeholder{color:var(--screen-dim)}
#expression:focus-visible{outline:0;border-bottom-color:var(--signal)}
.display-bottom{margin-top:auto;min-height:3.15rem;padding-top:.12rem}
.display-bottom .muted{color:var(--screen-dim);font:590 .68rem/1.2 var(--mono)}
.display-bottom>div:first-child:not(.result-value){display:flex;align-items:center;flex-wrap:wrap;gap:.38rem;min-width:0}
.answer-tools{display:inline-flex}
.result-value,.stat-value{min-width:0;overflow-wrap:anywhere;letter-spacing:-.06em;font:550 clamp(1.43rem,6.6vw,2.38rem)/1.07 var(--mono);font-variant-numeric:tabular-nums;color:var(--display);scrollbar-width:none}
.result-value{display:flex;align-items:center;justify-content:flex-end;text-align:right;font-size:clamp(1.7rem,8vw,3rem);max-height:3.9rem;overflow:auto}
.fr,.tinyfrac{display:inline-flex;flex-direction:column;align-items:stretch;text-align:center;font:610 1.05rem/1.05 var(--mono);letter-spacing:0}
.fr>span{padding:.02rem .22rem}
.fr>span:first-child,.tinyfrac>span:first-child{border-bottom:1px solid currentColor}
.tinyfrac{font-size:.72rem}
.stat-keys,.editbar,.keypad{display:grid;gap:.37rem}
.stat-keys{grid-template-columns:repeat(3,minmax(0,1fr))}
.editbar,.keypad{grid-template-columns:repeat(5,minmax(0,1fr))}
.keypad{flex:2.8 0 auto;grid-template-rows:repeat(6,minmax(var(--key-height,44px),1fr))}
.stat-keys button,.editbar button,.keypad button,.helpers button,.pillset button,.primary{min-width:0;display:grid;place-items:center;background:var(--key);color:var(--text);border-radius:.51rem;border:1px solid var(--edge);box-shadow:inset 0 1px 0 #ffffff09,0 1px 1px #0002}
.stat-keys button{min-height:var(--stats-height,52px);align-content:center;gap:.13rem;border-color:var(--edge);background:var(--panel);padding:.14rem 0}
.stat-keys strong{font:620 .99rem/1.05 var(--mono);color:var(--accent)}
.stat-keys span{font-size:.67rem;font-weight:650;line-height:1.06}
.editbar button{min-height:var(--edit-height,44px);font:650 .75rem/1 var(--mono);background:var(--key-soft);color:var(--muted)}
.editbar button[data-key=left],.editbar button[data-key=right]{font-size:1.24rem;line-height:.75}
.editbar button.delete{color:var(--text)}
.editbar button[data-key=clear]{color:var(--accent)}
.keypad button{font:600 1.24rem/1 var(--mono);background:var(--key-num)}
.keypad .operator,.keypad .function{background:var(--key-soft);font-size:.97rem}
.keypad .equal,.primary{background:var(--accent);color:var(--accent-text);border-color:#b74b27;box-shadow:inset 0 1px 0 #ffffff26,0 1px 2px #0004}
.keypad .equal{grid-row:span 2;font-size:1.55rem}
.keypad .zero{grid-column:span 2}
.card{min-width:0}
dialog{background:var(--body);color:var(--text);border:1px solid var(--edge);border-radius:.78rem;box-shadow:0 12px 48px #0005;max-width:min(28rem,calc(100% - 1.1rem));max-height:min(calc(var(--visual-height,100dvh) - 1.2rem),43rem);width:100%;padding:.75rem;overflow:auto}
dialog::backdrop{background:var(--shade)}
dialog>.row:first-child,dialog form>.row:first-child{border-bottom:1px solid var(--edge);margin-bottom:.55rem}
.close{display:grid;place-items:center;width:44px;height:44px;min-width:44px;background:transparent;border-radius:.38rem;color:var(--muted);font:1.35rem/1 var(--mono)}
.tool-sheet{padding:0;max-width:min(31rem,calc(100% - .8rem));overflow:hidden}
.tool-sheet[open]{display:flex;flex-direction:column}
.tool-head,.tool-foot{display:flex;flex:none;align-items:center;justify-content:space-between;min-width:0;padding:.38rem .74rem;border-bottom:1px solid var(--edge)}
.tool-title{display:flex;align-items:center;gap:.54rem;min-width:0}
.tool-title>span{font:650 .78rem/1 var(--mono);color:var(--accent);white-space:nowrap}
.tool-body{overflow:auto;min-height:0;min-width:0;padding:.58rem .74rem .49rem;overscroll-behavior:contain}
.tool-foot{padding:.47rem .74rem max(.51rem,env(safe-area-inset-bottom));border-bottom:0;border-top:1px solid var(--edge)}
.tool-foot .primary{width:100%;margin:0}
.two-col,form.inset{display:grid;gap:.45rem;min-width:0}
form label{display:block;min-width:0;font-size:.74rem;font-weight:700}
.field-grid,.phi-controls,.event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.34rem}
.field-grid.three,#bin-form.has-upper .event-grid{grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(0,1fr))}
.event-grid .limits{display:contents}
.phi-controls{grid-template-columns:minmax(0,.66fr) minmax(0,1.06fr) auto;align-items:end}
input,select{display:block;width:100%;min-height:2.75rem;padding:.33rem .45rem;margin-top:.14rem;background:var(--field);border:1px solid var(--edge);border-radius:.36rem;font-size:1rem}
input{font-family:var(--mono)}
select{padding-right:1.3rem;text-overflow:ellipsis}
.pillset,.helpers{display:flex;gap:.25rem;align-items:center}
.pillset button,.helpers button{min-height:2.45rem;padding:.18rem .42rem;font-size:.79rem;white-space:nowrap}
.pillset button{flex:1;background:var(--key-soft)}
.pillset button[aria-pressed=true]{color:var(--accent-text);background:var(--accent);border-color:var(--accent)}
.helpers button{min-width:2.1rem;font-family:var(--mono)}
.primary{min-height:2.75rem;font-size:.84rem;font-weight:740;padding:.24rem .55rem}
.hint{color:var(--muted);font-size:.74rem;line-height:1.28}
.stat-meta .hint,#series-result>.hint,#bin-result>.hint,#phi-result>.hint{color:var(--screen-dim)}
.support{padding-left:.12rem}
.error{color:var(--danger);background:var(--danger-bg);border-radius:.25rem;padding:.26rem .4rem;font-size:.75rem;overflow-wrap:anywhere;max-height:2.55rem;overflow:auto}
.series-head{display:grid;grid-template-columns:minmax(0,1.44fr) minmax(0,1fr);gap:.32rem}
.series-head .pillset{align-items:stretch}
.series-head .pillset button{padding:.13rem .22rem}
.series-preview{display:flex;gap:.49rem;align-items:center;min-width:0;min-height:2.85rem;padding:.13rem .36rem;background:var(--panel);border:1px solid var(--edge);border-radius:.36rem;font:1rem/1.1 var(--mono)}
#preview-term{overflow-wrap:anywhere;max-height:2.4rem;overflow:auto;scrollbar-width:none}
.big-op{display:grid;place-items:center;line-height:.97;flex-shrink:0;overflow:hidden;max-width:5.8rem}
.big-op strong{font:510 1.48rem/.96 var(--mono);color:var(--accent)}
.big-op small{font-size:.6rem;overflow-wrap:anywhere}
.series-toolbar{display:flex;justify-content:space-between;gap:.3rem;align-items:stretch}
.series-toolbar .helpers{align-items:stretch}
.series-toolbar .primary{flex:1 1 auto;max-width:10rem}
#series-result,#bin-result,#phi-result{padding:.45rem .53rem}
.stat-value{color:var(--signal);margin:.21rem 0 .11rem;max-height:3.25rem;overflow:auto}
.stat-sub{font:600 .79rem/1.2 var(--mono);margin:.15rem 0;overflow-wrap:anywhere}
.stat-meta{border-top:1px solid #ffffff24;padding-top:.26rem;margin-top:.3rem}
.series-terms{display:flex;gap:.25rem;list-style:none;padding:0 0 .08rem;margin:.23rem 0;overflow:auto;overscroll-behavior-inline:contain}
.series-terms li{display:grid;align-content:center;gap:.1rem;flex:0 0 auto;max-width:85%;padding:.19rem .31rem;border-radius:.25rem;background:#ffffff13;border:1px solid #ffffff12;font:610 .77rem/1.15 var(--mono);overflow-wrap:anywhere}
.series-terms li span{color:var(--screen-dim);font-size:.64rem}
.chart{width:100%;height:auto;max-height:6.25rem;display:block;margin:.23rem 0 .12rem}
.chart text{fill:currentColor;font:12px var(--mono)}
.chart .axis{stroke:var(--muted);stroke-width:1}
.chart .off{fill:#62645e}.chart .on{fill:#fa8255}.chart .area{fill:#ed754087}.chart .curve{stroke:currentColor;stroke-width:2;fill:none}.chart .mark{stroke:#f27a4b;stroke-width:1.5;stroke-dasharray:4 2}
.phi-readout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:.37rem}
.phi-readout>div+div{text-align:right}
.phi-readout .display-action{margin-top:.1rem}
.phi-body{display:flex;flex-direction:column;gap:.4rem}
.table-card{display:flex;flex-direction:column;min-height:7.6rem;flex:1}
.table-top{min-height:2.15rem;flex-shrink:0}
#table-wrap{flex:1;min-height:5rem;max-height:clamp(5rem,28dvh,17rem);overflow:auto;overscroll-behavior:contain;border:1px solid var(--edge);background:var(--field);border-radius:.3rem;scroll-padding:1.85rem 0 0 2.3rem}
table{width:100%;border-collapse:separate;border-spacing:0;text-align:center;font:.71rem/1.14 var(--mono);font-variant-numeric:tabular-nums}
th{padding:.25rem .19rem;background:var(--th);font-weight:730;min-width:3rem;border-bottom:1px solid var(--edge)}
thead th{position:sticky;top:0;z-index:2}
tbody th{position:sticky;left:0;z-index:1;min-width:2.24rem}
thead th:first-child{left:0;z-index:3;min-width:2.24rem}
td{padding:0;border-bottom:1px solid var(--edge)}
td button{min-height:2.04rem;width:100%;padding:.16rem;background:transparent;white-space:nowrap;font-variant-numeric:tabular-nums}
.guide{background:var(--guide)}th.guide{background:var(--head-guide)}td.marked{background:var(--accent);color:var(--accent-text);font-weight:800}
.fraction-fields{display:grid;max-width:18rem;gap:.38rem;margin:.4rem auto .5rem}
.fraction-fields label+label{border-top:2px solid var(--edge);padding-top:.33rem}
dialog .primary{width:100%;margin-top:.44rem}
.side{display:grid;gap:.47rem}.side .note{padding:.22rem 0}
.examples,#history{display:grid;gap:.23rem;margin:.3rem 0 0}
.examples button,#history button{display:flex;align-items:center;justify-content:space-between;gap:.37rem;width:100%;min-height:44px;padding:.29rem .41rem;background:var(--panel);border:1px solid var(--edge);border-radius:.36rem;text-align:left;font-size:.81rem}
.examples strong,#history strong{font:680 .78rem/1.17 var(--mono);white-space:nowrap}
#history{list-style:none;padding:0}
#history button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.install-list{padding-left:1.1rem}.install-list li{margin:.41rem 0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-height:47rem){
  .calculator{gap:.62rem}.display{padding:.7rem .89rem;min-height:10.3rem}
  #expression{min-height:3.1rem}
  .stat-keys button{min-height:55px}
}
@media(max-height:40rem){
  :root{--stats-height:45px;--edit-height:37px;--key-height:37px}
  .mast{padding-block:calc(.19rem + env(safe-area-inset-top)) .17rem}
  main{padding-block:.27rem max(.41rem,env(safe-area-inset-bottom))}
  .calculator{gap:.39rem}.display{min-height:6.3rem;padding:.36rem .59rem}
  .display-bottom{min-height:2.26rem}.display-top{min-height:1.43rem}
  .display .text-btn{min-height:1.47rem}
  #expression{min-height:2.16rem;height:2.16rem;max-height:2.16rem}
}
@media(max-width:35rem){
  .tool-sheet{max-width:100%;margin:auto auto 0;border-radius:.85rem .85rem 0 0}
}
@media(max-width:22rem){
  main,.mast{padding-left:max(.58rem,env(safe-area-inset-left));padding-right:max(.58rem,env(safe-area-inset-right))}
  .header-controls{gap:0}.icon-btn{width:39px}
  .series-toolbar .helpers button{min-width:1.87rem;padding-inline:.28rem}
  .phi-controls .primary{font-size:.73rem;padding-inline:.27rem}
}
@media(min-width:46rem) and (min-height:39rem){
  html{padding:1.4rem}
  body{max-width:30rem;height:min(50rem,calc(100dvh - 2.8rem));margin:auto;border:1px solid var(--edge);border-radius:1rem;box-shadow:0 14px 54px #0003}
  main,.mast{padding-inline:1.18rem}
}
@media(prefers-reduced-motion:no-preference){button{transition:filter .10s}}
/* The number pad belongs to the calculator sheet, not to the operating system. */
.numpad-wrap { flex:0 0 auto; padding:.28rem .73rem .45rem; border-top:1px solid var(--edge); background:var(--panel) }
.pad-caption { display:block; font-size:.75rem; color:var(--muted); margin:0 0 .24rem .12rem }
.numpad { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.26rem }
.numpad button { min-width:0; min-height:2.54rem; padding:.1rem; border-radius:.39rem; border:1px solid var(--edge); background:var(--key-num); font:570 1rem/1.1 var(--mono) }
.numpad button[data-panel-key=done] { background:var(--key); color:var(--accent); font:680 .74rem/1.15 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif }
.numpad button[data-panel-key=back] { background:var(--key); color:var(--text); font-size:1.04rem }
.tool-sheet.pad-open .two-col>article,.tool-sheet.pad-open .table-card { display:none }
.tool-sheet.pad-open .support { display:none }
.distribution-params.single { grid-template-columns:1fr }
:root[data-native-keyboard] dialog[open] { position:fixed; inset:calc(var(--visual-top,0px) + 3px) auto auto 50%; transform:translateX(-50%); margin:0; max-height:calc(var(--visual-height,100dvh) - 6px) }
:root[data-native-keyboard] .tool-foot { padding-bottom:.38rem }
.screen-dim,.micro,.display-top label { letter-spacing:0; font:600 .72rem/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif }
.editbar button[data-key=clear] { font:680 .73rem/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif }
.editbar button[data-key=delete] { font-size:1rem }
@media(max-height:37rem) {
  #bin-result .chart{max-height:4.7rem}
  .numpad-wrap{padding:.24rem .66rem .34rem}
  .numpad button{min-height:2.28rem}
  .tool-sheet.pad-open .tool-head{padding-block:.12rem}
  .tool-sheet.pad-open .tool-foot{padding-block:.34rem max(.33rem,env(safe-area-inset-bottom))}
  .tool-sheet.pad-open .tool-body{padding-block:.32rem}
}
.display-controls{display:flex;align-items:center;gap:.24rem}
.display-controls .text-btn{font-size:.69rem}
.slot-guide{display:flex;align-items:center;justify-content:space-between;gap:.3rem;min-height:1.55rem;color:var(--screen-dim);font:500 .69rem/1.16 var(--mono);padding-top:.18rem}
.slot-guide .text-btn{min-height:1.62rem;color:var(--signal)}
.slot-guide span{overflow-wrap:anywhere;min-width:0}
.result-value{font-size:clamp(1.38rem,6.6vw,2.38rem);gap:.24em;flex:none;max-width:76%;white-space:nowrap;justify-content:safe flex-end}
.result-value .approx{font-size:.66em;color:var(--screen-dim)}
.result-value .numeral{white-space:nowrap}
.result-value.list-result{font-size:.97rem}
.variable-button{font:670 1.04rem/1 var(--mono)}
.variable-note{margin-top:.45rem}
.letter-keys{display:flex;gap:.22rem;flex-wrap:wrap;margin-top:.38rem}
.letter-keys button{min-width:2.08rem;min-height:2.08rem;background:var(--key);border:1px solid var(--edge);border-radius:.38rem;font:600 .86rem/1 var(--mono)}
.variable-row{display:flex;gap:.25rem;align-items:center}
.variable-row .var-delete{display:grid;place-items:center;min-width:2.6rem;width:auto;font-size:1.06rem}
.picker-label{display:block;font-size:.81rem;font-weight:650;margin-bottom:.54rem}
.signature{padding:.49rem .55rem;margin-top:.44rem;border:1px solid var(--edge);border-radius:.38rem;background:var(--well);color:var(--display);font:550 .77rem/1.35 var(--mono);overflow-wrap:anywhere}
.table-actions{gap:.47rem}
.table-actions .primary{flex:1}
#normal #table-wrap{max-height:min(52dvh,23rem);min-height:8rem}
#phi-readout{min-height:1.8rem}
.editbar button[data-key=delete],.editbar button[data-key=clear]{font:650 .76rem/1 var(--mono)}
@media(max-height:36rem){
  :root{--stats-height:43px;--edit-height:35px;--key-height:35px}
  .display-bottom{min-height:1.95rem}.calculator{gap:.31rem}
  .display-controls .text-btn{min-height:1.52rem}
}
.variable-button{width:auto;min-width:44px;padding-inline:.37rem;font:650 .76rem/1.1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.display-bottom .result-meta{display:grid!important;grid-auto-flow:row;align-content:center;justify-items:start;gap:.12rem;min-width:0}
.display-bottom .result-meta .text-btn{min-height:1.9rem;color:var(--signal);font-weight:700}
.saved-tag{overflow-wrap:anywhere;max-width:7rem}
.variable-details{margin:.5rem 0;border-top:1px solid var(--edge);padding:.43rem 0}
.variable-details summary{cursor:pointer;min-height:2rem;font-size:.81rem;font-weight:650}
#save-from-variables{width:100%;margin-top:0}
.save-form{min-height:0;display:flex;flex-direction:column}
.save-form .tool-body{display:grid;gap:.45rem}
.save-form .picker-label{margin-bottom:0}
#save-value-preview{display:flex;align-items:center;gap:.22em;padding:.35rem .45rem;border:1px solid var(--edge);border-radius:.38rem;background:var(--well);color:var(--display);font:580 1.15rem/1.2 var(--mono);overflow-wrap:anywhere;min-width:0}
.save-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.3rem}
.save-presets button{min-height:3.05rem;background:var(--key);border:1px solid var(--edge);border-radius:.38rem;text-align:center;padding:.15rem .2rem}
.save-presets strong,.save-presets span{display:block}
.save-presets strong{color:var(--text);font:650 1.02rem/1.14 var(--mono)}
.save-presets span{color:var(--muted);font-size:.68rem}
.save-presets button[data-occupied]{background:var(--key-soft)}
