/* Native calculator layout; shell, tables, actions and comparison use shared styles. */
body[data-fc-cloud-module="rivets"]{--fc-text:#000;--fc-font:"Segoe UI",Arial,sans-serif;color:var(--fc-text);font:14px/1.45 var(--fc-font);background:#e7ebe8}
.rv-page,.rv-page *{box-sizing:border-box;min-width:0}.rv-page{width:100%;max-width:none;margin:0;padding:0;color:var(--fc-text);font:inherit}.rv-page h2{font-size:15px;line-height:1.4;margin:0 0 12px}.rv-page .rv-card{border:1px solid var(--fc-border,#aab5ae);border-radius:3px;background:var(--fc-surface,#f8f9f7);padding:16px;margin:0 0 12px}
.rv-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rv-form label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#000}.rv-form :is(input,select){width:100%;min-height:36px;padding:7px 9px;font:13px/1.4 "Segoe UI",Arial,sans-serif}.rv-span{grid-column:1/-1}.rv-page .rv-small{font-size:12px;line-height:1.5}.rv-page [hidden]{display:none!important}.rv-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.rv-form .fc-action-panel{grid-column:1/-1}.rv-scheme{margin:0 0 12px;padding:12px;background:#fff;border:1px solid var(--fc-border,#aab5ae);text-align:center}.rv-page .rv-image-button{display:block;max-width:100%;margin:auto;padding:0;border:0;background:#fff;cursor:zoom-in}.rv-scheme img{display:block;width:auto;max-width:100%;height:260px;object-fit:contain;margin:auto}.rv-scheme figcaption{font-size:12px;margin-top:10px;color:#000}.rv-page .rv-table-wrap{overflow:auto}.rv-page .rv-warning{border-left:3px solid #a96722;background:#fff8ed;padding:10px 12px;font-size:13px}.rv-notes{margin-top:12px;font-size:12px;line-height:1.5;padding:10px 12px;background:var(--fc-alt,#eef1ee);border-left:1px solid var(--fc-border,#aab5ae)}.rv-notes p{margin:5px 0}.rv-page summary{cursor:pointer;font-weight:600}.rv-page details[open]>summary{margin-bottom:12px}.rv-page .rv-formula{overflow-wrap:anywhere;font:inherit}.rv-source-table{overflow:auto;max-height:400px}.rv-source-table th{position:sticky;top:0}.rv-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:16px;border:1px solid #718078;border-radius:3px;background:#f8f9f7;color:#000;font:14px/1.45 "Segoe UI",Arial,sans-serif}.rv-dialog::backdrop{background:#0008}.rv-dialog header{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #aab5ae;padding-bottom:12px;margin-bottom:12px}.rv-dialog h2{font-size:15px;margin:0}.rv-dialog button{min-height:36px;padding:7px 12px;border:1px solid #718078;border-radius:3px;background:#eef1ee;color:#000;font:600 13px/1.4 "Segoe UI",Arial,sans-serif}.rv-dialog img{display:block;max-width:100%;max-height:calc(100vh - 150px);object-fit:contain;margin:auto}.rv-page :is(button,input,select):focus-visible,.rv-dialog button:focus-visible{outline:2px solid #365c76;outline-offset:2px}
@media(max-width:540px){.rv-form{grid-template-columns:1fr}.rv-page .rv-card{padding:12px}.rv-scheme img{height:230px}}
.rv-form label.rv-check{flex-direction:row;align-items:center}.rv-form input[type=checkbox]{width:16px;min-height:16px;height:16px;margin:0 6px 0 0}.rv-page fieldset{border:1px solid var(--fc-border,#aab5ae);padding:12px}.rv-page h3{font-size:14px;margin:16px 0 10px}.rv-page legend{font-weight:600;font-size:13px}.rv-table-wrap td{overflow-wrap:anywhere}
