body {margin:0px;padding:0px;border-spacing:0px;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px;background:#ffffff;color:#000000;}
table {border-collapse:collapse;}
table thead tr {position: sticky;top:0;}
table th {background:#c0c0c0;text-align:center;vertical-align:middle;}
th    {white-space:normal;text-align:center;padding:2px;}
input[type=button],button,.frtmenu,.fr_table,.fr_alt,.fr_tact {cursor:pointer;}
div {overflow:auto;tabindex:1;}

.frcarslistwrap {overflow:visible;}
.frcarslistwrap > table.frtable thead th {position:static;}
.divcenter {  position: absolute;  left: 50%;  top: 50%; -webkit-transform: translate(-50%, -50%);  transform: translate(-50%, -50%);}
.divcenterx { position: absolute;  left: 50%; top: auto; -webkit-transform: translate(-50%,   0%);  transform: translate(-50%, 0%);}
.maxcontent {width:max-content;height:max-content;}
#frsoft{box-sizing:border-box;width:100%;min-width:0;}
.tablepad5 td {padding-left:5px ;padding-right:5px;border:1px solid #d2d2d2;}
.tablecenter {display:block;width:fit-content;margin:0 auto;}
.frkodtar-panel > table.frtable,.frkodtar-panel > #frkrates{margin-left:auto;margin-right:auto;}
.pad2 {padding:0px 2px 0px 2px;}
.pad4 {padding:0px 4px 0px 4px;}

.right {text-align:right !important;}
.left {text-align:left !important;}
.none {display:none;}
.center {text-align:center !important;vertical-align:middle !important;}
.vtop {vertical-align:top !important;}
.w100 {width:100%;}
.w200px {width:200px;}
.mw200wrap{max-width:200px !important;white-space:normal !important;}
.floatleft {float:left !important;}
.floatright {float:right !important;}
.nowrap, .nowrap th {white-space:nowrap !important;} 

.bold {font-weight:bold !important;}
.underline {text-decoration:underline;}
.italic {font-style:italic;}
.blue {background-color:blue !important;color:white !important;}
.palegreen {background-color:palegreen !important;color:black !important;}
.lightpink {background-color:lightpink !important;color:black !important;}
.whiteblue {background:GhostWhite !important;color:blue !important;}
.greenwhite {background:green !important;color:white !important;}
.redwhite {background:red !important;color:white;}
.fs25 {font-size:25px !important;}
.cursor_move {cursor:move !important;}
.cursor_pointer {cursor:pointer;}
.separate {border-collapse:separate;}

.frckact {background:#87CEFA;color:black;}
.fractrow {outline:1px solid black;background:#ffff80 !important;color:black !important;}
.fractcell, .frmenuact {background:CornflowerBlue !important;color:white !important;} /* outline:2px solid blue !important;}*/
.no-select {user-select: none;}

.border    {border:1px solid black !important;}
.borderlight{border:1px solid #DCDCDC !important;}
.noborder  {border:0px !important;}
.border2px {border:2px solid black !important;}
.topborder, .topborder td, .topborder th{border-top:2px solid black !important;}
.leftborder {border-left:2px solid black !important;}
.rightborder {border-right:2px solid black !important;}
.bottomborder {border-bottom:2px solid black !important;}
.tdborder ,.tdborder td {border:1px solid black;padding:4px;}

.rowname {background:#c0c0c0;padding:2px;vertical-align:middle !important;font-weight:bold;text-align:center;}
.frcinline{display:inline-block;border:1px solid black;width:100px;text-align:center;}
.font120b {font-size:120%;font-weight:bold;text-align:center;}
.font200b {font-size:200%;font-weight:bold;text-align:center;}
.font75s  {font-size:75%;}
.frselect-left {opacity:0.9;border-left:2px solid blue !important;}
.frselect-right {opacity:0.9;border-right:2px solid blue !important;}
.frselect-top {opacity:0.9;border-top:2px solid blue !important;}
.frselect-bottom {opacity:0.9;border-bottom:1px solid blue !important;}

.frcontext {position:absolute;background:Ivory;color:black;border:2px solid black;border-radius:10px;box-shadow: 5px 5px 5px #888888;cursor:pointer;}
.frcontext_title {background:Gainsboro;color:black;font-size:140%;padding:2px;white-space:nowrap;}
.frcontext_menu td {cursor:pointer;white-space:nowrap;padding:1px 10px 1px 10px;font-size:140%;border:1px solid blue;} /* border-radius:5px;} */
.frcontext_menu td:hover{background:blue;color:white;}

.frtetfej th {background:mediumblue !Important;color:white;}
.frszlafej td {min-width:100px;}
.frcset {float:left;padding:5px;border:1px solid #d2d2d2;vertical-align:middle;}
.frcset span:hover{border:0px;}
.frcset tr:hover{background:inherit;}

.frcmenu {cursor:pointer;font-size:115%;font-weight:bold;}
.frcmenu td {padding:4px !important;border:1px solid gray;}
.frcmenu td:hover, .frnmenu td:hover{background:#00FFFF;color:black;}
.frcmenu td:hover:has(span) {background:transparent !important;}
.fr-main-menu{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;width:fit-content;max-width:calc(100vw - 24px);margin:5px auto;padding:5px 7px;background:#edf1f7;border:1px solid #a3b5cc;border-radius:9px;overflow:visible;}
.fr-main-menu-item{min-height:32px;padding:5px 10px;border:1px solid #a3b5cc;border-radius:7px;background:#fff;color:#10243d;font:600 13px/1.2 system-ui,sans-serif;cursor:pointer;touch-action:manipulation;}
.fr-main-menu-item:hover{background:#dceafb;border-color:#2868af;}
.fr-main-menu-item.frmenuact{background:#2868af!important;color:#fff!important;border-color:#1f568f;}
.fr-main-menu-item:focus-visible{outline:3px solid #2877cf;outline-offset:2px;}
@media(max-width:600px){.fr-main-menu{width:calc(100vw - 16px);padding:6px;gap:5px;}.fr-main-menu-item{flex:1 1 auto;min-height:44px;padding:8px 10px;}}
.fr-main-user{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;width:fit-content;max-width:calc(100vw - 24px);margin:5px auto;padding:5px 8px;background:#edf1f7;border:1px solid #a3b5cc;border-radius:9px;color:#10243d;font:600 13px/1.3 system-ui,sans-serif;overflow:visible;}
.fr-main-user select,.fr-main-logout{min-height:32px;padding:4px 9px;border:1px solid #a3b5cc;border-radius:7px;background:#fff;color:#10243d;font:inherit;}
.fr-main-user-name{overflow:visible;text-align:center;}
.fr-main-logout{cursor:pointer;}
.fr-main-logout:hover{background:#dceafb;}
.fr-main-login.frcontext{width:min(380px,calc(100vw - 24px));padding:0;background:#edf1f7;border:1px solid #a3b5cc;border-radius:12px;box-shadow:0 12px 40px #18324f20;color:#10243d;font:14px/1.4 system-ui,sans-serif;}
.fr-main-login .frcontext_title{padding:10px 14px;background:#d8e3f1;color:#10243d;font-size:16px;font-weight:700;}
.fr-main-login-body{display:grid;gap:9px;padding:16px;overflow:visible;}
.fr-main-login-body>label:first-child{font-weight:650;}
.fr-main-login-body>input{box-sizing:border-box;width:100%;min-height:42px;padding:8px 10px;border:1px solid #a3b5cc;border-radius:7px;background:#fff;color:#10243d;font:inherit;}
.fr-main-login-save{display:flex;align-items:center;gap:8px;font-size:13px;}
.fr-main-login-save input{width:18px;height:18px;accent-color:#2868af;}
@media(max-width:600px){.fr-main-user{box-sizing:border-box;width:calc(100vw - 16px);gap:6px;}.fr-main-user-name{flex:1 1 100%;order:-1;}.fr-main-user select,.fr-main-logout{min-height:44px;max-width:100%;}.fr-main-user select{flex:1 1 160px;}.fr-main-menu{box-sizing:border-box;}}

.frtable {border-collapse:collapse;border-spacing:0;cursor:pointer;border:2px solid #64748b;}
.frtable tr:nth-child(even) {background:#ffffff;color:black;}
.frtable tr:nth-child(odd)  {background:#ebf0fa;color:black;}
.frtable td {white-space:nowrap;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;}
.frtable td[placeholder]:empty:before {  content: attr(placeholder);  color: #555; }
.frtable td[placeholder]:empty:focus:before {content: "";}
.frs-workspace-list .frtable td,.frs-workspace-list .frtable th,.frs-editor-tablewrap .frtable td,.frs-editor-tablewrap .frtable th{border-style:solid;border-color:#475569 #cbd5e1 #475569 #cbd5e1!important;border-width:0 0 2px 0!important;}
.frs-workspace-list .frtable tr>td+td,.frs-workspace-list .frtable tr>th+th,.frs-editor-tablewrap .frtable tr>td+td,.frs-editor-tablewrap .frtable tr>th+th{border-left:1px solid #cbd5e1!important;}
.frs-workspace-list .frtable tr>td:last-child,.frs-workspace-list .frtable tr>th:last-child,.frs-editor-tablewrap .frtable tr>td:last-child,.frs-editor-tablewrap .frtable tr>th:last-child{border-right-width:0!important;}
.frs-workspace-list .frtable>tr:last-child>td,.frs-workspace-list .frtable>tbody:last-child>tr:last-child>td,.frs-editor-tablewrap .frtable>tr:last-child>td,.frs-editor-tablewrap .frtable>tbody:last-child>tr:last-child>td{border-bottom-width:0!important;}
.frtable th.fr-sortable-column{cursor:pointer;user-select:none;}
.frtable th.fr-sortable-column::after{content:' ↕';font-size:12px;color:#365675;}
.frtable th.fr-sortable-column[aria-sort=ascending]::after{content:' ▲';color:#103b6d;}
.frtable th.fr-sortable-column[aria-sort=descending]::after{content:' ▼';color:#103b6d;}
.frtable th.fr-sortable-column:focus-visible{outline:2px solid #2877cf;outline-offset:-2px;}
.frtable td,th {padding:2px 4px 2px 4px;margin:0px;border-width:1px 1px 0px 0px !important;border-style:solid;border-color:#d2d2d2;}
.frtable tr:hover,.tdhover td:hover,.tdactive,li:hover {background:#AFEEEE !important;color:black !important;cursor:pointer;}

.frnav {height:30px;}
.frnav ul {float:left; height:29px;margin:0;padding:0;border-top: 1px solid black; border-left: 1px solid black;list-style:none;}
.frnav ul li {float:left;}
.frnav ul li a { white-space:nowrap;display:block; border-right: 1px solid black;border-bottom: 1px solid black; background:#666; color:#FFF; text-decoration:none; cursor:pointer; padding:6px 8px 6px 8px; font-size:13px; font-weight:bold; }
.frnav ul li:hover a { background:#202020; color:#fff; }

.frnav ul li ul { display:none; }
.frnav ul li:hover ul { position:absolute;float:left;display:block; border-top: none;z-index:1;}
.frnav ul li:hover ul li{float:none;}
.frnav ul li:hover ul li a { background:#666; color:#fff;}
.frnav ul li:hover ul li:hover a {background:#202020; color:#fff;}

.frnav ul li ul > li ul li { display:none}
.frnav ul li ul > li:hover ul { position:absolute;border-top: 1px solid black;border-left:none;}
.frnav ul li ul > li:hover ul li{ display:block;}
.frnav ul li:hover > ul li:hover > ul li a{  background:#666; color:#fff;}
.frnav ul li:hover > ul li:hover > ul li a:hover { background:#ffcb00 ; color:#000; }
.marquee { position: relative; overflow: hidden;  white-space: wrap;}
.marquee-track { display: inline-block;  white-space: wrap; animation: marquee 35s linear infinite;width:100%;}
@keyframes marquee {  from { transform: translateX(0); }  to   { transform: translateX(-100%); }}

.syno {overflow:auto;}
.syno tr {cursor:pointer;}
.syno tr:nth-of-type(even) {background:#FFFF99;color:#000;}
.syno tr:nth-of-type(odd) {background:#FFFFE4;color:#000;}
.syno tr:not(.acti):hover {background:#CCFFFF;color:#000;}
.syno tr.acti {background:#3151B0;color:white;}
.syno th,.syno td {border-left:1px solid #DBDBFF;}
.syno th {text-align:center;background:#000066;color:#FFFFFF;white-space:normal;padding:5px 1px;}
.syno td {white-space:nowrap;padding:2px;vertical-align:middle;}
.syno td:first-child,.syno th:first-child {border-left:0;}

.renddiv {background-color:#33CCFF !important;color:#000000 !important;z-index:99;border:3px solid #121212;}
.renddiv input[type=text],.renddiv select {width:180px; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-box-sizing: border-box;}
.renddiv center {cursor:pointer;font-weight:bold;}
.renddiv td:first-child, .renddiv td:nth-child(3) {text-align:right;}
.cpict  {position:absolute;height:auto;width:auto;background:white;cursor:pointer;z-index:100;border:2px solid black;}
.cpict  tr:hover {background:blue; color:white;}
.kbinfo table{margin:0 auto;}
.kbinfo td{text-align:right;border:1px solid white;font-weight:bold;white-space:nowrap;background:green;color:white;}
.kbinfo td:first-child {text-align:left;background:#0ac4f7;color:black;}

.frcfieldname {vertical-align:top;text-align:left;font-weight:bold;}
.frcfield {padding-left:4px;padding-right:4px;white-space:nowrap;}
.frcfborder {border-top:1px solid #d2d2d2;border-right:1px solid #d2d2d2;}
.frcarstetel td{padding:0px 4px 0px 4px;white-space:nowrap;text-align:center;}
.frnmenu {border:none;border-collapse:separate;cursor:pointer;}
.frnmenu td {padding:4px;font-weight:bold;border:none;border-radius:5px;}

.frnaptar {cursor:pointer;vertical-align:top;width:100%;table-Layout:fixed;white-space:nowrap;}
.frnaptar tr th:first-child,.frnaptar tr td:first-child {overflow: hidden;width:50px;white-space:nowrap;text-align:center;font-weight:bold;border-left:1px solid gray;color:red;}
.frnaptar tr th {overflow:hidden;text-overflow:ellipsis;border:1px solid gray;color:blue;} 
.frnaptar tr td {overflow:hidden;text-overflow:ellipsis;min-width:100px;}
.frnaptar_l1 td {border-width:1px 1px 0px 1px;border-color:lavender gray lavender gray;border-style:solid;}
.frnaptar_l2 td {border-width:1px 1px 1px 1px;border-color:lavender gray gray lavender;border-style:solid;}

.frnaptar_ma {background:beige;color:black;}
.frnaptar_ho {cursor:pointer;table-layout:fixed;vertical-align:top;width:100%;}
.frnaptar_ho td {border:1px solid gray;}
.frnaptar_ho tr th {color:blue;}
.frnaptar_ho tr th:first-child {width:40px;background:green;color:white;}
.frnaptar_ho tr td {text-align:right;vertical-align:top;cursor:pointer;}
.frnaptar_ho tr td:first-child {width:40px;white-space:nowrap;vertical-align:middle;text-align:center;font-weight:bold;}
.frnaptar_ho tr th:nth-child(7n),.frnaptar_ho tr td:nth-child(7n),.frnaptar_ho tr th:nth-child(8n),.frnaptar_ho tr td:nth-child(8n){width:80px;}
.frnaptar_ht {width:100%}
.frnaptar_ht td{text-align:left !important;cursor:pointer;}
.frnaptar_ht td:hover{background:blue;color:white;}

.frnaptar_es td ,.frnaptar_es input  {font-size:140%;padding:4px;border:1px solid gray;border-radius:2px;}
.frnaptar_es textarea {font-size:120%;}
.frnaptar_se {max-height:25px;cursor:pointer;}
.frnaptar_ed {padding:6px 2px 6px 2px;border:1px solid black;border-radius:5px;position:absolute;overflow:hidden;cursor:pointer;resize:both;user-select:none;}
.frnaptar_eh {z-index:10000 !important;border:2px solid green;width:auto !important;max-width:none !important;}
.frnaptar_rs {position: absolute;text-align:center;font-size:8px;width:100%;}
.frnaptar_rs:hover {cursor:ns-resize !important;}
.frnaptar_st tr td:last-child{max-width:300px;}

.frcath25 {max-height:25px !important;}
.frcath50 {max-height:50px !important;}
.frcatimg {max-height:60px !important;max-width:150px !important;}

.tree, .tree ul {  list-style-type: none;  padding-left: 20px;  margin: 0;}
.tree ul { display: none;}
.toggle { cursor: pointer;  margin-right: 5px;  color: blue;  font-weight: bold;  user-select: none;}

.frcimg  {max-width:120px;max-height:60px;min-height:40px;}

.grid {overflow:auto;}
.grid div {overflow:auto;}
.grid table th {background:#48989e;color:#ffffff;white-space:normal;text-align:center;padding:2px;}
.grid tr {cursor:pointer;}
.grid tr:nth-child(even) {background:#d5e2f2;color:#000000;}
.grid tr:nth-child(odd)  {background:#ffffff;color:#000000;}
.grid tr.acti {background:#000000;color:#ffffff;}
.grid td {white-space:nowrap;vertical-align:center;}
.grid td {padding:2px;border-style:solid;border-color:#c8e5e8;border-width:0px 1px 0px 1px;}
.ginv{display:none;}
.gleft{text-align:left;white-space:nowrap;}
.gcenter{text-align:center;vertical-align:middle;}
.gright{text-align:right;}
.gridmenu {cursor:pointer;}
.gridmenu td {background:#2B6BB2;color:#ffffff;border:1px solid #ffffff;padding:2px;}
.gridmenu td:hover {background:#4880BD;color:#ffffff;}
.gridmenu ul {margin:0px;list-style:none;float:left;padding:2px;}
.gridmenu ul li{font-weight:bold;white-space:nowrap;display:block;text-decoration:none;border-right:2px solid #ffffff;float:left;padding:5px 5px 5px 5px;}
.gridmite {background:#2B6BB2;color:#ffffff;}
.gridmite:hover{background:#4880BD;color:#ffffff;}
.gridmact {background:#DF1222;color:#ffffff;}

.fr_table {border:1px solid #DBDBFF;}
.fr_table th {background-color:#339999;color:#FFFFFF;border-right:1px solid #DBDBFF;}
.fr_table td {vertical-align:middle;border-right:1px solid #DBDBFF;padding-left:2px;padding-right:2px;background-color:#FFFFFF;color:#000000;}
.fr_tact  td {background-color:#3151B0;color:#FFFFFF;}
.fr_alt   td {background-color:#ECFAFF;color:#000000;}
.fr_tkiv  td {background-color:#99FF99;font-weight:bold;}
.frtmenu table {border-spacing:0px;}
.frtmenu td {font-weight:bold;white-space:nowrap;margin:0px;padding:1px 5px 1px 5px;background:#BBBBBB;color:#000000;text-align:center;border:1px solid black;}
.frtmenu td:hover{font-weight:bold;background:#0066FF;color:#FFFFFF;text-align:center;}

.frservicetable>thead,.frcarslistwrap>table.frtable>thead{position:sticky;top:0;z-index:3;background:#c0c0c0;}
.frservicetable>thead>tr,.frcarslistwrap>table.frtable>thead>tr{position:static;}
.frservicetable>thead::after,.frcarslistwrap>table.frtable>thead::after{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:#64748b;pointer-events:none;}

.frtfields input:disabled,.frtfields select:disabled,.frtfields textarea:disabled{color:#475569;-webkit-text-fill-color:#475569;background-color:#edf0f3;opacity:1;}
.frtfields input:disabled::-webkit-datetime-edit{color:#475569;opacity:1;}
.frtfields input[type=checkbox]:disabled{accent-color:#64748b;opacity:.85;}


.frcarsquery>tr>td,.frcarsquery>tbody>tr>td{vertical-align:top;border:0.5px solid #cbd5e1;padding:5px 8px;}

.frs-container{box-sizing:border-box;width:100%;max-width:100%;overflow:visible;}
.frs-menu{box-sizing:border-box;width:min(960px,calc(100vw - 24px));margin:16px auto;padding:20px;background:#edf1f7;color:#10243d;border:1px solid #a9b9cd;border-radius:16px;font:15px/1.5 system-ui,sans-serif;box-shadow:0 12px 40px #18324f12;}
.frs-menu *{box-sizing:border-box;}
.frs-menu [hidden]{display:none!important;}
.frs-menu-header{display:flex;justify-content:space-between;align-items:center;gap:20px;overflow:visible;}
.frs-menu-header>div{overflow:visible;min-width:0;}
.frs-menu-eyebrow{font-size:11px;font-weight:750;letter-spacing:.14em;color:#365675;}
.frs-menu h1{margin:5px 0;font-size:27px;line-height:1.2;color:#10243d;}
.frs-menu-header p{margin:8px 0 0;color:#3e526c;}
.frs-menu-section{margin:18px 0;}
.frs-menu h2{margin:0 0 8px;font-size:13px;font-weight:700;color:#344c69;}
.frs-menu-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr));gap:10px;}
.frs-menu-card{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;min-height:96px;padding:12px 14px;text-align:left;white-space:normal;border:1px solid #a3b5cc;border-radius:12px;background:#fff;color:#10243d;cursor:pointer;touch-action:manipulation;font:inherit;box-shadow:0 2px 4px #18324f05;transition:border-color .15s,box-shadow .15s,transform .15s;}
.frs-menu-card:hover{border-color:#2868af;box-shadow:0 6px 18px #24538414;transform:translateY(-2px);background:#fff;}
.frs-menu-card:focus-visible{outline:3px solid #2877cf;outline-offset:3px;}
.frs-menu-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.frs-menu-type{padding:3px 9px;border-radius:6px;background:#dceafb;color:#174878;font-size:11px;font-weight:650;}
.frs-menu-arrow{font-size:20px;color:#3f638c;}
.frs-menu-name{font-size:16px;line-height:1.35;font-weight:700;overflow-wrap:anywhere;}
.frs-menu-status{margin-top:auto;font-size:12px;color:#435772;}
.frs-menu-pending{color:#096449;font-weight:650;}
.frs-menu-help{padding-top:18px;border-top:1px solid #a9b9cd;color:#435772;font-size:12px;margin:24px 0 0;}
.frs-menu-empty{padding:28px;text-align:center;color:#3e526c;}
@media(hover:hover) and (pointer:fine){.frs-menu-card:hover{transform:translateY(-2px);}}
@media(hover:none){.frs-menu-card:hover{transform:none;}.frs-menu-card:active{background:#dceafb;border-color:#2868af;}}
@media(max-width:600px){
 .frs-menu{width:calc(100vw - 16px);margin:8px auto;padding:12px;border-radius:12px;}
 .frs-menu-header{gap:8px;}
 .frs-menu h1{font-size:24px;}
 .frs-menu-header p{font-size:13px;}
 .frs-menu-section{margin:16px 0;}
 .frs-menu h2{font-size:12px;overflow-wrap:anywhere;}
 .frs-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .frs-menu-card{min-height:92px;padding:10px;gap:6px;border-radius:10px;}
 .frs-menu-card-top{gap:4px;}
 .frs-menu-type{font-size:10px;padding:3px 6px;white-space:normal;overflow-wrap:anywhere;}
 .frs-menu-arrow{font-size:17px;flex-shrink:0;}
 .frs-menu-name{font-size:15px;}
 .frs-menu-status{font-size:11px;}
 .frs-menu-help{display:none;}
}
@media(max-width:359px){.frs-menu-grid{grid-template-columns:minmax(0,1fr);}.frs-menu-card{min-height:80px;}}
@media(prefers-reduced-motion:reduce){.frs-menu-card{transition:none;}.frs-menu-card:hover{transform:none;}}

.frs-workspace{width:min(1200px,calc(100vw - 24px));}
.frs-workspace .frs-menu-header{align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:8px;}
.frs-workspace .frs-menu-header h1{overflow-wrap:anywhere;font-size:18px;margin:0;}
.frs-workspace.frs-menu{padding:10px 12px;margin:8px auto;}
.frs-workspace-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.frs-action{min-height:44px;padding:10px 14px;border:1px solid #9aafc8;border-radius:9px;background:#fff;color:#21486f;font:600 13px/1.4 system-ui,sans-serif;cursor:pointer;touch-action:manipulation;}
.frs-action:hover{background:#dceafb;border-color:#346ca9;}
.frs-action-primary{background:#2868af;border-color:#2868af;color:#fff;}
.frs-action-primary:hover{background:#1f568f;color:#fff;}
.frs-action:focus-visible,.frs-workspace-list:focus-visible{outline:3px solid #2877cf;outline-offset:3px;}
.frs-workspace-list{max-width:100%;border:0;border-radius:12px;background:#fff;overflow:auto;overscroll-behavior-x:contain;}
.frs-workspace-list>div{max-width:100%;overflow:auto;}
.frs-workspace-list table.frtable{min-width:100%;border-collapse:separate;border-spacing:0;font:13px/1.5 system-ui,sans-serif;}
.frs-workspace-list table.frtable th{background:#d8e3f1;color:#284565;padding:11px 12px;border:0;border-bottom:1px solid #a3b5cc;text-align:left;font-weight:650;}
.frs-workspace-list table.frtable td{padding:10px 12px;border:0;border-bottom:1px solid #cbd6e4;color:#193650;background:#fff;min-height:44px;}
.frs-workspace-list table.frtable tr:nth-child(even)>td{background:#eff3f9;}
.frs-workspace-list table.frtable tr:hover>td{background:#deebfb;cursor:pointer;}
.frs-workspace-list table.frtable tr.fractrow{outline:0;background:#c4dcfa!important;}
.frs-workspace-list table.frtable tr.fractrow>td{background:#c4dcfa;color:#103b6d;}
.frs-workspace-list table.frtable tr.fractrow>td:first-child{box-shadow:inset 3px 0 #2877cf;}
@media(max-width:600px){.frs-workspace{width:calc(100vw - 16px);}.frs-workspace .frs-menu-header{margin-bottom:8px;gap:6px;}.frs-workspace-actions{width:auto;gap:6px;flex:1;justify-content:flex-end;}.frs-action{flex:1;padding:10px 8px;white-space:normal;}.frs-workspace .frs-action-primary{flex-basis:auto;}.frs-workspace-list table.frtable td,.frs-workspace-list table.frtable th{padding:12px 10px;}.frs-workspace-list{border-radius:9px;}}

/* Invoice editor only: shared frcontext layout and behavior stay intact. */
.frs-menu.frs-menu-tree{display:flex;flex-direction:column;width:min(620px,calc(100vw - 24px));padding:12px;overflow:hidden;}
.frs-menu-tree .frs-menu-header{margin-bottom:12px;gap:10px;}
.frs-menu-tree h1{font-size:20px;margin:0;}
.frs-menu-tree .frs-menu-grid{grid-template-columns:minmax(0,1fr);gap:6px;min-height:0;overflow-y:auto;overscroll-behavior:contain;}
.frs-menu-tree .frs-menu-card{flex-direction:row;align-items:center;min-height:44px;padding:9px 12px;gap:10px;border-radius:8px;}
.frs-menu-tree .frs-menu-name{flex:1;font-size:15px;}
.frs-menu-tree .frs-menu-status{margin:0;font-size:24px;line-height:1;font-weight:800;color:#096449;}
.frs-menu-tree .frs-menu-arrow{font-size:24px;line-height:1;}
@media(max-width:600px){.frs-menu.frs-menu-tree{width:calc(100vw - 16px);padding:10px;}.frs-menu-tree .frs-menu-card{min-height:46px;}}

.frs-editor.frcontext{box-sizing:border-box;max-width:calc(100vw - 24px);background:#edf1f7;color:#10243d;border:1px solid #a3b5cc;border-radius:14px;box-shadow:0 12px 40px #18324f20;font:13px/1.3 system-ui,sans-serif;cursor:default;}
.frs-editor>.frtfields{margin:6px;width:calc(100% - 12px);border-collapse:separate;border-spacing:0 3px;}
.frs-editor .frcontext_title{padding:6px 8px;background:#edf4fc;color:#10243d;font-size:14px;font-weight:700;white-space:normal;line-height:1.3;}
.frs-editor>div:first-child>table{background:#edf4fc;}
.frs-editor [name=exit]{background:#edf4fc;padding:4px;min-width:32px;}
.frs-editor [name=exit] img{min-width:24px;min-height:24px;}
.frs-editor button{min-height:30px;padding:4px 9px;border:1px solid #9aafc8;border-radius:8px;background:#fff;color:#21486f;font:600 13px/1.4 system-ui,sans-serif;touch-action:manipulation;white-space:normal;}
.frs-editor button:hover{background:#dceafb;border-color:#346ca9;}
.frs-editor button.frs-action-primary{background:#2868af;border-color:#2868af;color:#fff;}
.frs-editor .frs-editor-save{display:inline-flex;align-items:center;justify-content:center;min-width:90px;margin:2px 4px;}
.frs-editor .frtfields .frcfieldname{padding:3px 6px;color:#3e526c;font-size:13px;white-space:normal;}
.frs-editor .frtfields .frcfield{padding:3px 6px;border:1px solid #a3b5cc;border-radius:7px;background-color:#fff;min-width:90px;}
.frs-editor .frtfields .frc-inline-field{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:6px;min-width:0;}
.frs-editor .frtfields .frc-inline-field>.frcfield{display:block;min-width:0;width:100%;box-sizing:border-box;}
.frs-editor .frtfields .frcfield :is(input:not([type=checkbox]),select,textarea){width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
.frs-editor input,.frs-editor select,.frs-editor textarea{max-width:100%;box-sizing:border-box;min-height:28px;padding:3px 6px;border:1px solid #9aafc8;border-radius:6px;font:inherit;color:#193650;background:#fff;}
.frs-editor input[type=checkbox]{min-height:20px;min-width:20px;accent-color:#2868af;}
.frs-editor [contenteditable=true]{min-height:28px;outline-offset:2px;}
.frs-editor :is(button,input,select,textarea,[contenteditable=true]):focus-visible{outline:2px solid #2877cf;outline-offset:2px;}
.frs-editor-tablewrap{margin:6px;border:0;border-radius:10px;background:white;overscroll-behavior-x:contain;}
.frs-editor-tablewrap>.frtable{border-collapse:separate;border-spacing:0;min-width:100%;}
.frs-editor-tablewrap>.frtable th{padding:4px 6px;background:#d8e3f1;color:#284565;border-color:#a3b5cc;font-size:13px;}
.frs-editor-tablewrap>.frtable td{padding:3px 6px;border-color:#cbd6e4;}
.frs-editor-tablewrap .frtetfej th{padding:5px 6px;background:#9fc4ed!important;color:#102b4d!important;text-decoration:none;}
.frs-editor-totals{margin:0 6px 6px;padding:4px;border:1px solid #a3b5cc;border-radius:9px;background:#d8e3f1;color:#193650;font-size:14px;font-weight:600;}
.frs-editor-totals td{padding:2px 5px;}
.frs-editor-totals tr:last-child{font-size:14px;color:#103b6d;font-weight:750;}
@media(max-width:600px){
 .frs-editor.frcontext{max-width:calc(100vw - 16px);font-size:14px;border-radius:10px;}
 .frs-editor-head{width:calc(100vw - 16px);}
 .frs-editor .frcontext_title{padding:6px 8px;font-size:14px;}
 .frs-editor button{min-height:44px;margin:3px 0;}
 .frs-editor>.frtfields{display:block;margin:8px;width:calc(100% - 16px);}
 .frs-editor>.frtfields>tbody{display:block;}
 .frs-editor>.frtfields>tr,.frs-editor>.frtfields>tbody>tr{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:4px;margin-bottom:4px;align-items:center;}
 .frs-editor .frtfields td{min-width:0;box-sizing:border-box;overflow-wrap:anywhere;}
 .frs-editor .frtfields td[colspan]{grid-column:1/-1;}
 .frs-editor .frtfields td:only-child{grid-column:1/-1;}
 .frs-editor .frtfields .frcfield{min-width:0;min-height:40px;padding:5px 6px;}
 .frs-editor input,.frs-editor select,.frs-editor textarea{font-size:16px;min-height:40px;width:100%;}
 .frs-editor input[type=checkbox]{width:auto;min-height:24px;}
 .frs-editor .frs-editor-save{width:auto;margin:3px 4px;}
 .frs-editor-tablewrap{margin:8px;}
 .frs-editor-totals{float:none!important;width:calc(100% - 16px);margin:8px;}
 .frs-editor-totals td{padding:5px;}
}
