/* A single device: expression and answer never move to a secondary mobile region. */
.experience-workshop>.calculator-workbench{padding:24px;border:1px solid #d2dfd4;background:linear-gradient(145deg,#f0f6ec,#fffaf0);border-radius:24px}
.calculator-layout{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:28px;align-items:start;max-width:930px;margin-inline:auto}
.calculator-device{padding:22px;background:#fff;border:1px solid #cbd9cc;border-radius:24px;box-shadow:0 12px 30px #153c2910;min-width:0}
.calculator-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.calculator-toolbar h2{font-size:19px}.calculator-angle{display:flex;align-items:center;gap:8px;font-size:12px;margin:0}.calculator-angle select{width:92px;min-height:44px;font-size:13px;padding:8px;background:#f5f9f2}
.calculator-screen{background:#064632;border:1px solid #064632;border-radius:18px;padding:18px;color:#fff;margin-bottom:14px;min-width:0}.calculator-screen>label{display:block;font-size:11px;color:#dcecdf;margin-bottom:6px}.tool-experience .calculator-screen #w-expression{border:0;border-radius:8px;padding:6px 0;color:#fff;background:transparent;width:100%;font-size:26px;line-height:1.5;min-height:48px;text-align:end;caret-color:#e2c377}.calculator-screen #w-expression::placeholder{color:#ceded0}
.calculator-answer-row{border-top:1px solid #ffffff26;margin-top:10px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:58px}.calculator-answer-row>span{font-size:12px;color:#dcecdf}.calculator-answer-row output{font-size:32px;font-weight:700;color:#f4d78f;line-height:1.4;overflow-wrap:anywhere;min-width:0;text-align:end}
.calculator-error{color:#fff1e2;background:#71301e;border:1px solid #eaad91;border-radius:10px;padding:10px;font-size:12px;line-height:1.8;margin-top:12px}
.calculator-quick,.calculator-keypad{direction:ltr;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.calculator-quick{margin-bottom:10px}
.calculator-device :is(.calculator-keypad,.calculator-quick,.calculator-scientific-keys) button{min-width:0;min-height:50px;border:1px solid #bdcebf;border-radius:13px;background:#f6f9f3;color:#21392b;font-size:22px;line-height:1.5;touch-action:manipulation;padding:8px;transition:background-color .12s,border-color .12s}
.calculator-device .calculator-quick button{font-size:17px;min-height:44px;background:#fff;border-color:#d1ddcf;color:#385c45}
.calculator-device .calculator-keypad .calculator-key-operator{background:#e8f1e5;color:#07583f;font-size:26px}.calculator-device .calculator-keypad .calculator-key-clear{background:#fbf1d6;border-color:#dec990;color:#684d11;font-size:18px}.calculator-device .calculator-keypad .calculator-key-equal{background:#07583f;border-color:#07583f;color:#fff;font-size:30px}
.calculator-device :is(.calculator-keypad,.calculator-quick,.calculator-scientific-keys) button:hover{border-color:#61876b;background:#e8f1e5}.calculator-device .calculator-keypad .calculator-key-equal:hover{background:#064632;color:#fff}.calculator-device button:active{filter:brightness(.91)}
.calculator-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:14px;align-items:start}.calculator-tools>button,.calculator-scientific>summary{font-size:12px;border:1px solid #bdcebf;border-radius:11px;min-height:44px;padding:10px;background:#fff;color:#294633;display:flex;align-items:center;justify-content:center;gap:8px;touch-action:manipulation}.calculator-tools .icon{width:17px;height:17px}.calculator-tools>button:disabled{opacity:.5}
.calculator-scientific[open]{grid-column:1/-1;grid-row:2}.calculator-scientific[open]>summary{justify-content:start;background:#edf5e9}.calculator-scientific-keys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.calculator-device .calculator-scientific-keys button{font-size:14px;min-height:44px}
.calculator-help{font-size:12px;line-height:1.9;margin-top:16px;color:#52665d}.calculator-history{padding:0 20px 20px;background:#fff;border:1px solid #cbd9cc;border-radius:20px;min-width:0}.calculator-history>summary{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:58px;cursor:pointer;color:#07583f}.calculator-history>summary span{display:grid;place-items:center;background:#edf5e9;border-radius:9px;min-width:30px;min-height:30px}.calculator-history ol{padding:0;list-style:none;display:grid;gap:10px;max-height:390px;overflow:auto;overscroll-behavior:contain;margin-block:12px}.calculator-history li button{width:100%;border:1px solid #cbd9cc;border-radius:12px;background:#f8fbf5;padding:14px;display:grid;gap:6px;text-align:start;overflow-wrap:anywhere;touch-action:manipulation;min-height:60px}.calculator-history li span{font-size:14px;color:#52665d}.calculator-history li strong{font-size:23px;color:#07583f}.calculator-history li small{font-size:11px;color:#52665d}.calculator-history>.muted{font-size:13px;line-height:2}.calculator-history:not([open]){padding-bottom:0}
.calculator-notes{padding:26px;background:#07583f;color:#fff;border:1px solid #07583f;border-radius:20px;margin-top:20px}.calculator-notes>span{display:grid;place-items:center;background:#ffffff12;border:1px solid #ffffff29;color:#e2c377;border-radius:15px;width:52px;height:52px;margin-bottom:18px}.calculator-notes h3{font-size:22px;margin-bottom:14px}.calculator-notes p{font-size:14px;line-height:2;color:#e0ece2;margin-block:14px}.calculator-notes a{text-decoration:underline;text-underline-offset:4px;color:#f4d78f}
@media(max-width:760px){
 .experience-workshop:has([data-calculator]) .workbench-heading{margin-bottom:16px}.experience-workshop:has([data-calculator]) .workbench-heading p{font-size:13px;line-height:1.8;margin-top:6px}.experience-workshop:has([data-calculator]) .workbench-heading h1{font-size:22px}.experience-workshop:has([data-calculator]) .breadcrumbs{margin-bottom:12px}
 .experience-workshop>.calculator-workbench{padding:12px;border-radius:22px}.calculator-layout{grid-template-columns:minmax(0,1fr);gap:20px}.calculator-device{padding:16px;border-radius:19px;box-shadow:none}.calculator-toolbar{margin-bottom:12px}.calculator-toolbar h2{font-size:17px}.calculator-screen{padding:14px;margin-bottom:12px}.calculator-answer-row output{font-size:30px}.tool-experience .calculator-screen #w-expression{font-size:25px;min-height:44px}.calculator-keypad,.calculator-quick{gap:8px}.calculator-device .calculator-keypad button{min-height:49px;padding:6px;font-size:22px}.calculator-device .calculator-quick button{min-height:44px;font-size:15px}.calculator-tools{margin-top:12px}.calculator-help{font-size:11px;margin-top:12px}.calculator-companion{min-width:0}.calculator-notes{padding:22px}.calculator-scientific-keys{grid-template-columns:repeat(4,minmax(0,1fr))}
}
.calculator-device .calculator-angle{flex-direction:row;align-items:center;font-size:12px;line-height:1.5}.calculator-device .calculator-angle select{margin:0}
@media(max-width:760px){.experience-workshop:has([data-calculator]) .workbench-heading{gap:12px;margin-bottom:12px}.experience-workshop:has([data-calculator]) .workbench-heading h1{font-size:21px;line-height:1.5}.experience-workshop:has([data-calculator]) .workbench-heading p{font-size:12px;line-height:1.8}.experience-workshop>.calculator-workbench{padding:9px}.calculator-device{padding:12px}.calculator-toolbar{margin-bottom:10px}.calculator-screen{padding:10px;margin-bottom:10px}.calculator-screen>label{font-size:10px;margin:0}.tool-experience .calculator-screen #w-expression{min-height:44px;height:44px;font-size:23px;padding:3px 0}.calculator-answer-row{min-height:44px;margin-top:4px;padding-top:6px}.calculator-answer-row output{font-size:28px}.calculator-device .calculator-keypad button{height:46px;min-height:46px;line-height:1;font-size:22px;padding:6px}.calculator-device .calculator-keypad .calculator-key-equal{font-size:28px;line-height:1}.calculator-keypad,.calculator-quick{gap:7px}.calculator-quick{margin-bottom:7px}.calculator-device .calculator-quick button{height:44px;line-height:1;padding:6px}.calculator-tools{margin-top:10px}}
@media(prefers-reduced-motion:reduce){.calculator-device button{transition:none}}
